-
Notifications
You must be signed in to change notification settings - Fork 14
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
update ap_sta_config.sh #3
Conversation
ipitio
commented
Aug 17, 2021
•
edited
Loading
edited
- Added some changes from a pull request to rpi-wifi: update to buster lukicdarkoo/rpi-wifi#26
- Added 802.11n support to hostapd.conf
- Fixed bash variable syntax and a typo in manage-ap0-iface.sh
- Disabled wifi controller power_save
- Added path to commands in rpi-wifi.sh
* Added some changes from a pull request to rpi-wifi: lukicdarkoo#26 * Added 802.11n support to hostapd.conf, as well as restricted it to allowed frequencies * Fixed bash variable syntax and a typo in manage-ap0-iface.sh
* Added paths to commands to prevent "command not found" errors * Added set power_save off commands, since the pi wifi controller has power_save on by default, to prevent the pi from becoming randomly inaccessible
Hi @ipitio Thanks for contribution. Sorry for late reply i was never notified by github about this. I ask for that because this script is used every day in production in our devices and i need to be sure before merge anything. |
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.
why use systemctl status hostapd instead of service??
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.
why add /sbin/ before each command?
There is a power save mode on Wifi on buster? I never see anything about this.
It's turned on by default?
Hi, sorry for not elaborating! The changes from rpi-wifi#26 may actually be outdated as per the latest commit. In hostapd.conf, the change to enable 802.11n and wmm may result in better speeds and the change to the wpa parameters fix syntax.
If someone doesn't have
There is a power save mode, though I'm not sure whether it's turned on by default; you can check whether it's enabled for wlan0 with |
Thx for reply @ipitio I need to improve changes on my side. Have you push these modifications on you repo? Can i use it for testing the changes? |
Just pushed the latest changes from #26, didn't test yet. The source given for those changes includes instructions for configuring a bridge between eth0 and ap0, which I can implement later. |
@ipitio |
@ipitio I executed your branch, but got the following error: |
This error seems to be caused by a leftover variable declaration from the previous version. I replaced the variables that were causing the error, and it seems to be working well for me so far:
edit: I also made the changes @davidmurdoch suggested ( |
Thanks @akumpf! What did you replace the variables with? @MkLHX @davidmurdoch |
Thank you. I know RasAP but it to more complex for my use case but it's a really good project. |
cron job manager is script launch at the en of ap_sta_config.sh |
Also i have to repeat my post on september 2020 here: |
@MkLHX @ipitio @davidmurdoch I also spotted a couple other things (like a reference to What is super nice about this version:
Best approach might be to keep the existing scripts as-is, and create a new V2.x.x script (named |
Yep! |
…nimatch-3.0.8 Bump minimatch from 3.0.4 to 3.0.8 in /docs