RB5 unable to connect to hotspot
-
I've been trying to connect to different wifi networks and I'm unable to succeed on that.
WPA supplicant file is being updated as below:ctrl_interface=/var/run/wpa_supplicant update_config=1 network={ #WPA-PSK ssid="Test1" key_mgmt=WPA-PSK psk="abcdefgh" }And I just can't see any error but the connection is not established. Test1 is a hotspot on my cellphone, should I use WPA2-PSK instead?
Hotspot settings are as follows:
SSID: Test1 Protocol: Wi-Fi 4 (802.11n) Security type: WPA2-Personal Network band: 2.4 GHz Network channel: 1Thanks
-
Hi @Francesco-Jacomel ,
This is an example of our WPA supplicant used at the factory during setup:
# Only WPA-PSK is used. Any valid cipher combination is accepted. ctrl_interface=/var/run/wpa_supplicant update_config=1 network={ ssid="Foo" key_mgmt=WPA-PSK pairwise=TKIP CCMP group=TKIP CCMP psk="Bar" } wowlan_triggers=magic_pktThese got things connected on our network. I've not dug into the params myself though so 'use at own security risk'

-
Hi @Francesco-Jacomel ,
This is an example of our WPA supplicant used at the factory during setup:
# Only WPA-PSK is used. Any valid cipher combination is accepted. ctrl_interface=/var/run/wpa_supplicant update_config=1 network={ ssid="Foo" key_mgmt=WPA-PSK pairwise=TKIP CCMP group=TKIP CCMP psk="Bar" } wowlan_triggers=magic_pktThese got things connected on our network. I've not dug into the params myself though so 'use at own security risk'

@modaltb It's the pretty same as I have here.
I've tried keeping the pairwise and group for some attempts but also didn't work. -
@Francesco-Jacomel Are you rebooting your RB5 Flight after modifying the wpa_supplicant file?
@tom Yep, after any change on the file I'm rebooting.
-
@Francesco-Jacomel Are you able to connect to any WiFi network? i.e. your home / office network?
@tom I've tried two different networks so far, one from my company so a firewall might be affecting the connection attempt through WPA, other using my iPhone Hotspot which is WPA2 so I'm unsure whether this might be an issue. I'm setting up a new one with no restrictions (no firewall, no wpa2).
I'll update here accordingly.
Thanks -
I've set up a new network with very few restrictions and now it is connected to the network! Thank you very much for your support!
-
Not to necro a thread, but if you're using WPA2 you need to supply a country code at the top of the wpa_supplicant such as
# Only WPA-PSK is used. Any valid cipher combination is accepted. country=US ctrl_interface=/var/run/wpa_supplicant update_config=1 network={ ssid="Foo" psk="Bar" } wowlan_triggers=magic_pktI was having trouble connecting to our local internet until I did this.
-
Not to necro a thread, but if you're using WPA2 you need to supply a country code at the top of the wpa_supplicant such as
# Only WPA-PSK is used. Any valid cipher combination is accepted. country=US ctrl_interface=/var/run/wpa_supplicant update_config=1 network={ ssid="Foo" psk="Bar" } wowlan_triggers=magic_pktI was having trouble connecting to our local internet until I did this.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login