Re: DHCP & nameservers

2004-11-12 Thread Eric Thornton
On Sat, 2004-11-13 at 00:26 -0500, Andrew Smith wrote: > I'm using my FreeBSD box as the gateway machine for my cable modem. > Obviously the cable modem side has to be set as DHCP, which automaticlly > sets the DNS nameservers in resolve.conf. > > However I am running a caching name server on th

refreshing /dev direcotry to show CD tracks

2004-10-25 Thread Eric Thornton
Can't seem to find this info in man page, or elsewhere. I'm trying to figure out how to update the /dev directory after inserting a CD to show the CD's tracks. The /dev direcotry does list the CD tracks (/dev/acd0t01...02...) but only after i try to access the disk erroneously through mount /cd

Hurricane Izzy killed my HD, fsck can't fix

2003-09-18 Thread Eric Thornton
Ok, I was at work and forgot to kill my home fileserver running 5.1-current before i left this morning. I returned from work this afternoon in some nasty weather to find the power out. When it came back on this evening (amazing for local power company), fsck will not clean the filesystem. Even a

Re: dhcp option to *not* overwrite /etc/resolv.conf

2002-10-28 Thread Eric Thornton
add this to your /etc/dhclient.conf interface "(outside interface)" { supersede domain-name-servers (preferred DNS); } you can alternately use prepend domain-name-servers to add your DNS to the TOP of the resolv.conf list. - Original Message - From: "Paulo Roberto" <[EMAIL PROTECTE

Re: 4.7 RC problem

2002-09-30 Thread Eric Thornton
If you compiled the kernel with the "option IPFIREWALL" you must configure an firewall or else packets will not pass through. Add the following lines to your /etc/rc.conf file firewall_enable="YES" firewall_type="open" firewall_script="/etc/rc.firewall" or if you want to do it without rebooting

how to auto reset log limits

2002-09-29 Thread Eric Thornton
I have my loglimit set to 100 entries for each ipfw rule. Is there a way in periodic.conf or such to automatically execute "ipfw resetlog"? My log entires fill up in about 2 days due to attempted tcp connections to http, telnet, netbios, ect. I would like to keep the loglimit active to preve

natd and dynamic rules

2002-09-25 Thread Eric Thornton
If someone could clear this up for me, it would be most appreciated. Dual homed host, internal net is 192.168.0.0/24 external is DHCP I have the following lines in my ipfw rules. ${oif}=outside interface ${natdif}=natd interface(which is same as {oif}) ... ${fwcmd} add divert natd all from any to