You are not logged in.

#1 2023-12-28 01:33:42

InfiniteX2
Member
From: France
Registered: 2023-12-28
Posts: 2

Can't connect using wifi, NetworkManager keeps asking for password

Hello,
I'm trying to get my wifi card working on my Arch install. However, even if it seems to scan perfectly, I am not able to connect to any access point : Network Manager is trying to connect to the access point for some time, asks for the password and retries unsuccessfully.

I've installed broadcom-wl-dkms as needed by the wireless chip.

Output of lspci -k :

06:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4352 802.11ac Dual Band Wireless Network Adapter (rev 03)
        Subsystem: ASUSTeK Computer Inc. PCE-AC56 Dual-Band Wireless PCI-E Adapter
        Kernel driver in use: wl
        Kernel modules: bcma, wl

Output of ip addr :

3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state DORMANT group default qlen 1000
    link/ether 9e:12:79:58:f0:6d brd ff:ff:ff:ff:ff:ff permaddr 2c:fd:a1:61:69:76

The interface is declared as "dormant" and I'm not able to change its state with ip link set wlan0 mode default. I don't know if it's linked to the problem but seems weird.

Here is a journalctl run
As advised on some posts, since I'm running Arch in dual boot with Windows, i've disabled fast startup and hibernation through Windows.

I can provide further information if needed.
Thank you in advance for your help.

Offline

#2 2023-12-28 07:16:22

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: Can't connect using wifi, NetworkManager keeps asking for password

Stop NetworkManager and try to connect w/ wifi-menu from the netctl package.
The supplied password seems correct, some APs seriously not like MAC spoofing (even on scans) and ignore you afterwards, so of wifi-menu works you could try to completely disable https://wiki.archlinux.org/title/Networ … domization
Alternatively the MAC change might just throw broadcom off, https://wiki.archlinux.org/title/Broadcom_wireless (tl;dr: worst possible wifi chip on linux)

Offline

#3 2023-12-28 23:48:18

InfiniteX2
Member
From: France
Registered: 2023-12-28
Posts: 2

Re: Can't connect using wifi, NetworkManager keeps asking for password

I've tried to use netctl but it doesn't seem to work.
Output of netctl status wlan0-GFBX

× netctl@wlan0\x2dGFBX.service - Networking for netctl profile wlan0-GFBX
     Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static
)
     Active: failed (Result: exit-code) since Fri 2023-12-29 00:21:49 CET; 22min ago
   Duration: 15.807s
       Docs: man:netctl.profile(5)
    Process: 7996 ExecStart=/usr/lib/netctl/network start wlan0-GFBX (code=exited, status=1/FAILURE)
   Main PID: 7996 (code=exited, status=1/FAILURE)
        CPU: 14ms

Dec 29 00:21:49 inf-pc systemd[1]: Starting Networking for netctl profile wlan0-GFBX...
Dec 29 00:21:49 inf-pc network[7996]: Starting network profile 'wlan0-GFBX'...
Dec 29 00:21:49 inf-pc network[7996]: The interface of network profile 'wlan0-GFBX' is already up
Dec 29 00:21:49 inf-pc systemd[1]: netctl@wlan0\x2dGFBX.service: Main process exited, code=exited, status=1/FAILU
RE
Dec 29 00:21:49 inf-pc systemd[1]: netctl@wlan0\x2dGFBX.service: Failed with result 'exit-code'.
Dec 29 00:21:49 inf-pc systemd[1]: Failed to start Networking for netctl profile wlan0-GFBX.

However it looks like the interface is now up :
Output of ip addr :

3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 2c:fd:a1:61:69:76 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::2efd:a1ff:fe61:6976/64 scope link proto kernel_ll 
       valid_lft forever preferred_lft forever

I tried to run dhcpcd but it doesn't work :
Output of dhcpcd :

wlan0: connected to Access Point: 
enp9s0: waiting for carrier
wlan0: IAID a1:61:69:76
wlan0: soliciting a DHCP lease
wlan0: soliciting an IPv6 router
wlan0: no IPv6 Routers available
timed out

I sadly know the reputation of Broadcom wifi interfaces in the community but it's the only one I got now hmm
Thanks for your first suggestions.

Offline

#4 2023-12-29 07:58:40

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: Can't connect using wifi, NetworkManager keeps asking for password

This

Dec 29 00:21:49 inf-pc network[7996]: The interface of network profile 'wlan0-GFBX' is already up

should not be the case, there's still sth. else configuring the network (in any event, netctl will simply refuse action here)

You *did* stop the networkmanager services beforehand, did you?
In doubt disable NM, post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

and reboot, then try wifi-menu again.

dhcpcd won't work w/o a carrier, please don't start random processes, you're creating a moving target.

Offline

Board footer

Powered by FluxBB