The FreeBSD Diary: 2006-02-26 - 2006-03-18

2006-03-19 Thread Dan Langille
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the

Re: problem with squid-2.5.13 port

2006-03-19 Thread WladyX
My mistake. I forgot to check whether the patch still applies after updating squid to STABLE13. I just submitted a maintainer update to correct this. Sorry for the breakage. Thanks for correcting it so soon. ___ freebsd-questions@freebsd.org mailing

Re: Monitoring e-mails by TCP

2006-03-19 Thread Martin Hepworth
Hi MailScanner (www.mailscanner.info) can this amongst it's anti-virus/spam/etc protection capabilities. -- martin On 3/18/06, Rodrigo G. Tavares de Souza [EMAIL PROTECTED] wrote: Hi, I'm very newbie on freeBSD. I have already installed the Firewall(ipfw) + NAT, Squid + Sarg and

Daily chksetuid script - how to ignore certain dirs/filesystems?

2006-03-19 Thread Pat Maddox
I have a backup script that runs every night, backing up everything to a backup drive. When the security script runs, it finds a bunch of setuid files at /backup - I'd like to ignore those files, so I don't have to wade through them every day. I also back up to a remote server and it results in

Re: Ask for your recommended system network monitoring system.

2006-03-19 Thread Vaaf
There are many of 'em, for example I am using: net-mgmt/nagios - http://www.nagios.org sysutils/munin-main (server)- http://munin.projects.linpro.no/ sysutils/munin-node (remote agent) Also I am going to look into zabbix (http://www.zabbix.org/) which is bit older in ports (net-mgmt/zabbix

CF disk slices?

2006-03-19 Thread Harlan Stenn
(Please Cc: me on any replies.) Can one put multiple slices on a CF disk? I ran fdisk on one machine and was able to carve up a CF disk with 4 slices (I want to boot one of 4 different OSes on a soekris system). There are other systems that seem to indicate that a CF disk can only have 1 slice

Re: user cannot login from anywhere

