-
Renaming network interfaces
Hi,
I am using an HD install of knoppix 3.4 and am having some trouble getting the network interfaces to behave.
The machine in question is a laptop with a built in ethernet and sometimes a pcmcia wireless ethernet card. The kernel sometimes names the built in ethernet eth0 and the wireless eth1, sometimes the reverse, depending on whether the pcmcia card is inserted at boot time or is put in later. Both interfaces work fine, but the naming is inconsistent.
This is problematic for varous reasons. First, the built in ethernet (often) uses a static IP address which is set up in /etc/network/interfaces. This doesn't work when the built in ethernet has an interface name different that expected.
I am also using the laptop-net package to manage the built-in ethernet. This only works (as far as I can tell) when you know the interface name.
Some research showed that the use of the nameif utility seemed be called for. This program renames network interfaces based on mac addresses, just what I need, but I haven't been able to get it working. I set up a correct /etc/mactab file and inserted '/sbin/nameif -s' in /etc/init.d/networking; I also inserted the command in /etc/init.d/knoppix-autoconfig to run prior to the starting of the cardmgr. None of this seems to work, however. As far as I can tell nameif is either not running or is ignored; the kernel insistes on naming the interface as it wants.
Can anyone help me get my network interfaces consistently named?
Similar Threads
-
By taloner in forum Customising & Remastering
Replies: 9
Last Post: 06-19-2005, 10:21 AM
-
By Mustang64 in forum Hdd Install / Debian / Apt
Replies: 12
Last Post: 04-25-2005, 10:21 PM
-
By DunkyB in forum Customising & Remastering
Replies: 0
Last Post: 04-15-2005, 03:17 PM
-
By linux_Fred in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-12-2005, 05:15 PM
-
By probono in forum Ideas
Replies: 2
Last Post: 04-27-2003, 05:54 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

NETGEAR ProSafe 5-port Gigabit Switch GS105v5
$9.99

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99

TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105
$19.95

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$39.99

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$69.99

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$22.49

Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC
$49.00

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$22.00

SEALED TP Link Network TL SG108 8Port Switch 1000Mbps RJ45 Desktop Switch NEW
$14.00