Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 13427  / 1 Year ago, tue, april 4, 2023, 9:14:48

I want to rename a wireless interface. Right now I have 4 network interfaces, 2 Wireless, 2 Cable. the order is like this:



eth0 - Cable (Realtek RTL-8169)

eth1 - Cable (Intel 82579V)

eth2 - Wireless (Broadcom BCM4321 Proprietary Drivers)

wlan0 - Wireless (RaLink RT2800)



I want to rename eth2 to wlan1. This way the wireless cards are wlan and the cable ones are eth (The way I like it). How can I do this?



Using the suggestion made by virpara I found the following:



eth1 - e1000e
wlan0 - rt2800
wlan1 - b43
eth2 - wl



# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:19.0 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="38:60:77:ab:5e:30", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x1814:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:02.0 (rt2800pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:9c:05:fd:28", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:00.0/ssb0:0 (b43-pci-bridge)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:18:39:0e:f0:ff", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

# PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:00.0 (wl)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:18:39:0e:f0:ff", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"


Now my questions are:




  1. Why wlan1 and eth2 have the same MAC?

  2. If there are 2 duplicated MACS (eth2 & wlan1) where is the other NIC?

  3. Why is Realtek (eth0) not appearing on the list?

  4. Where did wlan1 come from since I can not see it using ifconfig -a, iwconfig or lshw. There is no wlan1 except in the /etc/udev/rules.d/70-persistent-net.rules file.


More From » 12.04

 Answers
Only authorized users can answer the question. Please sign in first, or register a free account.
eeperant

Total Points: 39
Total Questions: 106
Total Answers: 117

Location: Finland
Member since Sat, Dec 5, 2020
3 Years ago
;