balena-os / wifi-connect

Easy WiFi setup for Linux devices from your mobile phone or laptop
Apache License 2.0
1.28k stars 355 forks source link

Unable to join the Access Point after set passphrase #501

Open OmegaMonster opened 1 year ago

OmegaMonster commented 1 year ago

Hello guys,

Im using Orange Pi 3 LTS (Aarch 64). So i had to download the file "https://github.com/balena-os/wifi-connect/releases/download/v4.11.1/wifi-connect-v4.11.1-linux-aarch64.zip" and unzip it inside my pi.

So when i execute the command "sudo ./wifi-connect , i able to join the network and choose the desired wifi network to join. Whereas when i add the passphrase, couldnt join the access point. From my phone perspective, im getting "access denied"

Long story short, it works when i didnt put passphrase. Anyone can guide me on this please?

thanhtantran commented 2 days ago

I have the same problem. After going into the captive portal, choose the Wifi and input the passphrase, but the device not connect to the internet. The hotspot automatic stopped and my phone cannot load the 192.168.42.1 again.

I am using Orange Pi 3B, Ubuntu Jammy with Linux 5.10.160

thanhtantran commented 1 day ago

here is the log from NetworkManager. it received the ssid and passphrase, but cannot connected

Sep 19 15:44:44 OrangePiVietnam NetworkManager[839]: <info>  [1726735484.5547] Config: added 'ssid' value 'T&T Trading'
Sep 19 15:44:44 OrangePiVietnam NetworkManager[839]: <info>  [1726735484.5547] Config: added 'scan_ssid' value '1'
Sep 19 15:44:44 OrangePiVietnam NetworkManager[839]: <info>  [1726735484.5548] Config: added 'bgscan' value 'simple:30:-70:86400'
Sep 19 15:44:44 OrangePiVietnam NetworkManager[839]: <info>  [1726735484.5549] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK SAE FT-SAE'
Sep 19 15:44:44 OrangePiVietnam NetworkManager[839]: <info>  [1726735484.5550] Config: added 'auth_alg' value 'OPEN'
Sep 19 15:44:44 OrangePiVietnam NetworkManager[839]: <info>  [1726735484.5551] Config: added 'psk' value '<hidden>'
Sep 19 15:44:45 OrangePiVietnam NetworkManager[839]: <info>  [1726735485.6143] device (wlan0): supplicant interface state: disconnected -> scanning
Sep 19 15:44:45 OrangePiVietnam NetworkManager[839]: <info>  [1726735485.6144] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
Sep 19 15:44:48 OrangePiVietnam NetworkManager[839]: <info>  [1726735488.2340] device (wlan0): supplicant interface state: scanning -> associating
Sep 19 15:44:48 OrangePiVietnam NetworkManager[839]: <info>  [1726735488.2343] device (p2p-dev-wlan0): supplicant management interface state: scanning -> associating
Sep 19 15:44:58 OrangePiVietnam NetworkManager[839]: <info>  [1726735498.8291] device (wlan0): supplicant interface state: associating -> disconnected
Sep 19 15:44:58 OrangePiVietnam NetworkManager[839]: <info>  [1726735498.8294] device (p2p-dev-wlan0): supplicant management interface state: associating -> disconnected
Sep 19 15:44:58 OrangePiVietnam NetworkManager[839]: <info>  [1726735498.9365] device (wlan0): supplicant interface state: disconnected -> scanning
Sep 19 15:44:58 OrangePiVietnam NetworkManager[839]: <info>  [1726735498.9368] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
Sep 19 15:44:59 OrangePiVietnam NetworkManager[839]: <info>  [1726735499.7805] device (wlan0): state change: config -> deactivating (reason 'connection-removed', sys-iface-state: 'managed')
Sep 19 15:44:59 OrangePiVietnam NetworkManager[839]: <info>  [1726735499.7844] manager: NetworkManager state is now DISCONNECTING
Sep 19 15:44:59 OrangePiVietnam NetworkManager[839]: <info>  [1726735499.7933] audit: op="connection-delete" uuid="1060ac7e-d055-4092-8ebe-74e9d2b8b2f5" name="T&T Trading" pid=1934 uid=0 result="success"
Sep 19 15:44:59 OrangePiVietnam NetworkManager[839]: <warn>  [1726735499.8793] device (wlan0): Deactivation failed: GDBus.Error:fi.w1.wpa_supplicant1.NotConnected: This interface is not connected
Sep 19 15:44:59 OrangePiVietnam NetworkManager[839]: <info>  [1726735499.8798] device (wlan0): state change: deactivating -> disconnected (reason 'connection-removed', sys-iface-state: 'managed')
Sep 19 15:44:59 OrangePiVietnam NetworkManager[839]: <info>  [1726735499.8891] manager: NetworkManager state is now DISCONNECTED