USB Connection kills laptops WIFI

I just upgraded my laptops Xubuntu install to 16.04, and since then I have been seeing a strange problem when trying to connect my beaglebone black to USB (Running lastest Debian).

Once the beaglebone is all powered up, my wifi goes into search mode and never recovers. I am unable to log into the beaglebone via the webpage (192.168.7.2). When I try this on a windows machine everything is fine.

I ran ifconfig and this is my output.

justin@Pat:~$ ifconfig
enp8s0 Link encap:Ethernet HWaddr d0:bf:9c:5e:69:ad
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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

enx8030dc5e81df Link encap:Ethernet HWaddr 80:30:dc:5e:81:df
inet6 addr: fe80::952c:5c56:41a1:1322/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7552 (7.5 KB) TX bytes:5278 (5.2 KB)

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:2578 errors:0 dropped:0 overruns:0 frame:0
TX packets:2578 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:369657 (369.6 KB) TX bytes:369657 (369.6 KB)

wlo1 Link encap:Ethernet HWaddr 2c:33:7a:80:90:79
inet addr:10.67.66.49 Bcast:10.67.79.255 Mask:255.255.240.0
inet6 addr: fe80::5bed:8318:765b:bc41/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22054 errors:0 dropped:0 overruns:0 frame:0
TX packets:17469 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18259800 (18.2 MB) TX bytes:2848868 (2.8 MB)

You can see the enx8030… line is the one that comes up with the beaglebone. Any recommendations on how to fix is appreciated!

This, which I’m assuming if your wifi adapter ?
wlo1 Link encap:Ethernet HWaddr 2c:33:7a:80:90:79
inet addr:10.67.66.49 Bcast:10.67.79.255 Mask:255.255.240.0
inet6 addr: fe80::5bed:8318:765b:bc41/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22054 errors:0 dropped:0 overruns:0 frame:0
TX packets:17469 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18259800 (18.2 MB) TX bytes:2848868 (2.8 MB)

But the bolded line above does not seem right. a netmask of 255.255.240.0 does not seem right. Do you really need 4096 IP addresses from that class C ?

Additionally, the rest of your interfaces do not seem to have an IPv4 address associated with them. So, the next time you have this issue run sudo ifdown then sudo ifup If that does not work you can try:

$ sudo systemctl restart networking

Yeah additionally, your broadcast address is wrong for the address range you’re in. So it seems like Ubuntu 16.04 has a major screw loose somewhere. Perhaps it’s time for you to file a bug report ?

What is wrong with it? It’s not a classfull network netmask, and it’s certainly not anywhere near a class C even if it was. In CIDR it’s a /20 netmask and it looks fine. Of course no of that answers the OP’s question… Mike

I have been having the same type of problem as well. After installing Ubuntu 16.04 with the latest Debian. I cannot connect via USB to the BBB (BBB doesn’t show up as a media device in Windows or Mac and it used to). It used to work with old Angstrom image that came preinstalled on the board. I can only serial connect via the USB to UART debug connector. Funny thing is, if I disable internet sharing on my Mac, I can still ssh to 192.168.7.2 and IF an ethernet port is connected to BBB I can ssh to the inet address displayed when I do ifconfig. See my post here on Stack Overflow for full explanation.