Re: Why did this work? (Flashplugin)

2006-02-23 Thread Andrew Pantyukhin
On 2/23/06, Vayu [EMAIL PROTECTED] wrote:
 I installed linuxpluginwrapper, linux-flashplugin-6 and linux_base-8 through
 ports.  No errors.  Created a libmap.conf with values appropriate for 6.0REL.

 I followed the same procedure that I did 3 weeks ago that successfully got
 flash playing in Konqueror on another FreeBSD 6.0REL machine.

 Neither Konqueror nor Firefox would acknowledge flash (wouldn't play it,
 didn't show it in about:plugins, nor give any errors when called from the
 command line).I deinstalled, reinstalled, I looked up each lib referenced
 in the libmap.

 Finally I made a link from the libflashplayer.so
 in /usr/X11R6/lib/linux-flashplugin6 directory
 to  /usr/X11R6/lib/browser_plugins.  That worked for Firefox (1.5) but not
 for Konqueror.

 Why did that work (what went wrong in my installation) and now what do I do to
 get Flash playing in Konqueror?


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Try making a link in a konqueror-specific plugins dir.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changeing the port of the ftp server

2006-02-23 Thread James Long
 Date: Wed, 22 Feb 2006 20:58:36 -0800
 From: ross [EMAIL PROTECTED]
 Subject: changeing the port of the ftp server
 To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii
 
 I can't for the life of me figure out how to change the port of my ftp  
 server. My (crummy) ISP blocks port 21 and I would like to change the  
 default port of the ftp server in order to give access to the outside  
 world.
 
 -- 
 Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Why not move to a better ISP?  I don't believe in paying money
for crummy ISP service.  There's too many good ISPs out there
competing for your money.  Vote with your wallet and move to an
ISP that wants your business.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


I've got spyware!!??

2006-02-23 Thread Joseph Vella
I just installed flash in Firefox.  I was playing around with the 
autoscrolling feature, when all of a sudden some ugly website pops up.  It 
was something I clicked with the mouse wheel.  I tried it again and sure 
enough the same site pops up.  It was kind of tricky to do. I had to be 
scrolling and then click real fast.  I found that if I turned off the 
autoscrolling, anytime I clicked in the browser window with the mouse wheel 
this site would come up.  On a couple of occasions a page within the 
Microsoft site would come up instead.

I deleted the mozilla directory in my home directory.  After that the first 
three clicks of my mouse wheel would cause the Microsoft page to come up, 
after that the other site would come up.

How could there be spyware on my FreeBSD computer and how do I get rid of it?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why did this work? (Flashplugin)

2006-02-23 Thread Joseph Vella
On Thursday 23 February 2006 12:09 am, Andrew Pantyukhin wrote:
 On 2/23/06, Vayu [EMAIL PROTECTED] wrote:
  I installed linuxpluginwrapper, linux-flashplugin-6 and linux_base-8 
through
  ports.  No errors.  Created a libmap.conf with values appropriate for 
6.0REL.
 
  I followed the same procedure that I did 3 weeks ago that successfully got
  flash playing in Konqueror on another FreeBSD 6.0REL machine.
 
  Neither Konqueror nor Firefox would acknowledge flash (wouldn't play it,
  didn't show it in about:plugins, nor give any errors when called from the
  command line).I deinstalled, reinstalled, I looked up each lib 
referenced
  in the libmap.
 
  Finally I made a link from the libflashplayer.so
  in /usr/X11R6/lib/linux-flashplugin6 directory
  to  /usr/X11R6/lib/browser_plugins.  That worked for Firefox (1.5) but not
  for Konqueror.
 
  Why did that work (what went wrong in my installation) and now what do I 
do to
  get Flash playing in Konqueror?
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
[EMAIL PROTECTED]
 
 
 Try making a link in a konqueror-specific plugins dir.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Thanks,  I got it to work by going in the settings for Konqueror and clicking 
a button to rescan plugins.

I still don't understand why that link was needed.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem regarding setting DISPLAY env variable and hostname

2006-02-23 Thread Giorgos Keramidas
On 2006-02-22 13:07, Rob [EMAIL PROTECTED] wrote:
On Wed, 22 Feb 2006 20:27:20 +0200
Giorgos Keramidas [EMAIL PROTECTED] wrote:
 I have read manual pages, searched the archives, but I am really confused
 about all of this.  Thank you for any help.

 All this can be resolved by using `/etc/hosts'.  Just add your hostname
 there and point it to the 127.0.0.1 address.  Then all programs should be
 able to resolve it.

 Thanks Giorgios,

 I think that I have the hostname problem resolved.  rc.conf has
 hostname=xenon and /etc/hosts has: 127.0.0.1 localhost xenon

That's quite fine :)

 So now Xorg does not give errors on startup or shutdown like the
   bad display name xenon:0 in remove commandor
   bad display name xenon:0  in list command

 But when not setting the DISPLAY variable explicitely anywhere I still
 get the error: out of display lists upon starting the program I want
 from xterm

 But then setting DISPLAY=xenon:0.0 export DISPLAY and then executing
 the program then gives the error:

 Can't open display: xenon:0.0   so I guess I am back to square one.

 Maybe I should call it a day and rest, haha.

Just a wild guess, since I don't see why you should have problems
running programs like:

Can't open display: xenon:0.0

Are you running X11 as a plain user and having problems to run programs
*after* using su(1) to become root or does this happen for all users in
all terminals?

- Giorgos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I've got spyware!!??

2006-02-23 Thread Garrett Cooper

On Feb 23, 2006, at 12:19 AM, Joseph Vella wrote:


I just installed flash in Firefox.  I was playing around with the
autoscrolling feature, when all of a sudden some ugly website pops  
up.  It
was something I clicked with the mouse wheel.  I tried it again and  
sure
enough the same site pops up.  It was kind of tricky to do. I had  
to be

scrolling and then click real fast.  I found that if I turned off the
autoscrolling, anytime I clicked in the browser window with the  
mouse wheel

this site would come up.  On a couple of occasions a page within the
Microsoft site would come up instead.

I deleted the mozilla directory in my home directory.  After that  
the first
three clicks of my mouse wheel would cause the Microsoft page to  
come up,

after that the other site would come up.

How could there be spyware on my FreeBSD computer and how do I get  
rid of it?


Not sure if this is true for FreeBSD, but try deleting the  
~/.macromedia directory and see what happens. This may remove any  
unwanted cached flash apps.
Interesting though. If this persists, someone may have found and  
exploited a security issue with Flash =\...

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PPPoE Connection Bug!

2006-02-23 Thread Felix
I am using Freebsd 6.0 to become my server and provide the PPPoE service
to rest of my staffs PCs. It is success without any problem but
sometimes I found it comes out with errors message in my log file when
some of the staffs cannot online. The error messages is looked like
below:

#

Jan 27 10:29:40 eBoffice3 ppp[714]: Phase: Using interface: tun2
Jan 27 10:29:40 eBoffice3 ppp[714]: Phase: deflink: Created in closed
state
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: enable pap
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: enable proxy
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: disable ipv6cp
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set mru 1472
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set mtu 1472
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set ifaddr
10.1.91.1 10.1.91.2-10.1.91.254
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set radius
/etc/radius.conf
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: accept dns
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set timeout 3600
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: disable protocomp
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: enable echo
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set lqrperiod 10
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set echoperiod 10
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set rad_alive 1800
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set speed sync
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set log Chat
Command Phase LCP LQM
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: enable pap
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: enable proxy
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: disable ipv6cp
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set mru 1472
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set mtu 1472
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set ifaddr
10.1.91.1 10.1.91.2-10.1.91.254
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set radius
/etc/radius.conf
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: accept dns
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set timeout 3600
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: disable protocomp
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: enable echo
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set lqrperiod 10
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set echoperiod 10
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set rad_alive 1800
Jan 27 10:29:40 eBoffice3 ppp[714]: Command: default: set speed sync
Jan 27 10:29:40 eBoffice3 ppp[714]: Phase: PPP Started (direct mode).
Jan 27 10:29:40 eBoffice3 ppp[714]: Phase: bundle: Establish
Jan 27 10:29:40 eBoffice3 ppp[714]: Phase: deflink: closed - opening
Jan 27 10:29:40 eBoffice3 ppp[714]: Phase: deflink: Link is a closed
socket !
Jan 27 10:29:40 eBoffice3 ppp[714]: Chat: Failed to open device (attempt
1 of 1)
Jan 27 10:29:40 eBoffice3 ppp[714]: Phase: deflink: opening - closed
Jan 27 10:29:40 eBoffice3 ppp[714]: Phase: bundle: Dead
Jan 27 10:29:40 eBoffice3 ppp[714]: Phase: PPP Terminated (normal).



I searched for the internet but found nothing. Any comment or opinion
about this? Thanks!

Regard
Felix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem connecting a freebsd server using ssh

2006-02-23 Thread Lei Sun
Hi Guys,

I did tons of search on what problems might be, but it doesn't seems
to be the cases that I have searched even though it looks similar.

1. ssh from Freebsd_A to Freebsd_B: I got Read from socket failed:
Connection reset by peer error.
2. ssh from windows xp (putty) to Freebsd_B: logs me in fine
3. try to ssh from Freebsd_A to Freebsd_B again, got the same error
message, and now I can't log in from windows xp (putty) to Freebsd_B
any more, unless I reboot the windows xp machine. WIERD!!!

I check the tcp wrapper thing, the hosts.allow is All : All : allow.
So that's not the case.

I made sure all of the KeepAlive entries are set to yes, but still no luck.

Please help... Thanks in advance!

Below is the log messages...

sshd log messeges from Freebsd_B
-
Feb 23 16:12:01 don sshd[453]: debug1: fd 5 clearing O_NONBLOCK
Feb 23 16:12:01 don sshd[453]: debug1: Forked child 649.
Feb 23 16:12:01 don sshd[649]: debug1: rexec start in 5 out 5 newsock
5 pipe 7 sock 8
Feb 23 16:12:01 don sshd[649]: debug1: inetd sockets after dupping: 3, 3
Feb 23 16:12:01 don sshd[649]: debug1: res_init()
Feb 23 16:12:01 don sshd[649]: Connection from xxx.xxx.xxx.xxx port 1199
Feb 23 16:12:02 don sshd[649]: debug1: Client protocol version 2.0;
client software version OpenSSH_4.2p1 FreeBSD-20050903
Feb 23 16:12:02 don sshd[649]: debug1: match: OpenSSH_4.2p1
FreeBSD-20050903 pat OpenSSH*
Feb 23 16:12:02 don sshd[649]: debug1: Enabling compatibility mode for
protocol 2.0
Feb 23 16:12:02 don sshd[649]: debug1: Local version string
SSH-2.0-OpenSSH_4.2p1 FreeBSD-20050903
Feb 23 16:12:02 don sshd[649]: debug1: do_cleanup
Feb 23 16:12:02 don sshd[649]: debug1: PAM: cleanup


ssh -v log from Freebsd_A
---
$ ssh -v don
OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to xxx [xxx.xxx.xxx.xxx] port 22.
debug1: Connection established.
debug1: identity file /home/x/.ssh/identity type -1
debug1: identity file /home/x/.ssh/id_rsa type -1
debug1: identity file /home/x/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version
OpenSSH_4.2p1 FreeBSD-20050903
debug1: match: OpenSSH_4.2p1 FreeBSD-20050903 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2p1 FreeBSD-20050903
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-cbc hmac-md5 none
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'don' is known and matches the DSA host key.
debug1: Found key in /home/x/.ssh/known_hosts:2
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
Read from socket failed: Connection reset by peer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem connecting a freebsd server using ssh

2006-02-23 Thread mailinglist
A and B are the same version of FreeBSD? Perhaps you can try to remove all
the files under ~/.ssh on server B.

2006/2/23, Lei Sun [EMAIL PROTECTED]:

 Hi Guys,

 I did tons of search on what problems might be, but it doesn't seems
 to be the cases that I have searched even though it looks similar.

 1. ssh from Freebsd_A to Freebsd_B: I got Read from socket failed:
 Connection reset by peer error.
 2. ssh from windows xp (putty) to Freebsd_B: logs me in fine
 3. try to ssh from Freebsd_A to Freebsd_B again, got the same error
 message, and now I can't log in from windows xp (putty) to Freebsd_B
 any more, unless I reboot the windows xp machine. WIERD!!!

 I check the tcp wrapper thing, the hosts.allow is All : All : allow.
 So that's not the case.

 I made sure all of the KeepAlive entries are set to yes, but still no
 luck.

 Please help... Thanks in advance!


--
Ma Jie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Increase process number in FreeBSD 6.0

2006-02-23 Thread Nikolas Britton
On 2/22/06, Thawan Kooburat [EMAIL PROTECTED] wrote:
 Hi
I am using FreeBSD 6.0. My course assignment required me to
 increase  process number running on a system.
I have already modify /boot/loader.conf on following parameters

  kern.maxusers = 384
  kern.maxproc = 5
  kern.maxprocperuid = 5

But after reboot maxproc and maxprocperuid is only 5278 and 4755
 respectively. From my research maxproc is calculated from maxusers,
 but   i think my maxproc number is limited by other factors as well.
 Are there any suggestion to this problem without increasing RAM?

   My system is running on VMware and 256 MB of RAM available. The test
 program create process by using fork() and child processes is put to
 sleep() immediately after its creation.



I'm not sure if this still works but put options MAXUSERS=512 in the
kernel config file and rebuild the kernel. also maybe put it in
sysctl.conf

The auto-tuning algorithm sets maxuser equal to the amount of memory in the
system, with a minimum of 32, and a maximum of 384.


--
BSD Podcasts @ http://bsdtalk.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading Apache

2006-02-23 Thread Nikolas Britton
On 2/22/06, andreis [EMAIL PROTECTED] wrote:
 Hi:
 Could you please help us to find out if it is possible to upgrade 10.3.29 
 Apache to the latest 10.3.x version through FreeBSD RELENG_5_4 ports? If so, 
 any hints as to how to find the right ports would be greatly appreciated.


Apache version 10?, HaHaHa! You meant 1.3.x right?

 pwd
/usr/ports/www
 ll -d apache13*
drwxr-xr-x  3 root  wheel  512 Feb  4 06:31 apache13
drwxr-xr-x  3 root  wheel  512 Feb  4 06:31 apache13+ipv6
drwxr-xr-x  3 root  wheel  512 Feb  4 06:31 apache13-modperl
drwxr-xr-x  3 root  wheel  512 Feb 11 10:04 apache13-modssl
drwxr-xr-x  2 root  wheel  512 Jan 13 05:57 apache13-modssl+ipv6
drwxr-xr-x  3 root  wheel  512 Jan 28 22:23 apache13-ssl

More then likely you will need to update your ports collection first
with cvsup and then update all your install ports before you can
install the new version of apache, refer to the FreeBSD Handbook on
how to do this: http://www.freebsd.org/handbook/

--
BSD Podcasts @ http://bsdtalk.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't seem to boot from 6.0-RELEASE

2006-02-23 Thread Nikolas Britton
On 2/22/06, Alex Mayfield [EMAIL PROTECTED] wrote:
 I'm rather new to FreeBSD, and have been wanting to try it out.  However,
 I am unable to boot from either the i386 6.0-RELEASE bootonly or the i386
 6.0-RELEASE disc 1 CD.  I'm running an Athlon 64 3000+ on a WinFast
 755FXK8AA motherboard (Socket 939, SiS 755 North Bridge, SiS 964 South
 Bridge).  The boot CD dies right after ago0: figures out my SiS 755 with:

 panic: pmap_mapdev: Couldn't alloc kernel virtual memory.

 Having searched for my problem before posting, I found that another
 individual has had a similar problem to mine:

 http://docs.freebsd.org/cgi/mid.cgi?20060122170123.I76421

 I followed his initiative and tried the boot option that didn't use ACPI.
 No dice.  I also checked the MD5 of both CD's and they checked out fine.
 Finally, I tried to boot the amd64 version of FreeBSD, and this time it
 booted just fine and I got to an installation screen.  However, given the
 fact that there are no nvidia drivers for the 64 bit version, and certain
 programs being unavalable for amd64, I'd really just prefer to use the
 i386 version instead.


Your not using the right install CDs. You have an AMD 64-Bit chip so
you can't (AFAIK) use the I386 Release. Maybe there is a setting in
the BIOS for I386 compat, I have no experience with AMD's 64-Bit chips
so this is just a guess. Or try disabling ACPI and everything else in
the BIOS etc... That's the price you pay for being an early adopter,
you don't need nvidia gfx for an Opteron server.

ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/6.1/

--
BSD Podcasts @ http://bsdtalk.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sendmail: 550 Relaying denied after boot up; restart sendmail solves problem !?!

2006-02-23 Thread Rob

Hi,

I have a weird problem with my mail server.
It's running 6-Stable as Feb. 23rd.

After a boot up, sendmail refuses to deliver
emails with a

 reject=550 5.7.1 [...] Relaying denied

When I then simply restart sendmail manually:

  /etc/rc.d/sendmail restart

the problem is solved and email is correctly
delivered without any Relay denials.


Any idea what this can be?
And how to get this right immediately after
boot up?

Thanks,
Rob.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Automatically changing modes on the DVD writer for K3b

2006-02-23 Thread Fabian Keil
Donald T Hayford [EMAIL PROTECTED] wrote:

 To get K3b to work I need to change the mode of the following devices to 
 664 (or 666) from 644.
 
 /dev/xpt0
 /dev/cd0 and /dev/cd1
 /dev/pass0 and /dev/pass1
 
 Is there a way to do this automatically on boot-up?  Now I do it using a 
 script that I run as root but, of course, I always forget to run the 
 script before I run K3b.

Use /etc/devfs.conf:

permxpt00664
permcd0 0664
permcd1 0664
permpass0   0664
permpass1   0664

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: trouble finding burner (k3b)

2006-02-23 Thread Fabian Keil
Duane Whitty [EMAIL PROTECTED] wrote:

 Peter wrote:
  This k3b program is great but it I find it very picky.  Currently it
  cannot detect my DVD/CD burner (/dev/acd1) anymore.  It can find my CDROM
  (/dev/acd0) allright but it claims the permissions may be wrong on the
  burner.  I checked and these devices have the same permissions.  I even
  gave them both 777 without success in detection.  They are also both owned
  by root:operator and my invoking user is in group operator.  This used to
  work great.  I haven't tried to burn anything recently so I don't know
  when things fell apart but what I can say is yesterday I recompiled my
  kernel.  I used the same config file with one line being added (for USB
  2.0 support; ehci).  Anyone have any ideas?  I'm running 5.4 although
  today I was surprised that dmesg showed this:

 I have a similar problem in that k3b cannot find 
 my DVD/CD burner.  However I haven't received any 
 messages about permissions.
 
 On a hunch I started X as root and k3b was then 
 able to find my hardware.  This doesn't really 
 solve the problem but it was a quick work-around 
 for me until I figure this out.
 
 Note: I too changed permissions to 666 on 
 /dev/acd0 and /dev/cd0 to no avail.

The user needs to have access to /dev/xpt0 and /dev/pass0 as well.  

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: Can't seem to boot from 6.0-RELEASE

2006-02-23 Thread Alex Zbyslaw

Nikolas Britton wrote:


Your not using the right install CDs. You have an AMD 64-Bit chip so
you can't (AFAIK) use the I386 Release. Maybe there is a setting in
the BIOS for I386 compat, I have no experience with AMD's 64-Bit chips
so this is just a guess. Or try disabling ACPI and everything else in
the BIOS etc... That's the price you pay for being an early adopter,
you don't need nvidia gfx for an Opteron server.
 

This is not correct.  An i386 version of FreeBSD runs just dandy on 
64-bit Athlons (or 64 bit Intel for that matter) even if this release is 
failing on this specific system.  All current 64-bit PC processors are 
backwards compatible with i386.


I would try the i386 6.1 PRERELEASE CD, the 5.4 RELEASE and the 5.5 
PRERELEASE in order and see if any of them worked.  Or try limiting your 
google by including the sis 754 and see if finds any help.  There are 
mentions of 754 problems being fixed in 6-STABLE but I didn't look 
closely enough to know if they would help you.


--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 3Ware Escalade Issues

2006-02-23 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nathan Vidican
Sent: Wednesday, February 22, 2006 10:24 AM
To: Charles Swiger
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: 3Ware Escalade Issues


Charles Swiger wrote:
 On Feb 22, 2006, at 12:31 PM, Don O'Neil wrote:

 3) Is there some way I can do a faster FSCK, or perhaps
'fool'  the
 system
 into thinking the file system is clean?


 If you update to 5.x or later, you can use background FSCK
rather  than

 having to

 wait for the FSCK to complete the way it does under 4.x.


 I wasn't aware 5.x could do this. My next question is how are my
 existing
 apps going to be affected by upgrading to 5.x?


 If you install the 4.x compatibility libraries, your old 4.x
binaries
 should continue to work just fine.  However, you will want to
rebuild
 as much of your existing software under 5.x as possible.

 Also, if you update to 5.x, you can run the smartmon tools, which
 will let

 you

 do a drive self-test using SMART, this will give much better
 information

 about

 what is going on with the drive, and also give an estimate of its
 remaining
 lifespan.


 Yes, this would help a lot!!!


 Well, once you're running 5.x, install smartmon and run:
smartctl -t
 long /dev/ad0, or whatever the right device is.

 How old are the drives, if you know?


 They're less than 2 years old, and still under warranty.
This is  the
 second
 drive to fail and it's driving me nuts.

 They're Maxtor DiamondMax Plus 9 6Y250P0 250 GB PATA
drives...  Never
 had a
 problem with that particular drive until this batch.

 Can anyone suggest some good 250GB PATA drives for me to
use? I  might as
 well swap them all out since I'm starting over. The 6000
series  Escalade
 card I'm using doesn't support anything more than 250 GB.


 I've had somewhat better luck with the so-called special edition
 variants of the drives, such as the WD1200JB, which have more
cache  RAM
 and a longer warranty period than the generic versions


According to Western Digital, ONLY their 'SD' or (RAID-Edition)
drives should be
attempted in an array; WDC utilizes proprietary error
correction mechanisms
which mangle the error-handling done by an array controller. In
short, while the
drive is doing it's internal error-correction, the raid
controller sees it as a
drive failure and a whole new mess develops.


Whoah, there chicken little!

The article is in Western Digital's knowledgebase, article# 1397

Here are the relevant bits:

...If you install and use a desktop edition hard drive connected to a
RAID controller, the drive may not work correctly. This is caused by the
normal error recovery procedure that a desktop edition hard drive
uses

...When an error is found on a desktop edition hard drive, the drive
will enter into a deep recovery cycle to attempt to repair the error,
recover the data from the problematic area, and then reallocate a
dedicated area to replace the problematic area. This process can take up
to 2 minutes depending on the severity of the issue...

... Most RAID controllers allow a very short amount of time for a hard
drive to recover from an error. If a hard drive takes too long to
complete this process, the drive will be dropped from the RAID array...

So let me explain.  If you have a WD ide disk that is NOT in an array,
has a major error, and goes
away and hides for TWO MINUTES this is supposed to BE OK in a desktop?

How many users do you know are going to sit twiddling their thumbs
waiting for 2 minutes for
their computer to unfreeze?  I thought so.

You must have an extremely elastic idea of what an acceptable error
handling is on an IDE drive.
Yes, IDE, you know, Intelligent Drive Electronics?!?  As in, intelligent
enough to know that
if the problem is so severe it's going to take 2 minutes of scrubbing to
fix, that it's a
sign of imminent disk failure and the disk ought to be thrown out anyway?

I think what we have here is a bit of creative justification by WD for
why you should pay more money
for their RAID edition drives.

I'll tell you what.  I will keep an eye on my ATA raid setups that use WD
drives in them.  If one
disk dies for 2 minutes and the array dumps it, I'll RMA the drive back
to WD for a new one.
You by contrast, can keep your failing drives in your array until they
croak permanently.

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portsnap failing

2006-02-23 Thread Ashley Moran
I'm trying to update my ports tree on a 6.0-RELEASE/amd64 machine.  I get this 
error:

Updating from Wed Feb 15 08:30:17 GMT 2006 to Thu Feb 23 10:20:03 GMT 2006.
Fetching 3 metadata patches.. done.
Applying metadata patches... done.
Fetching 3 metadata files... /usr/sbin/portsnap: cannot open 
f1777c019669546744ef448c17531bdd125884253a6bf4b73f6e77001d7a0b12.gz: No such 
file or directory


If I delete the portsnap files and try to fetch a new snapshot, I get this 
error instead:

Fetching snapshot generated at Thu Feb 23 03:09:19 GMT 2006:
f4b0454e7bce8a4decdb9190e22b8325a966e92005df5f 97% of   39 MB  118 kBps 00m08s
fetch: transfer timed out


Neither of my i386 boxes have this problem.  Does anyone know where the issue 
lies?

Ashley
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Sendmail: 550 Relaying denied after boot up; restart sendmail solves problem !?!

2006-02-23 Thread Ted Mittelstaedt

One possibility is that sendmail is doing a dns query during
boot to find out what it's hostname is, this is failing because
maybe networking isn't up yet.

put your machine name and IP in /etc/hosts and try it again.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rob
Sent: Thursday, February 23, 2006 2:38 AM
To: freebsd-questions@freebsd.org
Subject: Sendmail: 550 Relaying denied after boot up;restart sendmail
solves problem !?!



Hi,

I have a weird problem with my mail server.
It's running 6-Stable as Feb. 23rd.

After a boot up, sendmail refuses to deliver
emails with a

 reject=550 5.7.1 [...] Relaying denied

When I then simply restart sendmail manually:

  /etc/rc.d/sendmail restart

the problem is solved and email is correctly
delivered without any Relay denials.


Any idea what this can be?
And how to get this right immediately after
boot up?

Thanks,
Rob.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.12/266 - Release 
Date: 2/21/2006

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can I use UTF-8 encoding at the FreeBSD console?

2006-02-23 Thread a
Can I use UTF-8 encoding at the FreeBSD console? 
Elisej Babenko 
mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail: 550 Relaying denied after boot up; restart sendmail solves problem !?!

2006-02-23 Thread Giorgos Keramidas
On 2006-02-23 02:37, Rob [EMAIL PROTECTED] wrote:

 Hi,

 I have a weird problem with my mail server.
 It's running 6-Stable as Feb. 23rd.

 After a boot up, sendmail refuses to deliver
 emails with a

  reject=550 5.7.1 [...] Relaying denied

 When I then simply restart sendmail manually:

   /etc/rc.d/sendmail restart

 the problem is solved and email is correctly
 delivered without any Relay denials.

 Any idea what this can be?
 And how to get this right immediately after boot up?

You haven't really told us anything that can help us understand that the
*real* problem is.  Are there interesting error messages in your
`/var/log/maillog' file?  What do these messages say?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: torrents.freebsd.org

