Greg

Greg Playle wrote the following at 22:47 14.06.2003:
This is a followup to earlier traffic, shown below.

My problem now seems to be the DHCP daemon wants to activate before the
PCMCIA card is available, so it cannot find interface eth0.
Running dhcpd at the command line promptly fires it up, and activates the
interface, and begins serving IP addresses.

DHCPD is started at S30 in rc2.d, so normally one would assume there was sufficient time to start the interface (done in S13). Unfortunately this is not always true. I wrote a script which waits for all interfaces defined for shorewall to come up or a certain timeout to not lock your entire system. It is run at S40, too late for your purposes but can easily be adapted.


You can find it at

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/leaf/devel/etitl/bering/etc/init.d/assert

install it as /etc/init.d/assert, you have to change the RCDLINKS line to something more apropriate like

RCDLINKS="2,S30 3,S30 6,K30"

Do not forget to back /etc up and restart your LEAF router

HTH

Erich


THINK P�ntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to