[Lunar-bugs] [Lunar Linux 0000210]: net-tools 1.60 network init script no longer sets static IP

Lunar bug reports list lunar-bugs at lunar-linux.org
Tue Mar 27 08:24:51 CEST 2007


The following issue has been CLOSED 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=210 
====================================================================== 
Reported By:                Shdwdrgn
Assigned To:                sofar
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   210
Category:                   module
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Moonbase Version:           20070317.02 
Core Tools:                 Lunar 
Core Tools Version:         20070307 
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             03-18-2007 19:38 CET
Last Modified:              03-27-2007 08:24 CEST
====================================================================== 
Summary:                    net-tools 1.60 network init script no longer sets
static IP
Description: 
Performed a 'lunar update' on 2007-03-17.  When the system was rebooted, no
IP address is assigned to eth0.  Ifconfig shows that lo and eth0 are up. 
Confirmed that the IP was still set on the Address line in
/etc/config.d/network/eth0.  Manually setting the IP address with ifconfig
works, and the system is then able to access the network.

Using an older version of the network init script (dated 2003-03-26)
correctly sets the static IP during a network restart and during a reboot.
====================================================================== 

---------------------------------------------------------------------- 
 sofar - 03-18-07 19:54  
---------------------------------------------------------------------- 
please paste your /etc/config.d/network/eth0 file
also, please paste the console output of `service network start` 

---------------------------------------------------------------------- 
 Shdwdrgn - 03-19-07 03:24  
---------------------------------------------------------------------- 
/etc/config.d/network/eth0:

#
# configuration for "eth0"
# automatically generated by lnet - do not edit, run 'lnet' instead
# -- Sun Mar 18 12:00:17 MDT 2007
#
AUTO="Y"
MODULE=""
MODULE_OPTIONS=""

MANAGER=""

WIRELESS="N"
WIRELESS_KEY=""
WIRELESS_RATE=""
WIRELESS_MODE=""
WIRELESS_ESSID=""

ADDRESS="10.0.0.4"
NETMASK="255.255.0.0"
BROADCAST="10.0.255.255"
IFCONF_OPTS=""

DHCP_CLIENT=""
DHCP_OPTIONS=""

ROUTE_1=""
ROUTE_2=""
ROUTE_3=""
ROUTE_4="" 

---------------------------------------------------------------------- 
 Shdwdrgn - 03-19-07 03:26  
---------------------------------------------------------------------- 
root at myserver ~ # service network start
Starting network:
 * Starting eth0: already started                                    [  
OK   ]
 * setting default route: SIOCADDRT: Network is unreachable
failed to set gateway                                                [
FAILED ]
                                                                     [  
OK   ] 

---------------------------------------------------------------------- 
 Shdwdrgn - 03-19-07 03:29  
---------------------------------------------------------------------- 
Also included due to the gateway error shown during network startup...

/etc/config.d/gateway:
10.0.0.254 

---------------------------------------------------------------------- 
 sofar - 03-19-07 04:50  
---------------------------------------------------------------------- 
Fixed several trivial errors in the script. Tested with static IP, dhcp,
static WEP keys, ifplugd/ifplgd+wpa_supplicant.

reinstall net-tools to update your /ettc/init.d/network script 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-18-07 19:38  Shdwdrgn       New Issue                                    
03-18-07 19:38  Shdwdrgn       Moonbase Version          => 20070317.02     
03-18-07 19:38  Shdwdrgn       Core Tools                => Lunar           
03-18-07 19:38  Shdwdrgn       Core Tools Version        => 20070307        
03-18-07 19:44  Shdwdrgn       Issue Monitored: Shdwdrgn                    
03-18-07 19:54  sofar          Note Added: 0000437                          
03-19-07 03:24  Shdwdrgn       Note Added: 0000444                          
03-19-07 03:26  Shdwdrgn       Note Added: 0000445                          
03-19-07 03:29  Shdwdrgn       Note Added: 0000446                          
03-19-07 04:49  sofar          Status                   new => assigned     
03-19-07 04:49  sofar          Assigned To               => sofar           
03-19-07 04:50  sofar          Status                   assigned => resolved
03-19-07 04:50  sofar          Resolution               open => fixed       
03-19-07 04:50  sofar          Note Added: 0000447                          
03-21-07 04:40  piggy          Issue Monitored: piggy                       
03-27-07 08:24  sofar          Status                   resolved => closed  
======================================================================



More information about the Lunar-bugs mailing list