Adding a virtual wireless interface is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is quite simple. I used to split my wifi network with:
sudo iw dev wlan0 interface add wlan1 type station
...and it used to work (at least on some machine). Now if I do the same I have:
kernel: [31130.438726] systemd-
...and "rename4" is not recognized at all as a wifi interface. The problem probably stems from the fact that the MAC address is the same...
I have no biosdevname package installed.
Any help will be appreciated.
System is Ubuntu 14.04 up-to-date.
[romano:~] % uname -a
Linux RRyS 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[romano:~] % wajig status udev
Package Installed Previous Now State
=======
udev 204-5ubuntu20.8 204-5ubuntu20.8 204-5ubuntu20.8 install
eth0 Link encap:Ethernet HWaddr 90:2b:34:a4:fe:3e
UP 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
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:65536 Metric:1
RX packets:47134 errors:0 dropped:0 overruns:0 frame:0
TX packets:47134 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:20940311 (20.9 MB) TX bytes:20940311 (20.9 MB)
rename4 Link encap:Ethernet HWaddr 64:70:02:d9:f4:f7
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
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
rename5 Link encap:Ethernet HWaddr 64:70:02:d9:f4:f7
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
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 64:70:02:d9:f4:f7
inet addr:192.168.1.222 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::6670:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:213408 errors:0 dropped:0 overruns:0 frame:0
TX packets:214770 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:137642894 (137.6 MB) TX bytes:54703374 (54.7 MB)
tags: | added: 14.04 systemd-udev udev |
description: | updated |
description: | updated |
description: | updated |
Even when I add 'net.ifnames=0' and 'biosdevname=0' to /etc/default/grub: LINUX_DEFAULT= "net.ifnames= 0 biosdevname=0"
> cat /etc/default/grub
[snip]
GRUB_CMDLINE_
[snip]
and update-grub + reboot, udev still renames my interfaces when adding new virtual wifi interfaces (see first post for instructions).
In my opinion, this behaviour is a serious bug.
When I tell udev not to touch my network interfaces (with net.ifnames=0 - or is there another option?),
it has to honour my decision.
My system is: RELEASE= 14.04 CODENAME= trusty DESCRIPTION= "Ubuntu 14.04.1 LTS"
> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
> uname -a
Linux [hostname snipped] 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux