Public Wifi auto authentication ?

Help setting up WiFi
Post Reply
User avatar
VE3WZW
Posts: 21
Joined: Sat Apr 14, 2018 8:40 am
Location: http://zello.com/VE3WZW
Contact:

Public Wifi auto authentication ?

Post by VE3WZW » Fri May 22, 2020 7:22 pm

Okay so I travel, and I enjoy using my pi-star hotspot. My issue is often I may not have a cellphone or mobile phone in the Caribbean or small islands or other countries. I am hoping others can offer suggestions or solutions For WIFI, example coffee shop wifi.

Often coffee shops are available, hence I would like to configure the hotspot wifi file to be configured with McDonald’s, Starbucks, Timhortons and other (POPULAR) free wifi. (total of 5) wifi with auto authentication.

HOW DO :: you setup the auto authentication for McDonald’s wifi ?????? With no key_mgmt=WPA-PSK used.



created a wpa_supplicant file and added to the boot directory of the SD card.

network={
#ssid="Mcdonalds"
ssid=Mcdonalds
scan_ssid=1
#psk="Xxx"
psk=Xxx
id_str="0"
priority=80
}

network={
#ssid="Tim Horton"
ssid=TimsHorton
scan_ssid=1
#psk="Xxxx"
psk=Xxxxx
id_str="0"
priority=70
}


network={
ssid="FirstSSID"
psk="password"
key_mgmt=WPA-PSK
id_str="0"
priority=68
}

network={
ssid="SecondSSID"
psk="password"
key_mgmt=WPA-PSK
id_str="1"
priority=66
}

Note :: I’ve also checked the documentation from Toshen, KE0FHS with no luck



Please show detailed examples what the file may look like ?????

Thanks,
Last edited by VE3WZW on Fri May 22, 2020 7:50 pm, edited 1 time in total.
📻 🎙/ VE3WZW is Active on :: NXDN, P25, DMR, C4FM \📡 🛰
Andre
Toronto, Canada 🇨🇦
DMR blog: http://VE3WZW.net
QRZ page : https://www.qrz.com/db/VE3WZW

Groups.io
https://groups.io/g/PiStar

User avatar
VE3WZW
Posts: 21
Joined: Sat Apr 14, 2018 8:40 am
Location: http://zello.com/VE3WZW
Contact:

Re: POPULAR free wifi auto authentication ?

Post by VE3WZW » Fri May 22, 2020 7:41 pm

I believe I saw what seems to be a popular reply
No, it's been mentioned many times before in the FB group. Currently there's no method built into pi-star to aid you joining a 'captive portal'
You could usb tether too ur phone or laptop and use it to join the network, the pistar hotspot then gains access through the phone, laptop.
Andrew M1DNS, (MOD)
It can not be done

Public Wifi Issue
viewtopic.php?f=40&t=926

It does say something if many are asking the same same question ....

KE7FNS
Posts: 1137
Joined: Wed Apr 17, 2019 11:11 pm

Re: Public Wifi auto authentication ?

Post by KE7FNS » Fri May 22, 2020 8:54 pm

VE3WZW wrote:
Fri May 22, 2020 7:22 pm
HOW DO :: you setup the auto authentication for McDonald’s wifi ?????? With no key_mgmt=WPA-PSK used.
If the wifi hotspot is open there is NO authentication, so you have to specify that in wpa_supplicant for the network or else it won't work.

Code: Select all

key_mgmt=NONE
Some open wifi hotspots have a user agreement that you need a web browser to click accept in order to gain access. You might be able to install a text based web browser such as lynx to display and accept the agreement from the console.

Even if you bother with all of that there is no guarantee that the ports will be forwarded correctly so you might only have web access through the hotspot, and nothing else works. You'll have to experiment and see.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol:

M1DNS
Posts: 843
Joined: Thu Apr 05, 2018 5:30 am

Re: Public Wifi auto authentication ?

Post by M1DNS » Sun May 24, 2020 10:55 pm

4.1.2 has captive portal abilty with pistar setup AP.

Sent from my SM-G935F using Tapatalk


Andrew M1DNS.
Pi-star Admin Team.

User avatar
VE3WZW
Posts: 21
Joined: Sat Apr 14, 2018 8:40 am
Location: http://zello.com/VE3WZW
Contact:

Re: Public Wifi auto authentication ?

Post by VE3WZW » Mon May 25, 2020 9:07 pm

Thanks to everyone (Andrew M1DNS)

So I am almost complete,
I now posted how to use : Pi-star WiFi captive portal

viewtopic.php?f=40&t=2754

Thanks again.

M1DNS
Posts: 843
Joined: Thu Apr 05, 2018 5:30 am

Re: Public Wifi auto authentication ?

Post by M1DNS » Tue May 26, 2020 9:58 am

No need to thank me. Everyone, (Andy) did all the hard work on this. I just took 30secs out to make you all aware.
Glad you got it up and sorted and it's working for you.

Sent from my SM-G935F using Tapatalk



Andrew M1DNS.
Pi-star Admin Team.

Post Reply