[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

init script networking não levanta interfaces



Olá amigos,

Estou com problema para iniciar automaticamente as interfaces de rede
na inicialização.

Parece que, por algum motivo ainda desconhecido, o script
/etc/init.d/networking não está levantando as interfaces configuradas
em /etc/network/interfaces.

O módulo da placa está carregado, tanto que é possível levantar a rede
manualmente com os comandos ifconfig e route.

Uma curiosidade é que depois de levantadas manualmente as interfaces
eth0 e lo, o script /etc/init.d/networking consegue descarregar (ao
comando stop) e carregar (ao comando start) as interfaces, ou seja,
passa a funcionar, mas só depois de já ter feito o trabalho
manualmente.

Abaixo algumas informações sobre o host e configurações;

# lspci | grep Ether
00:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 20)

# lsmod | grep 8139
8139too                38400  0
8139cp                 35200  0
mii                    14592  2 8139too,8139cp

# cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 10.9.16.26
        netmask 255.255.255.0
        network 10.9.16.0
        broadcast 10.9.16.255
        gateway 10.9.16.254
        dns-nameservers 10.9.16.202

# cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# PCI device 0x10ec:0x8139 (8139cp)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:16:3e:3f:13:e0",
NAME="eth0"

# dmesg | fgrep -i eth
[   60.809014] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[   60.822891] eth0: RTL-8139C+ at 0xffffc20000a96000, 00:16:3e:3f:13:e0, IRQ 32
[   60.852737] 8139too Fast Ethernet driver 0.9.28
[   69.441750] eth0: link up, 100Mbps, full-duplex, lpa 0x05E1
[   79.968378] eth0: no IPv6 routers present
[  356.349541] eth0: link up, 100Mbps, full-duplex, lpa 0x05E1
[  367.150362] eth0: no IPv6 routers present
[  376.840140] eth0: link up, 100Mbps, full-duplex, lpa 0x05E1
[  386.999074] eth0: no IPv6 routers present


Mais alguma informação?

Valeu!

[]'s


Reply to: