wireless_interface name not stable across bootups, Beaglebone Black (Bug #173)


Added by Marvin Stodolsky about 1 year ago. Updated about 1 year ago.


Status:New Start date:08/13/2016
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Search for HERE below for the key critical diagnostic.
Briefly, the common wlan0 interface is renamed to a USB REALTEK specific "wlx74da3883aea6", for causes obscure, during bootup.
But rarely, wlan0 is retained upon bootup.
The NUISANCE issue is that wireless_interface must be manually renamed in the WirelessManager config,
wicd on my Beaglebone Black system without GUI.
Most troublesome, a Login via the wireless_interface cannot be relied on, because of wireless_interface changes.
Otherwise wireless functionality is fine.

For myself, I can write a bootup script to check wireless_interface, and set a symbolic link:
  1. ln -sf /etc/wicd/manager-settings.conf
    /etc/wicd/manager-settings.conf.wlx74da3883aea6
    OR
    /etc/wicd/manager-settings.wlan0

But this is not an easy task for a Linux Newbie.

Below are most cogent dagnostic details, search for: HERE

========
$ uname -a
Linux arm 4.4.12-ti-r30 #1 SMP Thu Jun 9 07:50:17 UTC 2016 armv7l armv7l armv7l GNU/Linux

$ cat /proc/version
Linux version 4.4.12-ti-r30 (root@b3-jetson-tk1-2gb) (gcc version 5.3.1 20160413 (Ubuntu/Linaro 5.3.1-14ubuntu$

$ lsusb
Bus 001 Device 002: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL818$

$ iw dev
phy#0
Interface wlx74da3883aea6
ifindex 4
wdev 0x1
addr 74:da:38:83:ae:a6
type managed

cogent dmesg section
-------------
[ 17.604281] rtl8192cu: MAC address: 74:da:38:83:ae:a6
[ 17.604340] rtl8192cu: Board Type 0
[ 17.613259] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[ 17.613396] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 17.724301] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 17.741829] usbcore: registered new interface driver rtl8192cu
[ 17.973739] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 17.973813] IPv6: ADDRCONF: eth0: link becomes ready
[ 18.082914] 8021q: 802.1Q VLAN Support v1.8
[ 18.082988] 8021q: adding VLAN 0 to HW filter on device eth0
HERE >>> [ 19.218284] rtl8192cu 1-1:1.0 wlx74da3883aea6: renamed from wlan0
[ 19.340179] rtl8192cu: MAC auto ON okay!
[ 19.438782] rtl8192cu: Tx queue select: 0x05
[ 22.222193] IPv6: ADDRCONF: wlx74da3883aea6: link is not ready
[ 22.694209] NET: Registered protocol family 5
[ 24.046587] cfg80211: World regulatory domain updated:


History

Updated by Robert Nelson about 1 year ago

This is a "feature" of systemd:

https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

it's easiest to disable by adding:

net.ifnames=0

to the cmdline at bootup..

Regards,

Also available in: Atom PDF