<30>udevd[706]: renamed network interface eth0 to eth1
ifconfig: SIOCGIFFLAGS: No such device
Starting udhcpc client on: eth1...
udhcpc: SIOCGIFINDEX: No such device
1.
tux@slitaz:~$ grep -e ifconfig -e udhcpc /var/log/boot.log
ifconfig: SIOCGIFFLAGS: No such device
Starting udhcpc client on: eth1...
udhcpc: SIOCGIFINDEX: No such device
tux@slitaz:~$
2.
tux@slitaz:~$ dmesg | grep eth
tg3 0000:02:00.0: eth0: Tigon3 [partno(BCM95784m) rev 5784100] (PCI Express) MAC address 00:21:85:xx:xx:7b
tg3 0000:02:00.0: eth0: attached PHY is 5784 (10/100/1000Base-T Ethernet) (WireSpeed[1])
tg3 0000:02:00.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
tg3 0000:02:00.0: eth0: dma_rwctrl[76180000] dma_mask[64-bit]
<30>udevd[706]: renamed network interface eth0 to eth1
3.
tux@slitaz:~$ ps ax | grep udevd
643 ? Ss 0:00 /sbin/udevd --daemon
1089 ? S 0:00 /sbin/udevd --daemon
1090 ? S 0:00 /sbin/udevd --daemon
1495 pts/1 S+ 0:00 grep udevd
tux@slitaz:~$
4.
tux@slitaz:~$ ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:21:85:xx:xx:7B
BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17
tux@slitaz:~$
5.
tux@slitaz:~$ 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, and change only the value of the NAME= key.
# PCI device 0x14e4:0x1698 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:85:xx:xx:91", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x14e4:0x1698 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:85:xx:xx:7b", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# USB device 0x0b05:0x1786 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c8:60:00:xx:xx:22", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# PCI device 0x11ab:0x4380 (sky2)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:30:1b:xx:xx:fe", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"