Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wifi and bluetooth no longer work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2365
Location: Kentucky

PostPosted: Sun Dec 10, 2023 2:30 am    Post subject: wifi and bluetooth no longer work Reply with quote

I had not moved my laptop from my desk where it uses a wired ethernet connection and a wired mouse for maybe 2 years. Back then both wifi and bluetooth worked. I recently took it away from its old home and now neither wifi nor my bluetooth mouse will work. I have not upgraded the kernel during that 2 year time, but I have upgraded periodically except the kernel. What might have bit-rotted? Any ideas.

Here is a sample session when I try to connect to wifi:
Code:

onesimus ~ # wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
onesimus ~ # dhcpcd wlan0
dhcpcd-10.0.3 starting
DUID 00:01:00:01:23:fa:1e:63:e0:9d:31:2d:84:a0
wlan0: waiting for carrier
timed out
dhcpcd exited
dhcpcd_fork_cb: truncated read 0 (expected 4)
onesimus ~ # wpa_cli -i wlan0 scan
FAIL-BUSY
onesimus ~ # wpa_cli -i wlan0 scan_results
bssid / frequency / signal level / flags / ssid
2c:ea:dc:b0:ab:69       2412    -65     [WPA2-PSK-CCMP][ESS]    Alamo
2c:ea:dc:b0:ab:6a       5220    -75     [WPA2-PSK-CCMP][ESS]    Alamo
0e:ea:dc:b0:ab:6a       5220    -75     [WPA2-EAP-CCMP][ESS][HS20]      Spectrum Mobile
60:31:97:0f:c4:a1       5240    -82     [WPA2-PSK-CCMP][ESS]    Fioptics01271
6a:31:97:0f:c4:a6       5240    -82     [WPA2-PSK-CCMP][ESS]
6a:31:97:0f:c4:a4       5240    -82     [WPA2-PSK-CCMP][ESS]
28:bd:89:77:90:1a       5180    -85     [WPA2-PSK-CCMP][ESS]    setup901E0
a8:97:cd:71:f7:b5       2462    -68     [WPA2-PSK-CCMP][ESS]    MySpectrumWiFiB4-2G
24:ec:99:da:27:a1       2412    -75     [WPA-PSK-CCMP+TKIP][WPA2-?][ESS]        eliblue
22:ef:bd:f1:dd:d7       5220    -83     [WPA2-PSK-CCMP][ESS][P2P]
58:24:29:92:2a:47       2437    -74     [WPA2-PSK-CCMP][ESS]    Snow Family
6c:99:61:d5:4c:76       2437    -74     [WPA2-PSK-CCMP][ESS]    SpectrumSetup-70
onesimus ~ # ifconfig -a
eth0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.1.24  netmask 255.255.255.0  broadcast 192.168.1.255
        ether 3c:97:0e:e9:0e:be  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 20  memory 0xf5300000-f5320000 

eth1: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
        ether 00:15:ff:15:79:43  txqueuelen 1000  (Ethernet)
        RX packets 10542358  bytes 7400668083 (6.8 GiB)
        RX errors 0  dropped 24  overruns 0  frame 0
        TX packets 6548151  bytes 1206203407 (1.1 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 21059099  bytes 3369931128 (3.1 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 21059099  bytes 3369931128 (3.1 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.1.24  netmask 255.255.255.0  broadcast 192.168.1.255
        ether e0:9d:31:2d:84:a0  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

onesimus ~ #


eliblue is the AP I want to connect to; it is a wifi AP & cable modem.

I can easily connect to eliblue with my iphone and my ipad, and also with a Windoze-10 box, so I know the wifi AP is working.

I need to get the wifi working, as I am currently running with a cellular hot spot tehtered to my linux box. I have only a limited amount of traffic I can transfer with this before they throttle my speed severely to the point that it is virtually useless.

I can live for now with the bt mouse not working as I have a wired mouse connected.

[/code]
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
sublogic
Apprentice
Apprentice


Joined: 21 Mar 2022
Posts: 222
Location: Pennsylvania, USA

PostPosted: Mon Dec 11, 2023 1:13 am    Post subject: Reply with quote

Quote:
Code:
24:ec:99:da:27:a1       2412    -75     [WPA-PSK-CCMP+TKIP][WPA2-?][ESS]        eliblue
Maybe recompile wpa_supplicant with USE=tkip ? The flag was turned off in the ebuilds a while back.

I'm not sure what "[WPA2-?]" means in the report, but if you can switch the router to WPA2-PSK-CCMP that would be a better solution. TKIP is deprecated.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2365
Location: Kentucky

PostPosted: Mon Dec 11, 2023 12:30 pm    Post subject: Reply with quote

Thanks! I'll give it a try. The router is just a temporary setup, but its working for everybody else, so I'm going to leave it alone. One the servers get moved into this building and we have our permanent internet connection, we will have a whole new wifi setup. If they changed a flag, and the router we have now uses that mode, that could be an explanation for what i am seeing. I am busy all morning, but I will try your suggestion this afternoon.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Mon Dec 11, 2023 3:59 pm    Post subject: Reply with quote

Sometime within the last two years, TKIP support was disabled by default. TKIP has been deprecated for many years. We had quite a number of forum threads from users who found that with TKIP disabled, if their router offered TKIP at all, wpa_supplicant failed. Disabling TKIP on the router was preferred and would get wpa_supplicant to negotiate a working setup, but it became very popular to instead re-enable the insecure and deprecated TKIP support rather than fix the router.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2365
Location: Kentucky

PostPosted: Mon Dec 11, 2023 6:52 pm    Post subject: Reply with quote

Thanks Hu! As I said above, this is just a temporary setup that will be phased out in a month or so. I don't want to rock the boat for others for whom the router works fine. There are no servers here yet, just laptops, phones, tablets, etc. I am mostly ruinning an ssh tunnel to use vnc to run the servers at the old location until they get moved here. They are still laying down the floor for the server room...
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2365
Location: Kentucky

PostPosted: Tue Dec 12, 2023 4:19 am    Post subject: Reply with quote

Re-emerging wpa_supplicant with USE=tkip did the trick; however, the clunky router/access-point has such a weak signal that my data rate is intollerably slow, so I will probably have to move my laptop, as the cable the router is connected to is not long enough to let me move the router. I was able to connect my wifi to the cellular hot-spot, and that worked fine, but of course that doesn't solve the traffic limit problem. :?

I guess I will go back to tethered connection to the hot-spot for now. Maybe I'll get one of those wifi repeaters...
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2365
Location: Kentucky

PostPosted: Tue Dec 12, 2023 8:56 pm    Post subject: Reply with quote

I added a second wifi access point to the cable modem. This new one has more power. I now have a reliable and strong signal and everything is working very well.

Thanks for everyone's help! :P
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum