[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
Mon Mar 19 03:29:20 CET 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=210 
====================================================================== 
Reported By:                Shdwdrgn
Assigned To:                
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   210
Category:                   module
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Moonbase Version:           20070317.02 
Core Tools:                 Lunar 
Core Tools Version:         20070307 
====================================================================== 
Date Submitted:             03-18-2007 19:38 CET
Last Modified:              03-19-2007 03:29 CET
====================================================================== 
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 

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



More information about the Lunar-bugs mailing list