-
Notifications
You must be signed in to change notification settings - Fork 402
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
Autohotspot function #967
Autohotspot function #967
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for implementing this. I think many users have been waiting for that feature.
I would suggest to include that as an selectable option in the buster-install-default.sh
script.
I would like to avoid two install scripts, which have to be maintained. The install script already causes enough issues ;-)
There is one issue, I am not sure if this script covers it: in the Web UI you can add more than one WiFi network. And the Phoniebox will connect to the available one based on a rank order or importance. Here is a screenshot of that page and some info: In the Hotspot script, the SSID and password are taken from the wpa configuration. In my understanding it is possible that there are more than one ssid / passwd combinations in that file.
|
@Groovylein The enable / disable of wifi is here: RPi-Jukebox-RFID/scripts/playout_controls.sh Line 547 in e0a0d66
:) :) :) |
Found an issue while running the crontab as root. Fixed it now. |
@s-martin you are right. I only created a separate script to test. I will merge it but I think this feature can be installed always. So no option needed. |
Multiple SSIDs and Passwords would not affect the hotspot script as long as they are defined within
It should be kept as a separate script? |
I only copied the script from the source given in line 1041 😬 I can try adapt this and solve the bug |
@MiczFlor I've tried the WebUI and the script is working as expected since the WebUI is also using a |
Hi @Groovylein @s-martin
|
@Groovylein
|
@MiczFlor what do you mean by "missing"? |
You are right. I was wrong. I thought this was part of the new hotspot setup... |
I can't see any wifi network of phoniebox in my smartphone , if my phoniebox isn't Connected to home-wlan. Do i have to install this Feature separately? Thx |
Yes, it's a separate installer script. |
Can i install it per one line installer? Do i have to install it from naked Buster Image or can i install it over an existing phoniebox? Sorry for this beginner questions :) |
Sorry i get it, i need help. I put the Code into a new PhonieboxInstall.conf on home/pi, then make chmod - x, but now i can't start the installer. Can somebody pls help? |
What commands did you execute and what results or error messages did you get? |
@Dodo121188 |
st login: Thu Nov 26 08:22:17 2020 |
Hi @Dodo121188,
If you experience more problem, please use #956 since this merge is closed |
Like in #956 requested, I created a new function in the install script to install a service that checks if a Hotspot is required.
The service checks every 5 minutes if a Hotspot is required. If required it opens up a Hotspot with following credentials:
SSID: phoniebox
Password: PlayItLoud
If connected to the Hotspot you can access the webpage via IP:
10.0.0.5
Now I need testers :)
I was only able to test it on my test environment on a RPi 4
ToDos: