New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wifi connection showing not connected - even when it is #31
Comments
Hardware? OS? nmcli installed? This bootom not connected means ethernet connection - look in setting, maybe you have selected loopback not eth0. |
Thank you for the suggestions - I have nmcli installed which was installed prior to installing Spyguard. HardwareRaspberry Pi 4 Model B Rev 1.4 OSPRETTY_NAME="Debian GNU/Linux 12 (bookworm)" eth0 and lo network Settingseth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 Not sure if anything jumps out in the above ? I have swapped over wlan0 and wlan1 but that doesn't seem to make any difference. The scan and reports work in either of these configurations although I understand the preferred arrangement is wlan1 for internet and wlan0 for AP which is how I've got it set up ? |
Sorry if this is looping the same question/answer as above, but have you gone into raspi-config (opt 5 then AA from memory) and changed the network handler to nmcli? This one got me repeatedly. |
Thanks for the suggestions - I've looked through the raspi-config menu and there does not appear to be a menu option for network handler anymore. The menu options in raspi-config seem to have changed since the Bookworm update. The network configuration is now handled by a new graphical tool nmtui but this does not appear to have an option to select the network manager either? nmcli is running and reports the following: wlan0: connected to D-link-943f wlan1: connected to Netgear6267 lo: connected (externally) to lo p2p-dev-wlan0: disconnected eth0: unavailable DNS configuration: I've carried out some more testing and when set-up using wlan1 for Internet and wlan0 for AP I see this : If I swap them round I see this : where the wifi connection on the left indicates its dropped. I can't get my head round whats going on but something is clearly not right. Happy to try any suggestions as I've run out of ideas. |
Yeah the raspi-config is different in bookworm. Out of interest, do you have a USB WiFi stick you can plug in and see if you get the same issue? Also, is the clone up to date with a full uninstall/reinstall? There's been several mods of late to deal with some issues. I know it sounds obvious, but just a thought! |
Good News ! I've reinstalled Spyguard and it now appears to be working ! The only weird thing is if I use wlan0 as the access point and wlan1 for the internet connection it fails to create the access point. If I reverse the adapters in the backend its works fine. Not sure why its behaving that way. But at least its working with Access point wlan1 and internet wlan0 . Be nice to understand what causes that issue but at least its up and running. Thank you |
I would tail syslog when setting wlan0 as the AP, see if you get the |
Just checked the syslog , and yes I see nl80211 driver interface is not designed to be used with ap_scan=2 message. I guess this is an issue with the particular usb wifi dongle I'm using ( RALINK 5370 802.11N) I've also tried an Asus N150 -USB N10 Nano (Realtek 8188) The RALINK will allow devices to connect and run scans but only when AP is set to Ralink adapter and Internet to onboard Wi-Fi (atheros 8495) The ASUS creates the AP but nothing will connect, I'm guessing this is a driver issue? Anyway to fix it or will I need to get hold of specific usb wifi adapter ? |
Thanks for confirming I'll try and source an adapter with RTL8852 chipset and hopefully that will resolve the issue. |
I'll have a look at it in the next few days and then answer you here. |
I've successfully installed Spyguard on RaspOs Bookworm on Raspberry Pi 4.
All works fine but it shows as Wifi not connected at the bottom right of the capture screen.
However, it is connected, scans and creates reports correctly.
I've tried swapping round the on board WiFi with usb dongle for AP and Internet link, but it makes no difference in either configuration.
Everything looks correct in the new network manager for bookworm sudo nmtui
Anyone else seen this issue and found a solution ?
The text was updated successfully, but these errors were encountered: