Re: Launching a telnet session from a process
On Jan 17, 2007, at 10:49 AM, Michael P. Soulier wrote: On 1/17/07, Kailas Ramasamy [EMAIL PROTECTED] wrote: Hi, How do I launch a telnet session from a process and tell that session to use console port (/dev/console) for stdin and stdout?. Appreciate your help. I read through fork() and exec() man pages but it is not mentioned there. Personally I'd use expect around the telnet, and then send the output to any file desired. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein What about telnet /dev/console 1 /dev/console? See: http:// hemsidor.torget.se/users/d/Devlin/shell/sh7a.html#7.3. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep a file
this might work: grep -v '^\;' originalfile newfile -g On 17/01/07, Joshua Lewis [EMAIL PROTECTED] wrote: I have a config file that uses ; as a comment character. Unfortunately there are s many comments I can't read the options that have been enabled. Can I use grep or another tool to pull all the lines in this file that do not start with the ; and place them into another file so I can actually read what this file is doing? Thanks for any help. Sincerely, Joshua Lewis [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Greg Albrecht ([EMAIL PROTECTED]) An Indie, Hip Hop and IDM Podcast: The Letter G http://theletterg.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox refuses to start in FBSD 6.2-RELEASE
On Wednesday 17 January 2007 14:37, Firas Kraiem wrote: Hi to all of you ! The title pretty much says it all, when I install Firefox, the install seems to run without problems but when I try to run it, no joy. If I try to run it from a terminal, I just get thrown back to the prompt without any output. This occurs with all the Firefox versions I've tried, i.e. : 1.5.0.8 package on the 6.2-RELEASE CD, 2.0.0.1 both from packages and ports and 2.0.0.1 Linux version from ports. Any help would be greatly appreciated. Try running it once as root. I know this is required in most of the 1.x versions, but I didn't think it was in 2.0. Anyway, something like this should suffice: su cp /home/$user/.Xauthority /root firefox JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox refuses to start in FBSD 6.2-RELEASE
Original Message From: Firas Kraiem [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, January 17, 2007 1:37:16 PM Subject: Firefox refuses to start in FBSD 6.2-RELEASE Hi to all of you ! The title pretty much says it all, when I install Firefox, the install seems to run without problems but when I try to run it, no joy. If I try to run it from a terminal, I just get thrown back to the prompt without any output. This occurs with all the Firefox versions I've tried, i.e. : 1.5.0.8 package on the 6.2-RELEASE CD, 2.0.0.1 both from packages and ports and 2.0.0.1 Linux version from ports. Any help would be greatly appreciated. Regards Firas. What window manager are you running? Firefox was crashing on KDE; so I tried it on windowmaker, where it works fine. Granted, that's not a good solution; but it may help isolate the real problem. I hope this helps. Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disable syslogd 514..
Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. thanxsss ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep a file
When I run: sudo grep -v '^\;'extentions.conf new_extentions.conf I get: -bash: new_extentions.conf: Permission denied Sincerely, Joshua Lewis [EMAIL PROTECTED] On Jan 17, 2007, at 3:15 PM, Greg Albrecht wrote: this might work: grep -v '^\;' originalfile newfile -g On 17/01/07, Joshua Lewis [EMAIL PROTECTED] wrote: I have a config file that uses ; as a comment character. Unfortunately there are s many comments I can't read the options that have been enabled. Can I use grep or another tool to pull all the lines in this file that do not start with the ; and place them into another file so I can actually read what this file is doing? Thanks for any help. Sincerely, Joshua Lewis [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] -- Greg Albrecht ([EMAIL PROTECTED]) An Indie, Hip Hop and IDM Podcast: The Letter G http://theletterg.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable syslogd 514..
On 1/17/07, Agus [EMAIL PROTECTED] wrote: Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. # echo 'syslogd_flags=-ss' /etc/rc.conf # /etc/rc.d/syslogd restart ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reread rc.conf....
On Jan 17, 2007, at 12:01 PM, Kevin Downey wrote: On 1/17/07, Agus [EMAIL PROTECTED] wrote: Hi folks. I did some configs in my freebsd and realiza that i didnt have the inetd running. So i addesd inetd_enable=YES to rc.conf. Now im trying to reread the rc.conf to make the changes active without restarting Is there a way to do it? or i have to start each server it from rc.dmanually, in these case only inetd; but what if i added a lot of lines to rc.conf? i've read this... On the console do: # shutdown now (Note: without -r or -h) # return # exit Is this the only way to do it? Thanxsss ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] /etc/rc.d/inetd restart The rc scripts in /etc/rc.d always work with the exception for me at least being rpcbind, nfsd, and mountd; those are the ones that I always have to reboot a machine for for some odd reason when I change related settings (unless I'm doing something wrong of course). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: console vesa mode switch needed earlier in boot phase
In the last episode (Jan 18), Gobbledegeek said: Currently the allscreens flags from /etc/rc.conf is set at the very last during bootup - much after most kernel boot messages are logged to screen. Is there a way to make the switch to 1024x768 console much earlier in the boot process? You should be able to fiddle with the REQUIRE: line in /etc/rc.d/syscons to get it to start earlier. Removing the LOGIN requirement and just leaving usbd should make it start quite a bit earlier in the boot sequence. If you don't have a USB keyboard, you could make it REQUIRE: mountcritlocal, which would be as early as you can get, since that's what usually mounts /usr. -- 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: Disable syslogd 514..
Agus wrote: Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. thanxsss ___ I assume your syslogd is running with -s. If you use -s twice it will disable listening on network sockets completely. See man syslogd Cheers, Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox refuses to start in FBSD 6.2-RELEASE
Problem solved. For some reason, my ~/.mozilla/ was owned by root so just chown'ing it did the trick. Thanks for the help. Firas On Wednesday 17 January 2007 21:16, you wrote: On Wednesday 17 January 2007 14:37, Firas Kraiem wrote: Hi to all of you ! The title pretty much says it all, when I install Firefox, the install seems to run without problems but when I try to run it, no joy. If I try to run it from a terminal, I just get thrown back to the prompt without any output. This occurs with all the Firefox versions I've tried, i.e. : 1.5.0.8 package on the 6.2-RELEASE CD, 2.0.0.1 both from packages and ports and 2.0.0.1 Linux version from ports. Any help would be greatly appreciated. Try running it once as root. I know this is required in most of the 1.x versions, but I didn't think it was in 2.0. Anyway, something like this should suffice: su cp /home/$user/.Xauthority /root firefox JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep a file
try to 'sudo su' first, then run the grep. -g On 17/01/07, Joshua Lewis [EMAIL PROTECTED] wrote: When I run: sudo grep -v '^\;'extentions.conf new_extentions.conf I get: -bash: new_extentions.conf: Permission denied Sincerely, Joshua Lewis [EMAIL PROTECTED] On Jan 17, 2007, at 3:15 PM, Greg Albrecht wrote: this might work: grep -v '^\;' originalfile newfile -g On 17/01/07, Joshua Lewis [EMAIL PROTECTED] wrote: I have a config file that uses ; as a comment character. Unfortunately there are s many comments I can't read the options that have been enabled. Can I use grep or another tool to pull all the lines in this file that do not start with the ; and place them into another file so I can actually read what this file is doing? Thanks for any help. Sincerely, Joshua Lewis [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Greg Albrecht ([EMAIL PROTECTED]) An Indie, Hip Hop and IDM Podcast: The Letter G http://theletterg.org -- Greg Albrecht ([EMAIL PROTECTED]) An Indie, Hip Hop and IDM Podcast: The Letter G http://theletterg.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reread rc.conf....
On 1/17/07, Garrett Cooper [EMAIL PROTECTED] wrote: On Jan 17, 2007, at 12:01 PM, Kevin Downey wrote: On 1/17/07, Agus [EMAIL PROTECTED] wrote: Hi folks. I did some configs in my freebsd and realiza that i didnt have the inetd running. So i addesd inetd_enable=YES to rc.conf. Now im trying to reread the rc.conf to make the changes active without restarting Is there a way to do it? or i have to start each server it from rc.dmanually, in these case only inetd; but what if i added a lot of lines to rc.conf? i've read this... On the console do: # shutdown now (Note: without -r or -h) # return # exit Is this the only way to do it? Thanxsss ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] /etc/rc.d/inetd restart The rc scripts in /etc/rc.d always work with the exception for me at least being rpcbind, nfsd, and mountd; those are the ones that I always have to reboot a machine for for some odd reason when I change related settings (unless I'm doing something wrong of course). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] nfs is weird like that, but you can always just killall -HUP nfsd killall -HUP mountd -- The biggest problem with communication is the illusion that it has occurred. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable syslogd 514..
On Jan 17, 2007, at 12:33 PM, Agus wrote: Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. thanxsss Check the syslog.conf manpage. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH connection from within a jail
the solution and a brief discussion can be seen here in case you are interested: http://lists.freebsd.org/pipermail/freebsd-hackers/2005-November/014450.html andras Greg Albrecht wrote: are you using the default /etc/ssh/sshd_config? i'm currently running jails with ssh and don't recall having this problem. the only thing i remember explicitly having to do is tell sshd to bind to the jail's IP. -g On 12/01/07, Andras GELANYI [EMAIL PROTECTED] wrote: Do you know how can I initaite a SSH connection from within a jail? I always get the Host key verification failed. message. Starting the ssh session with -v it seems that the problem is with tty allocation. debug1: read_passphrase: can't open /dev/tty: Device busy The jail has devfs mounted with the default ruleset. (As seen in /usr/share/examples/etc/defaults/devfs.rules) Andras smime.p7s Description: S/MIME Cryptographic Signature
Re: Disable syslogd 514..
Agus wrote: Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. The -ss option of syslogd will disable all network sockets, so setting this in rc.conf will help: syslogd_flags=-ss Don't forget to restart syslogd of course. greetings philipp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reread rc.conf....
On Jan 17, 2007, at 9:55 PM, Garrett Cooper wrote: On Jan 17, 2007, at 12:01 PM, Kevin Downey wrote: On 1/17/07, Agus [EMAIL PROTECTED] wrote: Hi folks. I did some configs in my freebsd and realiza that i didnt have the inetd running. So i addesd inetd_enable=YES to rc.conf. Now im trying to reread the rc.conf to make the changes active without restarting Is there a way to do it? or i have to start each server it from rc.dmanually, in these case only inetd; but what if i added a lot of lines to rc.conf? i've read this... On the console do: # shutdown now (Note: without -r or -h) # return # exit Is this the only way to do it? Thanxsss ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] /etc/rc.d/inetd restart The rc scripts in /etc/rc.d always work with the exception for me at least being rpcbind, nfsd, and mountd; those are the ones that I always have to reboot a machine for for some odd reason when I change related settings (unless I'm doing something wrong of course). -Garrett The rc.d scripts indeed mostly work. A little bit offtopic: Only /etc/rc.d/mountd won't stop mountd on my 6.0 system. But to restart my nfsd I use the next commands #killall mountd #/etc/rc.d/nfsd restart This usualy works to restart and reread my /etc/export file. Guido ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Load balancing outgoing mail relay
Hello: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of freebsd Sent: Wednesday, January 17, 2007 2:34 AM To: FreeBSD Questions Subject: Load balancing outgoing mail relay Hi I have a simple question but googling does not lead to a valid/usable answer. I need to load balance OUTGOING emails. I have serveral smart hosts. I need my internal SMTP server to send mail using ALL of the smart hosts together, making some kind of load balancing (no need for wheighted one). Someone pointed out to use a name for the smart host, and have DNS to resolve that name to the IP of all the relays (multiple A records) but this turned out in doing failover, not load balancing. Anyone has a *working* idea for solving this apparently simple problem? Thanks PF will definitely do what you want via its round-robin and redirect features. You would redirect all inbound traffic on port 25 to your smart host group/table which would then load balance across all of your servers. In pf.conf, something like the following, with the understanding that there are other things you may need to do first before a pf config will work: $int_if=em1 # replace with the interface name from your machine $ext_if=em0 # replace with the interface name from your machine $smart_host_01=192.168.1.1 $smart_host_02=192.168.1.2 $smart_host_03=192.168.1.3 $mail_server_01=10.1.1.1 table smtp_roundrobin persist { \ $smart_host_01, \ $smart_host_02, \ $smart_host_03 \ } rdr on $int_if proto tcp from $mail_server_01 to any port 25 - smtp_roundrobin round-robin The configuration can become more granular (complex) by including NAT and ALTQ if you want to do rate-shaping. Regards, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?
Hello, I found the driver for my wireless card on: http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz but how is it supposed to be installed on a fresh FreeBSD 6.2? Daniel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox refuses to start in FBSD 6.2-RELEASE
Firas Kraiem Pro writes: Problem solved. For some reason, my ~/.mozilla/ was owned by root so just chown'ing it did the trick. Thanks for the help. In return, please file a PR with Firefox. This sounds like the kind of thing it ought to print an error message for. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reread rc.conf....
On Wednesday 17 January 2007 16:23, Guido Demmenie wrote: A little bit offtopic: Only /etc/rc.d/mountd won't stop mountd on my 6.0 system. But to restart my nfsd I use the next commands #killall mountd #/etc/rc.d/nfsd restart This usualy works to restart and reread my /etc/export file. A little further offtopic.. killall -HUP mountd does the same thing. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: duo core question
On 1/16/07, Tsu-Fan Cheng [EMAIL PROTECTED] wrote: thank you guys for reply... very useful... :-) so for you guys who have experiecen with this cpu, do you really feel it?? i think you really need to figure out how you are going to be using the system. if you are running a farm of machines running multi-threaded app's then i'd say yes - multi-core systems are a benefit (as you get more core's to run threads on w/o generating as much heat and eating as much power as a second cpu socket). if you are running heavily multi-threaded desktop apps, i'd say yes - it may be helpful for similar reasons mentioned above. if you are using your desktop like %90 of unix people out there (web/mail and ssh'ing into servers) i'm not sure having two cores (let alone multiple CPU's) is worth the price. just my 2bit's. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable syslogd 514..
On Thu, 18 Jan 2007 01:33:13 +0500, Agus [EMAIL PROTECTED] wrote: Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. From syslogd(8): -s Operate in secure mode. Do not log messages from remote machines. If specified twice, no network socket will be opened at all, which also disables logging to remote machines. So 'syslogd_flags=-ss' can be added to /etc/rc.conf. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: duo core question
On Jan 17, 2007, at 11:55 AM, pete wright wrote: On 1/16/07, Tsu-Fan Cheng [EMAIL PROTECTED] wrote: thank you guys for reply... very useful... :-) so for you guys who have experiecen with this cpu, do you really feel it?? i think you really need to figure out how you are going to be using the system. if you are running a farm of machines running multi-threaded app's then i'd say yes - multi-core systems are a benefit (as you get more core's to run threads on w/o generating as much heat and eating as much power as a second cpu socket). if you are running heavily multi-threaded desktop apps, i'd say yes - it may be helpful for similar reasons mentioned above. if you are using your desktop like %90 of unix people out there (web/mail and ssh'ing into servers) i'm not sure having two cores (let alone multiple CPU's) is worth the price. Assuming you're not operating some sort of high-volume web/mail apps :). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Launching a telnet session from a process
Hi Garret, Thanks for the info. -Kailas On 1/17/07, Garrett Cooper [EMAIL PROTECTED] wrote: On Jan 17, 2007, at 10:49 AM, Michael P. Soulier wrote: On 1/17/07, Kailas Ramasamy [EMAIL PROTECTED] wrote: Hi, How do I launch a telnet session from a process and tell that session to use console port (/dev/console) for stdin and stdout?. Appreciate your help. I read through fork() and exec() man pages but it is not mentioned there. Personally I'd use expect around the telnet, and then send the output to any file desired. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein What about telnet /dev/console 1 /dev/console? See: http:// hemsidor.torget.se/users/d/Devlin/shell/sh7a.html#7.3. -Garrett ___ 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: Xorg/Gnome/KDE freeze on latest release
Forwarded Message From: Gobbledegeek [EMAIL PROTECTED] CC: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Date: Thu, 18 Jan 2007 01:07:45 +0530 Subject:Re: Xorg/Gnome/KDE freeze on latest release Plain Text Attachment [ Scan and Save to Computer | Save to Yahoo! Briefcase ] PS: This can happen some 10-15 mins into an X session, not always immediately on login. Suspect applications are firefox 1.5.0.8 and firefox2.0 and Konqueror. Seems to happen soon after launching any of these applications. Regards On 1/18/07, Gobbledegeek [EMAIL PROTECTED] wrote: Hello All I've been seeing system freezes on freebsd 6.2 Release and also the older RC2. Absolutely No errors reported in logs. Suddenly the mouse cursor movement is reduced to a crawl, and the keyboard freezes. Mouse-clicks do not launch any applications or switch tasks. I cannot switch back to vty1/2/3... or any console and had to resort to cold-starting a dozen times to recover from the hangs in the last few days, dirtying my filesystem in the process each time.. sometimes had to reinstall corrupted kde/xorg packages I'm writing this mail from windows, so I do not have the uname and Xorg logs with version numbers, but from memory its freebsd 6.2 release#3 i386 machine. Xorg release 6.9. KDE version 3.5.4 . In case my version number recall is mistaken - Gnome/KDE are the versions obtained remotely on the 15th of Jan. I did cvsup and buildworld steps today 17th of Jan. The problem has remained since RC2. I did not have X during RC1, so I don't know if it was present in that release. This is on an athlon64 cpu soc 754 with nforce3 250gb chipset with Radeon 7500. DRI is loading correctly on startup. No hangs on windoz, so its not a hardware issue. Unless its got to do with freebsd drivers for usb wireless (iBall) keyb/mouse. But the system never hangs if I don't load X/Gnome/KDE. Sound/Artsd seems to work fine. I see this on both regular 4.4BSd and ULE scheduler based kernels Please reply-to-all as I am not subscribed. -- Rgrds GobbledeGeek [Everything but Gobbledegook.. !!] -- Rgrds GobbledeGeek [Everything but Gobbledegook.. !!] I once had these same problems on a slightly different machine (amd64 with nforce4 motherboard and nvidia 6600TC GPU). The problem was in the Xorg driver. You should try to narrow it down and disable Xorg and see if you are still noticizing freezes. (In my case, it would only behave like this in combination with X) My solution was to run the vesa driver in xorg and I have never had any problems anymore. Good luck. Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I see security logs without turning on sendmail?
On 1/15/07, Tuareg [EMAIL PROTECTED] wrote: Sending again... it seems that the list dont want me to send mails from gmail... :( Well, after many suggestions from you on this topic last months/year... We have tried something that let us sent messages from this servers, but we would like the hear from you, how does this affect the server, we know that this is not the better solution, but it's what it worked for us. Found this link: http://security.uoregon.edu/sendmail/ After reading this part: Turning off 127.0.0.1:25 Altogether The creation of an MSP process allows for some flexibility in client-class mail configuration. Because the MSP has a queue of its own, messages can either be queued or delivered immediately. So in some special cases, a machine can run without a sendmail listener. This however, is an unusual and not-recommended practice. It is merely listed here to elaborate on the differences between MTA's and MSP's. The submit.mc and submit.cf in this case would be: FEATURE(`msp',`centralmailserver') D{MTAHost}centralmailserver Obviously, it says that it's unusual and not-recommend, but didn't say exactly the reason.. (maybe you can tell me why, because I have knowledge in the configuration of sendmail, can configure it to avoid be used as relay, use of rbl lists, etc, but I'm not exactly an expert). Well, after reading this... went to one of the new servers.. and read /etc/mail/README 1. Designate an alternative host for the submission agent to contact by altering /etc/mail/freebsd.submit.mc (or setting SENDMAIL_SUBMIT_MC in /etc/make.conf to an alternate .mc file) and using 'make install-submit-cf' in /etc/mail/. Change the FEATURE(msp) line to FEATURE(msp, hostname) where hostname is the fully qualified hostname of the alternative host. So, I modified the respective lines... %cat /etc/mail/freebsd.submit.mc . . . # # This is the FreeBSD configuration for a set-group-ID sm-msp sendmail # that acts as a initial mail submission program. # # divert(0)dnl VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1.16.12006/04/13 04:00:23 gshapiro Exp $') define(`confCF_VERSION', `Submit')dnl define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet define(`confTIME_ZONE', `USE_TZ')dnl define(`confDONT_INIT_GROUPS', `True')dnl define(`confBIND_OPTS', `WorkAroundBroken')dnl dnl dnl If you use IPv6 only, change [ 127.0.0.1] to [IPv6:::1] FEATURE(`msp', `[ my.main.server]')dnl %make install-submit-cf And now, I'm able to receive the e-mail of our monitoring scripts in our main e-mailserver. I compared the file of the old servers, but this method wasn't used, so.. can't tell you yet.. how the old server were modified to be able to send mails without using sendmail as daemon. Here is the result of the tests: %mail -v [EMAIL PROTECTED] Subject: TEST test . EOT [EMAIL PROTECTED] Connecting to smtp.my.main.server. via relay... 220-my.main.server ESMTP Mail Server. 220-Ready on Mon, 15 Jan 2007 11:32:53 -0600 (CST). EHLO new.monitored.server. 250-my.main.server Hello new.monitored.server [xxx.xxx.xxx.xxx], pleased to meet you 250-ENHANCEDSTATUSCODES 250-8BITMIME 250-SIZE 1500 250-DSN 250-ONEX 250-ETRN 250-XUSR 250 HELP MAIL From: [EMAIL PROTECTED] SIZE=50 250 2.1.0 [EMAIL PROTECTED]... Sender ok RCPT To: [EMAIL PROTECTED] 250 2.1.5 [EMAIL PROTECTED]... Recipient ok DATA 354 Enter mail, end with . on a line by itself . 250 2.0.0 l0FHWrV68053 Message accepted for delivery [EMAIL PROTECTED] Sent (l0FHWrV123456 Message accepted for delivery) Closing connection to smtp.my.main.server. QUIT 221 2.0.0 my.main.server closing connection tail -f /var/log/maillog Jan 15 11:32:53 monitored sendmail[70665]: l0FHWqLe707332: to= [EMAIL PROTECTED], ctladdr=user (10001/120), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30050, relay= smtp.my.main.server. [ xxx.xxx.xxx.xxx], dsn=2.0.0, stat=Sent (l0FHWrV123456 Message accepted for delivery) This was done with FreeBSD 6.1 STABLE. Suggestions on this? P.S. Yes.. I know we can use smmtp, but please remember, what we wanted it's to avoid installing software and open the port 25, just wanted to sent the result of scripts via e-mail. Thanks for your comments/suggestions/and any other stuff... on this solution (at least for us) No comments/suggestions about this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is the new Qlogic QLA 2462 fibre channel card supported?
Hello I am curious if the new Qlogic QLA2462 fibre channel card is supported yet. I do not see it listed in the hardware support page, but since it's so new I was curious if it may just not have made it in yet. If it is not, what would it take to get a driver for this? I could likely get a card donated for driver development. Thanks Nicole Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox mess in Freebsd 6.1
The flash plugin works great with linux-firefox; but how do you get the java plugin to work with it? I don't know if there is a way to get a FreeBSD version of the Java plugin to work. If you have a Linux version of it sitting around: cd /usr/local/lib/linux-firefox/plugins ln -s /usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so ...should do it. Of course your libjavaplugin might be in a different location than mine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grep a file
On Wednesday 17 January 2007 14:52, Joshua Lewis wrote: When I run: sudo grep -v '^\;'extentions.conf new_extentions.conf I get: -bash: new_extentions.conf: Permission denied You're running grep via sudo, but the redirection is handled by the shell, wish is still running as you. Either run sudo -s to get a root prompt, or: sudo sh -c grep -v '^\;'extentions.conf new_extentions.conf which runs your entire command line, redirection and all, as root. -- Kirk Strauser pgpqrHvsqildR.pgp Description: PGP signature
Re: Disable syslogd 514..
[EMAIL PROTECTED] wrote: On Thu, 18 Jan 2007 01:33:13 +0500, Agus [EMAIL PROTECTED] wrote: Hi doing a netstat -an i see that syslog is listening in UDP port 514.i am trying to disable it, but no luck i checked the rc.conf but there is nothing there.what do u recommend? to disable it or to leave it? I do not use the machine as a remote syslog server so i cant see the use.but who knows.. From syslogd(8): -s Operate in secure mode. Do not log messages from remote machines. If specified twice, no network socket will be opened at all, which also disables logging to remote machines. So 'syslogd_flags=-ss' can be added to /etc/rc.conf. ___ BTW: It can be written like 'syslogd_flags=-s -s' to your /etc/rc.conf Both are perfectly valid. Cheers, Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: duo core question
On 1/17/07, Garrett Cooper [EMAIL PROTECTED] wrote: On Jan 17, 2007, at 11:55 AM, pete wright wrote: On 1/16/07, Tsu-Fan Cheng [EMAIL PROTECTED] wrote: thank you guys for reply... very useful... :-) so for you guys who have experiecen with this cpu, do you really feel it?? i think you really need to figure out how you are going to be using the system. if you are running a farm of machines running multi-threaded app's then i'd say yes - multi-core systems are a benefit (as you get more core's to run threads on w/o generating as much heat and eating as much power as a second cpu socket). if you are running heavily multi-threaded desktop apps, i'd say yes - it may be helpful for similar reasons mentioned above. if you are using your desktop like %90 of unix people out there (web/mail and ssh'ing into servers) i'm not sure having two cores (let alone multiple CPU's) is worth the price. Assuming you're not operating some sort of high-volume web/mail apps :). -Garrett sure, although i can't think of any multi-threaded MUA's or web browsers out there -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?
Daniel Tourde wrote: Hello, I found the driver for my wireless card on: http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz but how is it supposed to be installed on a fresh FreeBSD 6.2? Daniel You will need to compile the driver then use kldload to load it into the kernel. See man kldload You can then you should be able to load it on boot automatically via /boot/loader.conf. See man loader.conf Hope that helps some. Cheers, Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
splunk on FreeBSD 6.1/AMD 64
I know that this isn't an officially supported configuration, but rumor has it that it's possible to run splunk 2.1 on a 64-bit FreeBSD 6.1 installation so I was wondering if anyone has it working. splunk 2.1.2 FreeBSD 6.1-RELEASE-p10 #3 compat5x-amd64-5.4.0.8_7 A convenience package to install the compat5x libraries I mostly followed the recommendations @ http://www.splunk.com/base/forum:SplunkGeneral/289 -- I didn't install ldconfig_compat because it's included in ldconfig and I tried both installing via the package and installing by expanding the tarball that they provide. At this point, if I try to start up the server, I get a series of these errors: /libexec/ld-elf.so.1: /opt/splunk/lib/libz.so.3: unsupported file layout and then it bails out. Thanks in advance, M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash 9
On 1/17/07, Abdullah Al-Marrie [EMAIL PROTECTED] wrote: On 1/17/07, FreeBSD WickerBill [EMAIL PROTECTED] wrote: Maybe this would be better asked on the ports list but I'm throwing it out here first. Adobe released the linux version today (found here http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz ) and was wondering if anyone has tried it yet. I'm at work, not at a *BSD desktop. Thanks... I see it in linux compat layer http://www.freshports.org/www/linux-flashplugin9/ ;) -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Does it work for anyone though? I just installed it and it gets no sound or it freezes depending on the site. Regards, Chad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?
Daniel Tourde wrote: Hello, I found the driver for my wireless card on: http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz but how is it supposed to be installed on a fresh FreeBSD 6.2? I hate to say this but this driver only seems to compile on -CURRENT as far as i can tell (and as far as the conversation at http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2007/freebsd-drivers/20070107.freebsd-drivers leads me to believe.) There is another less complete driver floating around that is usable on 6.x although it only works for some people and even then only at 6 meg (i believe the conversation i linked contains links to that driver if you dont fancy running current.) Vince Daniel ___ 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]
ATAPI CDROM Problem
Hi, I am trying to install FreeBSD 6.2 on my new machine and have a problem. I boot using 6.2-disc1, but when I try to choose CD/DVD as installation media, the installer says: No CD/DVD drives found. I tried the solution in question 3.13 of FreeBSD FAQ, but it didn't work. I tried setting the CD drive's jumper to Master, Slave, and Cable Select. None of them worked. I also tried installing FreeBSD 6.1 and Ubuntu Linux with no success. Knoppix also can't boot saying that it can't find the filesystem. However, I can assure that the drive is working, since I can boot CDs using this drive and Windows is very happy with it. By the way, it is an LG GSA-H22N. I looked at the boot messages by using Scroll Lock, and I can't see any messages indicating that FreeBSD detected my CD drive. It detects my SATA HDD though. And the strange thing I noticed is that, it finds 3 controllers, atapci0 (ATA), atapci1 (SATA), and atapci2 (SATA). But the ata devices start from 2: ata2, ata3, ata4, ata5, ata6, and ata7. There are no ata0 and ata1. Are there any suggestions? Thanks, Serdar Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What is this mean by this term
I am confused 2 posters have told me that I am top posting , What do we mean by top-posting do I pickup the last thread from that email thread and reply ? is that right ? What if someone is emailing from a thread while I am replying at the same time, would that not happen ? Would I be getting complains again that I am top-posting Thanks Dak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATAPI CDROM Problem
I am trying to install FreeBSD 6.2 on my new machine and have a problem. I boot using 6.2-disc1, but when I try to choose CD/DVD as installation media, the installer says: No CD/DVD drives found. Is this by chance a newer Core 2 Duo system with a motherboard with an Intel p965 chipset? If so, I think this is a known bug. I know at least one other person who was unable to install FreeBSD 6.2 on a p965 board. The installer does not see the PATA hdd or the ATAPI CD device on the JMicron controller. I'm not sure if it's related, but it sounds similar to this PR I submitted here: http://www.freebsd.org/cgi/query-pr.cgi?pr=103602 Others might be able to offer workarounds for getting the installer to work (since my DVD drive works for normal things, just not ATAPICAM). Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What is this mean by this term
On Wed, 17 Jan 2007, Dak Ghatikachalam wrote: I am confused 2 posters have told me that I am top posting , What do we mean by top-posting Top-posting is when you put your reply above the orginal message. The problem is evident when you get many people responding to each other; it rapidly becomes difficult to determine who said what, and well-nigh impossible to follow the flow of the discussion. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What is this mean by this term
Dak Ghatikachalam [EMAIL PROTECTED] wrote: I am confused 2 posters have told me that I am top posting , What do we mean by top-posting http://en.wikipedia.org/wiki/Top_posting ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What is this mean by this term
SO This is TOP-POSTING -- Actually this is normal behavior of my google mail On 1/17/07, Chris Hill [EMAIL PROTECTED] wrote: On Wed, 17 Jan 2007, Dak Ghatikachalam wrote: I am confused 2 posters have told me that I am top posting , What do we mean by top-posting Top-posting is when you put your reply above the orginal message. The problem is evident when you get many people responding to each other; it rapidly becomes difficult to determine who said what, and well-nigh impossible to follow the flow of the discussion. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] So this correct place to POST back the reply , interesting . Thanks a lot Dak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What is this mean by this term
On 1/17/07, Bill Moran [EMAIL PROTECTED] wrote: Dak Ghatikachalam [EMAIL PROTECTED] wrote: I am confused 2 posters have told me that I am top posting , What do we mean by top-posting http://en.wikipedia.org/wiki/Top_posting Thanks a lot Wiki information Rocks, Wow I learnt more about top posting, bottom posting, inline replying and Double quoting. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATAPI CDROM Problem
Yes, the motherboard is Intel DP965LT (which uses P965) with a Core 2 Duo processor. Thanks, Serdar - Original Message From: Josh Carroll [EMAIL PROTECTED] To: Serdar Ozler [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Wednesday, January 17, 2007 4:55:20 PM Subject: Re: ATAPI CDROM Problem I am trying to install FreeBSD 6.2 on my new machine and have a problem. I boot using 6.2-disc1, but when I try to choose CD/DVD as installation media, the installer says: No CD/DVD drives found. Is this by chance a newer Core 2 Duo system with a motherboard with an Intel p965 chipset? If so, I think this is a known bug. I know at least one other person who was unable to install FreeBSD 6.2 on a p965 board. The installer does not see the PATA hdd or the ATAPI CD device on the JMicron controller. I'm not sure if it's related, but it sounds similar to this PR I submitted here: http://www.freebsd.org/cgi/query-pr.cgi?pr=103602 Others might be able to offer workarounds for getting the installer to work (since my DVD drive works for normal things, just not ATAPICAM). Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Need a quick answer? Get one in minutes from people who know. Ask your question on www.Answers.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: What is this mean by this term
On Wednesday 17 January 2007 15:48, Dak Ghatikachalam wrote: I am confused 2 posters have told me that I am top posting , What do we mean by top-posting do I pickup the last thread from that email thread and reply ? is that right ? What if someone is emailing from a thread while I am replying at the same time, would that not happen ? Would I be getting complains again that I am top-posting Thanks Dak You might want to look at the following: http://www.lemis.com/questions.html It's a very comprehensive guide for posting to these lists. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpmd5qXymKeP.pgp Description: PGP signature
Re: Firefox mess in Freebsd 6.1
On 1/17/07, Michael M. Press [EMAIL PROTECTED] wrote: The flash plugin works great with linux-firefox; but how do you get the java plugin to work with it? . I don't know if there is a way to get a FreeBSD version of the Java plugin to work. If you have a Linux version of it sitting around: cd /usr/local/lib/linux-firefox/plugins ln -s /usr/local/linux-sun-jdk1.4.2 /jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so ...should do it. Of course your libjavaplugin might be in a different location than mine. Did I screw up my firefox big time, I see flash player plugins files everywhere. # find / -name flashplayer.xpt -exec ls -lrt {} \; -r--r--r-- 1 500 100 856 Oct 27 16:42 /usr/local/lib/firefox/plugins/install_flash_player_7_linux/flashplayer.xpt -r--r--r-- 1 root wheel 856 Oct 27 16:42 /usr/local/lib/firefox/plugins/flashplayer.xpt lrwxr-xr-x 1 root wheel 42 Jan 6 16:24 /usr/local/lib/browser_plugins/flashplayer.xpt - ../npapi/linux-flashplugin/flashplayer.xpt -r--r--r-- 1 root wheel 856 Oct 27 16:42 /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/local/lib/npapi/symlinks/linux-firefox/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/local/lib/npapi/symlinks/linux-firefox-devel/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/local/lib/npapi/symlinks/linux-flock/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/local/lib/npapi/symlinks/linux-flock-devel/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/local/lib/npapi/symlinks/linux-mozilla/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/local/lib/npapi/symlinks/linux-nvu/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/local/lib/npapi/symlinks/linux-opera/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/local/lib/npapi/symlinks/linux-opera-devel/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/local/lib/npapi/symlinks/linux-seamonkey/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/local/lib/npapi/symlinks/linux-seamonkey-devel/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/local/lib/npapi/symlinks/linux-sunbird/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/local/lib/npapi/symlinks/linux-sunbird-devel/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt -r--r--r-- 1 root wheel 856 Oct 27 16:42 /usr/ports/www/linux-flashplugin7/work/install_flash_player_7_linux/flashplayer.xpt -r--r--r-- 1 500 100 856 Oct 27 16:42 /usr/X11R6/lib/plugins/install_flash_player_7_linux/flashplayer.xpt lrwxr-xr-x 1 root wheel 54 Jan 6 16:20 /usr/X11R6/lib/linux-mozilla/plugins/flashplayer.xpt - /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt -r--r--r-- 1 root wheel 856 Oct 27 16:42 /usr/X11R6/lib/linux-flashplugin7/flashplayer.xpt -r--r--r-- 1 oracle wheel 856 Oct 27 16:42 /usr/home/oracle/.mozilla/firefox/plugins/flashplayer.xpt # what a mess Is it best to delete/unistall everything fire firefox using pkg_delete and start clean slate ? But then I went and tampered into /usr/local/lib, ran that patch , hack.dif so many times. Thanks Dak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What is this mean by this term
On 1/17/07, Beech Rintoul [EMAIL PROTECTED] wrote: On Wednesday 17 January 2007 15:48, Dak Ghatikachalam wrote: I am confused 2 posters have told me that I am top posting , What do we mean by top-posting do I pickup the last thread from that email thread and reply ? is that right ? What if someone is emailing from a thread while I am replying at the same time, would that not happen ? Would I be getting complains again that I am top-posting Thanks Dak You might want to look at the following: http://www.lemis.com/questions.html It's a very comprehensive guide for posting to these lists. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- Wow, That link above made a world of difference, Thanks a lot. I have learnt more. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mpt status report
I just ran across this URL: http://www.freebsd.org/news/status/report-oct-2006-dec-2006.html#MPT-LSI-Logic-Host-Adapters:-mpt and am wondering why you guys don't just port the mpi driver from OpenBSD. There is nothing in the mpt driver that doesn't work in mpi. We have mpi working on all platforms that have PCI slots and it is quite a bit faster than the ported mpt ever was. All items listed work perfectly in OpenBSD. Before you go off on a target mode tangent... The hardware does not support it; the only thing it does is async mode which is only used for MS cluster support. There is no point in having that in the driver so that should not be a reason to no support it. /marco ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Subject: Re: Execute script every time a specified user logs in (FreeB SD 6.1)
A simple technique is to have /etc/profile check for user X and for him source another file (containing the commands which X can't modify). Have root own this file and allow all others to only read and execute it. sudo is unnecessary. This is inelegant in that it has a general and widely used file look for special cases, but that is something that almost all programs do. This inelegancy is present in other places in UNIX . The text of the preceding emails is attached. On 17 Jan 2007 21:42:49, Todor Dragnev [EMAIL PROTECTED] wrote To: [EMAIL PROTECTED] Cc: Pieter de Goeje [EMAIL PROTECTED], freebsd-questions@freebsd.org You can attach script to auth.info;authpriv.info in syslog.conf and listen for login events... man syslog.conf(5) - look for vertical bar(pipe) functionality On Jan 17, 2007, at 18:46 , George Vanev wrote: On 1/17/07, Pieter de Goeje [EMAIL PROTECTED] wrote: On Wednesday 17 January 2007 11:49, George Vanev wrote: Every time user X (for example) logs in the system I want to execute some script. The user must not have the permission to change this behavior. Also the script must be run as root. Something like crontab, but depending on logins, not time Any ideas?! If this user logs in via SSH you can use the ForceCommand keyword in sshd_config(5) to execute your script. The root part can be achieved with sudo(8) . Regards, Pieter de Goeje Thanks, nice idea. But it seems I can't use it. Let me be more specific: If user X logs in then I want to run /usr/bin/script -aq /path/user_X The file user_X must be protected from modifying/deleting Could this be done?! -- George Vanev A simple technique is to have /etc/profile check for user X and for him source another file (containing the commands which X can't modify). Have root own this file and allow all others to only read and execute it. sudo is unnecessary. This is inelegant in that it has a general and widely used file look for special cases, but that is something that almost all programs do. This inelegancy is present in other places in UNIX .___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash 9
On Wed, 17 Jan 2007 19:17:21 -0500 Chad Gross [EMAIL PROTECTED] wrote: I see it in linux compat layer http://www.freshports.org/www/linux-flashplugin9/ ;) -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Does it work for anyone though? I just installed it and it gets no sound or it freezes depending on the site. I have the same situation, no sound! Best regards, Rico ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash 9
and was wondering if anyone has tried it yet. I'm at work, not at a *BSD desktop. I get a segfault from linux-firefox when I try to play a video from youtube. It's been this way for the last few releases of the Linux Flash 9 player. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash 9
В сообщении от Четверг 18 января 2007 09:15 Naim написал(a): On Wed, 17 Jan 2007 19:17:21 -0500 Chad Gross [EMAIL PROTECTED] wrote: I see it in linux compat layer http://www.freshports.org/www/linux-flashplugin9/ ;) -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Does it work for anyone though? I just installed it and it gets no sound or it freezes depending on the site. I have the same situation, no sound! Best regards, Rico Don't you guys know? There would not be any sound, because linux flash 9 uses ALSA, not OSS. If there would be some wrapper sometime, we will hear the flash, if there would not be such thing, we would not. -- С уважением, Бачило Дмитрий Руководитель отдела системной интаграции ООО Компания Солинк -- With Best Regards, Bachilo Dmitry Head of systems integration dept Solink Company Ltd. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: What is this mean by this term
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dak Ghatikachalam Sent: Thursday, 18 January 2007 11:48 AM To: freebsd-questions Subject: What is this mean by this term I am confused 2 posters have told me that I am top posting , What do we mean by top-posting do I pickup the last thread from that email thread and reply ? is that right ? What if someone is emailing from a thread while I am replying at the same time, would that not happen ? Would I be getting complains again that I am top-posting Thanks Dak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Top-posting defined simply ... A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? Unfortunately all Micro$lop 'standard' email clients and a few others put the cursor at the top of the email, so the bad habit has developed across the world both domestically and in businesses, to write there, rather than continuing the email thread at the bottom. mjt --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
avi/wmv/qt player on FreeBSD
I've been trying to install different multimedia players (avifile/xine/etc) via the port, but they all fail on the win32-codecs dependency. Probably because of the security issue. Which is an avi/wmv/qt player that can be installed and works? Thanks, Alain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Transport Mode IPSEC
Hey all, I see the handbook has a nice howto on tunnel mode ipsec. I just want to protect my NFS/NIS traffic between two hosts on a switch (neither NAT'd) -- is there a reference as to transport-mode ipsec anywhere, or has anyone done it that can outline it? I would imagine it would be drastically simpler than tunnel mode, but I'm not sure where it would break off. -Dan -- A mother can be an inspiration to her little son, change his thoughts, his mind, his life, just with her gentle hum. -No Doubt, Different People, from Tragic Kingdom Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Transport Mode IPSEC
Dan, You do realize, don't you, that since both of these hosts are on a switch, and are using unicast traffic to communicate with each other, that they cannot be sniffed, don't you? You might read up on ethernet switching technology a bit before answering that. Most people don't wear 2 condoms, you know. Ted - Original Message - From: Dan Mahoney, System Admin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2007 11:28 PM Subject: Transport Mode IPSEC Hey all, I see the handbook has a nice howto on tunnel mode ipsec. I just want to protect my NFS/NIS traffic between two hosts on a switch (neither NAT'd) -- is there a reference as to transport-mode ipsec anywhere, or has anyone done it that can outline it? I would imagine it would be drastically simpler than tunnel mode, but I'm not sure where it would break off. -Dan -- A mother can be an inspiration to her little son, change his thoughts, his mind, his life, just with her gentle hum. -No Doubt, Different People, from Tragic Kingdom Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ 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]
DesktopBSD 1.6RC-1 is out
Hello, For Desktop and Laptop users, DestopBSD 1.6RC-1 is out and it's based on FreeBSD 6.2-RELEASE with KDE 3.5.5 http://desktopbsd.net/forums/viewtopic.php?p=5582#5582 -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: avi/wmv/qt player on FreeBSD
Hi Alain, On 18/01/07, Alain G. Fabry [EMAIL PROTECTED] wrote: I've been trying to install different multimedia players (avifile/xine/etc) via the port, but they all fail on the win32-codecs dependency. Probably because of the security issue. Which is an avi/wmv/qt player that can be installed and works? if you search the lists archive for win32-codecs you'll find many threads that deal with this issue. Simply reconfigure win32-codecs so that it doesn't use Quicktime, and you're done. If you need/want Quicktime nonetheless, there should be an explanation of how to change the ports makefile to not check for this security issue. HTH Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Broadcom Nics in Tyan Transport GT24 (B3992)
yes, but guess what - FBSD 6.2 is now released, so just install that and the updated driver is already in the kernel Ted - Original Message - From: Dan Mahoney, System Admin [EMAIL PROTECTED] To: Ted Mittelstaedt [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, January 15, 2007 7:27 AM Subject: Re: Broadcom Nics in Tyan Transport GT24 (B3992) On Mon, 15 Jan 2007, Ted Mittelstaedt wrote: Is the bge driver enabled by default? -Dan I don't know what broadcom chip your MB has but the majority of those cards are supported here: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/ You should be able to just copy over the 2 files to your src/sys/dev/bge/ directory and recompile your 6.1-release kernel with no problems. I did. Look carefully at the chip on your MB and post the BCM model number on it if this doesen't work. Ted - Original Message - From: Dan Mahoney, System Admin [EMAIL PROTECTED] To: Ted Mittelstaedt [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, January 13, 2007 5:34 AM Subject: Re: Broadcom Nics in Tyan Transport GT24 (B3992) On Fri, 12 Jan 2007, Ted Mittelstaedt wrote: Use the latest Broadcom driver from FreeBSD CVS. The one included in 6.1 release is buggy. Which driver is that? My 6.1 install won't see them at all: pci4: PCI bus on pcib4 pci4: network, ethernet at device 4.0 (no driver attached) pci4: network, ethernet at device 4.1 (no driver attached) Also, I'm running 6.1-RELEASE, will the cvs drivers from CURRENT work? -Dan Ted - Original Message - From: Dan Mahoney, System Admin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 12, 2007 5:02 PM Subject: Broadcom Nics in Tyan Transport GT24 (B3992) Hey all, I have a Transport GT24 (B3992 Motherboard), and while it has one intel nic which works well, I'd like to be able to use the onboard broadcom network cards. Is there a known way of making them work? I seem to recall some dealy where you could use a windows driver? -Dan -- I love you forever eternally. -Connaian Expression Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- You're not normal! -Michael G. Kessler, referring to my modem online time. Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- -- [23:49:00] LarpGM: Did my little TP comment scare you off? [23:49:22] ilzarion: no, the shrieking retarded child eating people did -Feb 06, 2001, times apparent. Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ 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]
newbie permissions problems... what's wrong?
I am logged in as oliver. I have two extra partitions mounted. Below is the section of devfs.conf that has to do with them: #Allow access to the second disk own /dev/ad1s2c oliver:wheel perm/dev/ad1s2c 0666 own /disk2 oliver:wheel perm/disk2 0666 #Allow access to disk3 own /dev/ad2s2c oliver:wheel perm/dev/ad2s2c 0666 own /disk3 oliver:wheel perm/disk3 0666 And the permissions that display are: $ ls -l / | grep disk drw-rw-rw- 3 oliver wheel 2048 Jan 16 23:13 disk2 drw-rw-rw- 6 oliver wheel 512 Dec 21 23:01 disk3 But $ mkdir /disk2/storage mkdir: /disk2/storage: Permission denied Although as a superuser, it works. $ sudo mkdir /disk2/storage Password: $ What is going on? Thanks, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem upgrading from 6.1-RELEASE to 6.2-RELEASE
Hi, I run 6.1-RELEASE, and am trying to upgrade it to 6.2-RELEASE using the freebsd-update.sh script, and the instructions provided here: http://www.daemonology.net/blog/2006-11-26-freebsd-6.1-to-6.2-binary-upgrade.html, without success! The script hits sporadic problems fetching files. For eg., for quiet sometime now this happens: --- dexter# sh freebsd-update.sh -f freebsd-update.conf -d /usr/upgrade -r 6.2-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching metadata signature for 6.1-RELEASE from update1.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... failed. dexter# --- In a previous try, it went through a great deal ahead, upto fetching the patches and all, and then failed. Is this because of a connectivity issue on my end, or some issue with update1.freebsd.org? I don't see any connectivity issues from my side though. Thanks in advance. Best, Amarendra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: duo core question
On Jan 16, 2007, at 8:58 PM, Norberto Meijome wrote: On Tue, 16 Jan 2007 22:35:45 -0500 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: so for you guys who have experiecen with this cpu, do you really feel it?? np - you are assuming i have experience with them ;) you need to understand, it's like a dual CPU , NOT like HT (you can , I think , have HT as well as dual/quad core...maybe not.. ? ). snip Seems like you can. See: http://www.webopedia.com/DidYouKnow/ Hardware_Software/2005/dual_core.asp. As for multicore support, I thought it was better with -CURRENT (ULE2 as of late sounds like it can support concurrency with multiple cores / CPUs better than the 4BSD scheduler), but running -CURRENT comes with a price, namely stability. The GNU/Linux crowd (or at least some folks in it), were raving that later versions of gcc, i.e. 4.x (coming to 7 sometime in the near future maybe) had better multi - core / CPU support as well in terms of optimizations and junk. But that's just fanboy/ricer ranting, maybe.. or maybe not.. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: md5sum is missing, but not entirely
On Tue, Jan 16, 2007 at 10:29:57PM -0800, [EMAIL PROTECTED] wrote: Both the executable and the manpage for md5sum seem to be missing from this 6.1-RELEASE system, making it difficult to check the downloaded 6.2-RELEASE and FreeSBIE ISOs. Isn't md5sum supposed to be part of the base? Meanwhile, apropos md5 yields this line, among others gmd5sum(1), md5sum(1) - compute and check MD5 message digest but man md5sum says No manual entry for md5sum How did that line get into the apropos, when the corresponding manpage is (apparently) not installed? I dunno, it doesn't seem to be part of my FreeBSD system (nor has it ever been in FreeBSD, afaik). Are you sure you didnt run that command on a Linux system by mistake? The md5 utility is called md5 in FreeBSD, and apropos md5 correctly returns for me: md5(1), sha1(1), sha256(1), rmd160(1) - calculate a message-digest fingerprint (checksum) for a file Kris pgpuIRmVwCsyk.pgp Description: PGP signature
Re: md5sum is missing, but not entirely
On Wednesday 17 January 2007 08:29, [EMAIL PROTECTED] wrote: Both the executable and the manpage for md5sum seem to be missing from this 6.1-RELEASE system, making it difficult to check the downloaded 6.2-RELEASE and FreeSBIE ISOs. Isn't md5sum supposed to be part of the base? yes, md5 is part of the base system. Just leave the sum part out of it. There is also openssl md5 $FILE available. Meanwhile, apropos md5 yields this line, among others You have missed: dgst(1), md5(1), md4(1), md2(1), sha1(1), sha(1), mdc2(1), \ ripemd160(1) - message digests HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie permissions problems... what's wrong?
On Jan 17, 2007, at 12:04 AM, Oliver Iberien wrote: I am logged in as oliver. I have two extra partitions mounted. Below is the section of devfs.conf that has to do with them: #Allow access to the second disk own /dev/ad1s2c oliver:wheel perm/dev/ad1s2c 0666 own /disk2 oliver:wheel perm/disk2 0666 #Allow access to disk3 own /dev/ad2s2c oliver:wheel perm/dev/ad2s2c 0666 own /disk3 oliver:wheel perm/disk3 0666 And the permissions that display are: $ ls -l / | grep disk drw-rw-rw- 3 oliver wheel 2048 Jan 16 23:13 disk2 drw-rw-rw- 6 oliver wheel 512 Dec 21 23:01 disk3 But $ mkdir /disk2/storage mkdir: /disk2/storage: Permission denied Although as a superuser, it works. $ sudo mkdir /disk2/storage Password: $ What is going on? Thanks, Oliver Missing executable permission (required for viewing directories / executing binaries, scripts)? Try 0775 (that's a decent permissions setup--read, write, exec for oliver and wheel group; read, write for all) or 0770 (read, write for oliver / wheel group, permission denied for all) or something similar. You can also run chmod or chown as root to set things up properly, instead of with /etc/devfs.conf (if you don't mind that). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (6.2 install) Offering both install ISO's via nfs?
On Jan 16, 2007, at 10:43 PM, Bill-Schoolcraft wrote: Hello Family, Hmm, in doing installs with more than one install iso (disk-1 and disk-2) via NFS I'm not clear on the instructions where it states to simply copy the FreeBSD distribution files... (question) (A) Would that mean to copy the files from both install disks into one common directory then export the directory via NFS? Yes. That's the purpose of NFS installs. Directory heirachy (from the release's directory), needs to be maintained though. So the base directory would be similar to what's seen in ftp:// ftp.freebsd.org/pub/FreeBSD/releases/i386, where you'd have to create a directory name that matches the release, then download all the items to your subdirectory on the NFS share under the release directory that you want to install (i.e. 6.2-RELEASE/base, etc). Many people would just download their files from the FTP site and copy it to their NFS share as I described above. That's what the handbook means AFAIK. (B) Mount each ISO in a loopback then export the two loopbacked ISO's under each other in an exported parent directory? TIA Not possible with the basic FreeBSD installer disk, but maybe it's possible with the FreeBSIE LiveCD, or a custom CD if you build in the relevant stuff for a rescue shell; you'd still need to get at the iso somehow though, and you'd have to make sure that ramdisk (that's the Linux name, but I forgot the FreeBSD name right now?) support in order to mount an ISO image compiled into your kernel. snip -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: md5sum is missing, but not entirely
On Wed, 17 Jan 2007 06:29:57 -, [EMAIL PROTECTED] wrote: Both the executable and the manpage for md5sum seem to be missing from this 6.1-RELEASE system, making it difficult to check the downloaded 6.2-RELEASE and FreeSBIE ISOs. Isn't md5sum supposed to be part of the base? Meanwhile, apropos md5 yields this line, among others gmd5sum(1), md5sum(1) - compute and check MD5 message digest but man md5sum says No manual entry for md5sum How did that line get into the apropos, when the corresponding manpage is (apparently) not installed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The command to calculate md5 sums is 'md5', not 'md5sum', and it is part of the base. On my system (6.2-RC2) apropos md5 | grep sum: md5(1), sha1(1), sha256(1), rmd160(1) - calculate a message-digest fingerprint (checksum) for a file. Not sure why apropos md5 shows md5sum and gmd5sum (g for gnu?), maybe it's from a port. I also suspect that gmd5sum is a link to md5sum or vice versa. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CRON Script not working right.
Always use full pathnames to commands in cron scripts. Change the lines to include the full paths for chown and chmod. -Derek At 09:31 PM 1/16/2007, Don O'Neil wrote: Anybody have any clues why a shell script run from root's CRON would act differently then when run directly from the command line? Specifically, I have a script that looks for files on a NFS mount point and copies them across and changes the ownership/perms. Here's the gist of the script: #!/bin/sh TDIR=`date +%m%d%y%s` mkdir /tmp/$TDIR mv /source/* /tmp/$TDIR/ chown user:group /tmp/$TDIR/* chmod 660 /tmp/$TDIR/* mv /tmp/$TDIR/* /destination/ When run from roots CRON it does everything but the chmod correctly, which is strange. When I run it from the command line as root it works fine as expected. I'm running 6.1-STABLE-200608. Any clues? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Execute script every time a specified user logs in (FreeBSD 6.1)
Every time user X (for example) logs in the system I want to be executed some script. The user must not have the permission to change this behavior. Also the script must be run as root. Something like crontab, but depending on logins, not time Any ideas?! -- George Vanev ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Load balancing outgoing mail relay
Hi I have a simple question but googling does not lead to a valid/usable answer. I need to load balance OUTGOING emails. I have serveral smart hosts. I need my internal SMTP server to send mail using ALL of the smart hosts together, making some kind of load balancing (no need for wheighted one). Someone pointed out to use a name for the smart host, and have DNS to resolve that name to the IP of all the relays (multiple A records) but this turned out in doing failover, not load balancing. Anyone has a *working* idea for solving this apparently simple problem? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Very Poor Raid Card Performance - Solved
Problem solved, I believe. Here is the results from Bonnie++ with the raid card set to writethru which writes directly to disk. Version 1.93c --Sequential Output-- --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP Mort 2G 322 99 17482 4 20280 7 683 99 581645 99 2261 65 Latency 25812us 260ms1049ms 137ms 627us 100ms I then set the card to writeback and got this. Version 1.93c --Sequential Output-- --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP Mort 2G 318 98 100299 37 96431 41 676 99 414514 99 9853 425 Latency 79085us 250ms 263ms 127ms 651us 97392us Looks like write caching was not enabled, don't know why it worked in windows XP though. Thankfully I have a good UPS, wouldn't want to lose data because of a power loss. A big thanks to everyone for your advice. Steve... -- [EMAIL PROTECTED] http://folding.stanford.edu/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Balancing outgoing SMTP relay
Hi I have a simple question but googling does not lead to a valid/usable answer. I need to load balance OUTGOING emails. I have serveral smart hosts. I need my internal SMTP server to send mail using ALL of the smart hosts together, making some kind of load balancing (no need for wheighted one). Someone pointed out to use a name for the smart host, and have DNS to resolve that name to the IP of all the relays (multiple A records) but this turned out in doing failover, not load balancing. Anyone has a *working* idea for solving this apparently simple problem? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What have you done for me lately !!!
Kris Kennaway wrote: Besides, apple has and does contribute code back to FreeBSD. Kris Yes but... they took Jordan and they didn't give him back, did they? He wasn't BSD licensed, was he? They can't just do whatever they want with him. Those bastards! So phooey on Wilfredo Sanchez and his Jordan stealing antics. ::sniff:: I miss Jordan Later, Jason :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Balancing outgoing SMTP relay
In response to freebsd [EMAIL PROTECTED]: Hi I have a simple question but googling does not lead to a valid/usable answer. I need to load balance OUTGOING emails. I have serveral smart hosts. I need my internal SMTP server to send mail using ALL of the smart hosts together, making some kind of load balancing (no need for wheighted one). Someone pointed out to use a name for the smart host, and have DNS to resolve that name to the IP of all the relays (multiple A records) but this turned out in doing failover, not load balancing. Anyone has a *working* idea for solving this apparently simple problem? Thanks pf has the ability to do round-robin dispatching, which will sort of work like load-balancing: http://www.openbsd.org/faq/pf/pools.html -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sysinstall: No Floppy Devices Found
Dan Mahoney, System Admin wrote: On Tue, 16 Jan 2007, Kevin Kobb wrote: I have found that when I do an install with an install.cfg file on a floppy, I must insert the floppy right after the system begins to boot from CD. If I don't when I tell sysinstall to read the floppy I get an error. I've found the floppy works okay when I escape to the bootloader, so I can load my KLD at that time. As a work around, if I go into the options and select rescan for hardware devices (not sure if that is the exact wording) after inserting the floppy disk, it will work OK as well. Might be worth a try. I'll be sure to try that, thanks. Any idea why it's not found initially, tho? I mean, the CONTROLLER is found, so... Is this the type of thing I should send-pr over? -Dan -- Be happy. Try not to hurt each other. Hope you fall in love. --Mallory, Family Ties Finale (on the meaning of life) Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I am not sure why this happens myself. I have also noticed that when I try to transfer a few files from floppy (during install my install.cfg mounts the floppy and copies a few custom scripts) the transfer is very slow, even by floppy disk speed standards. I haven't worried too much about it because I so seldom use floppies any more, and plan on getting a better install gameplan (PXE ?) if I install more than a few systems. Might be worth checking or filing a PR. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Execute script every time a specified user logs in (FreeBSD 6.1)
On Wednesday 17 January 2007 11:49, George Vanev wrote: Every time user X (for example) logs in the system I want to be executed some script. The user must not have the permission to change this behavior. Also the script must be run as root. Something like crontab, but depending on logins, not time Any ideas?! If this user logs in via SSH you can use the ForceCommand keyword in sshd_config(5) to execute your script. The root part can be achieved with sudo(8). Regards, Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load balancing outgoing mail relay
freebsd wrote: Hi I have a simple question but googling does not lead to a valid/usable answer. I need to load balance OUTGOING emails. I have serveral smart hosts. I need my internal SMTP server to send mail using ALL of the smart hosts together, making some kind of load balancing (no need for wheighted one). Someone pointed out to use a name for the smart host, and have DNS to resolve that name to the IP of all the relays (multiple A records) but this turned out in doing failover, not load balancing. Anyone has a *working* idea for solving this apparently simple problem? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This (multiple A records) works for me, at least approximately. Both Bind and MS DNS will round robin when multiple A records exist for the same hostname. What is your setup? Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load balancing outgoing mail relay
This (multiple A records) works for me, at least approximately. Both Bind and MS DNS will round robin when multiple A records exist for the same hostname. What is your setup? FreeBSD 6.2 with Sendmail (initially) and now postfix. MS DNS with round robin (and TTL set to 0 on the records). Resolving with nslookup gives something like: smarthost.domain.tld 192.168.0.1, 192.168.0.2, 192.168.0.3 If I kill 192.168.0.1 then it goes on the second one. But this is failover, and I need (approximately) load balancing. I understand this is related to the MTA and not to the OS, but hopefully someone solved this problem using Sendmail or Postifx that are both used on FreeBSD. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: md5sum is missing, but not entirely
On Tue, Jan 16, 2007 at 10:29:57PM -0800, [EMAIL PROTECTED] wrote: Both the executable and the manpage for md5sum seem to be missing from this 6.1-RELEASE system, making it difficult to check the downloaded 6.2-RELEASE and FreeSBIE ISOs. Isn't md5sum supposed to be part of the base? Meanwhile, apropos md5 yields this line, among others gmd5sum(1), md5sum(1) - compute and check MD5 message digest but man md5sum says No manual entry for md5sum How did that line get into the apropos, when the corresponding manpage is (apparently) not installed? When was your whatis(1) database last updated? md5sum is part of ports/sysutils/coreutils. IIRC its output is in a little different format than md5, but the calculation results are the same. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firefox performance on Freebsd
Hi All I am noticing singnificant performance degradation in firefox in Freebsd , I would say right from the beginning, I have other partition where I run XP. for comparison purpose I notice the same page when I load on Freebsd partition it is slow on Windows XP it loads real quick. Is this link http://forums.mozillazine.org/viewtopic.php?t=53650 Good place to start the tuning of firefox. Is there something more than this I could do to speed up the performace of firefox in Freebsd ? Thanks Dak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem upgrading from 6.1-RELEASE to 6.2-RELEASE
I would like to perform the same update , but I would like to know how to rollback if this has failed as it happened here. We should be able to rollback to exact current state. Do you have an idea Thanks Dak On 1/17/07, Amarendra Godbole [EMAIL PROTECTED] wrote: Hi, I run 6.1-RELEASE, and am trying to upgrade it to 6.2-RELEASE using the freebsd-update.sh script, and the instructions provided here: http://www.daemonology.net/blog/2006-11-26-freebsd-6.1-to-6.2-binary-upgrade.html , without success! The script hits sporadic problems fetching files. For eg., for quiet sometime now this happens: --- dexter# sh freebsd-update.sh -f freebsd-update.conf -d /usr/upgrade -r 6.2-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching metadata signature for 6.1-RELEASE from update1.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... failed. dexter# --- In a previous try, it went through a great deal ahead, upto fetching the patches and all, and then failed. Is this because of a connectivity issue on my end, or some issue with update1.freebsd.org? I don't see any connectivity issues from my side though. Thanks in advance. Best, Amarendra ___ 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: firefox performance on Freebsd
Have you disabled the IPv6? in about:config set 'network.dns.disableIPv6' to true. Greetz. Dak Ghatikachalam wrote: Hi All I am noticing singnificant performance degradation in firefox in Freebsd , I would say right from the beginning, I have other partition where I run XP. for comparison purpose I notice the same page when I load on Freebsd partition it is slow on Windows XP it loads real quick. Is this link http://forums.mozillazine.org/viewtopic.php?t=53650 Good place to start the tuning of firefox. Is there something more than this I could do to speed up the performace of firefox in Freebsd ? Thanks Dak ___ 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: regexp [. .]
On Wed, 17 Jan 2007 07:15:34 +0500, Parker Anderson [EMAIL PROTECTED] wrote: Is there a certain match you are trying to pattern? From the looks of it, [ch]* would match a similar set of characters, but it isn't as strict about which pattern they should be in. I need 'some[^[.pattern.]]' working, i.e. matching 'some' if it isn't followed by 'pattern'. Curiously that seems there isn't additional information about it somewhere except the page you've denoted. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox mess in Freebsd 6.1
On Tue, 16 Jan 2007, Dak Ghatikachalam wrote: On 1/16/07, FreeBSD WickerBill [EMAIL PROTECTED] wrote: or, look in /usr/local/lib/firefox/plugins/ and make sure the plugin or a symlink exists. 6.1-RELEASE FreeBSD 6.1 I have these files in $ pwd /usr/local/lib/firefox/plugins $ ls -lrt total 2132 -rwxr-xr-x 1 root wheel 2158864 Oct 27 16:42 libflashplayer.so -r--r--r-- 1 root wheel 856 Oct 27 16:42 flashplayer.xpt drwxr-xr-x 2 500 100512 Dec 4 19:09 install_flash_player_7_linux $ I need to try the Warren's method to see if that is going to help me, first of all I need to read man portupgrade to perform the upgrade from 6.1to 6.2 , as i am new into this freebsd world. Please stop top-posting. It makes replying to your messages difficult and confusing. I have not used /usr/local/lib/firefox/plugins. My guess is that only Firefox will look there. /usr/local/lib/browser_plugins works for Firefox, Seamonkey, Mozilla, and probably others. The helpful web site used a roundabout way to set up the Flash plugin, and linking the files is preferable to copying them into the plugins directory. A little less chance of a version mismatch after updating. Portupgrade is used to upgrade ports, not the operating system. The Flash plugin will work under 6.1, so you don't have to update the operating system. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Contributing to FreeBSD documentation (was: Re: no ath0 on new system with good card)
On 1/16/07, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2007-01-16 15:47, Steve Franks [EMAIL PROTECTED] wrote: So, this is what I have so for. It was a bit late at night, so I appologise if my tone is a bit silly at times...where do we go from here? Steve [snip nicely written stuff about freezes during installation and first post install steps] Fantastic! This looks like something that would fit quite nicely with the section ``Installing FreeBSD Troubleshooting'', in the Handbook. Do you mind if I integrate this with the section? Does it look like the right place for you to write this stuff? Will you be able to review it and let me know if it looks ok? Sounds good to me. You can read the current Handbook section at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-trouble.html Hmmm. Yes, I don't think the current page provides much actual help for newbies. Can we make sure to put links to all the appropriate man pages ( i.e. device.hints) in my text when we insert it? I've found the man online to be way more useful than I expected for people who are willing to read. We also could use some driver gurus to make my list of things to disable, and things to *not* disable both longer and correct - I admit I wrote that on my windows box, because my laptop bios disables the system (on purpose) when you put a non-compaq bsd-friendly network card in it. Go big brother. This is why I want to get the whole world to run *nix. /soapbox Regards, Giorgos It occurs to me that a new option on the boot menu of the .iso installer that opens a version of this page in links or equiv might be most useful for newbies (I'm at work, so I can't check if it's it being a help option there already). It might be useful to point to that doc if the .iso installer is started in safemode as well. Steve -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load balancing outgoing mail relay
FreeBSD 6.2 with Sendmail (initially) and now postfix. MS DNS with round robin (and TTL set to 0 on the records). Resolving with nslookup gives something like: smarthost.domain.tld 192.168.0.1, 192.168.0.2, 192.168.0.3 If I kill 192.168.0.1 then it goes on the second one. But this is failover, and I need (approximately) load balancing. Postfix will always internally shuffle equal-weight MX records (or multiple A records if there is no MX). I think sendmail does this also. This will not give strict round-robin use of the smarthosts, but over thousands of messages will give an equal share to each host. It sounds as if the host has primary/secondary MX records and you haven't disabled MX lookups for the relayhost. Use in main.cf relayhost = [smarthost.domain.tld] As documented, the brackets are required to disable MX lookups. You may want to adjust initial_destination_concurrency_limit and default_destination_concurrency_limit if your smarthosts will allow more than the default 20 connections. If sending small amounts of mail, postfix connection caching may interfere with observed load sharing. You may want to turn off smtp_connection_cache_on_demand if sending small amounts of mail, but leave it on if sending thousands of messages at a time. -- Noel Jones ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Execute script every time a specified user logs in (FreeBSD 6.1)
On 1/17/07, Pieter de Goeje [EMAIL PROTECTED] wrote: On Wednesday 17 January 2007 11:49, George Vanev wrote: Every time user X (for example) logs in the system I want to be executed some script. The user must not have the permission to change this behavior. Also the script must be run as root. Something like crontab, but depending on logins, not time Any ideas?! If this user logs in via SSH you can use the ForceCommand keyword in sshd_config(5) to execute your script. The root part can be achieved with sudo(8). Regards, Pieter de Goeje Thanks, nice idea. But it seams I can't use it. Let me be more specific: If user X logs in then I want to be run /usr/bin/script -aq /path/user_X The file user_X must be protected from modifying/deleting Could this be done?! -- George Vanev ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Flash 9
Maybe this would be better asked on the ports list but I'm throwing it out here first. Adobe released the linux version today (found herehttp://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz) and was wondering if anyone has tried it yet. I'm at work, not at a *BSD desktop. Thanks... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox mess in Freebsd 6.1
I need to try the Warren's method to see if that is going to help me, first of all I need to read man portupgrade to perform the upgrade from 6.1to 6.2 , as i am new into this freebsd world. The really easy way out is to install the linux-firefox port. If you do this, flash should just work. There shouldn't be any noticeable performance difference between the native FreeBSD Firefox browser and the emulated Linux one, either. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load balancing outgoing mail relay
freebsd wrote: This (multiple A records) works for me, at least approximately. Both Bind and MS DNS will round robin when multiple A records exist for the same hostname. What is your setup? FreeBSD 6.2 with Sendmail (initially) and now postfix. MS DNS with round robin (and TTL set to 0 on the records). Resolving with nslookup gives something like: smarthost.domain.tld 192.168.0.1, 192.168.0.2, 192.168.0.3 If I kill 192.168.0.1 then it goes on the second one. But this is failover, and I need (approximately) load balancing. I understand this is related to the MTA and not to the OS, but hopefully someone solved this problem using Sendmail or Postifx that are both used on FreeBSD. Thanks What happens if you do multiple dig/nslookups for smarthost.domain.tld. Are the records returned in a different order each time? If not the problem may be at the NS. Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load balancing outgoing mail relay
On 1/17/07, Charles Trevor [EMAIL PROTECTED] wrote: What happens if you do multiple dig/nslookups for smarthost.domain.tld. Are the records returned in a different order each time? If not the problem may be at the NS. Nope. Postfix shuffles equal-weight MX records internally, so it doesn't matter what order the NS presents them. Multiple A records without an MX record (or when MX lookups are suppressed) are treated as equal-weight MX records per RFC. This is likely a postfix configuration problem. The original poster should seek further help on the postfix-users list. http://www.postfix.org/DEBUG_README.html#mail -- Noel Jones ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: md5sum is missing, but not entirely
On Wed, 17 Jan 2007 07:36:30 - Martin Tournoij [EMAIL PROTECTED] wrote: The command to calculate md5 sums is 'md5', not 'md5sum', and it is part of the base. On my system (6.2-RC2) apropos md5 | grep sum: md5(1), sha1(1), sha256(1), rmd160(1) - calculate a message-digest fingerprint (checksum) for a file. Not sure why apropos md5 shows md5sum and gmd5sum (g for gnu?), maybe it's from a port. I also suspect that gmd5sum is a link to md5sum or vice versa. The coreutils package installs the GNU utilities that form the basis of Linux distributions - grep, chmod etc. Since most of these names clash with the FreeBSD base system, the binaries all get renamed with a g prefix. The GNU docs still internally refer to them with their original names e.g. man gmd5sum will refer to md5sum ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox mess in Freebsd 6.1
- Original Message From: Michael M. Press [EMAIL PROTECTED] To: Dak Ghatikachalam [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; FreeBSD WickerBill [EMAIL PROTECTED] Sent: Wednesday, January 17, 2007 11:21:02 AM Subject: Re: Firefox mess in Freebsd 6.1 I need to try the Warren's method to see if that is going to help me, first of all I need to read man portupgrade to perform the upgrade from 6.1to 6.2 , as i am new into this freebsd world. The really easy way out is to install the linux-firefox port. If you do this, flash should just work. There shouldn't be any noticeable performance difference between the native FreeBSD Firefox browser and the emulated Linux one, either. -- The flash plugin works great with linux-firefox; but how do you get the java plugin to work with it? Thanks, Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (6.2 install) Offering both install ISO's via nfs?
At Wed, 17 Jan 2007 it looks like Garrett Cooper composed: On Jan 16, 2007, at 10:43 PM, Bill-Schoolcraft wrote: Hello Family, Hmm, in doing installs with more than one install iso (disk-1 and disk-2) via NFS I'm not clear on the instructions where it states to simply copy the FreeBSD distribution files... (question) (A) Would that mean to copy the files from both install disks into one common directory then export the directory via NFS? Yes. That's the purpose of NFS installs. Directory heirachy (from the release's directory), needs to be maintained though. So the base directory would be similar to what's seen in ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386, where you'd have to create a directory name that matches the release, then download all the items to your subdirectory on the NFS share under the release directory that you want to install (i.e. 6.2-RELEASE/base, etc). Many people would just download their files from the FTP site and copy it to their NFS share as I described above. That's what the handbook means AFAIK. Thanks Garrett, Now, just to confirm one thing... On my NFS server I now have an exported directory called: /mnt/6.2-RELEASE Inside of that directory I have the full contents (not an iso image) of the first install disk of FreeBSD-6.2, so far so good? Now, for the remaining data on disk-2, which has a duplicate file like disk-1 has called: cdrom.inf and a duplicate directory like disk-1 called: packages I figured I can rsync the second CD's contents of /packages into the main tree but what about the conflicting two files both named cdrom.inf ? Will the installer be intuitive enough to not prompt for second CD when looking for files that would normally reside there? The reason I say that is that if one chooses to install, let's say, mtools or the linux software out of emulators on the main menu you put in the 2nd disk, it intuitively tells you that the packages are not on disk-2, but disk-1. So I'm thinking there is some residual metadata that not only has the package name but the CD disk location appended to in. Similar to the disk shuffling one had to to before when ejecting and injecting multiple CD's for previous installs on lets say 6.0 or 6.1 Thanks again Garrett (B) Mount each ISO in a loopback then export the two loopbacked ISO's under each other in an exported parent directory? TIA Not possible with the basic FreeBSD installer disk, but maybe it's possible with the FreeBSIE LiveCD, or a custom CD if you build in the relevant stuff for a rescue shell; you'd still need to get at the iso somehow though, and you'd have to make sure that ramdisk (that's the Linux name, but I forgot the FreeBSD name right now?) support in order to mount an ISO image compiled into your kernel. snip -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Schoolcraft * http://wiliweld.com ~ Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flash 9
On 1/17/07, FreeBSD WickerBill [EMAIL PROTECTED] wrote: Maybe this would be better asked on the ports list but I'm throwing it out here first. Adobe released the linux version today (found herehttp://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz) and was wondering if anyone has tried it yet. I'm at work, not at a *BSD desktop. Thanks... I see it in linux compat layer http://www.freshports.org/www/linux-flashplugin9/ ;) -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Launching a telnet session from a process
Hi, How do I launch a telnet session from a process and tell that session to use console port (/dev/console) for stdin and stdout?. Appreciate your help. I read through fork() and exec() man pages but it is not mentioned there. Thanks Kailas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Launching a telnet session from a process
On 1/17/07, Kailas Ramasamy [EMAIL PROTECTED] wrote: Hi, How do I launch a telnet session from a process and tell that session to use console port (/dev/console) for stdin and stdout?. Appreciate your help. I read through fork() and exec() man pages but it is not mentioned there. Personally I'd use expect around the telnet, and then send the output to any file desired. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6.2 RELEASE
Just wanna give a great thanks to all of you for the big effort and support to make it such a great OS and let me enjoy it on my servers. Bytes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (6.2 install) Offering both install ISO's via nfs?
On Jan 17, 2007, at 9:53 AM, Bill-Schoolcraft wrote: At Wed, 17 Jan 2007 it looks like Garrett Cooper composed: On Jan 16, 2007, at 10:43 PM, Bill-Schoolcraft wrote: Hello Family, Hmm, in doing installs with more than one install iso (disk-1 and disk-2) via NFS I'm not clear on the instructions where it states to simply copy the FreeBSD distribution files... (question) (A) Would that mean to copy the files from both install disks into one common directory then export the directory via NFS? Yes. That's the purpose of NFS installs. Directory heirachy (from the release's directory), needs to be maintained though. So the base directory would be similar to what's seen in ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386, where you'd have to create a directory name that matches the release, then download all the items to your subdirectory on the NFS share under the release directory that you want to install (i.e. 6.2-RELEASE/base, etc). Many people would just download their files from the FTP site and copy it to their NFS share as I described above. That's what the handbook means AFAIK. Thanks Garrett, Now, just to confirm one thing... On my NFS server I now have an exported directory called: /mnt/6.2-RELEASE Inside of that directory I have the full contents (not an iso image) of the first install disk of FreeBSD-6.2, so far so good? Now, for the remaining data on disk-2, which has a duplicate file like disk-1 has called: cdrom.inf and a duplicate directory like disk-1 called: packages I figured I can rsync the second CD's contents of /packages into the main tree but what about the conflicting two files both named cdrom.inf ? Will the installer be intuitive enough to not prompt for second CD when looking for files that would normally reside there? The reason I say that is that if one chooses to install, let's say, mtools or the linux software out of emulators on the main menu you put in the 2nd disk, it intuitively tells you that the packages are not on disk-2, but disk-1. So I'm thinking there is some residual metadata that not only has the package name but the CD disk location appended to in. Similar to the disk shuffling one had to to before when ejecting and injecting multiple CD's for previous installs on lets say 6.0 or 6.1 Thanks again Garrett (B) Mount each ISO in a loopback then export the two loopbacked ISO's under each other in an exported parent directory? TIA Not possible with the basic FreeBSD installer disk, but maybe it's possible with the FreeBSIE LiveCD, or a custom CD if you build in the relevant stuff for a rescue shell; you'd still need to get at the iso somehow though, and you'd have to make sure that ramdisk (that's the Linux name, but I forgot the FreeBSD name right now?) support in order to mount an ISO image compiled into your kernel. snip -Garrett -- Bill Schoolcraft * http://wiliweld.com ~ Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) Well, that's part of the reason why I suggested copying stuff over to NFS from the FTP site, because the FTP site has all of the data that you need and none of the data that you don't need when setting up an NFS install. So, basically just refer to the FTP, check which files you need to install (base, etc), then later you can run sysinstall when you boot for the first time into multiuser mode (choose Post Installation Configuration, or whatever it's titled) to install the packages you like. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xorg/Gnome/KDE freeze on latest release
Hello All I've been seeing system freezes on freebsd 6.2 Release and also the older RC2. Absolutely No errors reported in logs. Suddenly the mouse cursor movement is reduced to a crawl, and the keyboard freezes. Mouse-clicks do not launch any applications or switch tasks. I cannot switch back to vty1/2/3... or any console and had to resort to cold-starting a dozen times to recover from the hangs in the last few days, dirtying my filesystem in the process each time.. sometimes had to reinstall corrupted kde/xorg packages I'm writing this mail from windows, so I do not have the uname and Xorg logs with version numbers, but from memory its freebsd 6.2 release#3 i386 machine. Xorg release 6.9. KDE version 3.5.4 . In case my version number recall is mistaken - Gnome/KDE are the versions obtained remotely on the 15th of Jan. I did cvsup and buildworld steps today 17th of Jan. The problem has remained since RC2. I did not have X during RC1, so I don't know if it was present in that release. This is on an athlon64 cpu soc 754 with nforce3 250gb chipset with Radeon 7500. DRI is loading correctly on startup. No hangs on windoz, so its not a hardware issue. Unless its got to do with freebsd drivers for usb wireless (iBall) keyb/mouse. But the system never hangs if I don't load X/Gnome/KDE. Sound/Artsd seems to work fine. I see this on both regular 4.4BSd and ULE scheduler based kernels Please reply-to-all as I am not subscribed. -- Rgrds GobbledeGeek [Everything but Gobbledegook.. !!] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]