Upgrading kernel-image-2.6.8-2-k7 from 2.6.8-12 to 2.6.8-13 left me with no connection to internet. After researching the problem, I finally realized that booting 2.6.8-13 (and the 2.6.10 kernels I have tried) give me eth1 mapped to my NIC and eth0 now mapped to eth1394 whereas booting my other installed kernels map my NIC to eth0. /etc/network/interfaces reads: # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback # first network card auto eth0 iface eth0 inet static address 192.168.1.52 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 I could just change eth0 to eth1 to fix the problem with 2.6.8-13, but the interface wouldn't work if I booted an earlier kernel. A script to map my NIC to eth0 or eth1 depending on the kernel that is booted is a better solution, but it is not clear to me how to do this. Could someone advise me as to changes needed to /etc/network/interfaces and script I would need? TIA -- Jerome
Attachment:
signature.asc
Description: Digital signature