Hello,
I'm using an old 486 laptop with two pcmcia nics. One is connected to
my cable modem and the other to my internal network. I'm using the "4.9.
An example: a PPPoE connection with a two PCMCIA cards setup" section of
the Bering user's guide:
http://leaf.sourceforge.net/devel/jnilo/bupppoe.html#AEN383
as a reference. I've adapted the /etc/network/interfaces example from
that page for my setup:
auto lo
iface lo inet loopback
#auto eth0
iface eth0 inet dhcp
up /sbin/shorewall restart
down /sbin/shorewall stop
#auto eth1
iface eth1 inet static
address 192.168.1.254
masklen 24
broadcast 192.168.1.255
up /etc/init.d/dnscache restart
up /etc/init.d/dhcpd restart
down /etc/init.d/dnscache stop
down /etc/init.d/dhcpd stop
so that "eth0 and eth1 are brought up by the PCMCIA cardmgr program
which calls the /etc/pcmcia/network script." but it doesn't seem to
be working. I tried it with the "auto eth{0,1}" lines in and out but
still no go. The are some messages in /var/log/syslog from cardmgr
that eth{0,1} are already configured.
I'd have to login and manually stop and start /etc/init.d/networking
to make it work (restart didn't work) but this method would need
"auto..." lines in. I then tried automating this process by creating
an /etc/init.d/rc.local file with the lines:
#!/bin/sh
RCDLINKS="2,S99"
/etc/init.d/networking/stop
/etc/init.d/networking/start
so that this script is executed after everything else has been
initialized. This method works but boot up time is very long on the
486 since shorewall, dnscache and dhcpd services are stopped and
started again.
Can anyone see what might be wrong with my interfaces file?
Everything else in my Bering install is pretty much stock.
Lastly, is there any reason NOT to have pcmcia start up earlier in
the init sequence? After much experimenting, I wound up editing
/etc/init.d/pcmcia. I changed the line:
RCDLINKS="2,S13 3,S13 4,S13 5,S13 6,K87"
to:
RCDLINKS="S,S13"
so that pcmcia starts up BEFORE ifupdown and networking (this with
the default /etc/network/interfaces file, not my example above.)
Everything seems to be working ok and boot up time seems shorter
without shorewall, etc. having to restart.
Is there a "correct" way to do this? I don't know if my altering
the pcmcia init file is the way to go (seems kinda kludgey to me...
but what do I know ;). Thanks for any suggestions.
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
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