Netgear WiFi Dongle on BBB

Hello ,
I am foloowing this to connect to wifi on BBB :

It works most of the time but some times it doesnt.I have to do it every time BBB boots.
I am on 4.7 kernel , below is my /etc/network/interfaces.d

source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet dhcp
wpa-ssid “mynetworkname”
wpa-psk “mynetworknamePassword”

ifconfig gives me :

wlxc4041577d3a2: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
inet netmask 255.255.255.0 broadcast
inet6 prefixlen 64 scopeid 0x20
ether <6 octet string> txqueuelen 1000 (Ethernet)
RX packets 1738 bytes 2033787 (1.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1071 bytes 102955 (100.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

do I need to change my wlan0 to wlxc4041577d3a2
is there a permanent solution?

using connmanctl i some times do no tget the scanned network.
I havent connected the mini USB cable (not tethering) as well.

Please advice,
Regrds,
S

Hi @sr007, add net.ifnames=0 to your kernel boot arguments, and wlxc4041577d3a2 will show up as wlan0… Systemd is dynamically creating the wlxc4041577d3a2 name based off the mac address of your wifi adapter. The net.ifnames parameter will disable this rename.

Regards,

1 Like