2006-02-23 Thread Ceri Davies
On 20/2/06 23:34, Bob Johnson [EMAIL PROTECTED] wrote:

 torrents.freebsd.org (216.136.204.113:8080) does not seem to be
 accepting any connections.  Neither ctorrent nor rtorrent will connect
 to it, nor will a manual telnet connection.
 
 torrents.freebsd.org:8080 is the tracker specified in the torrent
 files downloaded from
 ftp.freebsd.org/pub/FreeBSD/torrents/6.0-RELEASE.
 
 Am I doing something wrong or is it down?

It's down.  There are no reliable statements as to when it will be back up,
either.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: changeing the port of the ftp server

2006-02-23 Thread fbsd_user
You would edit /etc/services to change the standard port numbers FTP
uses.
Say change port 20  21 to 35520  35521.

You also must realize that your public internet users who want to
access
your FTP server must also change their FTP port numbers to the same
ones you used in /etc/services before that can gain access to your FTP
server.

This method is one way to hide your FTP server from attack because you
would only tell your trusted remote users what the new port numbers
are.
All public attackers would be using the standard port 20  21 to
attack you.

If you want your public remote users to access your FTP server without
having to know the new port number, then this is no solution for you.

Now I have not heard of any ISP blocking ports 20/21 before, so I am
thinking maybe your firewall is blocking those port number.

What test did you run to verify your ISP is blocking those ports?
Does your ISP usage agreement say those ports are blocked?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of ross
Sent: Wednesday, February 22, 2006 11:59 PM
To: freebsd-questions@freebsd.org
Subject: changeing the port of the ftp server


I can't for the life of me figure out how to change the port of my ftp
server. My (crummy) ISP blocks port 21 and I would like to change the
default port of the ftp server in order to give access to the outside
world.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: portsnap failing

2006-02-23 Thread Jack Stone


I'm trying to update my ports tree on a 6.0-RELEASE/amd64 machine.  I get 
this

error:

Updating from Wed Feb 15 08:30:17 GMT 2006 to Thu Feb 23 10:20:03 GMT 2006.
Fetching 3 metadata patches.. done.
Applying metadata patches... done.
Fetching 3 metadata files... /usr/sbin/portsnap: cannot open
f1777c019669546744ef448c17531bdd125884253a6bf4b73f6e77001d7a0b12.gz: No 
such

file or directory


If I delete the portsnap files and try to fetch a new snapshot, I get this
error instead:

Fetching snapshot generated at Thu Feb 23 03:09:19 GMT 2006:
f4b0454e7bce8a4decdb9190e22b8325a966e92005df5f 97% of   39 MB  118 kBps 
00m08s

fetch: transfer timed out


Neither of my i386 boxes have this problem.  Does anyone know where the 
issue

lies?

Ashley


I don't think ports have anything to do with branches, although some ports 
may not have an amd64-compatible to use. The make.conf tells what CPU to 
make for. I *may* be all wet though and would be happy to be corrected.


I have no problem with portsnap - using FBSD-6.0 with builtin portsnap.

Jack

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrading Freebsd 5.4 release to 5.4 stable

2006-02-23 Thread Jayesh Jayan
Hi,

We have 12 servers running freebsd. They are basically web servers having
cpanel control panel.

All these server are running FreeBSD 5.4 Release as of now. Now are thinking
of upgrading it to 5.4 Stable


Please let me know the merits and demerits of the same. Do you feel it is
good move to upgrade to the stable version.

If it is suggested that I go for the upgrade which mode would suit the
servers ?


Awaiting all your valuable suggestions ...


--
Jayesh Jayan

The box said Requires Windows 95, NT, or better, so I installed Linux.

Visit my homepage @ http://www.jayeshjayan.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Alert : pkg_add and packages Q (do not want to compile)

2006-02-23 Thread Donald J. O'Neill
On Wednesday 22 February 2006 21:59, Ow Mun Heng wrote:
 On Wed, 2006-02-22 at 21:36 -0600, Donald J. O'Neill wrote:
  On Wednesday 22 February 2006 20:59, Ow Mun Heng wrote:
   what about the dependency then? Ignore it? What if there are
   files needed by xorg-clients? eg: libXX.so.Y and which is not
   present in the new xterm?
 
  Since you want to replace it with a newer version, why are you
  worried about the dependencies. The newer version will take care of
  that. Of course, if you delete xterm and don't replace it, then you
  will have to handle the dependencies.

 So, I do pkg_del -f xterm and then a pkg_add -vr xterm-206_1 and it
 will upgrade xorg-clients if needed? If yes, then Good.

No. It would only upgrade xterm. Xterm isn't dependent on xorg-clients. 
It's required by xorg-clients.

So, that brings up a question. Are you really trying to upgrade xorg and 
xterm was the example you used? If that's the case, my advice would 
have been different. 

What you are trying to do is update using downloaded packages
and that is going to work for you. You need to upgrade those
packages using the ports system.
  
   IS or is not?
 
  Is or is not what? I don't understand what you're asking here. You
  need to use more than a 4 word question, of which 2 of the words
  are the same. It tends to be confusing.

 Sorry but You're confusing me too. Read your sentence update using
 downloaded packages and that is (?NOT?) going to work for you

OK, I see what happened. I didn't put not in the sentence, as you 
pointed out. Since not is what I meant, I refused to see that it 
wasn't there, in fact my brain expected it to be there, and so when I 
looked at what you were asking, I saw it. Sorry. 
   Again, I don't want to compile it. I want the binary package.
   It's available on the mirrors.
 
  No It's not. The port is available on the mirrors. So compile it,
  or leave the old one in place.

 lftp ftp.tw.frebsd.org
 lftp ftp.tw.freebsd.org:/pub/FreeBSD/ports/i386/packages-6-stable/x11
 ls -l | grep xterm
 lrwxr-xr-x Nov 28 09:12 xterm-206_1.tbz - ../All/xterm-206_1.tbz
 get xterm-206_1.tbz
 quit
 tar -v -t -f xterm-206_1.tar
 -rw-r--r-- root/wheel 1560 2006-02-07 15:20:18 +CONTENTS
 -rw-r--r-- root/wheel   42 2006-02-07 15:20:18 +COMMENT
 -rw-r--r-- root/wheel  479 2006-02-07 15:20:18 +DESC
 -r--r--r-- root/wheel 8654 2006-02-07 15:20:18 +MTREE_DIRS
 -r--r--r-- root/wheel 1313 2006-02-07 15:19:55
 man/man1/resize.1.gz -r--r--r-- root/wheel41772 2006-02-07
 15:19:55 man/man1/xterm.1.gz -rwxr-xr-x root/wheel10104
 2006-02-07 15:19:54 bin/resize -rwxr-xr-x root/wheel 2118
 2006-02-07 15:19:54 bin/uxterm -rws--x--x root/wheel   252996
 2006-02-07 15:19:54 bin/xterm -r--r--r-- root/wheel 1527
 2006-02-07 15:19:55
 lib/X11/app-defaults/UXTerm
 -r--r--r-- root/wheel 6551 2006-02-07 15:19:55
 lib/X11/app-defaults/XTerm
 -r--r--r-- root/wheel 4232 2006-02-07 15:19:55
 lib/X11/app-defaults/XTerm-color

   I'm proficient with the CLI, and being a long time Linux person,
   I'm sad to say that FreeBSD ports/packages is really confusing to
   me.
 
  Use Windows instead. All that takes is money.

 Why the sarcasm?

At that moment, I had a lapse of brain power.  My fingers took control 
of the keyboard without interference from the part of my brain which 
says DON'T do this. It's wrong to say something like that. And then 
they hit the send button and it was too late to retract it. I believe: 
once something is said or done, it cannot be unsaid or undone, it may 
be fixed, forgiven, but not forgotten. I'm sorry for the sarcasm.

Available packages are not as up to date as the ports system
is.
  
   Again, the package _is_ available and I've verified it.
   Thanks
 
  I'm sorry. You've verified the port was available. The package is
  not. I just checked.

 See above. I too do my own verification before shooting emails out to
 mail lists

OK, I see where you were looking. I looked in the wrong place. When you 
look in the right place, yes, it's there.

  At this point, I'm going to close my ears eyes to you. You've been
  given advice by me and others

 and I thank you and them for it.

 Thanks again.

I hope that by this time, you've received enough information to do what 
you wanted to do. 

One thought just occurred to me. What is the output from 'uname -a', 
mine is: 
FreeBSD pres1750.mylan.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Wed 
Feb  8 08:20:10 CST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/PRES1750-i386  i386

You'll see that it has FreeBSD 6.1-PRERELEASE in it.
If yours has FreeBSD 6.0-RELEASE in it. Then you can't install a 
package using pkg_add -r 'some package' for a package built for 
FreeBSD 6.0-STABLE. You need to have 6.0-STABLE in order to install 
packages built for 6.0-STABLE. 

Don
___
freebsd-questions@freebsd.org mailing list

Re: Upgrading Freebsd 5.4 release to 5.4 stable

2006-02-23 Thread Kevin Kinsey

Jayesh Jayan wrote:


Hi,

We have 12 servers running freebsd. They are basically web servers having
cpanel control panel.

All these server are running FreeBSD 5.4 Release as of now. Now are thinking
of upgrading it to 5.4 Stable


Please let me know the merits and demerits of the same. Do you feel it is
good move to upgrade to the stable version.
 



The question is, will you ever go to 6.X ?  I'd think that if they last
very long, the answer might well be yes.  5.5 will be the last RELEASE
on the RELENG_5 branch.  Moving to -STABLE might keep you closer
to the targets in your future; consider someone who right now wants
to get from 4.11 to 6.0 --- they have to make one rather tricky jump
to, what, 5.2.1(?), RTFMG, and then hope that they don't need another
intermediate bump to get *smoothly* to wherever RELENG_6 might be ATM.

By keeping up a tad, you might be setting yourself up for smoother
transitions in the future.  YMMV, and all that.

Have you considered simply tracking RELENG_5_4 (aka security branch)?
Should be very little risk involved, and a smooth transition to 5.5 or 6.X.

Since you have a dozen servers, you might do well to set up a testbed
machine and try everything out before touching your production boxes.

But then, if you run 12 servers, you're probably already thinking about
that.


If it is suggested that I go for the upgrade which mode would suit the
servers ?
 



Mode??  Meaning, how to go about this process?  Are
they all identical?  Are you using a GENERIC or identical
kernel config on all?

If so, it should be easy on you to do the make buildworld
and make buildkernel steps on your testbed, export /usr/obj
via NFS to your production machines, and simply have them
mount this share and do the make installkernel and make
installworld steps.  IOW, just like the manual, but you do the
hard work only once.



Awaiting all your valuable suggestions ...

--
Jayesh Jayan
 



Heh.  I doubt it was that valuable.  Good luck!

Kevin Kinsey

--
Who to himself is law no law doth need,
offends no law, and is a king indeed.
-- George Chapman


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Page Fault - Wireless problem?

2006-02-23 Thread Mark Tinguely
  Unread portion of the kernel message buffer:
  ural0: could not transmit buffer: SHORT_XFER


  Fatal trap 12: page fault while in kernel mode
  fault virtual address   = 0x4
  fault code  = supervisor read, page not present
  instruction pointer = 0x20:0xc0667091
  stack pointer   = 0x28:0xd33e4c00
  frame pointer   = 0x28:0xd33e4c0c
  code segment= base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
  processor eflags= interrupt enabled, resume, IOPL = 0
  current process = 32 (irq21: uhci0 uhci1+)
  trap number = 12
  panic: page fault

I am not a USB/Ralink expert, but it the node can be removed
mid-transmission elsewhere (ural_free_tx_list) on input errors.
I don't know about threading issues that would require extra locking
as well:

in sys/dev/usb/
--- if_ural.c.orig  Sun Jan 29 08:16:36 2006
+++ if_ural.c   Thu Feb 23 08:30:36 2006
@@ -881,8 +881,10 @@
 
m_freem(data-m);
data-m = NULL;
-   ieee80211_free_node(data-ni);
-   data-ni = NULL;
+   if (data-ni != NULL) {
+   ieee80211_free_node(data-ni);
+   data-ni = NULL;
+   }
 
sc-tx_queued--;
ifp-if_opackets++;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel compiling options question

2006-02-23 Thread Daim Willemse

Hello all,

On my fine FreeBSD 6.0 box I am running a wireless access point. I set up 
the interface and bridged it and all worked fine.


After that I wanted to install ISDN4BSD. Therefor I compliled a new kernel 
after adding the ISDN4BSD code. The kernel compiled and it booted.


However. In the process the bridge if has gone missing. I added the line  
options BRIDGE to the kernel configuration, but no bridging if. this is the 
typical feedback I receive:


FBSD# ifconfig bridge0 create
ifconfig: SIOCIFCREATE: Invalid argument

What is the difference between the GENERIC kernel configuration and the 
stock kernel. What differences makes the bridge if gone missing?


Thank you in advance.
Daim


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading Freebsd 5.4 release to 5.4 stable

2006-02-23 Thread Jayesh Jayan
That was valuable in deed 

The 12 server are all identical but the problem is that the test machine
which we will be using is not of the same class as that of the server.

Then all the server run a custom built kernel and not the generic one.

By mode I meant how to go about doing this process. Is it better to go the
cvs way or the binary way ?

Currently we have not yet thought of freebsd 6.0, we are thinking of making
the servers bit more stable with the stable version

We came to this conclusion because our servers do have a problem were the
server gets rebooted automatically with put any reason ( I couldn't get any
from the logs )

This issue is there with all the servers but the one server suffers the most
( having a real bad uptime which is max of 2 days )

I hope to get more data on the same so that the transition is done smoothly



On 2/23/06, Kevin Kinsey [EMAIL PROTECTED] wrote:

 Jayesh Jayan wrote:

 Hi,
 
 We have 12 servers running freebsd. They are basically web servers having
 cpanel control panel.
 
 All these server are running FreeBSD 5.4 Release as of now. Now are
 thinking
 of upgrading it to 5.4 Stable
 
 
 Please let me know the merits and demerits of the same. Do you feel it is
 good move to upgrade to the stable version.
 
 

 The question is, will you ever go to 6.X ?  I'd think that if they last
 very long, the answer might well be yes.  5.5 will be the last RELEASE
 on the RELENG_5 branch.  Moving to -STABLE might keep you closer
 to the targets in your future; consider someone who right now wants
 to get from 4.11 to 6.0 --- they have to make one rather tricky jump
 to, what, 5.2.1(?), RTFMG, and then hope that they don't need another
 intermediate bump to get *smoothly* to wherever RELENG_6 might be ATM.

 By keeping up a tad, you might be setting yourself up for smoother
 transitions in the future.  YMMV, and all that.

 Have you considered simply tracking RELENG_5_4 (aka security branch)?
 Should be very little risk involved, and a smooth transition to 5.5 or 6.X
 .

 Since you have a dozen servers, you might do well to set up a testbed
 machine and try everything out before touching your production boxes.

 But then, if you run 12 servers, you're probably already thinking about
 that.

 If it is suggested that I go for the upgrade which mode would suit the
 servers ?
 
 

 Mode??  Meaning, how to go about this process?  Are
 they all identical?  Are you using a GENERIC or identical
 kernel config on all?

 If so, it should be easy on you to do the make buildworld
 and make buildkernel steps on your testbed, export /usr/obj
 via NFS to your production machines, and simply have them
 mount this share and do the make installkernel and make
 installworld steps.  IOW, just like the manual, but you do the
 hard work only once.


 Awaiting all your valuable suggestions ...
 
 --
 Jayesh Jayan
 
 

 Heh.  I doubt it was that valuable.  Good luck!

 Kevin Kinsey

 --
 Who to himself is law no law doth need,
 offends no law, and is a king indeed.
 -- George Chapman





--
Jayesh Jayan

The box said Requires Windows 95, NT, or better, so I installed Linux.

Visit my homepage @ http://www.jayeshjayan.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading Freebsd 5.4 release to 5.4 stable

2006-02-23 Thread Jerry McAllister
 
 Hi,
 
 We have 12 servers running freebsd. They are basically web servers having
 cpanel control panel.
 
 All these server are running FreeBSD 5.4 Release as of now. Now are thinking
 of upgrading it to 5.4 Stable
 

Hmmm.   I wouldn't call that an upgrade really.
Except for a few possibly meaningful security patches, it is 
the same thing.

You might well be much better served by upgrading to V6.0 or even 
waiting a couple of weeks and going to V6.1.   It is scheduled
for March 20 and it looks like things are pretty much keeping 
to schedule.

 
 Please let me know the merits and demerits of the same. Do you feel it is
 good move to upgrade to the stable version.

The stable version is really sort of an interim collection of
the development version.   It is generally felt to be stable with a
general sense that everything will work together, but not necessarily 
ready to be considered a release which is a formally tested collection 
that generally also has the more active ports built and tested against 
it by the port maintainers.   

The stable version is only a little bit more together than the 'current'
version which is really just a daily snapshot of the development tree with
no particular assurance that everything works together - though FreeBSD is
well enough put together that current tends to be workable.

If you are determined to stick with 5.xxx for some reason, then go
for 5.5 which is scheduled for April 3 or track RELENG_5 to get its
latest security updates.   But, I think you should move to 6.1 or
at least RELENG_6.Do a complete fresh clean install of 6.1 and
then start tracking the RELENG_6.

 
 If it is suggested that I go for the upgrade which mode would suit the
 servers ?
 

I don't know what you mean by mode.

jerry

 
 Awaiting all your valuable suggestions ...
 
 --
 Jayesh Jayan
 
 The box said Requires Windows 95, NT, or better, so I installed FreeBSD.
 
 Visit my homepage @ http://www.jayeshjayan.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel compiling options question

2006-02-23 Thread Giorgos Keramidas
On 2006-02-23 15:37, Daim Willemse [EMAIL PROTECTED] wrote:
 Hello all,

 On my fine FreeBSD 6.0 box I am running a wireless access point. I set up
 the interface and bridged it and all worked fine.

 After that I wanted to install ISDN4BSD. Therefor I compliled a new kernel
 after adding the ISDN4BSD code. The kernel compiled and it booted.

 However. In the process the bridge if has gone missing. I added the line 
 options BRIDGE to the kernel configuration, but no bridging if. this is
 the typical feedback I receive:

 FBSD# ifconfig bridge0 create
 ifconfig: SIOCIFCREATE: Invalid argument

You're missing something.

 What is the difference between the GENERIC kernel configuration and the
 stock kernel. What differences makes the bridge if gone missing?

None.  Show us the kernel configuration file you used to build your kernel.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading Freebsd 5.4 release to 5.4 stable

2006-02-23 Thread Jayesh Jayan
By mode I meant --  binary upgrade or cvs mode


On 2/23/06, Jerry McAllister [EMAIL PROTECTED] wrote:

 
  Hi,
 
  We have 12 servers running freebsd. They are basically web servers
 having
  cpanel control panel.
 
  All these server are running FreeBSD 5.4 Release as of now. Now are
 thinking
  of upgrading it to 5.4 Stable
 

 Hmmm.   I wouldn't call that an upgrade really.
 Except for a few possibly meaningful security patches, it is
 the same thing.

 You might well be much better served by upgrading to V6.0 or even
 waiting a couple of weeks and going to V6.1.   It is scheduled
 for March 20 and it looks like things are pretty much keeping
 to schedule.

 
  Please let me know the merits and demerits of the same. Do you feel it
 is
  good move to upgrade to the stable version.

 The stable version is really sort of an interim collection of
 the development version.   It is generally felt to be stable with a
 general sense that everything will work together, but not necessarily
 ready to be considered a release which is a formally tested collection
 that generally also has the more active ports built and tested against
 it by the port maintainers.

 The stable version is only a little bit more together than the 'current'
 version which is really just a daily snapshot of the development tree with
 no particular assurance that everything works together - though FreeBSD is
 well enough put together that current tends to be workable.

 If you are determined to stick with 5.xxx for some reason, then go
 for 5.5 which is scheduled for April 3 or track RELENG_5 to get its
 latest security updates.   But, I think you should move to 6.1 or
 at least RELENG_6.Do a complete fresh clean install of 6.1 and
 then start tracking the RELENG_6.

 
  If it is suggested that I go for the upgrade which mode would suit the
  servers ?
 

 I don't know what you mean by mode.

 jerry

 
  Awaiting all your valuable suggestions ...
 
  --
  Jayesh Jayan
 
  The box said Requires Windows 95, NT, or better, so I installed
 FreeBSD.
 
  Visit my homepage @ http://www.jayeshjayan.com




--
Jayesh Jayan

The box said Requires Windows 95, NT, or better, so I installed Linux.

Visit my homepage @ http://www.jayeshjayan.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading Freebsd 5.4 release to 5.4 stable

2006-02-23 Thread Jerry McAllister
 
 By mode I meant --  binary upgrade or cvs mode

If you go to V-6.xxx as suggested, then do a fresh install, that
includes wiping the disk and freshly building the slices and
partitions/file systems.   Of course, do the appropriate backups first
and verify them at least a little.

If you are just doing a move to RELENG_5 then use CVS.

jerry

 
 
 On 2/23/06, Jerry McAllister [EMAIL PROTECTED] wrote:
 
  
   Hi,
  
   We have 12 servers running freebsd. They are basically web servers
  having
   cpanel control panel.
  
   All these server are running FreeBSD 5.4 Release as of now. Now are
  thinking
   of upgrading it to 5.4 Stable
  
 
  Hmmm.   I wouldn't call that an upgrade really.
  Except for a few possibly meaningful security patches, it is
  the same thing.
 
  You might well be much better served by upgrading to V6.0 or even
  waiting a couple of weeks and going to V6.1.   It is scheduled
  for March 20 and it looks like things are pretty much keeping
  to schedule.
 
  
   Please let me know the merits and demerits of the same. Do you feel it
  is
   good move to upgrade to the stable version.
 
  The stable version is really sort of an interim collection of
  the development version.   It is generally felt to be stable with a
  general sense that everything will work together, but not necessarily
  ready to be considered a release which is a formally tested collection
  that generally also has the more active ports built and tested against
  it by the port maintainers.
 
  The stable version is only a little bit more together than the 'current'
  version which is really just a daily snapshot of the development tree wit=
 h
  no particular assurance that everything works together - though FreeBSD i=
 s
  well enough put together that current tends to be workable.
 
  If you are determined to stick with 5.xxx for some reason, then go
  for 5.5 which is scheduled for April 3 or track RELENG_5 to get its
  latest security updates.   But, I think you should move to 6.1 or
  at least RELENG_6.Do a complete fresh clean install of 6.1 and
  then start tracking the RELENG_6.
 
  
   If it is suggested that I go for the upgrade which mode would suit the
   servers ?
  
 
  I don't know what you mean by mode.
 
  jerry
 
  
   Awaiting all your valuable suggestions ...
  
   --
   Jayesh Jayan
  
   The box said Requires Windows 95, NT, or better, so I installed
  FreeBSD.
  
   Visit my homepage @ http://www.jayeshjayan.com
 
 
 
 
 --
 Jayesh Jayan
 
 The box said Requires Windows 95, NT, or better, so I installed Linux.
 
 Visit my homepage @ http://www.jayeshjayan.com
 
 --=_Part_6303_26685538.1140706669115
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 brBy mode I meant -- gt; binary upgrade or cvs modebrbrbrdivspa=
 n class=3Dgmail_quoteOn 2/23/06, b class=3Dgmail_sendernameJerry McA=
 llister/b lt;a href=3Dmailto:[EMAIL PROTECTED][EMAIL PROTECTED]
 .cl.msu.edu
 /agt; wrote:/spanblockquote class=3Dgmail_quote style=3Dborder-lef=
 t: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1=
 ex;gt;brgt; Hi,brgt;brgt; We have 12 servers running freebsd. T=
 hey are basically web servers having
 brgt; cpanel control panel.brgt;brgt; All these server are running=
  FreeBSD 5.4 Release as of now. Now are thinkingbrgt; of upgrading it to=
  5.4 Stablebrgt;brbrHmmm.nbsp;nbsp; I wouldn't call that an upgrad=
 e really.
 brExcept for a few possibly meaningful security patches, it isbrthe sam=
 e thing.brbrYou might well be much better served by upgrading to V6.0 o=
 r evenbrwaiting a couple of weeks and going to V6.1.nbsp;nbsp; It is sc=
 heduled
 brfor March 20 and it looks like things are pretty much keepingbrto sch=
 edule.brbrgt;brgt; Please let me know the merits and demerits of th=
 e same. Do you feel it isbrgt; good move to upgrade to the stable versio=
 n.
 brbrThe stable version is really sort of an interim collection ofbrth=
 e development version.nbsp;nbsp; It is generally felt to be quot;stable=
 quot; with abrgeneral sense that everything will work together, but not n=
 ecessarily
 brready to be considered a quot;releasequot; which is a formally tested=
  collectionbrthat generally also has the more active ports built and test=
 ed againstbrit by the port maintainers.brbrThe stable version is only=
  a little bit more together than the 'current'
 brversion which is really just a daily snapshot of the development tree w=
 ithbrno particular assurance that everything works together - though Free=
 BSD isbrwell enough put together that current tends to be workable.br
 brIf you are determined to stick with 5.xxx for some reason, then gobrf=
 or 5.5 which is scheduled for April 3 or track RELENG_5 to get itsbrlates=
 t security updates.nbsp;nbsp; But, I think you should move to 6.1 orbra=
 t least RELENG_6.nbsp;nbsp;nbsp;nbsp;Do a complete fresh clean install =
 of=20
 6.1 andbrthen start 

Converting a Regex into plain text

2006-02-23 Thread Warren Liddell
is there any pkg avilable that'll convert a regex into plain txt ?

Presently i dont care if its windows based or FreeBSD based
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


arp: XXX is on rl0 but got reply from ...

2006-02-23 Thread Andrei Iarus
I have read a lot about this error message, but I have another  questions: What 
actually happens when this error occures? I mean what  can this error lead to? 
Is it enough to switch the specific sysctl  variable to stop the error (and all 
it can lead to)?  I dont think  so, then: Is the blocking of some of those 
packets the best solution to  this problem? (In my case, the problem is because 
the 2 NICs are  connected to the same network through the same switch).
  

-
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading Freebsd 5.4 release to 5.4 stable

2006-02-23 Thread Jerry McAllister
 
 That was valuable in deed 
 
 The 12 server are all identical but the problem is that the test machine
 which we will be using is not of the same class as that of the server.
 
 Then all the server run a custom built kernel and not the generic one.
 
 By mode I meant how to go about doing this process. Is it better to go the
 cvs way or the binary way ?
 
 Currently we have not yet thought of freebsd 6.0, we are thinking of making
 the servers bit more stable with the stable version

See, this is a misunderstanding of the way the word 'stable' is being
used in regards to the FreeBSD versions.   It is stable only in relation
to the 'current' development track which is in almost complete flux as
people work on it daily.   But in comparrison to the RELEASE verion
a STABLE version is not as stable (though it is usually pretty good).
It is sort of an interim version with security patches and some of the
new things that are being worked on.

 We came to this conclusion because our servers do have a problem were the
 server gets rebooted automatically with put any reason ( I couldn't get any
 from the logs )

This is probably not related to the OS level at all.  It is most likely
some hardware or power stability issue, but could be some software
thing if storage space or memory table space or some such is running out.

 This issue is there with all the servers but the one server suffers the most
 ( having a real bad uptime which is max of 2 days )

Any possibility you have something going that has a memory leak?

jerry

 
 I hope to get more data on the same so that the transition is done smoothly
 
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can I use UTF-8 encoding at the FreeBSD console?

2006-02-23 Thread Dan Nelson
In the last episode (Feb 23), a said:
 Can I use UTF-8 encoding at the FreeBSD console? 

No; since text consoles can only display 256 characters at a time
anyway, it wouldn't do much good.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I've got spyware!!??

2006-02-23 Thread Dave McCammon


--- Garrett Cooper [EMAIL PROTECTED] wrote:

 On Feb 23, 2006, at 12:19 AM, Joseph Vella wrote:
 
  I just installed flash in Firefox.  I was playing
 around with the
  autoscrolling feature, when all of a sudden some
 ugly website pops  
  up.  It
  was something I clicked with the mouse wheel.  I
 tried it again and  
  sure
  enough the same site pops up.  It was kind of
 tricky to do. I had  
  to be
  scrolling and then click real fast.  I found that
 if I turned off the
  autoscrolling, anytime I clicked in the browser
 window with the  
  mouse wheel
  this site would come up.  On a couple of occasions
 a page within the
  Microsoft site would come up instead.
 
  I deleted the mozilla directory in my home
 directory.  After that  
  the first
  three clicks of my mouse wheel would cause the
 Microsoft page to  
  come up,
  after that the other site would come up.
 
  How could there be spyware on my FreeBSD computer
 and how do I get  
  rid of it?
 
 Not sure if this is true for FreeBSD, but try
 deleting the  
 ~/.macromedia directory and see what happens. This
 may remove any  
 unwanted cached flash apps.
 Interesting though. If this persists, someone may
 have found and  
 exploited a security issue with Flash =\...
 -Garrett

I think it is something in Firefox. I see the same
thing. When the middle mouse button is clicked on a
page, it goes to a seemingly random page.(Notice
seemingly)

It looks like it can be disable by typeing
about:config in the address bar of firefox and
changing the middlemouse.contentloadurl to false.

Also, google middlemouse.contentloadurl for what it
does. It has something to do with loading clipboard
contents as URL. 
Read
https://bugzilla.mozilla.org/show_bug.cgi?id=216899.
There is a mention of a Google I'm Feeling Lucky
search being done, which may be what you are seeing.

Dave

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Converting a Regex into plain text

2006-02-23 Thread Fabian Keil
Warren Liddell [EMAIL PROTECTED] wrote:

 is there any pkg avilable that'll convert a regex into plain txt ?

What do you mean? What would the plain text translation of 

(div|p)[^]*(id|class)=\(Ad.*|Logo|SidebarAds|Tips|Item)\

be?

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: Converting a Regex into plain text

2006-02-23 Thread Chuck Swiger
Warren Liddell wrote:
 is there any pkg avilable that'll convert a regex into plain txt ?

No.  Most regular expressions cannot be expressed as finite plain text strings,
that is why regex is used in the first place.

 Presently i dont care if its windows based or FreeBSD based

Hmm.

-- 
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem connecting a freebsd server using ssh

2006-02-23 Thread wc_fbsd

At 03:50 AM 2/23/2006, Lei Sun wrote:
1. ssh from Freebsd_A to Freebsd_B: I got Read from socket failed: 
Connection reset by peer error.

2. ssh from windows xp (putty) to Freebsd_B: logs me in fine
3. try to ssh from Freebsd_A to Freebsd_B again, got the same error


I didn't did through your logs extensively.  But when I've run into 
similar problems recently, it's usually because one of the clients is 
using an older (  v2) of the protocol.  At some point back in fBSD 
5.x support for the less-secure v1 ssh protocol became disabled by default.


Try editing /etc/ssh/sshd_config   and look for a Protocol 
option.  Try setting it to Protocol 1,2   However, the level one 
supposedly has some security holes, and you might not want to use it 
over the public Internet.  I just use it with my stupid windoze 
client that only does level one, to connect over our own LAN, so I don't care.


  -Wayne

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Converting a Regex into plain text

2006-02-23 Thread Warren Liddell
On Thursday 23 February 2006 15:50, Fabian Keil wrote:
 Warren Liddell [EMAIL PROTECTED] wrote:
  is there any pkg avilable that'll convert a regex into plain txt ?

 What do you mean? What would the plain text translation of

 (div|p)[^]*(id|class)=\(Ad.*|Logo|SidebarAds|Tips|Item)\

 be?

 Fabian

@[EMAIL PROTECTED]|@()[|\|@@|1|/\|)[|\|1=||_|0/`|\|@(32|3|-|/X\ 

The above is the regex .. im looking to convert it or something to soem sort 
of human readable format.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Converting a Regex into plain text

2006-02-23 Thread chip
On 2/23/06, Warren Liddell [EMAIL PROTECTED] wrote:

 is there any pkg avilable that'll convert a regex into plain txt ?

 Presently i dont care if its windows based or FreeBSD based
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]



Take a look at RegEx Coach it has several ways to express what the regex
string is doing.  It's got
lots of other neat tools as well:
http://www.weitz.de/regex-coach/

 --chip
--
Just my $.02, your mileage may vary,  batteries not included, etc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Converting a Regex into plain text

2006-02-23 Thread Warren Liddell
 Take a look at RegEx Coach it has several ways to express what the regex
 string is doing.  It's got
 lots of other neat tools as well:
 http://www.weitz.de/regex-coach/

  --chip
 --
 Just my $.02, your mileage may vary,  batteries not included, etc

Thanks, i'll give it a shot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenVPN in QEMU on FreeBSD 6.x ...

2006-02-23 Thread Eric Schuele

Marc G. Fournier wrote:


Did some searching tonight, to see what was available as an OSS 
alternative to VMWare, and came across QEMU ... what I'm interested in 
doing is running a QEMU vServer that runs FreeBSD inside of it, and will 
support having outside connections talking to it as a VPN hub(?) ... 
basically, I don't want to have to futz at the Host OS level, only the 
Client OS level, as far as networking is concerned ...




Good chance I can't help I'm just curious.

You want to have a VPN endpoint running in FreeBSD as a guest OS within 
Qemu, on a FreeBSD host?  You want it in Qemu so you don't have to 
modify the host's network setup and/or install the necessary software?


In any case, take a look here (if you haven't already):
  http://www.qemu.org/qemu-doc.html#SEC20
Might find something useful.

The Qemu site states The QEMU VM behaves as if it was behind a firewall 
which blocks all incoming connections.  So on first glance, its sounds 
as if it might not be supported.  But I'd read over the docs in more 
detail if I were you.



Wishful thinking, or does this make sense?  Has anyone done it?  
Pointers to docs on this, if so?


Thx ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CVSUP ?

2006-02-23 Thread Chris Maness
I have a question in regards to CVSUP.  Does it sometimes not delete old 
files.  I did a sync on my ports.  I built CUPS and the install scripts 
were putting files in the wrong place.  I fixed it by manually deleting 
the cups directory and getting the fresh tarballs from from the ports 
site.  I had just synced two weeks ago.  I just thought this behavior 
was strange.  Can anyone shed light on this?


Thanks
Chris Maness
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem connecting a freebsd server using ssh

2006-02-23 Thread Lei Sun
Actually, both of them are releng_6-p4, and I had no problem
connecting in both directions before Freebsd_B is put into the data
center.

Any more help or suggestions would be gladly appreciated.

Thanks

Lei

On 2/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 At 03:50 AM 2/23/2006, Lei Sun wrote:
 1. ssh from Freebsd_A to Freebsd_B: I got Read from socket failed:
 Connection reset by peer error.
 2. ssh from windows xp (putty) to Freebsd_B: logs me in fine
 3. try to ssh from Freebsd_A to Freebsd_B again, got the same error

 I didn't did through your logs extensively.  But when I've run into
 similar problems recently, it's usually because one of the clients is
 using an older (  v2) of the protocol.  At some point back in fBSD
 5.x support for the less-secure v1 ssh protocol became disabled by default.

 Try editing /etc/ssh/sshd_config   and look for a Protocol
 option.  Try setting it to Protocol 1,2   However, the level one
 supposedly has some security holes, and you might not want to use it
 over the public Internet.  I just use it with my stupid windoze
 client that only does level one, to connect over our own LAN, so I don't care.

-Wayne


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading Freebsd 5.4 release to 5.4 stable

2006-02-23 Thread Jayesh Jayan
All are Dell Poweredge servers with identical specification.

I did check the message logs an couldn't find any problem

What are the other aspects which I need to check so as to find a solution.


On 2/23/06, Jerry McAllister [EMAIL PROTECTED] wrote:

 
  That was valuable in deed 
 
  The 12 server are all identical but the problem is that the test machine
  which we will be using is not of the same class as that of the server.
 
  Then all the server run a custom built kernel and not the generic one.
 
  By mode I meant how to go about doing this process. Is it better to go
 the
  cvs way or the binary way ?
 
  Currently we have not yet thought of freebsd 6.0, we are thinking of
 making
  the servers bit more stable with the stable version

 See, this is a misunderstanding of the way the word 'stable' is being
 used in regards to the FreeBSD versions.   It is stable only in relation
 to the 'current' development track which is in almost complete flux as
 people work on it daily.   But in comparrison to the RELEASE verion
 a STABLE version is not as stable (though it is usually pretty good).
 It is sort of an interim version with security patches and some of the
 new things that are being worked on.

  We came to this conclusion because our servers do have a problem were
 the
  server gets rebooted automatically with put any reason ( I couldn't get
 any
  from the logs )

 This is probably not related to the OS level at all.  It is most likely
 some hardware or power stability issue, but could be some software
 thing if storage space or memory table space or some such is running out.

  This issue is there with all the servers but the one server suffers the
 most
  ( having a real bad uptime which is max of 2 days )

 Any possibility you have something going that has a memory leak?

 jerry

 
  I hope to get more data on the same so that the transition is done
 smoothly
  
 





--
Jayesh Jayan

The box said Requires Windows 95, NT, or better, so I installed Linux.

Visit my homepage @ http://www.jayeshjayan.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem regarding setting DISPLAY env variable and hostname

2006-02-23 Thread Rob
Rob wrote:
 On Wed, 22 Feb 2006 20:27:20 +0200
 Giorgos Keramidas [EMAIL PROTECTED] wrote:
 
 On 2006-02-22 10:17, Rob [EMAIL PROTECTED] wrote:
 I have been trying to figure out how to set the display name on my
 computer.  I have a program used with Xorg that gives me the error
 message:

 _X11TransSocketINETConnect() can't get address for xenon:6000: hostname nor 
 servname provided, or not known
 Error: Can't open display: xenon:0.0

 also when starting or stopping Xorg I either get:

 bad display name xenon:0 in remove commandor
 bad display name xenon:0  in list command
 Your laptop can't resolve the name xenon.

 I have my XDISPLAY env variable set using (in Bash):

 DISPLAY=xenon:0.0 export DISPLAY

 xenon is the name of the machine

 I think part of the problem is the setting of the hostname.  This laptop
 runs off of DHCP and I am not really sure about what I should do for
 setting the hostname.  The manual says to set HOSTNAME= in rc.conf if
 using DHCP, but then I get the amnesiac message upon boot.  Sendmail
 doesn't like that either and hangs during the boot process.  So I just
 set it arbitrarily to xenon
 Note that the capitalization of rc.conf variables is *significant*.  The
 real rc.conf variable that you have to set to avoid the Amnesiac name is:

 hostname=xenon

 I have read manual pages, searched the archives, but I am really confused
 about all of this.  Thank you for any help.
 All this can be resolved by using `/etc/hosts'.  Just add your hostname
 there and point it to the 127.0.0.1 address.  Then all programs should be
 able to resolve it.



 Thanks Giorgios,
 
 I think that I have the hostname problem resolved.  rc.conf has 
 hostname=xenon  and
 /etc/hosts has:  127.0.0.1 localhost  xenon
 
 So now Xorg does not give errors on startup or shutdown like the 
 bad display name xenon:0 in remove commandor
 bad display name xenon:0  in list command
 
 But when not setting the DISPLAY variable explicitely anywhere I still get 
 the error:
 out of display lists upon starting the program I want from xterm
 
 But then setting DISPLAY=xenon:0.0 export DISPLAY and then executing the 
 program then gives the error:
 
 Can't open display: xenon:0.0   so I guess I am back to square one.
 
 Maybe I should call it a day and rest, haha.
 
 Thanks,
 
 Rob
 
 
 
 
Hi,

Sorry if you get this twice Rob as I mistakenly 
sent my reply only to you without including the list

I had the same problem.  Add this line to your 
.xinitrc file

xdpyinfo -display :0.0

The hostname is not specified.

--Duane


Hi Duane,

I put the line you suggest into .xinitrc, but I still have the same problem.  I 
also went into /etc/hosts after 
doing this and tried two ways of setting hosts:

1.  127.0.0.1  localhost   xenon
2   127.0.0.1  localhost

But I am still seeing the out of display lists message.
 
It seems like the xdpyinfo command does not do anything.

The only thing that I have done which changes the error message is to set 
/etc/rc.conf hostname=xenon
Then in .bash_profile put DISPLAY=xenon:0.0 export DISPLAY

Then I get the different error message:

_X11TransSocketINETConnect() can't get address for xenon:6000: hostname nor 
servname provided, or not known
Error: Can't open display: xenon:0.0

So I guess now I have tried every combination of the following:

setting hostname in rc.conf to either  or xenon
setting DISPLAY=xenon:0.0 or leaving that line out in .bash_profile

And finally, putting in xinitrc xdpyinfo -display  :0.0  or just leaving that 
line out.



So I am still baffled. 


Sincerely,

Rob.

-- 

---
http://www.roblytle.org
Rob Lytle Home Page
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Solved, thanks! And a hot software tip (was: How to remove Boot Menu)

2006-02-23 Thread wc_fbsd
Hi thanks to everyone who responded, Esp Tim D. on my question 
about removing the FBSD boot manager.  A plain old DOS FDISK /MBR 
zapped it, and left my BSD installation untouched.


Problem is yet again, I needed a dang DOS boot disk.  I've been 
thinking for years it would be cool to have a boot CD-Rom instead, 
that could load up into a ram disk, yada, yada


Well someone already did it, and did a damn thorough job:  The 
Ultimate Boot CD  http://www.ultimatebootcd.com/  is a must-have 
piece of free-ware for anyone maintaining win-tel PCs, regardless 
of the operating system in use.  See the site for a complete 
list.  But basically the guy has pulled together dozens of 
manufacturer specific diagnostics, firmware flashers, etc onto one CD 
that can run them directly, or get you a shell in dos or linux, and 
be able to mount pretty much any file system out there.  Good 
Stuff!  Check it out.  And [maybe] finally trash those floppies for good.


-Wayne

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem regarding setting DISPLAY env variable and hostname

2006-02-23 Thread Rob
On 2006-02-22 13:07, Rob [EMAIL PROTECTED] wrote:
On Wed, 22 Feb 2006 20:27:20 +0200
Giorgos Keramidas [EMAIL PROTECTED] wrote:
 I have read manual pages, searched the archives, but I am really confused
 about all of this.  Thank you for any help.

 All this can be resolved by using `/etc/hosts'.  Just add your hostname
 there and point it to the 127.0.0.1 address.  Then all programs should be
 able to resolve it.

 Thanks Giorgios,

 I think that I have the hostname problem resolved.  rc.conf has
 hostname=xenon and /etc/hosts has: 127.0.0.1 localhost xenon

That's quite fine :)

 So now Xorg does not give errors on startup or shutdown like the
   bad display name xenon:0 in remove commandor
   bad display name xenon:0  in list command

 But when not setting the DISPLAY variable explicitely anywhere I still
 get the error: out of display lists upon starting the program I want
 from xterm

 But then setting DISPLAY=xenon:0.0 export DISPLAY and then executing
 the program then gives the error:

 Can't open display: xenon:0.0   so I guess I am back to square one.

 Maybe I should call it a day and rest, haha.

Just a wild guess, since I don't see why you should have problems
running programs like:

Can't open display: xenon:0.0

Are you running X11 as a plain user and having problems to run programs
*after* using su(1) to become root or does this happen for all users in
all terminals?

- Giorgos

Hi Giorgos,

I am trying to run a program from xterm as a normal user.  However, when su'ing 
in xterm,
I am unable to run any programs.  Then I get the error:

Xlib: connection to :0.0 refused by server
Xlib: No protocol specified
Error: Can't open display: :0.0

setting for csh as root:  setenv DISPLAY xenon:0.0 then gives the error message:

_XTransSocketINETConnect() can't get address for xenon:6000: hostname nor 
server name provided, 
or not known
Error: Can't open display xenon:0.0

I seem to remember never being able to su in xterm and be able to run any 
programs no matter what
combination of settings I have used.  I also think that the error messages 
might have been different
but I am starting to lose track of the error messages for combinations of 
settings for hostname, 
DISPLAY, etc.  I probably need to start putting all of this down on paper so I 
can find any patterns.

Rob.






-- 

---
http://www.roblytle.org
Rob Lytle Home Page
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


proftpd+pam

2006-02-23 Thread Mário Sérgio Candian

Hello guys,

I have a FreeBSD 5.4-STABLE box. I installed from the ports the proftpd 
(proftpd-1.3.0.r3) and I have some problems with autentication. In the 
/var/log/messages file I have this:


Feb 23 13:37:31 brhp_ftp01 proftpd: in openpam_read_chain(): 
/etc/pam.d/ftpd(22): invalid facility 'ftp' (ignored)

Feb 23 13:37:31 brhp_ftp01 proftpd
Feb 23 13:37:31 brhp_ftp01 in free():
Feb 23 13:37:31 brhp_ftp01 error:
Feb 23 13:37:31 brhp_ftp01 chunk is already free
Feb 23 13:37:51 brhp_ftp01 kernel: pid 45157 (proftpd), uid 0: exited on 
signal 6


In the /etc/pam.d/ftpd (22) I have this:

*ftp authrequiredpam_unix.so 
try_first_pass   - line 22*

ftp account requiredpam_unix.so try_first_pass
ftp session requiredpam_permit.so

In the proftpd.conf I had it:

AuthPAM   yes
AuthPAMConfig   ftp

Is this FreeBSD version doesnt support pam session? Do I something 
wrong? Any idea?


Thanks for all.

--
Mario Sergio Candian
-
Dreams as if you'll live forever. Live as if you'll die today -- James Dean

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Trouble setting up wireless network

2006-02-23 Thread Teemu Korhonen
I'm trying to make an adhoc wlan between my desktop computer (WinXP) and  
laptop (FreeBSD-6.0). Both have 802.11b/g wlan-adapters.


They seem to connect, but theres no data transfer and neither can ping  
each other. Windows machine can ping it self, but freebsd machine can't.  
(ping: sendto: Host is down)


The laptop's wlan-card worked fine when I tried it at university's wlan.  
( just command dhclient ndis0 was sufficent )


Here's some debugging information:
--
Gandalf# dmesg | grep ndis0
ndis0: Dell TrueMobile 1300 WLAN Mini-PCI Card mem 0x8800-0x88001fff  
irq 11 at device 0.0 on cardbus0

ndis0: NDIS API version: 5.0
ndis0: Ethernet address: 00:07:40:fa:01:c5

Gandalf# ifconfig ndis0 inet 192.168.0.4 netmask 255.255.255.0 media  
DS/11Mbps mediaopt adhoc ssid koti channel 10 up

Gandalf# ifconfig ndis0
ndis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::207:40ff:fefa:1c5%ndis0 prefixlen 64 scopeid 0x4
inet 192.168.0.4 netmask 0xff00 broadcast 192.168.0.255
ether 00:07:40:fa:01:c5
media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps adhoc)
status: associated
ssid koti channel 1 bssid de:54:3a:eb:21:75
authmode OPEN privacy OFF txpowmax 100 protmode CTS

Gandalf# ifconfig ndis0 scan
SSIDBSSID  CHAN RATE  S:N   INT CAPS
koti8e:3d:96:d9:e7:801   11M 161:0   100 I??? ??? ???  
???


Gandalf# wicontrol ndis0
NIC serial number:  [  ]
Station name:   [ Gandalf.koti ]
SSID for IBSS creation: [ koti ]
Current netname (SSID): [ koti ]
Desired netname (SSID): [ koti ]
Current BSSID:  [ de:54:3a:eb:21:75 ]
Channel list:   [ 3fff ]
IBSS channel:   [ 10 ]
Current channel:[ 1 ]
Comms quality/signal/noise: [ 0 0 0 ]
Promiscuous mode:   [ Off ]
Intersil-Prism2 based card: [ 1 ]
Port type (1=BSS, 3=ad-hoc):[ 0 ]
MAC address:[ 00:07:40:fa:01:c5 ]
TX rate (selection):[ 11 ]
TX rate (actual speed): [ 11 ]
RTS/CTS handshake threshold:[ 2346 ]
Create IBSS:[ On ]
Access point density:   [ 1 ]
Power Mgmt (1=on, 0=off):   [ 0 ]
Max sleep time: [ 100 ]
WEP encryption: [ Off ]
TX encryption key:  [ 0 ]
Encryption keys:[  ][  ][  ][  ]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem regarding setting DISPLAY env variable and hostname

2006-02-23 Thread Giorgos Keramidas
On 2006-02-23 08:38, Rob [EMAIL PROTECTED] wrote:
  On 2006-02-22 13:07, Rob [EMAIL PROTECTED] wrote:
   So now Xorg does not give errors on startup or shutdown like the
  
 bad display name xenon:0 in remove commandor
 bad display name xenon:0  in list command
  
   But when not setting the DISPLAY variable explicitely anywhere I still
   get the error: out of display lists upon starting the program I want
   from xterm
  
   But then setting DISPLAY=xenon:0.0 export DISPLAY and then executing
   the program then gives the error:
  
   Can't open display: xenon:0.0   so I guess I am back to square one.
  
   Maybe I should call it a day and rest, haha.
 
  Just a wild guess, since I don't see why you should have problems
  running programs like:
 
  Can't open display: xenon:0.0
 
  Are you running X11 as a plain user and having problems to run programs
  *after* using su(1) to become root or does this happen for all users in
  all terminals?

 Hi Giorgos,

 I am trying to run a program from xterm as a normal user.  However,
 when su'ing in xterm, I am unable to run any programs.  Then I get the
 error:

 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified
 Error: Can't open display: :0.0

That's ok.  When you use su(1) to become root, you no longer have
permission to open programs on the display of the X server opened
by the plain user.

 setting for csh as root:  setenv DISPLAY xenon:0.0 then gives the error 
 message:

 _XTransSocketINETConnect() can't get address for xenon:6000: hostname nor 
 server name provided, or not known
 Error: Can't open display xenon:0.0

Open another xterm, from the X11 session of the plain user, and run:

$ xhost +localhost

Then you'll be able to `connect' by running as root:

xenon# setenv DISPLAY localhost:0

 I seem to remember never being able to su in xterm and be able
 to run any programs no matter what combination of settings I
 have used.

That may be true, depending on the version of X11 that you are
running, the current operating system and the setup of the X11
sessions.  I can't tell what you had done, since I wasn't there...

 I also think that the error messages might have been different
 but I am starting to lose track of the error messages for
 combinations of settings for hostname, DISPLAY, etc.  I
 probably need to start putting all of this down on paper so I
 can find any patterns.

Sure.  Keeping notes is always a good idea :)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CVSUP ?

2006-02-23 Thread Alex Zbyslaw

Chris Maness wrote:

I have a question in regards to CVSUP.  Does it sometimes not delete 
old files.  I did a sync on my ports.  I built CUPS and the install 
scripts were putting files in the wrong place.  I fixed it by manually 
deleting the cups directory and getting the fresh tarballs from from 
the ports site.  I had just synced two weeks ago.  I just thought this 
behavior was strange.  Can anyone shed light on this?


What is definitely true, is that cvsup will not delete any files *you* 
create in the ports tree, and that is a positive feature.  I can't say 
whether this was your situation or not, but AFAIK, under normal 
circumstances, cvsup will delete files which are deleted from the port, 
otherwise many ports would have been afflicted with patches that failed 
to disappear when they should.


It'll take a cvsup guru to tell you if there any circumstances in which 
that doesn't happen, but you could try the cvsup faq at 
http://www.cvsup.org/faq.html and see if that sheds any light.


--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem regarding setting DISPLAY env variable and hostname

2006-02-23 Thread Giorgos Keramidas
On 2006-02-23 08:23, Rob [EMAIL PROTECTED] wrote:
 Sorry if you get this twice Rob as I mistakenly
 sent my reply only to you without including the list

 I had the same problem.  Add this line to your
 .xinitrc file

 xdpyinfo -display :0.0

 The hostname is not specified.

 --Duane
 

 Hi Duane,

 I put the line you suggest into .xinitrc, but I still have the
 same problem.  I also went into /etc/hosts after doing this and
 tried two ways of setting hosts:

 1.  127.0.0.1  localhost   xenon
 2   127.0.0.1  localhost

What are the 1. and 2 at the beginning of the lines above?
I hope they are not part of your /etc/hosts file.

You have obviously messed up your /etc/hosts file too much.
Before you do anything else, please restore it from the sources,
by copying `/usr/src/etc/hosts' over it.  Then re-add xenon at
the localhost line.

 But I am still seeing the out of display lists message.

 It seems like the xdpyinfo command does not do anything.

It does.  It prints a lot information about the current display.  Since
this goes to the terminal where xdpyinfo was started, then it goes to
the virtual console that you start X11 in.  You won't see much, until
you exit X11.

 The only thing that I have done which changes the error message is to
 set /etc/rc.conf hostname=xenon Then in .bash_profile put
 DISPLAY=xenon:0.0 export DISPLAY

No.  That's a *horrible* idea.  The `startx' utility can start an X11
server with a slightly different display, i.e. with:

$ startx -- :1

Then your .bash_profile will override the default DISPLAY of the X11
session, messing up everything.  If you happen to run two X11 sessions
at the same time, you will be opening windows in the first session no
matter where you run the commands that you will use.

 Then I get the different error message:

 _X11TransSocketINETConnect() can't get address for xenon:6000: hostname nor 
 servname provided, or not known
 Error: Can't open display: xenon:0.0

The error message means you still have name resolution problems.  Your
system doesn't know that xenon, localhost, 127.0.0.1 are all
equivalents ways of referring to itself.

 So I guess now I have tried every combination of the following:

 setting hostname in rc.conf to either  or xenon
 setting DISPLAY=xenon:0.0 or leaving that line out in .bash_profile

A hostname of  is wrong.

A hostname of xenon is almost right.

 And finally, putting in xinitrc xdpyinfo -display :0.0 or just
 leaving that line out.

This should be without any real side-effects regarding the way your X11
session works.

Please, restore your /etc/hosts file from /usr/src/etc/hosts and then
we'll see what other may be wrong with your current setup.

- Giorgos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I've got spyware!!??

2006-02-23 Thread Joseph Vella
On Thursday 23 February 2006 07:43, Dave McCammon wrote:
 --- Garrett Cooper [EMAIL PROTECTED] wrote:
  On Feb 23, 2006, at 12:19 AM, Joseph Vella wrote:
 
   autoscrolling feature, when all of a sudden some
 
  ugly website pops
 
   up.  It
   was something I clicked with the mouse wheel.  I
 
  tried it again and
 
   sure
   enough the same site pops up.  It was kind of

 I think it is something in Firefox. I see the same
 thing. When the middle mouse button is clicked on a
 page, it goes to a seemingly random page.(Notice
 seemingly)

 It looks like it can be disable by typeing
 about:config in the address bar of firefox and
 changing the middlemouse.contentloadurl to false.

 Also, google middlemouse.contentloadurl for what it
 does. It has something to do with loading clipboard
 contents as URL.
 Read
 https://bugzilla.mozilla.org/show_bug.cgi?id=216899.
 There is a mention of a Google I'm Feeling Lucky
 search being done, which may be what you are seeing.

 Dave


That was it.  When select and copy text then click on the mousewheel inside 
Firefox, a random page pops up.  When I delete the contents of the clipboard, 
click on the mouse then wheel nothing happens.   It was strange when I didn't 
know what was going on.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't seem to boot from 6.0-RELEASE

2006-02-23 Thread Nikolas Britton
On 2/23/06, Alex Zbyslaw [EMAIL PROTECTED] wrote:
 Nikolas Britton wrote:

 Your not using the right install CDs. You have an AMD 64-Bit chip so
 you can't (AFAIK) use the I386 Release. Maybe there is a setting in
 the BIOS for I386 compat, I have no experience with AMD's 64-Bit chips
 so this is just a guess. Or try disabling ACPI and everything else in
 the BIOS etc... That's the price you pay for being an early adopter,
 you don't need nvidia gfx for an Opteron server.
 
 
 This is not correct.  An i386 version of FreeBSD runs just dandy on
 64-bit Athlons (or 64 bit Intel for that matter) even if this release is
 failing on this specific system.  All current 64-bit PC processors are
 backwards compatible with i386.

 I would try the i386 6.1 PRERELEASE CD, the 5.4 RELEASE and the 5.5
 PRERELEASE in order and see if any of them worked.  Or try limiting your
 google by including the sis 754 and see if finds any help.  There are
 mentions of 754 problems being fixed in 6-STABLE but I didn't look
 closely enough to know if they would help you.


I see, do the Intel EMT-64 chips use the amd64 release too? And what
did he mean by certain programs being unavalable for amd64, what are
the major ones?

--
BSD Podcasts @ http://bsdtalk.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD on Sun Fire V20Z

2006-02-23 Thread Paul Schmehl
Has anyone installed 6.0 RELEASE on this hardware?  I can't even get it to 
boot off the CD, but it boots fine off the Sun-supplied setup CD (which 
only offers RHE and Suse as options.)


I've d/l'd both discs 1  2 and the bootonly ISOs and burned them to CD 
(like I usually do), but they do not boot.  (Yes, I'm using the amd64 
version.)


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD on Sun Fire V20Z

2006-02-23 Thread Derek Ragona
I am not familiar with this Sun unit, but on other sun sparcs their boot 
devices were set in the prom.  As I recall the cd boot is not the same 
slice/dev as the FreeBSD one.  You may try to drop to the prom and try 
other cd devices to boot from.


-Derek


At 12:27 PM 2/23/2006, Paul Schmehl wrote:
Has anyone installed 6.0 RELEASE on this hardware?  I can't even get it to 
boot off the CD, but it boots fine off the Sun-supplied setup CD (which 
only offers RHE and Suse as options.)


