OpenWrt Forum Archive

Topic: Wifi connect on dual-boot laptop fails in Ubuntu, but not Mac OS X

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm running Ubuntu Desktop 16.04 on a MacBook 13" (on which I also dual-boot Mac OS X 10.7.5). This laptop has a Broadcom wireless card: "Broadcom BCM4328 802.11 Wireless Controller" according to Mac OS X. In Ubuntu, I'm using the proprietary Broadcom STA Wireless Driver.

I connect the laptop wirelessly to a TP-Link WDR-3600 wifi router, which is running OpenWRT 15.05.1. It has two Atheros wifi chips built in, one for the 2.4GHz band and one for the 5GHz band. I have a separate SSID for each band, but both are set up with the same authentication credentials. In OpenWRT, the hardware for the 2.4GHz band is listed as "Generic MAC80211 802.11bgn" and the 5GHz band is listed as "Atheros AR9580 802.11an".

The problem I'm experiencing right now is that, when I choose to connect to the 2.4GHz band SSID using Ubuntu, my passphrase is accepted, and the connection seems to negotiate for a minute or so, and then either shows as disconnected, or shows as connected but has no IP connectivity. Either way, there is no actual IP connectivity when I try to ping other hosts or browse the web. If I then attempt to connect to the 5GHz band SSID, the connection is successful almost immediately, and ping/web browsing/etc works normally. The problem with connecting to the 2.4GHz band persists across deleting/recreating the wireless connections in the network manager, as well as across reboots.

When I reboot the computer into Mac OS X and try to connect to the 2.4GHz network, it works immediately, as does the 5GHz network.

No other Mac or Linux computers, or iDevices, in the household are having this same issue.

I'm trying to determine whether the problem lies in the computer hardware, operating system, router hardware, or router operating system, or if it's some unique combination of all four factors that causes the issue. Right now, my best guess is that Ubuntu's DHCP client isn't getting along well with OpenWRT's DHCP server, but I'm not sure why or who's to blame, or what to do further to diagnose the issue.

If anyone has suggestions on how to proceed, please let me know. I've included relevant log file data as Gists on Github. I plan to cross-post this in the Ubuntu forums.

Connecting from Ubuntu:
Syslog from Ubuntu when trying+failing to connect to the 2.4GHz band: https://gist.github.com/prwood/7dd822e5 … 609c0f586a
Syslog from Ubuntu when connecting to the 5GHz band: https://gist.github.com/prwood/5d218c32 … 4d4be9a9dc
Syslog from OpenWRT when trying+failing to connect to the 2.4GHz band: https://gist.github.com/prwood/4ea38f6d … 24a3b1bc03
Syslog from OpenWRT when connecting to the 5GHz band: https://gist.github.com/prwood/00b0fb7a … fb43e29c61

Connecting from Mac OS X:
Syslog from Mac OS X when connecting to the 2.4GHz band: https://gist.github.com/prwood/40c2d877 … 9776688b73
Syslog from Mac OS X when connecting to the 5GHz band: https://gist.github.com/prwood/08f0cd41 … 18ee1d334c
Syslog from OpenWRT when connecting to the 2.4GHz band: https://gist.github.com/prwood/c550044c … c6f98d8ffc
Syslog from OpenWRT when connecting to the 5GHz band: https://gist.github.com/prwood/af3b52dc … 03895b42b0

Just to post an update here, I still haven't been successful in getting the laptop running Ubuntu to connect to the router using the 2.4GHz band. I've tried some additional diagnostics, and it seems that the problem also occurs whether I'm using DHCP or a static IP address.

I have also tried a Mac desktop in the same house that's also dual-booting Mac OS X and Ubuntu, and it has the same problem when connecting to the 2.4GHz band in Ubuntu, but works fine on the 5GHz band.

At this point I can summarize the problem as follows:

I cannot gain TCP/IP connectivity on Mac desktops or laptops running the Ubuntu OS when connecting to a TP-Link Router running the OpenWRT OS, over the 2.4GHz band.

???

Here's a link to the parallel thread on the Ubuntu forums, which has a lot more detail:

http://ubuntuforums.org/showthread.php?t=2329313

The discussion might have continued from here.