[Lunar Linux 0000307]: The new network init script as listed in news on site does not work for me

noreply at bugs.lunar-linux.org noreply at bugs.lunar-linux.org
Wed Oct 29 01:59:53 GMT 2003


The following bug has been CLOSED
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000307
=======================================================================
Reporter:                   amadeus
Handler:                    hardkrash
=======================================================================
Project:                    Lunar Linux
Bug ID:                     0000307
Category:                   moonbase
Reproducibility:            always
Severity:                   minor
Priority:                   high
Status:                     closed
=======================================================================
Date Submitted:             2003-06-19 14:46 GMT
Last Modified:              2003-10-29 01:59 GMT
=======================================================================
Summary:                    The new network init script as listed in news on site does not work for me
Description: 
The new net init scipt is supposed to work for static IP. I have eth0
static and eth1 wireless-static. All was fine with original script (from
iso?) When I switched to the new one, things messed up. Not sure what
happened exactly but it seems that when my net got detected, eth0 was
found but when pcmcia (eth1- wireless) was loaded, is assumed eth0 was my
wireless and overwrote/mixed configurations. It may be unclear. I can
assists in reproducing this if you'd like. Just let me know
=======================================================================

-----------------------------------------------------------------------
 user no longer exists - 2003-06-19 17:02 GMT 
-----------------------------------------------------------------------
I need to know exactly what is happening to try and diagnose.  You may be
seeing that the default gateway is being set to one particular card and
this is correct.  Your system should have only one default gateway and it
will be whatever you set it to via lnet.  However, if you are seeing the
IP address or subnet mask on eth0 change when eth1 is coming up, then I
need to know exactly what is happening.

-----------------------------------------------------------------------
 amadeus - 2003-06-19 17:17 GMT 
-----------------------------------------------------------------------
Hmm. I just go the latest moonbase to get the very latest network script
from net-tools to retest and it seems corrupted. It is un unexecutable
binary instead of a shell script.  Thoughts?

-----------------------------------------------------------------------
 user no longer exists - 2003-06-21 01:39 GMT 
-----------------------------------------------------------------------
The network script in the moonbase
(/var/lib/lunar/moonbase/net/net-tools/init.d/network) is a shell script. 
You might try doing a lin moonbase to see if you just had a bad download
of it.  It should be a very lengthy, but readable, shell script.

-----------------------------------------------------------------------
 amadeus - 2003-06-21 02:37 GMT 
-----------------------------------------------------------------------
Yes. Must have been a bad download.  This is the result of the test using
old and new. Again I have an internal ethernet on eth0 and a pcmcia
wireless on eth1, bot static IP.

OLD NETWORK SCRIPT:
- init.d/network start:
eth0 is loaded correctly

-init.d/pcmcia start:
ifconfig shows both eth0 and eth1 correctly and iwconfig shows correct
wireless info for eth1

NEW NETWORK SCRIPT
-init.d/network start:
eth0 is loaded correctly

-init.d/pcmcia start:
ifconfig only shows eth0 and iwconfig shows eth1 with wireless info for
eth0 (since eth0 is not wireless it means a blank essid and other info)

In conclusion is appears that the pcmcia is using the eth0 info instead of
eth1 info from lnet. It is confirmed if I add an essid in lnet for eth0.
It will show up on iwconfig.

I'm not sure which script has a booboo but the pair does not work
together. I will try to look at it but it may be obvious to you.

-----------------------------------------------------------------------
 user no longer exists - 2003-06-23 04:46 GMT 
-----------------------------------------------------------------------
Well, I just spent an hour looking over the networking script.  For what
you are describing, the only thing I can think of is that your config for
eth1 got changed to a symlink to the config for eth0.

Could you check the config files in /etc/config.d/network?  Make sure
there aren't any symlinks (I'm assuming you're not using the undocumented
profile feature).  If either one is, delete it and run lnet to setup the
device.  Otherwise, open both config files and make sure the settings are
proper for that device.  If not, run lnet and configure that device again.
 Check the config file to make sure it actually updated properly.  Let me
know what happens.

It appears that this is more likely either not an issue or it's an issue
with lnet rather than the network script.

-----------------------------------------------------------------------
 amadeus - 2003-06-23 21:24 GMT 
-----------------------------------------------------------------------
No symlinks. After more testing here are the results. The problem comes
when the init.d/pcmcia script calls the network script. SOmehow it doesnt
get the right device and use eth0 instead of eth1.  I can tell because if
I start the network script (new script) and then replace it with old one
and then call  pcmcia, all works fine.  I'm not sure how this work though.
There is no direct call to the network script in the pcmcia script. But
somewhere...

-----------------------------------------------------------------------
 csm - 2003-08-06 00:13 GMT 
-----------------------------------------------------------------------
Where are we with this bug?

-----------------------------------------------------------------------
 hardkrash - 2003-10-08 20:54 GMT 
-----------------------------------------------------------------------
amadeus what is going on Hardkrash

-----------------------------------------------------------------------
 hardkrash - 2003-10-22 03:27 GMT 
-----------------------------------------------------------------------
csm can I get an email address for amadeus?  I would like to help him.

-----------------------------------------------------------------------
 happycloud - 2003-10-22 03:54 GMT 
-----------------------------------------------------------------------
Here I am :)  Took me a while to find password. I have not been able to
really test this as I am no longer on the same net setup (all static) It
works for me right now so I suggest closing this until further notice.
Thanks for your help

-----------------------------------------------------------------------
 hardkrash - 2003-10-28 18:17 GMT 
-----------------------------------------------------------------------
As original bug reporter no longer can varify the bug. closing bug

-----------------------------------------------------------------------
 csm - 2003-10-29 01:59 GMT 
-----------------------------------------------------------------------
closed



More information about the Lunar-bugs mailing list