I've d/l'd both discs 1  2 and the bootonly ISOs and burned them to CD 
(like I usually do), but they do not boot.  (Yes, I'm using the amd64 version.)


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD on Sun Fire V20Z

2006-02-23 Thread Valerio daelli
We use it since last August without problem.
We have FreeBSD 5.4 for amd64 and it works great.
Bye

Valerio Daelli

On 2/23/06, Paul Schmehl [EMAIL PROTECTED] wrote:
 Has anyone installed 6.0 RELEASE on this hardware?  I can't even get it to
 boot off the CD, but it boots fine off the Sun-supplied setup CD (which
 only offers RHE and Suse as options.)

 I've d/l'd both discs 1  2 and the bootonly ISOs and burned them to CD
 (like I usually do), but they do not boot.  (Yes, I'm using the amd64
 version.)

 Paul Schmehl ([EMAIL PROTECTED])
 Adjunct Information Security Officer
 University of Texas at Dallas
 AVIEN Founding Member
 http://www.utdallas.edu/ir/security/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD on Sun Fire V20Z

2006-02-23 Thread Paul Schmehl
--On Thursday, February 23, 2006 12:40:39 -0600 Derek Ragona 
[EMAIL PROTECTED] wrote:



I am not familiar with this Sun unit, but on other sun sparcs their boot
devices were set in the prom.  As I recall the cd boot is not the same
slice/dev as the FreeBSD one.  You may try to drop to the prom and try
other cd devices to boot from.


It's not sparc hardware.  It's AMD Opterons.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


if_iwi on FreeBSD 6.0 on a Thinkpad T43

2006-02-23 Thread Nathan Lay

Hi all,
I've encountered a peculiar quirk in either this laptop or FreeBSD with 
IPW2915ABG.  For some reason or another, either the Thinkpad turns the 
card on at bootup, or FreeBSD's if_iwi driver and acpi_ibm mistakenly 
think the card is turned on.


My loaded modules:
Id Refs AddressSize Name
1   14 0xc040 4033b4   kernel
21 0xc0804000 5e28 snd_ich.ko
32 0xc080a000 20448sound.ko
41 0xc082b000 3f44 acpi_ibm.ko
5   17 0xc082f000 6057cacpi.ko
61 0xc089 41c4 wlan_tkip.ko
71 0xc0895000 6fe4 wlan_ccmp.ko
81 0xc1d7c000 18000linux.ko

Notice that if_iwi is NOT loaded.

Let's have a look at dev.acpi_ibm.0.wlan
dev.acpi_ibm.0.wlan: 1

Well thats odd, why would acpi think the wireless chip is turned on with 
no driver loaded?


Let's load if_iwi for kicks

iwi0: Intel(R) PRO/Wireless 2915ABG mem 0xa8401000-0xa8401fff irq 11 
at device 2.0 on pci4

iwi0: Ethernet address: 00:13:ce:b7:ea:8

That works just fine it seems.
But then:

%iwicontrol iwi0 -r
Radio is ON


So, now that the driver is loaded, both if_iwi and acpi_ibm think the 
card is turned on, but there is no firmware loaded.
Loading a firmware and then using either `ifconfig iwi0 up' or  
`dhclient iwi0' does absolutely nothing.


I've tried various things with the kernel and BIOS but with no luck.

here is my uname:
FreeBSD LIGHTBULB.LOCAL 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #19: Mon 
Feb 20 15:06:16 EST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LIGHTBULB  i386


Keep in mind, this also happens on GENERIC.

So, is this a bug in FreeBSD or a quirk in the laptop?  I've pondered 
whether to submit a PR but I'm not sure what exactly is going on here.  
Even disabling the card in the BIOS, acpi_ibm will still indicate that 
wlan is turned on. 

If anyone can clue me in here, please please do so.  Until then I'm 
surfing with an atheros card :)


Best Regards,
Nathan Lay


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble finding burner (k3b)

2006-02-23 Thread Duane Whitty

Fabian Keil wrote:

Duane Whitty [EMAIL PROTECTED] wrote:


Peter wrote:

This k3b program is great but it I find it very picky.  Currently it
cannot detect my DVD/CD burner (/dev/acd1) anymore.  It can find my CDROM
(/dev/acd0) allright but it claims the permissions may be wrong on the
burner.  I checked and these devices have the same permissions.  I even
gave them both 777 without success in detection.  They are also both owned
by root:operator and my invoking user is in group operator.  This used to
work great.  I haven't tried to burn anything recently so I don't know
when things fell apart but what I can say is yesterday I recompiled my
kernel.  I used the same config file with one line being added (for USB
2.0 support; ehci).  Anyone have any ideas?  I'm running 5.4 although
today I was surprised that dmesg showed this:


I have a similar problem in that k3b cannot find 
my DVD/CD burner.  However I haven't received any 
messages about permissions.


On a hunch I started X as root and k3b was then 
able to find my hardware.  This doesn't really 
solve the problem but it was a quick work-around 
for me until I figure this out.


Note: I too changed permissions to 666 on 
/dev/acd0 and /dev/cd0 to no avail.


The user needs to have access to /dev/xpt0 and /dev/pass0 as well.  


Fabian


Hi,

Thank you, this works perfectly.

Best wishes,

--Duane
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't seem to boot from 6.0-RELEASE

2006-02-23 Thread Alex Zbyslaw

Nikolas Britton wrote:


I see, do the Intel EMT-64 chips use the amd64 release too? And what
did he mean by certain programs being unavalable for amd64, what are
the major ones?
 

There seems to be an IA-64 which I guess is Intel.  Only buy AMD chips 
myself, so I'm a bit hazy on that.  I'm sure freebsd.org has the answer 
somewhere :-)


Major programs include java, and I think, Linux 32-bit compatibility.  
You can see a complete list of ports which fail to build at 
http://pointyhat.freebsd.org/ e.g. the ones not building under 5-STABLE 
for AMD64 are in 
http://pointyhat.freebsd.org/errorlogs/amd64-5-failure.html.  Of course, 
some of those packages just fail to build anywhere!  But lack of java 
and nvidia are big stumblers for many who might otherwise try 64-bit on 
a desktop.  For a pure server, given the time, I'd certainly experiment 
with 64-bit.  Unfortunately, all my pure servers run Linux - not 
through choice :-(


You described 64-bit chips as bleeding edge, but I really don't think 
they are any more.  Dual cores may be bleeding edge and SLI may be 
bleeding edge, but bog standard 64-bit processors running a 32-bit OS 
are dead common and usually seem to work.  No doubt there are some 
chipsets/motherboards that are worse than others, but that's the same 
for any architecture.  Buying anything to run FreeBSD well has always 
been a matter of checking the hardware lists carefully and backing that 
up with google.  8 months ago I had no trouble finding an AMD 939 64 bit 
motherboard that would work well with FreeBSD.


--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading Freebsd 5.4 release to 5.4 stable

2006-02-23 Thread Nikolas Britton
On 2/23/06, Jayesh Jayan [EMAIL PROTECTED] wrote:
 All are Dell Poweredge servers with identical specification.

 I did check the message logs an couldn't find any problem

 What are the other aspects which I need to check so as to find a solution.


I've had FreeBSD 5.4 randomly reboot on high quality hardware... Intel
made board, Intel chipset, Intel CPU, Intel approved RAM, and a Beefy
550W Fortron active PFC power supply.  In hindsight, as I sit here
running 6.0-RELEASE and 6.1-PRERELEASE on my systems, the FreeBSD 5.x
series was slow and buggy as hell. I don't fault the developers or the
release engineering team, they did the best they could with a system
that needed to be massively reworked to stay relevant.

Anyways,

After FreeBSD 5.5 is release the 5.x series will be officially put
down, like a rabid dog and we will deny that it ever existed, like
Netscape 5 :-). This means that you have two options, upgrade to 6.x
or upgrade to 6.x. If It were up to me then I would just skip
6.0-RELEASE and go straight to 6.1-PRERELEASE (RELENG_6), then cvsup
to RELENG_6_1 when it's officially released. Where possible I would
wipe the system and install a fresh copy, if not possible then I would
do a cvsup upgrade. Be sure to run a 'mergemaster -p' and then when
you run the standard mergemaster don't blindly hit i because at some
point in the stage it will ask you to install a new version of passwd
and group.


--
BSD Podcasts @ http://bsdtalk.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem regarding setting DISPLAY env variable and hostname

2006-02-23 Thread Rob
Sorry, forgot to copy the list.



Begin forwarded message:

Date: Thu, 23 Feb 2006 10:23:47 -0800
From: Rob [EMAIL PROTECTED]
To: Giorgos Keramidas [EMAIL PROTECTED]
Subject: Re: problem regarding setting DISPLAY env variable and hostname


On Thu, 23 Feb 2006 19:26:28 +0200
Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On 2006-02-23 08:23, Rob [EMAIL PROTECTED] wrote:
  Sorry if you get this twice Rob as I mistakenly
  sent my reply only to you without including the list
 
  I had the same problem.  Add this line to your
  .xinitrc file
 
  xdpyinfo -display :0.0
 
  The hostname is not specified.
 
  --Duane
  
 
  Hi Duane,
 
  I put the line you suggest into .xinitrc, but I still have the
  same problem.  I also went into /etc/hosts after doing this and
  tried two ways of setting hosts:
 
  1.  127.0.0.1  localhost   xenon
  2   127.0.0.1  localhost
 
 What are the 1. and 2 at the beginning of the lines above?
 I hope they are not part of your /etc/hosts file.
 
 You have obviously messed up your /etc/hosts file too much.
 Before you do anything else, please restore it from the sources,
 by copying `/usr/src/etc/hosts' over it.  Then re-add xenon at
 the localhost line.
 
  But I am still seeing the out of display lists message.
 
  It seems like the xdpyinfo command does not do anything.
 
 It does.  It prints a lot information about the current display.  Since
 this goes to the terminal where xdpyinfo was started, then it goes to
 the virtual console that you start X11 in.  You won't see much, until
 you exit X11.
 
  The only thing that I have done which changes the error message is to
  set /etc/rc.conf hostname=xenon Then in .bash_profile put
  DISPLAY=xenon:0.0 export DISPLAY
 
 No.  That's a *horrible* idea.  The `startx' utility can start an X11
 server with a slightly different display, i.e. with:
 
 $ startx -- :1
 
 Then your .bash_profile will override the default DISPLAY of the X11
 session, messing up everything.  If you happen to run two X11 sessions
 at the same time, you will be opening windows in the first session no
 matter where you run the commands that you will use.
 
  Then I get the different error message:
 
  _X11TransSocketINETConnect() can't get address for xenon:6000: hostname 
  nor servname provided, or not known
  Error: Can't open display: xenon:0.0
 
 The error message means you still have name resolution problems.  Your
 system doesn't know that xenon, localhost, 127.0.0.1 are all
 equivalents ways of referring to itself.
 
  So I guess now I have tried every combination of the following:
 
  setting hostname in rc.conf to either  or xenon
  setting DISPLAY=xenon:0.0 or leaving that line out in .bash_profile
 
 A hostname of  is wrong.
 
 A hostname of xenon is almost right.
 
  And finally, putting in xinitrc xdpyinfo -display :0.0 or just
  leaving that line out.
 
 This should be without any real side-effects regarding the way your X11
 session works.
 
 Please, restore your /etc/hosts file from /usr/src/etc/hosts and then
 we'll see what other may be wrong with your current setup.
 
 - Giorgos
 
 

Thank you very much Giorgos for keeping with me on this problem!


Here are all of the steps which I have just done:

I. I copied /usr/src/etc/hosts to /etc/hosts.  Now it looks like:

::1 localhost   localhost.my.domain
127.0.0.1   localhost   localhost.my.domain

everything else is commented out

2.  I confirmed that   hostname=xenon is still in rc.conf

3.  I checked /root/.cshrc  has no Xorg related commands in it,
just a couple of aliases that I added to the original file.

4.  The user  .bash_profile  no longer has the  DISPLAY=xenon:0.0 export 
DISPLAY in it.  The .xinitrc no longer has the 
xdpyinfo -display :0.0  line in it.

5.  I rebooted.  Sendmail starts up fine now.

6.  So I started up Xorg and I get the errors on startup:

bad display name xenon:0  in list command

and then upon Xorg shutdown:

bad display name xenon:0 in remove command   

7.  I gave the command  xhost +localhost  at the xterm prompt

I get:  localhost being added to access control list

8.  I su at the xterm prompt and then give the command

setenv DISPLAY localhost:0.0  all ok

9.  then I try to run an X related program from the xterm command prompt
and get the error:

Error: Can't open display localhost:0.0

However, non X type programs like vi start ok without errors

I guess my next step will be to add the host xenon to /etc/hosts. Then it
looks like this:

::1 localhost   xenon
127.0.0.1   localhost   xenon

Is that correct?

Thanks,

Rob.



-- 

---
http://www.roblytle.org
Rob Lytle Home Page


-- 

---
http://www.roblytle.org
Rob Lytle Home Page
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD on Sun Fire V20Z

2006-02-23 Thread Paul Schmehl
--On Thursday, February 23, 2006 19:41:20 +0100 Valerio daelli 
[EMAIL PROTECTED] wrote:



We use it since last August without problem.
We have FreeBSD 5.4 for amd64 and it works great.
Bye

