I have looked through all the help files that I can find, handbook and such (along with the Complete FreeBSD book).. And I just can't seem to solve this problem:
I am setting up high speed internet for a Cable Modem. My cable provider uses a DHCP setup, thus I have to use dhclient. I am running an NC100 ethernet card (using the tulip.o driver) - That seems to be working fine (As it will obtain the DHCP information from my router when it is setup). However, whenever I set my router to bridging (as I want to be able to connect to the box when I'm away from home, and NATting doesn't work real well for that), the box can't seem to use DHCP to get it's information. My ISP provisions for 3 IP addresses, and I'm only using one other (and I have checked to make sure that any previous are released from the modem itself). I'm pulling an IP of 0.0.0.0 when I use ifconfig. I've also went through my rc.conf file to make sure everything is setup.it seems okay. Any ideas? Am I missing something obvious? Thanks in advance for the help! (Please send email directly back to this email address if any other information is needed, or you have a suggestion!) Replyto:[EMAIL PROTECTED] Chris. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chuck Swiger Sent: Wednesday, September 03, 2003 2:56 PM To: David Banning Cc: [EMAIL PROTECTED] Subject: Re: how to run a program as a daemon David Banning wrote: > I am running tmda-ofmipd for my smtp server and occasionally > it dies. I wonder how I could set it up to run so that if it > dies for some reason, it will start up again. Right now, it > starts in my rc.local like so; > > /usr/local/bin/tmda-ofmipd -R imap://localhost -u tofmipd Look at DJB's daemontools, perhaps. But the general idea is that you have a monitor script which looks like: #! /bin/sh while : ; do /usr/local/bin/tmda-ofmipd -R imap://localhost -u tofmipd echo "TMDA daemon died! Restarting in 5 seconds..." sleep 5 done -- -Chuck _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"