Hi) I have some problems with interface naming (debian lenny)
Code:
host:/# uname -a
Linux host 2.6.26-2-686 #1 SMP Sat Oct 17 17:59:23 UTC 2009 i686 GNU/Linux
after installing ifenslave-2.6 I added virtual interface to /etc/network/interfaces
Code:
auto bond0
iface bond0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 192.168.1.1
up /sbin/ifenslave bond0 eth3 eth2
down /sbin/ifenslave -d bond0 eth3 eth2
and added 2 lines to /etc/modprobe.d/arch/i386
Code:
alias bond0 bonding
options bonding mode=1 miimon=100 downdelay=200 updelay=200
after rebooting i got interface bond0, then i commented out all changes in configs and reboot.
Now i have problem with eth2: it has MAC same as eth3 and it has bad name
Code:
host:/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:26:18:8a:b1:e5
inet addr:192.168.0.13 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::226:18ff:fe8a:b1e5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:205019 errors:0 dropped:0 overruns:0 frame:0
TX packets:294611 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:30823984 (29.3 MiB) TX bytes:314205455 (299.6 MiB)
Interrupt:221
eth3 Link encap:Ethernet HWaddr 00:e0:50:ea:01:c1
inet addr:83.221.208.186 Bcast:83.221.208.187 Mask:255.255.255.252
inet6 addr: fe80::2e0:50ff:feea:1c1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:343401 errors:0 dropped:0 overruns:0 frame:0
TX packets:346919 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:153863331 (146.7 MiB) TX bytes:41257019 (39.3 MiB)
Interrupt:20 Base address:0x4c00
eth2_rename Link encap:Ethernet HWaddr 00:e0:50:ea:01:c1
inet6 addr: fe80::2e0:50ff:feea:1c1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:138538 errors:0 dropped:0 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8853012 (8.4 MiB) TX bytes:11741 (11.4 KiB)
Interrupt:21 Base address:0x6800
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:501579 errors:0 dropped:0 overruns:0 frame:0
TX packets:501579 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:106244445 (101.3 MiB) TX bytes:106244445 (101.3 MiB)
I uninstalled ifenslave-2.6 with aptitude, but it change nothing.
/etc/udev/rules.d/70-persistent-net.rules :
Code:
host:/# cat /etc/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 0x1969:0x1026 (ATL1E)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:18:8a:b1:e5", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# Firewire device (nodemgr)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:8c:00:01:fc:95:ff", ATTR{dev_id}=="0x0", ATTR{type}=="24", KERNEL=="eth*", NAME="eth1"
# PCI device 0x10ec:0x8169 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:50:ea:01:bf", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
# PCI device 0x10ec:0x8169 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:50:ea:01:c1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"
Code:
host:/# dmesg | grep -C4 eth2
[ 9.215487] ACPI: PCI Interrupt 0000:04:05.0[A] -> GSI 20 (level, low) -> IRQ 20
[ 9.215487] eth1: RTL8169sb/8110sb at 0xf8824c00, 00:e0:50:ea:01:c1, XID 10000000 IRQ 20
[ 9.215487] r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
[ 9.215487] ACPI: PCI Interrupt 0000:04:06.0[A] -> GSI 21 (level, low) -> IRQ 21
[ 9.215487] eth2: RTL8169sb/8110sb at 0xf8876800, 00:e0:50:ea:01:c1, XID 10000000 IRQ 21
[ 9.216479] Uniform Multi-Platform E-IDE driver
[ 9.216479] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 9.216479] ATIIXP: IDE controller (0x1002:0x439c rev 0x00) at PCI slot 0000:00:14.1
[ 9.216479] ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 16
--
[ 105.289962] usb 1-2: Product: Optical Mouse
[ 105.289963] usb 1-2: Manufacturer: Genius
[ 105.831459] lp: driver loaded but no devices found
[ 105.888655] ppdev: user-space parallel port driver
[ 111.949042] r8169: eth2_rename: link up
[ 114.943983] Linux agpgart interface v0.103
[ 115.194424] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[ 115.226759] [fglrx] Maximum main memory to use for locked dma buffers: 1657 MBytes.
[ 115.226759] [fglrx] vendor: 1002 device: 9614 count: 1
Code:
host:/# dmesg | grep -C4 eth
[ 9.214118] usb usb7: Manufacturer: Linux 2.6.26-2-686 ohci_hcd
[ 9.214119] usb usb7: SerialNumber: 0000:00:14.5
[ 9.215487] r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
[ 9.215487] ACPI: PCI Interrupt 0000:04:05.0[A] -> GSI 20 (level, low) -> IRQ 20
[ 9.215487] eth1: RTL8169sb/8110sb at 0xf8824c00, 00:e0:50:ea:01:c1, XID 10000000 IRQ 20
[ 9.215487] r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
[ 9.215487] ACPI: PCI Interrupt 0000:04:06.0[A] -> GSI 21 (level, low) -> IRQ 21
[ 9.215487] eth2: RTL8169sb/8110sb at 0xf8876800, 00:e0:50:ea:01:c1, XID 10000000 IRQ 21
[ 9.216479] Uniform Multi-Platform E-IDE driver
[ 9.216479] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 9.216479] ATIIXP: IDE controller (0x1002:0x439c rev 0x00) at PCI slot 0000:00:14.1
[ 9.216479] ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 16
--
[ 9.216479] ide0: BM-DMA at 0xff00-0xff07
[ 9.216479] ide1: BM-DMA at 0xff08-0xff0f
[ 9.216479] Probing IDE interface ide0...
[ 9.340457] usb 1-2: new low speed USB device using ohci_hcd and address 3
[ 9.355181] Driver 'sd' needs updating - please use bus_type methods
[ 9.355181] sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
[ 9.355181] sd 0:0:0:0: [sda] Write Protect is off
[ 9.355181] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 9.355181] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
--
[ 12.359738] PM: Starting manual resume from disk
[ 12.384641] kjournald starting. Commit interval 5 seconds
[ 12.384641] EXT3-fs: mounted filesystem with ordered data mode.
[ 13.374210] udevd version 125 started
[ 13.469016] udev: renamed network interface eth1 to eth3
[ 13.638566] input: Power Button (FF) as /class/input/input2
[ 13.691130] ACPI: Power Button (FF) [PWRF]
[ 13.694661] input: Power Button (CM) as /class/input/input3
[ 13.758298] ACPI: Power Button (CM) [PWRB]
--
[ 83.601096] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 83.644325] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 84.588785] NET: Registered protocol family 10
[ 84.589032] lo: Disabled Privacy Extensions
[ 85.422665] ATL1E 0000:02:00.0: ATL1E: eth0 NIC Link is Up<100 Mbps Full Duplex>
[ 85.422665] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 85.422665] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 87.203764] r8169: eth3: link up
[ 89.360480] powernow-k8: Found 1 AMD Phenom(tm) II X4 945 Processor processors (4 cpu cores) (version 2.20.00)
[ 89.362074] powernow-k8: 0 : pstate 0 (3000 MHz)
[ 89.362074] powernow-k8: 1 : pstate 1 (2300 MHz)
[ 89.362074] powernow-k8: 2 : pstate 2 (1800 MHz)
[ 89.362074] powernow-k8: 3 : pstate 3 (800 MHz)
[ 99.768379] eth0: no IPv6 routers present
[ 100.989274] eth3: no IPv6 routers present
[ 102.706692] usb 1-2: USB disconnect, address 3
[ 104.811063] usb 1-2: new low speed USB device using ohci_hcd and address 4
[ 104.982013] usb 1-2: configuration #1 chosen from 1 choice
[ 104.994803] input: Genius Optical Mouse as /class/input/input5
--
[ 105.289962] usb 1-2: Product: Optical Mouse
[ 105.289963] usb 1-2: Manufacturer: Genius
[ 105.831459] lp: driver loaded but no devices found
[ 105.888655] ppdev: user-space parallel port driver
[ 111.949042] r8169: eth2_rename: link up
[ 114.943983] Linux agpgart interface v0.103
[ 115.194424] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[ 115.226759] [fglrx] Maximum main memory to use for locked dma buffers: 1657 MBytes.
[ 115.226759] [fglrx] vendor: 1002 device: 9614 count: 1
Could somebody help me, please?