6.0 works fine if you remember to include the fixate command when you burn 
the CD.  :-(


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Looking for a mentor on php/mysql

2006-02-23 Thread Duane Whitty

Robert Uzzi wrote:

I am trying to teach my self php/mysql/html programming.
I have done native static html web sites before.
Running FreeBSD 6.0 with apache13, php, and mysql all installed and
working.

Have read a few php books and searched the web for code snippets.
Have been on some of the php forum sites, but responses are not forth
coming.

Looking for a mentor to guide me with puting all the pieces together.
I have a working panel for registering a user that writes to a flat
text file.
Need guidance in changing this to use mysql. Would email you direct
outside of the questions list.





While I don't consider myself knowledgable enough to help you with php I
have found this site helpful when I am looking for code ideas.
http://www.tutorialized.com/tutorials/PHP/1



Hi,

I'm not experienced enough in PHP to be a mentor 
in it but from one beginner to another maybe this 
will be useful.


Here is a link to a resource I used to get myself 
up-and-running with PHP. 
http://www.hudzilla.org/phpbook/index.php


I wrote the attached code when I playing around 
with the example from the MySQL manual.  It's just 
play code bu maybe it can point you to the name of 
functions (methods) to investigate.


Hth,

--Duane

Accessing a MySQL Database Using PHP

   Starting PHP script
   '; ? host_info); echo '
   '; printf(Server info: %s\n, $mysqli-server_info); echo '
   '; $query = SELECT CURRENT_USER();; $query .= SELECT name FROM
   pet; /* execute multi query */ if ($mysqli-multi_query($query)) { do
   { /* store first result set */ if ($result = $mysqli-store_result())
   { while ($row = $result-fetch_row()) { printf(%s
   , $row[0]); } $result-close(); } /* print divider */ if
   ($mysqli-more_results()) { printf(-
   ); } } while ($mysqli-next_result()); } /* close connection */
   $mysqli-close(); ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: problem regarding setting DISPLAY env variable and hostname

2006-02-23 Thread Giorgos Keramidas
Please try to interleave the replies with quoted material.  It's
much easier to read related stuff if it close together, instead
of having to page up and down my entire original reply :(

I've reorganized this post and moved things around, so you may
find that the numbering of your text is not exactly consecutive.
Sorry about this, but I can't reply to a long multi-page message
by constantly moving up and down.

On 2006-02-23 10:23, Rob [EMAIL PROTECTED] wrote:
On Thu, 23 Feb 2006 19:26:28 +0200
Giorgos Keramidas [EMAIL PROTECTED] wrote:
 1.  127.0.0.1  localhost   xenon
 2   127.0.0.1  localhost

 What are the 1. and 2 at the beginning of the lines above?
 I hope they are not part of your /etc/hosts file.

 You have obviously messed up your /etc/hosts file too much.
 Before you do anything else, please restore it from the sources,
 by copying `/usr/src/etc/hosts' over it.  Then re-add xenon at
 the localhost line.

 Here are all of the steps which I have just done:

 I. I copied /usr/src/etc/hosts to /etc/hosts.  Now it looks like:

 ::1 localhost   localhost.my.domain
 127.0.0.1   localhost   localhost.my.domain

 everything else is commented out

That's not exactly what I said though.  You missed re-adding the
xenon entry, so you are back to square one, with xenon being
unresolvable.


On 2006-02-23 10:23, Rob [EMAIL PROTECTED] wrote:
On Thu, 23 Feb 2006 19:26:28 +0200
Giorgos Keramidas [EMAIL PROTECTED] wrote:
 The only thing that I have done which changes the error message is to
 set /etc/rc.conf hostname=xenon Then in .bash_profile put
 DISPLAY=xenon:0.0 export DISPLAY

 No.  That's a *horrible* idea.  The `startx' utility can start an X11
 server with a slightly different display, i.e. with:

 $ startx -- :1

 Then your .bash_profile will override the default DISPLAY of the X11
 session, messing up everything.  If you happen to run two X11 sessions
 at the same time, you will be opening windows in the first session no
 matter where you run the commands that you will use.

 4.  The user .bash_profile no longer has the DISPLAY=xenon:0.0
 export DISPLAY in it.  The .xinitrc no longer has the xdpyinfo
 -display :0.0 line in it.

You don't need to include DISPLAY in your .bash_profile.  As I
have tried to emphasize, this is wrong and can even prove harmful
if you ever find yourself in the need for multiple X11 sessions.

You have done a good thing when you removed the xdpyinfo command too.


On 2006-02-23 10:23, Rob [EMAIL PROTECTED] wrote:
On Thu, 23 Feb 2006 19:26:28 +0200
Giorgos Keramidas [EMAIL PROTECTED] wrote:
 Then I get the different error message:

 _X11TransSocketINETConnect() can't get address for xenon:6000: hostname 
 nor servname provided, or not known
 Error: Can't open display: xenon:0.0

 The error message means you still have name resolution problems.  Your
 system doesn't know that xenon, localhost, 127.0.0.1 are all
 equivalents ways of referring to itself.

  So I guess now I have tried every combination of the following:
 
  setting hostname in rc.conf to either  or xenon
  setting DISPLAY=xenon:0.0 or leaving that line out in .bash_profile

 A hostname of  is wrong.

 A hostname of xenon is almost right.

 2.  I confirmed that   hostname=xenon is still in rc.conf

Very nice.  That's the spirit :)


On 2006-02-23 10:23, Rob [EMAIL PROTECTED] wrote:
On Thu, 23 Feb 2006 19:26:28 +0200
Giorgos Keramidas [EMAIL PROTECTED] wrote:
 And finally, putting in xinitrc xdpyinfo -display :0.0 or just
 leaving that line out.

 This should be without any real side-effects regarding the way your X11
 session works.

 Please, restore your /etc/hosts file from /usr/src/etc/hosts and then
 we'll see what other may be wrong with your current setup.

 3.  I checked /root/.cshrc  has no Xorg related commands in it,
 just a couple of aliases that I added to the original file.

Nice thing too.

On 2006-02-23 10:23, Rob [EMAIL PROTECTED] wrote:

 5.  I rebooted.  Sendmail starts up fine now.

 6.  So I started up Xorg and I get the errors on startup:

 bad display name xenon:0  in list command

 and then upon Xorg shutdown:

 bad display name xenon:0 in remove command

Now that you have removed xenon from /etc/hosts, there's no way
to resolve this name.  This is an expected error, I guess.


On 2006-02-23 10:23, Rob [EMAIL PROTECTED] wrote:
 7.  I gave the command  xhost +localhost  at the xterm prompt

 I get:  localhost being added to access control list

 8.  I su at the xterm prompt and then give the command

 setenv DISPLAY localhost:0.0  all ok

 9.  then I try to run an X related program from the xterm command prompt
 and get the error:

 Error: Can't open display localhost:0.0

Now we're getting close.

What is probably happening now is that your X11 server has
started fine, but is not listening for network connections.

Can you check with sockstat(1) to see if the X server is
listening to port 6000 (this is what DISPLAY=:0 actually means)?

An example of running 

Re: problem regarding setting DISPLAY env variable and hostname

2006-02-23 Thread Rob
On Thu, 23 Feb 2006 23:29:47 +0200
Giorgos Keramidas [EMAIL PROTECTED] wrote:

 Please try to interleave the replies with quoted material.  It's
 much easier to read related stuff if it close together, instead
 of having to page up and down my entire original reply :(

I am sorry.  I sometimes don't know when I should do this as I have
seen the debates on -questions about top posting, bottom posting, etc.

 
 I've reorganized this post and moved things around, so you may
 find that the numbering of your text is not exactly consecutive.
 Sorry about this, but I can't reply to a long multi-page message
 by constantly moving up and down.
 
 On 2006-02-23 10:23, Rob [EMAIL PROTECTED] wrote:
 On Thu, 23 Feb 2006 19:26:28 +0200
 Giorgos Keramidas [EMAIL PROTECTED] wrote:
  1.  127.0.0.1  localhost   xenon
  2   127.0.0.1  localhost
 
  What are the 1. and 2 at the beginning of the lines above?
  I hope they are not part of your /etc/hosts file.
 
  You have obviously messed up your /etc/hosts file too much.
  Before you do anything else, please restore it from the sources,
  by copying `/usr/src/etc/hosts' over it.  Then re-add xenon at
  the localhost line.
 
  Here are all of the steps which I have just done:
 
  I. I copied /usr/src/etc/hosts to /etc/hosts.  Now it looks like:
 
  ::1 localhost   localhost.my.domain
  127.0.0.1   localhost   localhost.my.domain
 
  everything else is commented out
 
 That's not exactly what I said though.  You missed re-adding the
 xenon entry, so you are back to square one, with xenon being
 unresolvable.

After I tried the above /etc/hosts file, I did change it to:

::1  localhostxenon
127.0.0.1localhostxenon

 
 
 On 2006-02-23 10:23, Rob [EMAIL PROTECTED] wrote:
 On Thu, 23 Feb 2006 19:26:28 +0200
 Giorgos Keramidas [EMAIL PROTECTED] wrote:
  The only thing that I have done which changes the error message is to
  set /etc/rc.conf hostname=xenon Then in .bash_profile put
  DISPLAY=xenon:0.0 export DISPLAY
 
  No.  That's a *horrible* idea.  The `startx' utility can start an X11
  server with a slightly different display, i.e. with:
 
  $ startx -- :1
 
  Then your .bash_profile will override the default DISPLAY of the X11
  session, messing up everything.  If you happen to run two X11 sessions
  at the same time, you will be opening windows in the first session no
  matter where you run the commands that you will use.
 
  4.  The user .bash_profile no longer has the DISPLAY=xenon:0.0
  export DISPLAY in it.  The .xinitrc no longer has the xdpyinfo
  -display :0.0 line in it.
 
 You don't need to include DISPLAY in your .bash_profile.  As I
 have tried to emphasize, this is wrong and can even prove harmful
 if you ever find yourself in the need for multiple X11 sessions.
 
 You have done a good thing when you removed the xdpyinfo command too.

Yes, both the DISPLAY variable and xdpyinfo are gone for good.

 
 
 On 2006-02-23 10:23, Rob [EMAIL PROTECTED] wrote:
 On Thu, 23 Feb 2006 19:26:28 +0200
 Giorgos Keramidas [EMAIL PROTECTED] wrote:
  Then I get the different error message:
 
  _X11TransSocketINETConnect() can't get address for xenon:6000: hostname 
  nor servname provided, or not known
  Error: Can't open display: xenon:0.0
 
  The error message means you still have name resolution problems.  Your
  system doesn't know that xenon, localhost, 127.0.0.1 are all
  equivalents ways of referring to itself.
 
   So I guess now I have tried every combination of the following:
  
   setting hostname in rc.conf to either  or xenon
   setting DISPLAY=xenon:0.0 or leaving that line out in .bash_profile
 
  A hostname of  is wrong.
 
  A hostname of xenon is almost right.
 
  2.  I confirmed that   hostname=xenon is still in rc.conf
 
 Very nice.  That's the spirit :)
 
 
 On 2006-02-23 10:23, Rob [EMAIL PROTECTED] wrote:
 On Thu, 23 Feb 2006 19:26:28 +0200
 Giorgos Keramidas [EMAIL PROTECTED] wrote:
  And finally, putting in xinitrc xdpyinfo -display :0.0 or just
  leaving that line out.
 
  This should be without any real side-effects regarding the way your X11
  session works.
 
  Please, restore your /etc/hosts file from /usr/src/etc/hosts and then
  we'll see what other may be wrong with your current setup.
 
  3.  I checked /root/.cshrc  has no Xorg related commands in it,
  just a couple of aliases that I added to the original file.
 
 Nice thing too.
 
 On 2006-02-23 10:23, Rob [EMAIL PROTECTED] wrote:
 
  5.  I rebooted.  Sendmail starts up fine now.
 
  6.  So I started up Xorg and I get the errors on startup:
 
  bad display name xenon:0  in list command
 
  and then upon Xorg shutdown:
 
  bad display name xenon:0 in remove command
 
 Now that you have removed xenon from /etc/hosts, there's no way
 to resolve this name.  This is an expected error, I guess.

After I added xenon to /etc/hosts, the error messages went away again.

 
 
 On 2006-02-23 10:23, Rob [EMAIL PROTECTED] wrote:
  7.  I gave the 

Re: problem regarding setting DISPLAY env variable and hostname

2006-02-23 Thread Giorgos Keramidas
On 2006-02-23 14:13, Rob [EMAIL PROTECTED] wrote:
 
  Then you have two options:
 
  1. Start the X11 server in ``listen mode'', which will enable
 connections to port 6000:
 
  $ startx -listen_tcp

 I tried that and then at the xterm I again gave the commands

 xhost +localhost
 su'd
 setenv DISPLAY localhost:0.0

 And I was able to run X programs as root, so that worked.

 
  2. Use the ~/.Xauthority file of the user who started the X11
 session.  This can only be done by root or a sufficiently
 privileged user, and it works like this:
 
  $ su -
  Password: 
 
 After you have gained superuser privileges, you can `merge' the
 proper credentials that will allow you to connect to the running
 X11 session (even though it wasn't `root' that started it), by
 using xauth(1):
 
  csh# setenv DISPLAY localhost:0
  csh# xauth merge ~user/.Xauthority
 
 Now you should be allowed to run X11 programs just fine.

 I did that and it worked!  I stopped and started Xorg and the changes seem to 
 be permanent.
 Now I don't have to use the xhost +localhost and setenv DISPLAY 
 localhost:0.0  any more.

Great :-)

Thanks for taking the time to post a followup, to verify that this was
indeed a fix for twhat you were seeing.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PPPoE Connection Bug!

2006-02-23 Thread Andrew Pantyukhin
This may not be very helpful but many of us use net/mpd
to provide PPPoE/PPTP services. It's quite robust.

Please, don't cross-post, it looks very impolite.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Solved, thanks! And a hot software tip (was: How to remove Boot Menu)

2006-02-23 Thread Andrew Pantyukhin
On 2/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi thanks to everyone who responded, Esp Tim D. on my question
 about removing the FBSD boot manager.  A plain old DOS FDISK /MBR
 zapped it, and left my BSD installation untouched.

 Problem is yet again, I needed a dang DOS boot disk.  I've been
 thinking for years it would be cool to have a boot CD-Rom instead,
 that could load up into a ram disk, yada, yada

 Well someone already did it, and did a damn thorough job:  The
 Ultimate Boot CD  http://www.ultimatebootcd.com/  is a must-have
 piece of free-ware for anyone maintaining win-tel PCs, regardless
 of the operating system in use.  See the site for a complete
 list.  But basically the guy has pulled together dozens of
 manufacturer specific diagnostics, firmware flashers, etc onto one CD
 that can run them directly, or get you a shell in dos or linux, and
 be able to mount pretty much any file system out there.  Good
 Stuff!  Check it out.  And [maybe] finally trash those floppies for good.

  -Wayne

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


wintel stands for windows+intel :-)
how about Freeon - FreeBSD+{Athlon|Sempron|Opteron}?

Thanks for the tip. I've been wondering how one can do
that, but never got to googling. I'm still afraid to mess
with production servers, though zapping the boot manager
would save a few seconds each reboot (hmm, once every
few years :).

UBCD is great, especially when you get hold of mkisofs
and start customizing it. I had to learn it when I needed to
reflash a server without FDD. It only took an hour to find
a guide, experiment and have a new ubcd containing
all the firmwares I need.

Hiren is also very good, but it contains warez mostly, so
beware. There are many other alternatives out there.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading Freebsd 5.4 release to 5.4 stable

2006-02-23 Thread Nikolas Britton
On 2/23/06, Jayesh Jayan [EMAIL PROTECTED] wrote:
 That was valuable in deed 

 The 12 server are all identical but the problem is that the test machine
 which we will be using is not of the same class as that of the server.

 Then all the server run a custom built kernel and not the generic one.


You can still follow Kevins advise:

If so, it should be easy on you to do the make buildworld
and make buildkernel steps on your testbed, export /usr/obj
via NFS to your production machines, and simply have them
mount this share and do the make installkernel and make
installworld steps.  IOW, just like the manual, but you do the
hard work only once.

1. Download and Install FreeBSD 6.1-BETA2 (Install the Developer
Distribution Set)
2. Cvsup with RELENG_6 (to get most current version of 6.1-PRERELEASE)
3. cd /usr/src; make buildworld; make buildkernel (The generic kernel)
4. tarball /usr/obj
5. finish installing world/kern using the standard protocol.
6. test your apps and tweak your test servers settings to your liking,
when you've got everything to your liking...
7. copy over your custom kernel from a production server and merge the
changes with the new 6.1 generic kernel to make a new custom kernel.
8. build this kernel: cd /usr/src/sys/i386/conf; config KERNFILE; cd
../compile/KERNFILE; make cleandepend; make depend; make
9. tarball the kernel build directory /usr/src/sys/i386/compile/KERNFILE
10. copy over to one of the lesser used / non critical production
servers the two tarball files and expand them.
11. finish the standard buildworld/kern starting at make installkernel
12 test the system.
13. cd /usr/src/sys/i386/compile/KERNFILE; make install; reboot
14. now use this production server as your new test system. copy over
from the old test system the /usr/src and /usr/ports directory and any
other stuff you need, like the custom kernel config file etc.
15. cd /usr/src; nice +20 make KERNCONF=KERNFILE buildkernel
16. tarball /usr/obj
17. copy this to all the servers
18. finish the standard buildworld/kern starting at make installkernel

etc. don't forget to build and/or rebuild all the new ports into
packages to install on the servers sorry, I don't have time to
finish editing this message so this will have to do, got to run...

--
BSD Podcasts @ http://bsdtalk.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Some SMP questions

2006-02-23 Thread Paul Schmehl
When you do a default install of 6.0-RELEASE, does the kernel have 
support for SMP?  Or do you have to compile a custom kernel to get that?


Does this mean SMP is not enabled?

kern.smp.cpus: 1
kern.smp.disabled: 0
kern.smp.active: 0
kern.smp.maxcpus: 1

Can I set these with sysctl?  Or do I need to recompile the kernel?  (I'm 
assuming I need this:

kern.smp.cpus: 2
kern.smp.disabled: 0
kern.smp.active: 1
kern.smp.maxcpus: 2

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


moused problem

2006-02-23 Thread Timothy Smith
hi there when i disconnect my mouse from the ps2 port, when i go to 
reconnect it i find my mouse has stopped working. when i restart moused 
it works again, but i find that my scroll wheel no longer works in X. 
any ideas how i can prevent this from happening all together?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some SMP questions

2006-02-23 Thread Jerry Bell
The default kernel doesn't support SMP.  You have to recompile with the 
SMP config and it'll start getting your other processor.


Regards,

Jerry
http://www.bsdsec.com

Paul Schmehl wrote:
When you do a default install of 6.0-RELEASE, does the kernel have 
support for SMP?  Or do you have to compile a custom kernel to get that?


Does this mean SMP is not enabled?

kern.smp.cpus: 1
kern.smp.disabled: 0
kern.smp.active: 0
kern.smp.maxcpus: 1

Can I set these with sysctl?  Or do I need to recompile the kernel?  
(I'm assuming I need this:

kern.smp.cpus: 2
kern.smp.disabled: 0
kern.smp.active: 1
kern.smp.maxcpus: 2

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Build Backwards Compatible MySQL Client Libs

2006-02-23 Thread Don O'Neil
Hi all...

  I have some OLD programs I don't have the source for that were built with
the MySQL 3.23.55 client libraries. They still work great, even when using
those libraries to connect to 4.1.18 Mysql (I have a copy of the old lib in
the new lib dir)

However, is there some way I can build a 3.X compatible library (the old one
is mysqlclient.so.10) with the latest source so I can get all the bug fixes
and still be backwards compatible?

I tried creating a link to the new lib with the old name, but there is a
function call that is missing the old programs complain about when they run.

Thanks!!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


10 years of The Complete FreeBSD

2006-02-23 Thread Greg 'groggy' Lehey
Ten years ago today, on 24 February 1996, I submitted for publication
the final version of the first ever book on FreeBSD, Installing and
Using FreeBSD.  It was later renamed to The Complete FreeBSD.

I have always retained full rights to the book, and for today I've
decided to release it for download under the Creative Commons
license.  See more at http://www.lemis.com/grog/Documentation/CFBSD/.

Greg
--
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpJLCDT9YZrc.pgp
Description: PGP signature


Re: /etc/rc.d/jail can't stop jail

2006-02-23 Thread Francisco Reyes
Thanks to Valerio daelli for pointing out that the names I had in my rc.conf 
needed to be changed to match the actual jail name.


The jail now starts, however trying to kill it still doesn't work.
There is no error and running /etc/rc.d/jail mail stop shows 
Stopping jails: mail12.



However the jail remains. It seems all processes inside the jail die, but 
the jail remains. In particular I notice ssh dies.


Anything needs to be run from within the jail before running /etc/rc.d/jail 
stop?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: freebsd.org mailing list memberships reminder

2006-02-23 Thread Xavier Castll

Hello FreeBSD gurus:

I am trying to install FreeBSD 6.0 in the following configuration:

SuperMicro X6DH8-G
Chassis compatible with board
2 Gigabite of Memory
Adaptec RAID 2010S with 3 SCSI hot-swapable Ultra 320 73 GB drives from 
Hitachi (IBM)


The problem I am having is that after the three disk have been inerted and 
FreeBSD is booting for the first time, the installation stops in the 
following section:

md0: Preloaded image /mfsroot 4423680 bytes at 0xc03070c

And it doesn't go any further.

The same thing happens if I try to boot with the ISO bootable cd.

Could you guys please shed some light in this problem as Supermicro support 
says they do not support FreeBSD and we need the OS to work for a very 
important application?


Your help is greatly appreciated.

Xavier

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 10 years of The Complete FreeBSD

2006-02-23 Thread Ow Mun Heng
On Fri, 2006-02-24 at 11:30 +1030, Greg 'groggy' Lehey wrote:
 Ten years ago today, on 24 February 1996, I submitted for publication
 the final version of the first ever book on FreeBSD, Installing and
 Using FreeBSD.  It was later renamed to The Complete FreeBSD.
 

Dude.. (or Sir) nice Beard!! My Minister of Finance never lets me keep
it that long!

 I have always retained full rights to the book, and for today I've
 decided to release it for download under the Creative Commons
 license.  See more at http://www.lemis.com/grog/Documentation/CFBSD/.

So, it's a work in progress? Marking the changes to FreeBSD since 10
years ago?

Thanks for the book anyway.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FBSD 6.0 locking up.

2006-02-23 Thread Grant Peel

Hi all,

I have a production server that has been online for a few months now running 
FreeBSD 6.0. Until now it has been performing flawlessly. It is on a brand 
new Dell PE1850.


A few days back, at a clients request I opened port 3306 to allow remote 
access to mysql.


3 times today I had to reboot the server because it was not 'alive'.

Fortuneately, I have a remote access card on this server which will perform 
a cold start independantly of the OS. It also has a remote terminal 
emulator, which I tried to access each time the system frooze, and I could 
not even type to the terminal let alone login.


A ping from another local machine simply shows 'host is down'

I have since blocked port 3306, and the machine (and all deamons) have been 
running for 4 hours now without issue.


Do you think opening port 3306 and the crashes are coincidental, or related?

Has anyone has similar expierinces? If so, what was the resolve?

Thanks all,

-Grant 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 10 years of The Complete FreeBSD

2006-02-23 Thread Tillman Hodgson
On Fri, Feb 24, 2006 at 11:30:27AM +1030, Greg 'groggy' Lehey wrote:
 Ten years ago today, on 24 February 1996, I submitted for publication
 the final version of the first ever book on FreeBSD, Installing and
 Using FreeBSD.  It was later renamed to The Complete FreeBSD.
 
 I have always retained full rights to the book, and for today I've
 decided to release it for download under the Creative Commons
 license.  See more at http://www.lemis.com/grog/Documentation/CFBSD/.

Thank you Greg, I appreciate your gift to the community.

I have a copy of the 4th Edition (O'Reilly Community Press version) on
the O'Reilly shelf in my computer room and it's proven valuable many
times. I wish the 10th anniversary edition well and that that the
community shares back :-)

-T


-- 
There will come a time when you believe everything is finished.
 That will be the beginning.
-- Louis L'Amour
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 10 years of The Complete FreeBSD

2006-02-23 Thread Norberto Meijome
Greg 'groggy' Lehey wrote:
 Ten years ago today, on 24 February 1996, I submitted for publication
 the final version of the first ever book on FreeBSD, Installing and
 Using FreeBSD.  It was later renamed to The Complete FreeBSD.

 I have always retained full rights to the book, and for today I've
 decided to release it for download under the Creative Commons
 license.  See more at http://www.lemis.com/grog/Documentation/CFBSD/.

 Greg
 --
   
Greg, thanks a lot for all the time and effort invested in the book and
FreeBSD overall :) And thanks also for publishing the book under a CC
license - more of us should do this A LOT more often :)

Best regards,
Beto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: installation of FreeBSD 6.0

2006-02-23 Thread [EMAIL PROTECTED]
I've given up on the installation of FreeBSD 6.0 on my current system.  
I bought a new system (it was on sale) and will do the installation of FreeBSD 
6.0 on it, but I will start a new message thread for that the subject matter 
being New Computer System.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


New Computer System

2006-02-23 Thread [EMAIL PROTECTED]
I bought a new system (it was on sale), it has  180 Gigabytes
of hard drive.  Naturally I want to slice it up, so where can I find
the documentation on the slice/partition process and table.  As I
recall, I can make 4 hard slices/partitions and then I can further
break-down 1 (or more of them) to have logical slices/partitions.
Where can I find documentation on the logical slices/partitions and
how to use them?  Can I boot into a ( FreeBSD ) logical slice, and
if so, how do I do it?  (For the 4 hard slices, one uses function
keys  F1  thru  F4 .)  Has someone already setup the capability of
booting into logical slices, and if so, where can I get it and its
documentation?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


proxy

2006-02-23 Thread Andre Pretorius
I need to monitor traffic from my network to the internet, I then need
to charge each user (preferably username and password authentication)
for the amount of data used.
Can FreeBSD do this?
 
Hope to hear from you soon 
Andre
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: proxy

2006-02-23 Thread Olivier Nicole
 I need to monitor traffic from my network to the internet, I then need
 to charge each user (preferably username and password authentication)
 for the amount of data used.

I think monowall can do that, it is build on freebsd.

Olivier

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mod_Auth_Mysql v2.20

2006-02-23 Thread Don O'Neil
Does anyone have instructions on how to build v2.2 of Mod_Auth_Mysql with
the latest Apache HTTP release? I have old apps that I cannot rebuild that
require some of the directives  syntax that are only supported in v2.2

Alternatively, if someone has a pre-built module for the 1x line of HTTPD,
built for FreeBSD 4.11 that would be WONDERFULL!!

Or, again, maybe there is a slightly later version than 2.2 that has all the
same support that is easier to build? V 3.0 doesn't have the function calls
I need, although I can build it in a snap.

Thanks!!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


setting up french keyboard

2006-02-23 Thread Peter
Hi.  Does anyone know how I can set up my 5.4 system to output French
characters?  If so, how?

--
Peter






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


10 years of The Complete FreeBSD

2006-02-23 Thread David Armour
as a relatively-complete newb, even after several years, i believe i owe a lot
of what i have learned in that time to your book. it's a pleasure to have the
opportunity to thank you publically for your book, and now, for your generosity
in donating it to the creative commons.

you even got me to use capitals in the subject line.


















___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Automatically changing modes on the DVD writer for K3b

2006-02-23 Thread Donald T Hayford

Fabian Keil wrote:

Donald T Hayford [EMAIL PROTECTED] wrote:

  
To get K3b to work I need to change the mode of the following devices to 
664 (or 666) from 644.


/dev/xpt0
/dev/cd0 and /dev/cd1
/dev/pass0 and /dev/pass1

Is there a way to do this automatically on boot-up?  Now I do it using a 
script that I run as root but, of course, I always forget to run the 
script before I run K3b.



Use /etc/devfs.conf:

permxpt00664
permcd0 0664
permcd1 0664
permpass0   0664
permpass1   0664

Fabian
  

Worked perfectly -- thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New Computer System

2006-02-23 Thread Jerry McAllister
 
   I bought a new system (it was on sale), it has  180 Gigabytes
 of hard drive.  Naturally I want to slice it up, so where can I find
 the documentation on the slice/partition process and table.  As I
 recall, I can make 4 hard slices/partitions and then I can further
 break-down 1 (or more of them) to have logical slices/partitions.
 Where can I find documentation on the logical slices/partitions and
 how to use them?  Can I boot into a ( FreeBSD ) logical slice, and
 if so, how do I do it?  (For the 4 hard slices, one uses function
 keys  F1  thru  F4 .)  Has someone already setup the capability of
 booting into logical slices, and if so, where can I get it and its
 documentation?

It is all documented in the FreeBSD Handbook that is available online
at the freebsd.org web site.  

Forget the concept of logical slices in FreeBSD.   Everything is logical
actually, but not in the sense people are used to seeing in Microsloth.

Yes, you can make up to 4 primary slices on a disk drive.  That is also
true in MS world and others.After that it gets a little different.

First of all, if you intend to only run FreeBSD on that machine or even
just that disk, then there is no reason to use more than one primary 
slice that you make the size of the whole disk (minus the scrap that
gets wasted in rounding to even cylinders for building slices and partitions)

Each slice can then be subdivided in up to 8 partitions a-h, but for
practical purposes partition c is reserved.  Many people also still skip
partition d for obscure historical purposes that no longer are meaningful.
Also, the b partition is usually used to designate space used for swap.

The only reason you need to divide the boot slice in to partitions
is for ease of management.   You will probably want a fairly small
root partition and a sizeable chunk dedicated to swap.   There are
two main reasons for using more divisions, but it depends on your 
usage and needs.

One reason is to make backups and restores manageable.  The bigger
the partition, the longer it takes to back up and to recover if there
is a problem.

The other reason is to help contain runaway disk usage and sometimes
to isolate one clump of users or applications from another clump of
users or applications.

For those reasons, I generally make the following partitions.

partition  Mount size  comments
  a =  / (root)  128MB
  b =  swap  1.5 GB or more - 2.5 X the system memory.
  c =  reserved  whole slice for internal use
  e =  /tmp  512 MB   Occasionally something can fill /tmp and I
  don't want it overfilling some other partition.
  f =  /usr  2.5 GB   ports and a lot of stuff live there
  g =  /var  1.5 GB   more if I want a database living there
  also log files live there and can grow
  h =  /home All of the remainder of the whole slice/disk  
  Pick any name. /home is easy to remember
  I also move some directories such as /usr/local 
  and /var/spool and /var/log and even /var/db/... 
  in to the /home partition and make sym links
  if they start growing..

If you have a second hard disk then you might want to make one large slice
and two partitions on it.   One for additional swap and the rest in to
extra space to use however you see fit.   I typically mount mine
as /work.

jerry
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenVPN in QEMU on FreeBSD 6.x ...

2006-02-23 Thread [EMAIL PROTECTED]
On 2/23/06, Eric Schuele [EMAIL PROTECTED] wrote:
 Marc G. Fournier wrote:
 
  Did some searching tonight, to see what was available as an OSS
  alternative to VMWare, and came across QEMU ... what I'm interested in
  doing is running a QEMU vServer that runs FreeBSD inside of it, and will
  support having outside connections talking to it as a VPN hub(?) ...
  basically, I don't want to have to futz at the Host OS level, only the
  Client OS level, as far as networking is concerned ...
 

 Good chance I can't help I'm just curious.

 You want to have a VPN endpoint running in FreeBSD as a guest OS within
 Qemu, on a FreeBSD host?  You want it in Qemu so you don't have to
 modify the host's network setup and/or install the necessary software?

 In any case, take a look here (if you haven't already):
http://www.qemu.org/qemu-doc.html#SEC20
 Might find something useful.

 The Qemu site states The QEMU VM behaves as if it was behind a firewall
 which blocks all incoming connections.  So on first glance, its sounds
 as if it might not be supported.  But I'd read over the docs in more
 detail if I were you.


Qemu's default behaviour (-net user) is as a firewalled machine,
some futzing around and searching on google, and using tap(4),
along side ng_bridge(4), you can make it behave as a normal
network node (albeit one at 10baseTX), which should support
your needs in this one instance.


  Wishful thinking, or does this make sense?  Has anyone done it?
  Pointers to docs on this, if so?
 

qemu.dad-answers.com has a *BSD subsexion, from whence
I managed to get mine working:
http://tinyurl.com/pazdu
(assuming I cut and pasted okay this time)

Honestly, if you're going to run FreeBSD inside the VM, you might
look into chroot and jail, as I'm sure those would be faster.  I know
exactly nothing about networking in jails and/or chroot environments,
so qemu may be the thing.
--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: moused problem

2006-02-23 Thread [EMAIL PROTECTED]
On 2/23/06, Timothy Smith [EMAIL PROTECTED] wrote:
 hi there when i disconnect my mouse from the ps2 port, when i go to
 reconnect it i find my mouse has stopped working. when i restart moused
 it works again, but i find that my scroll wheel no longer works in X.
 any ideas how i can prevent this from happening all together?

I do think that ps2 mouses aren't always hot-pluggable, but
I'm uncertain.  xorg 6.9 and moused -z 4 don't seem to play
nicely, I had to take the -z 4 flag out for scroll wheel to work
again.
I also discovered that some cheap KVMs (belkin omni cube) throw
up a lot of random noise when you switch ports, and mouses
can do odd and not fun things when you reconnect (up to and
inclusing freezing X and panicking the system).

If yours isn't related to that maybe it's just your momma
board not likin' the hot swappin' and is tryin' to tell you to
quit it.

--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with file creation script

2006-02-23 Thread je killen
I have a question that has not been answered by the php lists I 
subscribe to.
I have written a script that reads a directory in which I have placed 
True Type font files
for use with gd and php 5.1.2 on FreeBSD v6.0. This is used to generate 
a text file
that serves as input for another script that reads this and calls up 
each font and
writes sample text to a png file. I use touch(such and such.png) in a 
loop to create

corresponding empty png files in a separate directory.
The problem is that the server Apache 1.3.34 w/php on FreeBSD has 
written a ? to
the end of the file name: E.G. such and such file.png? So the 
subsequent script
that is supposed to actually write to the file fails silently ( no 
errors, just runs and

quits, with nothing written to the files.)
I am working with an ftp client from another machine and when I call up 
the contents of
this directory the files are presented as they are supposed to be but 
if I try to change
permissions, the server returns message that the file doesn't exist. I 
went to the
machine and cd'd into the directory and did ls -la and saw the ? on the 
end of each

file name.
Could this be written to STANDARD ERROR on the server so not visible 
via ftp connection?

My shell on the FreeBSD machine (the server) is csh.
I looked over the actual script and I can't see anything in the script 
that would have added

the question mark.
#/*?php   (comment chars added to protect the innocent)
#$items = array();
#function gen_img($b)
 #   {
  #   $file = fopen('A-menu.txt', 'r');
   #  $i = 0;
# while(!feof($file))
 # {
  # $b[$i] = fgets($file, 128);
   #$b[$i] = ereg_replace('.ttf', '.png', $b[$i]);
#   print $b[$i].'br';
 #  $i++;
  # };
   #  fclose($file);
# $i = 0;
 #print(getcwd().br);
  #   for($i; $i  count($b); $i++)
   #  {
#  touch($b[$i]); // this is the line executing 
touch(), $b is $items in function call below

 # print $b[$i].'br';
  #   };
   #
# }
#//gen_img($items); - function call

#function re_name()
#{$a = array();
# $i = 0;
# $dir = opendir('ttf_samples') or die(Couldn't open 
dir named ttf_samples);

# While($a[$i] = readdir($dir))
#  {if(ereg('png?', $a[$i]))
# {
#  ereg_replace('png?', 'png', $a[$i]);
# }
#   $i++;
#  }
# }
#//re_name(); ---this would not work
#?(comment chars added to protect the innocent) */
The following is a portion of the out put of ls -la echoed to a txt 
file, notice the absence of the '?'.


-rwx---rwx  1 jekillen  wheel  2214 Feb 20 23:27 A-menu.txt
-rwx---rwx  1 jekillen  wheel 0 Feb 24 02:49 BRASSETB.png

-rwx---rwx  1 jekillen  wheel 0 Feb 24 02:49 BRASSETO.png

-rwx---rwx  1 jekillen  wheel 0 Feb 24 02:49 BRASSETT.png

-rwx---rwx  1 jekillen  wheel 0 Feb 24 02:49 Bolton.png

-rwx---rwx  1 jekillen  wheel 0 Feb 24 02:49 BoltonBold.png

-rwx---rwx  1 jekillen  wheel 0 Feb 24 02:49 BoltonBoldItalic.png

-rwx---rwx  1 jekillen  wheel 0 Feb 24 02:49 BoltonDropCaps.png

-rwx---rwx  1 jekillen  wheel 0 Feb 24 02:49 BoltonElongated.png

-rwx---rwx  1 jekillen  wheel 0 Feb 24 02:49 BoltonItalic.png

-rwx---rwx  1 jekillen  wheel 0 Feb 24 02:49 BoltonItalicOutline.png

-rwx---rwx  1 jekillen  wheel 0 Feb 24 02:49 BoltonLight.png

-rwx---rwx  1 jekillen  wheel 0 Feb 24 02:49 BoltonLightItalic.png

I hope this is acceptable for this list.
Also I hope this text hasn't been reflowed to bad. I notice that
messages I write often show up much differently that the way I
originally wrote them.
thank you;
JK

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_iwi on FreeBSD 6.0 on a Thinkpad T43

2006-02-23 Thread Norberto Meijome
Nathan Lay wrote:
 Hi all,
 I've encountered a peculiar quirk in either this laptop or FreeBSD
 with IPW2915ABG.  For some reason or another, either the Thinkpad
 turns the card on at bootup, or FreeBSD's if_iwi driver and acpi_ibm
 mistakenly think the card is turned on.

 My loaded modules:
 Id Refs AddressSize Name
 1   14 0xc040 4033b4   kernel
 21 0xc0804000 5e28 snd_ich.ko
 32 0xc080a000 20448sound.ko
 41 0xc082b000 3f44 acpi_ibm.ko
 5   17 0xc082f000 6057cacpi.ko
 61 0xc089 41c4 wlan_tkip.ko
 71 0xc0895000 6fe4 wlan_ccmp.ko
 81 0xc1d7c000 18000linux.ko

 Notice that if_iwi is NOT loaded.

 Let's have a look at dev.acpi_ibm.0.wlan
 dev.acpi_ibm.0.wlan: 1

 Well thats odd, why would acpi think the wireless chip is turned on
 with no driver loaded?

 Let's load if_iwi for kicks

 iwi0: Intel(R) PRO/Wireless 2915ABG mem 0xa8401000-0xa8401fff irq 11
 at device 2.0 on pci4
 iwi0: Ethernet address: 00:13:ce:b7:ea:8

 That works just fine it seems.
 But then:

 %iwicontrol iwi0 -r
 Radio is ON


 So, now that the driver is loaded, both if_iwi and acpi_ibm think the
 card is turned on, but there is no firmware loaded.
 Loading a firmware and then using either `ifconfig iwi0 up' or 
 `dhclient iwi0' does absolutely nothing.

 I've tried various things with the kernel and BIOS but with no luck.

 here is my uname:
 FreeBSD LIGHTBULB.LOCAL 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #19: Mon
 Feb 20 15:06:16 EST 2006
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LIGHTBULB  i386

 Keep in mind, this also happens on GENERIC.

 So, is this a bug in FreeBSD or a quirk in the laptop?  I've pondered
 whether to submit a PR but I'm not sure what exactly is going on
 here.  Even disabling the card in the BIOS, acpi_ibm will still
 indicate that wlan is turned on.
 If anyone can clue me in here, please please do so.  Until then I'm
 surfing with an atheros card :)
Hi there,
iwi0 works fine here on a Toshiba Tecra laptop, both with if_iwi.ko or
built into the kernel. Since 6.0 Release, now on 6.1 Pre#2.

Beto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >