Wifi not working

Hello,
I have successfully installed Lubuntu 19.10 on my Mac-book 4.1 and also wifi was working flawlessly until I tried to use it with a Huawei B535 router… Instead with the previous router (TP-Link Archer D50) the WiFi 2.4 GHz has always worked fine.
With this router my Lubuntu sees the WiFi wlan at 2.4 GHz, seems to connect without problems but actually it doesn’t work: internet is down and also the local wlan is down because I can’t reach the webpage of the router.
What could be the problem? What specific information can I give to better understand the situation?
This is the relevant output of ifconfig

wls4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.8.101  netmask 255.255.255.0  broadcast 192.168.8.255
    inet6 fe80::304b:7b28:df68:6ea6  prefixlen 64  scopeid 0x20<link>
    ether 00:1e:c2:a4:e1:f1  txqueuelen 1000  (Ethernet)
    RX packets 21466  bytes 19010177 (19.0 MB)
    RX errors 0  dropped 0  overruns 0  frame 1400
    TX packets 17624  bytes 2943462 (2.9 MB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    device interrupt 16 

Thanx!
Bye, R.

It would be best to look at your logs. In the age of systemd, you would do this with journalctl which we can make look at the appropriate unit, limit to the current boot, and provide explanations (in that order) with: journalctl -u NetworkManager -b -x.

1 Like

Hi,
thank you so much for your time (and your knowledge)!
This is the output of the command you’ve suggested me:

-- Logs begin at Mon 2019-12-09 19:16:24 CET, end at Mon 2020-01-13 22:38:08 CET. --
gen 13 22:37:18 MacBook41 systemd[1]: Starting Network Manager...
-- Subject: A start job for unit NetworkManager.service has begun execution
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit NetworkManager.service has begun execution.
-- 
-- The job identifier is 88.
gen 13 22:37:23 MacBook41 NetworkManager[622]: <info>  [1578951443.7875] NetworkManager (version 1.20.4) is starting... (for the first time)
gen 13 22:37:23 MacBook41 NetworkManager[622]: <info>  [1578951443.7876] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 10-dns-resolved.conf, no-mac-addr-change.conf) (run: 10-globally-managed-devices.conf) (etc: default-wifi-powersave-on.conf)
gen 13 22:37:23 MacBook41 NetworkManager[622]: <warn>  [1578951443.7877] config: unknown key 'wifi.cloned-mac-address' in section [device-mac-addr-change-wifi] of file '/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf'
gen 13 22:37:23 MacBook41 NetworkManager[622]: <warn>  [1578951443.7877] config: unknown key 'ethernet.cloned-mac-address' in section [device-mac-addr-change-wifi] of file '/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf'
gen 13 22:37:23 MacBook41 systemd[1]: Started Network Manager.
-- Subject: A start job for unit NetworkManager.service has finished successfully
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit NetworkManager.service has finished successfully.
-- 
-- The job identifier is 88.
gen 13 22:37:23 MacBook41 NetworkManager[622]: <info>  [1578951443.8451] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
gen 13 22:37:24 MacBook41 NetworkManager[622]: <info>  [1578951444.0058] manager[0x556d713aa060]: monitoring kernel firmware directory '/lib/firmware'.
gen 13 22:37:24 MacBook41 NetworkManager[622]: <info>  [1578951444.0060] monitoring ifupdown state file '/run/network/ifstate'.
gen 13 22:37:24 MacBook41 NetworkManager[622]: <info>  [1578951444.3881] hostname: hostname: using hostnamed
gen 13 22:37:24 MacBook41 NetworkManager[622]: <info>  [1578951444.3882] hostname: hostname changed from (none) to "MacBook41"
gen 13 22:37:24 MacBook41 NetworkManager[622]: <info>  [1578951444.3888] dns-mgr[0x556d71396290]: init: dns=systemd-resolved rc-manager=symlink, plugin=systemd-resolved
gen 13 22:37:24 MacBook41 NetworkManager[622]: <info>  [1578951444.3920] rfkill0: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/ieee80211/phy0/rfkill0) (driver wl)
gen 13 22:37:24 MacBook41 NetworkManager[622]: <info>  [1578951444.3946] rfkill1: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/net/wls4/rfkill1) (driver wl)
gen 13 22:37:24 MacBook41 NetworkManager[622]: <info>  [1578951444.4014] manager[0x556d713aa060]: rfkill: Wi-Fi hardware radio set enabled
gen 13 22:37:24 MacBook41 NetworkManager[622]: <info>  [1578951444.4015] manager[0x556d713aa060]: rfkill: WWAN hardware radio set enabled
gen 13 22:37:25 MacBook41 NetworkManager[622]: <info>  [1578951445.5768] Loaded device plugin: NMBluezManager (/usr/lib/x86_64-linux-gnu/NetworkManager/1.20.4/libnm-device-plugin-bluetooth.so)
gen 13 22:37:25 MacBook41 NetworkManager[622]: <info>  [1578951445.6923] Loaded device plugin: NMWifiFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/1.20.4/libnm-device-plugin-wifi.so)
gen 13 22:37:25 MacBook41 NetworkManager[622]: <info>  [1578951445.6950] Loaded device plugin: NMWwanFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/1.20.4/libnm-device-plugin-wwan.so)
gen 13 22:37:25 MacBook41 NetworkManager[622]: <info>  [1578951445.9442] Loaded device plugin: NMTeamFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/1.20.4/libnm-device-plugin-team.so)
gen 13 22:37:26 MacBook41 NetworkManager[622]: <info>  [1578951446.0875] Loaded device plugin: NMAtmManager (/usr/lib/x86_64-linux-gnu/NetworkManager/1.20.4/libnm-device-plugin-adsl.so)
gen 13 22:37:26 MacBook41 NetworkManager[622]: <info>  [1578951446.0881] manager: rfkill: Wi-Fi enabled by radio killswitch; enabled by state file
gen 13 22:37:26 MacBook41 NetworkManager[622]: <info>  [1578951446.0884] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
gen 13 22:37:26 MacBook41 NetworkManager[622]: <info>  [1578951446.0886] manager: Networking is enabled by state file
gen 13 22:37:26 MacBook41 NetworkManager[622]: <info>  [1578951446.0889] dhcp-init: Using DHCP client 'internal'
gen 13 22:37:26 MacBook41 NetworkManager[622]: <info>  [1578951446.5938] settings: Loaded settings plugin: ifupdown ("/usr/lib/x86_64-linux-gnu/NetworkManager/1.20.4/libnm-settings-plugin-ifupdown.so")
gen 13 22:37:26 MacBook41 NetworkManager[622]: <info>  [1578951446.5940] settings: Loaded settings plugin: keyfile (internal)
gen 13 22:37:26 MacBook41 NetworkManager[622]: <info>  [1578951446.5940] ifupdown: management mode: unmanaged
gen 13 22:37:26 MacBook41 NetworkManager[622]: <warn>  [1578951446.7108] ifupdown: interfaces file /etc/network/interfaces doesn't exist
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.0109] device (lo): carrier: link connected
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.0116] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.0156] manager: (ens5): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.0214] settings: (ens5): created default wired connection 'Wired connection 1'
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.0230] device (ens5): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.0348] manager: (wls4): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/3)
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.0374] device (wls4): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
gen 13 22:37:27 MacBook41 NetworkManager[622]: <warn>  [1578951447.0839] Error: failed to open /run/network/ifstate
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.1235] bluez: use BlueZ version 5
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.1262] modem-manager: ModemManager available
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.1312] supplicant: wpa_supplicant running
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.1316] device (wls4): supplicant interface state: init -> starting
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.1426] bluez5: NAP: added interface 00:1F:5B:74:0B:16
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.4974] sup-iface[0x556d713bd130,wls4]: supports 1 scan SSIDs
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.4994] device (wls4): supplicant interface state: starting -> ready
gen 13 22:37:27 MacBook41 NetworkManager[622]: <info>  [1578951447.4996] device (wls4): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0502] policy: auto-activating connection 'HUAWEI-B535-84B5' (11582b22-01f9-434e-8ce0-6f3b7d4b1bc9)
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0553] device (wls4): Activation: starting connection 'HUAWEI-B535-84B5' (11582b22-01f9-434e-8ce0-6f3b7d4b1bc9)
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0562] device (wls4): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0606] manager: NetworkManager state is now CONNECTING
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0652] device (wls4): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0677] device (wls4): Activation: (wifi) access point 'HUAWEI-B535-84B5' has security, but secrets are required.
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0678] device (wls4): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0699] sup-iface[0x556d713bd130,wls4]: wps: type pbc start...
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0823] device (wls4): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0842] device (wls4): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0903] device (wls4): Activation: (wifi) connection 'HUAWEI-B535-84B5' has security, and secrets exist.  No new secrets needed.
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0905] Config: added 'ssid' value 'HUAWEI-B535-84B5'
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0905] Config: added 'scan_ssid' value '1'
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0906] Config: added 'bgscan' value 'simple:30:-80:86400'
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0907] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256'
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0907] Config: added 'auth_alg' value 'OPEN'
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0907] Config: added 'psk' value '<hidden>'
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.0942] device (wls4): supplicant interface state: ready -> disconnected
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.1180] device (wls4): supplicant interface state: disconnected -> associating
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.1970] device (wls4): supplicant interface state: associating -> 4-way handshake
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.2045] device (wls4): supplicant interface state: 4-way handshake -> completed
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.2045] device (wls4): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "HUAWEI-B535-84B5"
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.2050] device (wls4): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.2061] dhcp4 (wls4): activation: beginning transaction (timeout in 45 seconds)
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.3031] dhcp4 (wls4): state changed unknown -> bound
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.3073] device (wls4): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.3474] device (wls4): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.3489] device (wls4): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.3510] manager: NetworkManager state is now CONNECTED_LOCAL
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.3605] manager: NetworkManager state is now CONNECTED_SITE
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.3611] policy: set 'HUAWEI-B535-84B5' (wls4) as default for IPv4 routing and DNS
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.4949] device (wls4): Activation: successful, device activated.
gen 13 22:37:31 MacBook41 NetworkManager[622]: <info>  [1578951451.4986] manager: NetworkManager state is now CONNECTED_GLOBAL
gen 13 22:37:33 MacBook41 NetworkManager[622]: <info>  [1578951453.0306] manager: startup complete

I really do not understand what’s going on… Every other device works flawlessly : desktop pc with kubuntu 18.03, ipad, android phones…
This Lubuntu works correctly when I use the tplink router; with huawei it does not. And if I keep the two router on at the same time, if I choose the tp-link wlan the connection works, if I choose the huawei wlan the connection doesn’t work (without the need of rebooting Lubuntu).
If I log in in the web page of the huawei router (with another device) I can see my macbook with Lubuntu listed in the connected devices though it does not work!

Thank you,
Bye, R.

So it seems like you’ve connected just fine. Furthermore, when I look at the ifconfig output, it seems like you’ve got an IP.

  • You can ping your router, right?
  • Does nmcli device show the wls4 device in the connected state on the HUAWEI-B535-84B5 connection?
  • Can you ping other devices on the same network?
  • Can you dig +short lubuntu.me successfully?
  • If not, can you ping 192.99.139.35 successfully?
  • Are we sure there isn’t something about how the network is set up via the router that would prohibit certain devices from connecting?
  • Failing all that, if you use a live version of 19.10, do you still have the same problem? Maybe you’ve tweaked something unfortunate about the config.

Hi wxl!

  • You can ping your router, right?

Nope

  • Does nmcli device show the wls4 device in the connected state on the HUAWEI-B535-84B5 connection?

Yup

  • Can you ping other devices on the same network?

No. And other devices cannot ping me.

  • Can you dig +short lubuntu.me successfully?

Nope

  • If not, can you ping 192.99.139.35 successfully?

Nope

  • Are we sure there isn’t something about how the network is set up via the router that would prohibit certain devices from connecting?

I don’t think so. I did factory reset the router lots of times, and I’m using all the default values. The only parameter that I’ve changed is that I set off the 5 GHz wlan, because I know that this notebook does not work at that frequency (with all the distros that I heve used on it).

  • Failing all that, if you use a live version of 19.10, do you still have the same problem? Maybe you’ve tweaked something unfortunate about the config.

Yes I can try, but to use the wlan card of this notebook I need to install the broadcom b43 firmware: can I do it while using the live version?

Here below all the terminal outputs of the command you suggested:

attilio@MacBook41:~$ ifconfig
    ens5: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            ether 00:1e:c2:15:36:b7  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 17  

    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 156  bytes 11787 (11.7 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 156  bytes 11787 (11.7 KB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

    wls4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.8.101  netmask 255.255.255.0  broadcast 192.168.8.255
            inet6 fe80::304b:7b28:df68:6ea6  prefixlen 64  scopeid 0x20<link>
            ether 00:1e:c2:a4:e1:f1  txqueuelen 1000  (Ethernet)
            RX packets 166  bytes 21931 (21.9 KB)
            RX errors 0  dropped 6  overruns 0  frame 2248
            TX packets 161  bytes 18235 (18.2 KB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 16  

    attilio@MacBook41:~$ ping 192.168.8.1
    PING 192.168.8.1 (192.168.8.1) 56(84) bytes of data.
    ^C
    --- 192.168.8.1 ping statistics ---
    9 packets transmitted, 0 received, 100% packet loss, time 8180ms

    attilio@MacBook41:~$ nmcli device
    DEVICE  TYPE      STATE        CONNECTION       
    wls4    wifi      connected    HUAWEI-B535-84B5 
    ens5    ethernet  unavailable  --               
    lo      loopback  unmanaged    --               
    attilio@MacBook41:~$ ping 192.168.8.100
    PING 192.168.8.100 (192.168.8.100) 56(84) bytes of data.
    ^C
    --- 192.168.8.100 ping statistics ---
    9 packets transmitted, 0 received, 100% packet loss, time 8171ms

    attilio@MacBook41:~$ ping 192.168.8.101
    PING 192.168.8.101 (192.168.8.101) 56(84) bytes of data.
    64 bytes from 192.168.8.101: icmp_seq=1 ttl=64 time=0.048 ms
    64 bytes from 192.168.8.101: icmp_seq=2 ttl=64 time=0.063 ms
    64 bytes from 192.168.8.101: icmp_seq=3 ttl=64 time=0.059 ms
    64 bytes from 192.168.8.101: icmp_seq=4 ttl=64 time=0.058 ms
    ^C
    --- 192.168.8.101 ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3058ms
    rtt min/avg/max/mdev = 0.048/0.057/0.063/0.005 ms
    attilio@MacBook41:~$ ping 192.168.8.102
    PING 192.168.8.102 (192.168.8.102) 56(84) bytes of data.
    From 192.168.8.101 icmp_seq=1 Destination Host Unreachable
    From 192.168.8.101 icmp_seq=2 Destination Host Unreachable
    From 192.168.8.101 icmp_seq=3 Destination Host Unreachable

    --- 192.168.8.102 ping statistics ---
    9 packets transmitted, 0 received, +3 errors, 100% packet loss, time 8193ms
    pipe 4
    attilio@MacBook41:~$ ping 192.168.8.100
    PING 192.168.8.100 (192.168.8.100) 56(84) bytes of data.
    ^C
    --- 192.168.8.100 ping statistics ---
    15 packets transmitted, 0 received, 100% packet loss, time 14337ms

    attilio@MacBook41:~$ ping 192.168.8.102
    PING 192.168.8.102 (192.168.8.102) 56(84) bytes of data.
    ^C
    --- 192.168.8.102 ping statistics ---
    12 packets transmitted, 0 received, 100% packet loss, time 11257ms

    attilio@MacBook41:~$ dig +short lubuntu.me
    attilio@MacBook41:~$ ping 192.99.139.35
    PING 192.99.139.35 (192.99.139.35) 56(84) bytes of data.
    ^C
    --- 192.99.139.35 ping statistics ---
    13 packets transmitted, 0 received, 100% packet loss, time 12276ms

Thanx!
Bye, R.

Ok, this is truly weird stuff. Let’s try that 5 GHz band and see if we have any luck with the fact this is a different distro.

While we’re at it, what card is this and what driver are you using? lspci -nnk will get you there.

Hi wxl!

Nope… But 5GHz has never worked.

wls4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::8b15:15f3:a69:2efc  prefixlen 64  scopeid 0x20<link>
        ether 00:1e:c2:a4:e1:f1  txqueuelen 1000  (Ethernet)
        RX packets 5306  bytes 4241492 (4.2 MB)
        RX errors 0  dropped 0  overruns 0  frame 3531
        TX packets 4317  bytes 856287 (856.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  

attilio@MacBook41:~$ ping 8.8.8.8
ping: connect: Network is unreachable

Here it’s

02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4321 802.11a/b/g/n [14e4:4328] (rev 03)
        Subsystem: Apple Inc. AirPort Extreme [106b:0088]
        Kernel driver in use: wl
        Kernel modules: ssb, wl

In the meantime, I’ve also tried this: I “nuked and paved” with a brand new Kubuntu 19.10, but the situation is exactly the same!

I would be very grateful if you could solve this issue!
Thanks a lot,
bye R.

Ugh. Broadcom. Always a problem.

So here’s some ideas and a collection of things found on the Internet that might help:

  1. Use the open source b43 driver instead of the proprietary wl.
  2. Try disabling the power saving features.
    1. iwconfig wls4 power off
    2. With the laptop-mode-tools package installed, set WIRELESS_BATT_POWER_SAVING=0 within /etc/laptop-mode/conf.d/wireless-power.conf.
  3. Look in /etc/modprobe.d and see if there’s anything in there that blacklists other wifi drivers, most notably the other driver you have present, ssb which is known to conflict with wl, which you’re supposedly using. Basically for any driver you are using, you should blacklist all the others.
  4. Try a lower channel with the 5 GHz band, like 40.
  5. Make sure there’s not a soft block with rfkill.
  6. Just or grins, try using the router (on both bands) without any authentication. If it works, this suggests limiting the router configuration would be helpful, e.g. no mixed mode authentication, no QoS, only one band enabled, a fixed channel, etc.

So here’s some ideas and a collection of things found on the Internet that might help

Hi,
I’m very busy for a couple of days. As soon as I get home I’ll try follow your suggestions and I’ll let you know what’s going on.

Thank you!
Bye, R.

1 Like

Hi,
I’m back to tell you that googling for my MacBook wifi card/model # I’ve eventually found the solution to all my problems! :slight_smile: :slight_smile: :slight_smile:
And the main reason was still the driver… I’ve understood it when (through a command that now I don’t remember) I’ve seen that the active working driver was still “wl” and not “b43”.
So, with the help of answer #2 posted by chili555 (https://askubuntu.com/questions/557348/apple-macbook-air-model-1-1-lubuntu-14-04-64-bit-wifi-broadcom-bcm4321-doesn) and a post by Hadaka (https://ubuntuforums.org/archive/index.php/t-2327185.html), I “purged” both wl and b43 driver, re-installed b43 and blacklisted wl:

sudo apt update
sudo apt remove --purge bcmwl-kernel-source
sudo apt remove --purge firmware-b43-installer
sudo apt install firmware-b43-installer
sudo -i
echo "blacklist wl"  >>  /etc/modprobe.d/blacklist.conf
exit

I’ve done also this

sudo iw reg set US
sudo sed -i 's/^REG.*=$/&US/' /etc/default/crda

but I’m not sure it was necessary.

With this modifications now the wifi is working perfectly, with both routers.
Thank you all guys!
Linux is always the best community!

Bye, R.

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.