2006-03-19 Thread Chuck Swiger
MoonblueZ wrote: On 3/19/06, MoonblueZ [EMAIL PROTECTED] wrote: [ ...please don't bump threads without waiting a day or two... ] Mar 19 12:18:31 cidomo squid[661]: Squid Parent: child process 694 exited due to signal 6 Mar 19 12:18:31 cidomo squid[661]: Exiting due to repeated, frequent

Re: CF disk slices?

2006-03-19 Thread Chuck Swiger
Harlan Stenn wrote: Can one put multiple slices on a CF disk? Sure. Most BIOSes will treat a CF flash much like they would a USB device, and they'll be happy to see a MBR. I ran fdisk on one machine and was able to carve up a CF disk with 4 slices (I want to boot one of 4 different OSes on

arp_rtrequest: bad gateway (!AF_LINK)

2006-03-19 Thread Harlan Stenn
(Please Cc: me on any replies.) I've got a machine where I want to do some IP aliases. Here's an example of some stuff in /etc/rc.conf: ifconfig_fxp0=inet 66.220.13.226/28 media 100baseTX mediaopt full-duplex ifconfig_fxp0_alias0=inet 192.168.64.10/32 ifconfig_fxp0_alias1=inet

Re: CF disk slices?

2006-03-19 Thread Harlan Stenn
Harlan Stenn wrote: Can one put multiple slices on a CF disk? Sure. Most BIOSes will treat a CF flash much like they would a USB device, and they'll be happy to see a MBR. Hmmm - I can see the slices on a FreeBSD-4 machine but not on a FreeBSD-5 machine. I ran fdisk on one machine and

Re: Daily chksetuid script - how to ignore certain dirs/filesystems?

2006-03-19 Thread Ceri Davies
On 19/3/06 10:58, Pat Maddox [EMAIL PROTECTED] wrote: I have a backup script that runs every night, backing up everything to a backup drive. When the security script runs, it finds a bunch of setuid files at /backup - I'd like to ignore those files, so I don't have to wade through them every

GCC 4.X

2006-03-19 Thread O. Hartmann
Hello. This maybe a OT questions here, but I would like to know whether there are plans to make gcc 4.X the standard compiler for FreeBSD and in case of a positive answere, when this will be the case. I read about some problems in recoding parts of the OS, but as I use FreeBSd in a scientific

Re: arp_rtrequest: bad gateway (!AF_LINK)

2006-03-19 Thread Chuck Swiger
Harlan Stenn wrote: Here's an example of some stuff in /etc/rc.conf: ifconfig_fxp0=inet 66.220.13.226/28 media 100baseTX mediaopt full-duplex ifconfig_fxp0_alias0=inet 192.168.64.10/32 ifconfig_fxp0_alias1=inet 66.220.13.227/32 ifconfig_fxp0_alias2=inet 66.220.13.230/32

Re: raid 1 with gmirror install loader on 2nd disk

2006-03-19 Thread Yance Kowara
Hi Petre, I played with gmirror sometime ago following this howto: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=2 I had the same question, and googling gmirror returns nothing. I posted the question on that website and there was no answer. I tried then to remove the

Nat, dhcpd and ipfw

2006-03-19 Thread David Ulrich
Hi, I'm running a FreeBSD 6.0 on my new router. I want to user it for webserver, fileserver, router and dhcp server. This computer is between my clients and my modem. I have 2 ethernet interfaces. The interface which is on internet side (vr0) use dhclient, the other is on an fixed IP

Re: Nat, dhcpd and ipfw

2006-03-19 Thread Chuck Swiger
David Ulrich wrote: [ ... ] ### rc.conf ### # -- sysinstall generated deltas -- # Wed Mar 15 14:08:02 2006 # Created: Wed Mar 15 14:08:02 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This

Re: hosts.allow ?

2006-03-19 Thread Chris Maness
Daniel A. wrote: On 3/19/06, Chris Maness [EMAIL PROTECTED] wrote: My denyhost script is doing it's job by adding: sshd: 62.149.232.105 : deny to the hosts.allow file, but I see that this host is still making attempts to get into my box. Is there a cron job or something that has to

Re: hosts.allow ?

2006-03-19 Thread Chris Maness
Daniel A. wrote: On 3/19/06, Chris Maness [EMAIL PROTECTED] wrote: My denyhost script is doing it's job by adding: sshd: 62.149.232.105 : deny to the hosts.allow file, but I see that this host is still making attempts to get into my box. Is there a cron job or something that has to

kldload and kldunload cannot find modules ...

2006-03-19 Thread Kiffin Gish
I recently uninstalled a number of zaptel modules for an asterisk installation. However, everytime I boot and shutdown I keep seeing error messages that certain modules cannot be found. I check the loader.conf and others but cannot find any reference to this modules, the lines of which obviously

Re: Daily chksetuid script - how to ignore certain dirs/filesystems?

2006-03-19 Thread Pat Maddox
On 3/19/06, Ceri Davies [EMAIL PROTECTED] wrote: On 19/3/06 10:58, Pat Maddox [EMAIL PROTECTED] wrote: I have a backup script that runs every night, backing up everything to a backup drive. When the security script runs, it finds a bunch of setuid files at /backup - I'd like to ignore

Re: hosts.allow ?

2006-03-19 Thread Gerard Seibert
Chris Maness wrote: Daniel A. wrote: On 3/19/06, Chris Maness [EMAIL PROTECTED] wrote: My denyhost script is doing it's job by adding: sshd: 62.149.232.105 : deny to the hosts.allow file, but I see that this host is still making attempts to get into my box. Is there a cron job or

Re: hosts.allow ?

2006-03-19 Thread Daniel A.
On 3/19/06, Gerard Seibert [EMAIL PROTECTED] wrote: Chris Maness wrote: Daniel A. wrote: On 3/19/06, Chris Maness [EMAIL PROTECTED] wrote: My denyhost script is doing it's job by adding: sshd: 62.149.232.105 : deny to the hosts.allow file, but I see that this host is still

Please confirm (conf#72b911482dd85f2d1a52c681332fea28)

2006-03-19 Thread Mark Astarita
IMPORTANT INFORMATION! This is an automated message. The message you sent (attached below) requires confirmation before it can be delivered. To confirm that you sent the message below, just hit the Reply button and send this message back (you don't need to edit anything). Once this is done,

Re: hosts.allow ?

2006-03-19 Thread Karol Kwiatkowski
Gerard Seibert wrote: Chris Maness wrote: OK, I was able to get to work by just starting out with a blank hosts.allow. Everything is allowed by default, so when denyhosts adds a deny line to the file, it will deny access to that host. Also, sshd can't be started in rc.conf, it has to be

Re: Daily chksetuid script - how to ignore certain dirs/filesystems?

2006-03-19 Thread Ceri Davies
On Sun, Mar 19, 2006 at 08:25:04AM -0700, Pat Maddox wrote: On 3/19/06, Ceri Davies [EMAIL PROTECTED] wrote: On 19/3/06 10:58, Pat Maddox [EMAIL PROTECTED] wrote: I have a backup script that runs every night, backing up everything to a backup drive. When the security script runs, it

Re: hosts.allow ?

2006-03-19 Thread Wes Santee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Karol Kwiatkowski wrote: Gerard Seibert wrote: Chris Maness wrote: Also, sshd can't be started in rc.conf, it has to be started in inetd.conf. Make sure you do a /etc/rc.d/inetd restart after you make changes. Just out of curiosity, why can

Re: GCC 4.X

2006-03-19 Thread Kris Kennaway
On Sun, Mar 19, 2006 at 01:53:54PM +0100, O. Hartmann wrote: Hello. This maybe a OT questions here, but I would like to know whether there are plans to make gcc 4.X the standard compiler for FreeBSD Yes. and in case of a positive answere, when this will be the case. Probably over the next

Re: docs/94587: Error in ftpusers(5) manpage

2006-03-19 Thread Ceri Davies
On 19/3/06 18:40, Ceri Davies [EMAIL PROTECTED] wrote: All of the man pages belonging to NetBSD's FTP daemon should be renamed so that they don't conflict, because this is too confusing. I recommend that this PR get assigned to whoever does the import of the lukemftpd stuff. Turns out I

Re: docs/94587: Error in ftpusers(5) manpage

2006-03-19 Thread Ceri Davies
Whoops, wrong list. Ceri On Sun, Mar 19, 2006 at 07:43:32PM +, Ceri Davies wrote: On 19/3/06 18:40, Ceri Davies [EMAIL PROTECTED] wrote: All of the man pages belonging to NetBSD's FTP daemon should be renamed so that they don't conflict, because this is too confusing. I recommend

Re: hosts.allow ?

2006-03-19 Thread Jerry McAllister
--nextPart3654328.GjrC4HtVEj Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Chris Maness wrote: Daniel A. wrote: On 3/19/06, Chris Maness [EMAIL PROTECTED] wrote: My denyhost script is doing it's job by

Re: hosts.allow ?

2006-03-19 Thread Jerry McAllister
Chris Maness wrote: Daniel A. wrote: On 3/19/06, Chris Maness [EMAIL PROTECTED] wrote: My denyhost script is doing it's job by adding: sshd: 62.149.232.105 : deny to the hosts.allow file, but I see that this host is still making attempts to get into my box. Is there a

Re: FYI: Threading Messages Correctly on Thunderbird

2006-03-19 Thread Ken Stevenson
Jarrod wrote: Dear All, Just a quick one for the benefit of anyone who might be using Thunderbird to send emails to the freebsd mailing lists. Thanks to the postmaster for his/her help on this one. It seems that in order to have your replies to a topic threaded correctly you need to add a

Re: FYI: Threading Messages Correctly on Thunderbird

2006-03-19 Thread David Stanford
Yes it is. -David On 3/19/06, Ken Stevenson [EMAIL PROTECTED] wrote: Jarrod wrote: Dear All, Just a quick one for the benefit of anyone who might be using Thunderbird to send emails to the freebsd mailing lists. Thanks to the postmaster for his/her help on this one. It seems

Re: GCC 4.X

2006-03-19 Thread Kris Kennaway
On Sun, Mar 19, 2006 at 10:12:08PM +0100, Andreas Davour wrote: On Sun, 19 Mar 2006, Kris Kennaway wrote: On Sun, Mar 19, 2006 at 01:53:54PM +0100, O. Hartmann wrote: Hello. This maybe a OT questions here, but I would like to know whether there are plans to make gcc 4.X the standard

rsync script not excluding dirs

2006-03-19 Thread Pat Maddox
I have a backup script that runs nightly, and I want it to exclude certain dirs (ports, obj, etc). However when I run the script it doesn't exclude anything, leaving me with pretty massive backups. Here's the entire script. /, /var, /usr, and /backup are all on different partitions. The key

BSD License Innocence Clause Proposal

2006-03-19 Thread Andrew Pantyukhin
I'm not sure if I should start advocating the idea here. Some people must've had this thought before I ever did, I hope they will support me. We need a special clause in the license we release our work under. I'm not a lawyer, but I understand that it will be very hard to devise and formulate.

Re: GCC 4.X

2006-03-19 Thread David Kelly
On Mar 19, 2006, at 6:53 AM, O. Hartmann wrote: Hello. This maybe a OT questions here, but I would like to know whether there are plans to make gcc 4.X the standard compiler for FreeBSD and in case of a positive answere, when this will be the case. I read about some problems in recoding

Re: BSD License Innocence Clause Proposal

2006-03-19 Thread David Stanford
So, if I understand this correctly, you basically want a license that asks that your name be mentioned if/when someone modifies your work and then republishes it, but with no real boundaries? Why not just publish your work and ask that those who use it for their own benefit just acknowledge your

Re: BSD License Innocence Clause Proposal

2006-03-19 Thread Ceri Davies
On 19/3/06 22:16, Andrew Pantyukhin [EMAIL PROTECTED] wrote: I'm not sure if I should start advocating the idea here. Some people must've had this thought before I ever did, I hope they will support me. We need a special clause in the license we release our work under. I'm not a lawyer,

Re: rsync script not excluding dirs

2006-03-19 Thread Parv
in message [EMAIL PROTECTED], wrote Pat Maddox thusly... I have a backup script that runs nightly, and I want it to exclude certain dirs (ports, obj, etc). However when I run the script it doesn't exclude anything, leaving me with pretty massive backups. ... /, /var, /usr, and /backup are

xset dpms during X startup?

2006-03-19 Thread Darren Spruell
Is it possible to configure xset(1) DPMS settings in a ~/.xsession file for when a login session starts? I have the following ~/.xsession file: /usr/X11R6/bin/xset -b /usr/X11R6/bin/xset dpms 1800 7200 14400 /usr/X11R6/bin/xscreensaver -no-splash exec startfluxbox But after logging into

Re: BSD License Innocence Clause Proposal

2006-03-19 Thread Danny Pansters
On Sunday 19 March 2006 23:16, Andrew Pantyukhin wrote: I'm not sure if I should start advocating the idea here. Some people must've had this thought before I ever did, I hope they will support me. We need a special clause in the license we release our work under. I'm not a lawyer, but I

Re: eclipse looks for cairo.2

2006-03-19 Thread kalin mintchev
kalin mintchev wrote: === eclipse-3.1.2 depends on shared library: cairo.2 - not found ===Verifying install for cairo.2 in /usr/ports/graphics/cairo === cairo-1.0.2_1 is marked as broken: Unknown component ltverhack.

/home is symlinked to /usr/home - question about backups

2006-03-19 Thread Pat Maddox
I got a dedicated server a while ago, and it came with /home symlinked to /usr/home. I'm not entirely sure why, to tell you the truth, but it's never posed a problem. However if I run rsync -avz to back up my server, it creates something like this: /backup/march/19/home - /usr/home So if I

Samba Dameon smbd won't start

2006-03-19 Thread ross
I can't, for the life of me, figure out why. I've tried starting it from the SWAT configuration tool and directly running the script /usr/local/etc/rc.d/samba.sh. The nmbd always starts but the smbd doesn't. The log is only providing me with this message: [2006/03/19 15:44:13, 0]

Re: BSD License Innocence Clause Proposal

2006-03-19 Thread Garance A Drosihn
At 1:16 AM +0300 3/20/06, Andrew Pantyukhin wrote: We need a special clause in the license we release our work under. [...] Basically, it should state that under no circumstances and under no legislation should ever any entity be punished for breaking the license terms. So you want a license

Re: Samba Dameon smbd won't start

2006-03-19 Thread Peter
--- ross [EMAIL PROTECTED] wrote: I can't, for the life of me, figure out why. I've tried starting it from the SWAT configuration tool and directly running the script /usr/local/etc/rc.d/samba.sh. The nmbd always starts but the smbd doesn't. The log is only providing me with this

SpamAssassin with Syslog-NG startup error with Syslog.pm

2006-03-19 Thread Troy
I'm using SpamAssassin 3.1.1 and upon startup I get the following error: [767] error: no connection to syslog available [767] error: _- unix dgram connect: Connection refused at /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Logger/Syslog.pm line 79 I believe this is because I'm using

Dracd startup script giving $command_interpreter error upon boot

2006-03-19 Thread Troy
I recently installed drac-1.12_4 and it's working fine but upon startup I get an error /etc/rc: WARNING: $command_interpreter -i !=xELFxxx [: /usr/local/sbin/rpc.dracd: unexpected operator My settings in rc.conf are straight forward dracd_enable=YES dracd_flags=-i -e 5

Re: hosts.allow ?

2006-03-19 Thread Bill Schoolcraft
At Sun, 19 Mar 2006 it looks like Jerry McAllister composed: One doesn't start anything from the rc.conf file - at least properly. Those things get started from /usr/local/etc/rc.d. What goes in /etc/rc.conf are environmental variable settings that those rc.d scripts look at to determine

Re: hosts.allow ?

2006-03-19 Thread Olivier Nicole
I'm not sure this is correct. If you read sshd(8), you'll see in the FILES section that sshd will read /etc/hosts.allow and /etc/hosts.deny on its own (i.e. it's compiled/linked with libwrap). Looking at /usr/src/crypto/openssh/Makefile.in for the sshd target verifies this. That and sshd

RE: Motherboards FreeBSD [used to be RE: Disappointed with version 6.0]

2006-03-19 Thread Ted Mittelstaedt
-Original Message- From: Peter [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 5:53 PM To: Ted Mittelstaedt; freebsd-questions Subject: Motherboards FreeBSD [used to be RE: Disappointed with version 6.0] --- Ted Mittelstaedt [EMAIL PROTECTED] wrote: I'm setting up a new

RE: Disappointed with version 6.0

2006-03-19 Thread Ted Mittelstaedt
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Sent: Tuesday, March 14, 2006 11:00 PM To: Ted Mittelstaedt Cc: Peter; freebsd-questions Subject: Re: Disappointed with version 6.0 Sounds harsh, a low end board may have performance problems and less

Installing FreeBSD with undetected USB keyboard

2006-03-19 Thread Kenyon Ralph
Howdy, longtime Linux user here, finally starting to play with FreeBSD. Having a problem getting it installed... I have a USB Microsoft Natural Keyboard connected to an Intel SE440BX-2 motherboard. The keyboard works fine in the BIOS setup and in Linux booted from a CD. Booting with a

Re: Installing FreeBSD with undetected USB keyboard

2006-03-19 Thread Andreas Rudisch
On Mon, 20 Mar 2006 08:04:01 +0100, Kenyon Ralph [EMAIL PROTECTED] wrote: I have a USB Microsoft Natural Keyboard connected to an Intel SE440BX-2 motherboard. The keyboard works fine in the BIOS setup and in Linux booted from a CD. Booting with a 6.0-RELEASE-i386-bootonly.iso CD gives me no

Re: Installing FreeBSD with undetected USB keyboard

2006-03-19 Thread Kenyon Ralph
On 3/19/06, Andreas Rudisch [EMAIL PROTECTED] wrote: On Mon, 20 Mar 2006 08:04:01 +0100, Kenyon Ralph [EMAIL PROTECTED] wrote: I have a USB Microsoft Natural Keyboard connected to an Intel SE440BX-2 motherboard. The keyboard works fine in the BIOS setup and in Linux booted from a CD.