You are not logged in.

#1 2011-06-15 09:54:11

agravier
Member
Registered: 2009-08-21
Posts: 18

network issues only appear when updating the network part of rc.conf

I face a problem similar to this thread, however I have pinpointed my issue to a rc.conf problem:

I have a single interface eth0, which works (with a "deprecated syntax" warning at startup) with the following rc.conf section:

eth0="eth0 155.69.147.34
netmask 255.255.248.0 broadcast 155.69.151.255"
INTERFACES=(eth0)
gateway="default gw 155.69.151.254"
ROUTES=(gateway)

but the network fails when translated to the following new rc.conf syntax:

interface=eth0
address=155.69.147.34
netmask=255.255.255.0
gateway=155.69.151.254
NETWORK_PERSIST="no"

There is no other change.

--------------------------------------

When the code above is used in lieu of the old syntax, the network fails to function in the following ways:

startup message:

:: Starting Network                                                                                  [BUSY]
RTNETLINK answers: No such process
                                                                                                     [DONE]
:: Starting CUPS Daemon                                                                              [DONE]
[root@c2ipc_g020 agravier]# tail dmesg
[   12.456837] e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
[   12.510073] e1000e 0000:00:19.0: irq 47 for MSI/MSI-X
[   13.747538] NET: Registered protocol family 10
[   13.748162] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.174244] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[   14.174248] e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO
[   14.174652] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.390039] eth0: no IPv6 routers present
[root@c2ipc_g020 agravier]# /etc/rc.d/network restart
:: Stopping Network                                                                                                                                      [BUSY]
RTNETLINK answers: No such process
                                                                                                                                                         [DONE]
:: Starting Network                                                                                                                                      [BUSY]
RTNETLINK answers: File exists
                                                                                                                                                         [DONE]
[root@c2ipc_g020 agravier]#
[root@c2ipc_g020 agravier]# /etc/rc.d/network ifup eth0
up: error fetching interface information: Device not found
eth0      Link encap:Ethernet  HWaddr 00:21:86:F8:7A:30
          inet addr:155.69.147.34  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::221:86ff:fef8:7a30/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14172 errors:0 dropped:242 overruns:0 frame:0
          TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1461389 (1.3 Mb)  TX bytes:3567 (3.4 Kb)
          Interrupt:16 Memory:fc200000-fc220000
                                                                                                                                                                                                                                             
lo        Link encap:Local Loopback                                                                                                                                                                                                          
          inet addr:127.0.0.1  Mask:255.0.0.0                                                                                                                                                                                                
          inet6 addr: ::1/128 Scope:Host                                                                                                                                                                                                     
          UP LOOPBACK RUNNING  MTU:16436  Metric:1                                                                                                                                                                                           
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                                                                                                                                                                                 
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                                                                                                                                                                               
          collisions:0 txqueuelen:0                                                                                                                                                                                                          
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)                                                                                                                                                                                             
                                                                                                                                                                                                                                             
[root@c2ipc_g020 agravier]#          

With the updated rc.conf, it seems like there is a low-level issue, like a module fails (however the e1000e module loads so it's not that the network chip module fails to load)             

Does anyone see an issue in my rc.conf update?

Thanks

Offline

Board footer

Powered by FluxBB