[Virtual-pkg-base-maintainers] Bug#506454: base: Network interfaces don't up and down correctly
Thomas R Bailey
siggma at trbailey.net
Fri Nov 21 16:11:14 UTC 2008
Package: base
Severity: important
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26.8 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
After upgrading to lenny from etch I noticed my second netwrok adapter
fails to restart when running the /etc/init.d/network script.
I have two NICs installed. Both are supported and work correctly. The
issue is the following:
moya:~# /etc/init.d/networking restart
Reconfiguring network interfaces...SIOCSIFHWADDR: Device or resource
busy - you may need to down the interface
Failed to bring up eth2.
done.
moya:~# ifdown eth2
ifdown: interface eth2 not configured
moya:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:1b:2f:2f:55:c4
inet addr:216.99.209.41 Bcast:216.99.209.255
Mask:255.255.255.0
inet6 addr: fe80::21b:2fff:fe2f:55c4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:396298 errors:0 dropped:0 overruns:0 frame:0
TX packets:363764 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:368442888 (351.3 MiB) TX bytes:194444947 (185.4 MiB)
Interrupt:18 Base address:0xe800
eth2 Link encap:Ethernet HWaddr 00:19:21:20:b0:de
inet addr:192.168.1.110 Bcast:192.168.1.255
Mask:255.255.255.0
inet6 addr: fe80::219:21ff:fe20:b0de/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:390737 errors:0 dropped:0 overruns:0 frame:0
TX packets:464790 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:193791079 (184.8 MiB) TX bytes:468937344 (447.2 MiB)
Interrupt:23 Base address:0xd400
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:7061 errors:0 dropped:0 overruns:0 frame:0
TX packets:7061 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:84352449 (80.4 MiB) TX bytes:84352449 (80.4 MiB)
moya:cd /etc/network/run
moya:/etc/network/run# cat ifstate
lo=lo
eth1=eth1
I don't know why this occurs but it's really annoying.
----------------------- relevant configuration files --------------
/etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# My external internet interface
auto eth1
iface eth1 inet static
hwaddress ether 00:1b:2f:2f:55:c4
address xxx.xx.xxx.xx
netmask 255.255.255.0
network 216.xx.xxx.0
broadcast xxx.xx.xxx.255
gateway xxx.xx.xxx.254
dns-nameservers xxx.xx.xx.xx xx.xx.xxx.x 4.2.2.2
post-up iptables-restore < /etc/iptables.up.rules
# The internal local network interface
auto eth2
iface eth2 inet static
hwaddress ether 00:19:21:20:b0:de
address 192.168.1.110
netmask 255.255.255.0
network 192.168.1.0
# broadcast 192.168.1.255
# dns-nameservers 216.99.193.19 216.99.193.2
# gateway 216.99.209.254
# post-up iptables-restore < /etc/iptables.up.rules
# dns-* options are implemented by the resolvconf package, if installed
Contents of udev/rules.d/70-persistent-net.rules:
# This file was automatically generated by the /lib/udev/write_net_rules
# program 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 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:2f:2f:55:c4", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x1106:0x3065 (via-rhine)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:19:21:20:b0:de", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
More information about the Virtual-pkg-base-maintainers
mailing list