Re: [leaf-user] DHCP on PCMCIA interface?

2003-06-15 Thread Erich Titl
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


[leaf-user] DHCP on PCMCIA interface?

2003-06-14 Thread Greg Playle
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.

I think I need to launch dhcpd later in the boot cycle, or the pcmcia 
earlier, but I haven't had any luck with this.

I've read the FAQ, re-read the installation and user guide (somethin like 
15th time) and they don't seem to say either.

Could someone point me to a successful approach?

-Original Message-
From:   Greg Playle [SMTP:[EMAIL PROTECTED]
Sent:   Tuesday, June 10, 2003 8:14 PM
To: '[EMAIL PROTECTED]'
Subject:RE: [leaf-user] Errors--Route through eth0?

Richard:
I'll be glad to share what I learn as I go, and I planned on sending 
lessons-learned back to the list / primary producers of LEAF.
You pointed me in the right track, but it turned out the 3c589_cs CANNOT 
be called from within the /etc/modules.
Instead, the 3c589 driver needs moved to the /lib/modules/pcmcia, then the 
pcmcia package backed up.  Upon load, the OS automatically loads these 
modules, in module-dependent order.
That got eth0 working, at least from the firewall's view.

I'm still checking the eth0 service to make sure I understand what's 
available / works there.

Best wishes,

-Original Message-
From:   Richard Doyle [SMTP:[EMAIL PROTECTED]
Sent:   Monday, 09 June, 2003 21:03
To: '[EMAIL PROTECTED]'
Subject:Re: [leaf-user] Errors--Route through eth0?

On Mon, 2003-06-09 at 19:19, Greg Playle wrote:
 My thanks to Tom Eastep and Ray Olszewski, who pointed out some 
information
 that would help.

 I'm working on LEAF Bering 1.2, using a PPP serial modem (as ppp0) and a
 PCMCIA NIC as eth0 for the internal network.  The host is a Toshiba
 Satellite Pro 460CDX laptop (recycled).  The NIC is an older 3Com Ethe  
rLink
 III 3C589D based card (recycled).

 At boot, the firewall gives an error message of:
Masquerade: Error: Unable to determine the routes through eth0

snip

 # /etc/modules: kernel modules to load at boot time.
 # ISA ethernet cards

 # PCI ethernet cards
 # should the 3c589_cs.o be declared here?  -
Yes. You can insert the module on a running system with insmod
3c589_cs

I'm very interested in your progress on this project, as I'm about to
try something rather similar in the next few weeks.

Good luck!





---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.

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



---
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