iiab / iiab-admin-console

GUI (Admin Console) to configure IIAB and install content
GNU General Public License v2.0
12 stars 16 forks source link

Add option to change hotspot password #546

Closed tim-moody closed 10 months ago

tim-moody commented 11 months ago
holta commented 11 months ago

Sounds great, per @nzola's request.

Add option to Control panel, only RPI supported

Note that some people really do run IIAB on refurb'd / typically older laptops with internal WiFi hotspots, as explained here:

https://wiki.iiab.io/go/FAQ#Can_I_create_a_Wi-Fi_hotspot_using_an_old_laptop%3F

(So the functionality should really work identically there, just like with Raspberry Pi, generally with the laptop OS being Ubuntu or Mint or Debian.)

holta commented 11 months ago

Aside / hopefully it's completely extraneous and irrelevant (to @nzola's request here!) that dhcpcd is being replaced by NetworkManager on Raspberry Pi OS Bookworm — [so they are now revising] their documentation on "Setting up a Wireless Access Point" here:

PS This new OS will have many revisions when apparently arriving imminently in coming weeks, with testing looking solid so far, thanks to @EMG70:

tim-moody commented 11 months ago

Then I would say all bets are off.

holta commented 11 months ago

FYI Raspberry Pi OS's dhcpcd to NetworkManager change might not be as consequential or fearsome as it sounds.

e.g. if hostapd is still handling the internal hotspot in the end, and it generally all works, as several have in fact suggested (but I have not verified myself!)

tim-moody commented 11 months ago

First of all and after looking into implementing this, I would like to add the security flag and password to the existing Config Internal Wi-Fi Access Point panel. So you will first have to turn on password security and run ICO. This way I am not rewriting existing network functionality. Then if it is turned on you will be able to change the password under Control.

holta commented 11 months ago

Is the conclusion that enabling a hotspot password might take 2-4 minutes — i.e. if the hotspot does not already have a password?

Whereas subsequent changing of the password should be very fast?

tim-moody commented 11 months ago

yes. took 2 min 40s on my rpi 4 to go from unsecure enabled to secure enabled.

nzola commented 11 months ago

yes. took 2 min 40s on my rpi 4 to go from unsecure enabled to secure enabled.

Great News! Thanks @tim-moody

holta commented 11 months ago

Should now be implemented by @tim-moody's:

@nzola let us know how this works for you?

holta commented 11 months ago

@nzola let us know how this works for you?

"Your IIAB's internal Wi-Fi hotspot password is now rapidly changeable." is now posted to...

https://github.com/iiab/iiab/wiki/IIAB-8.1-Release-Notes#whats-new

tim-moody commented 11 months ago

Adm Cons help still needs editing too

holta commented 11 months ago

@nzola see also @tim-moody's new PR — regarding variable wifi_up_down — that toggles between dual-purpose internal WiFi and single-purpose internal WiFi:

Can you help us test this out?

nzola commented 11 months ago

Yes. I will test it when I return home tonight.

On Thu, Oct 5, 2023, 11:13 a.m. A Holt @.***> wrote:

@nzola https://github.com/nzola see also @tim-moody https://github.com/tim-moody's new PR — regarding variable wifi_up_down — that toggles between dual-purpose internal WiFi and single-purpose internal WiFi:

Can you help us test this out?

— Reply to this email directly, view it on GitHub https://github.com/iiab/iiab-admin-console/issues/546#issuecomment-1749415166, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEH5MM4BBM7YHNYDP4PO3DLX532GBAVCNFSM6AAAAAA5IGU37GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZGQYTKMJWGY . You are receiving this because you were mentioned.Message ID: @.***>

holta commented 10 months ago

Yes. I will test it when I return home tonight.

@nzola is it ok to close this ticket?

nzola commented 10 months ago

@holta please don't close yet. I will run fresh IIAB installs this week. If all is ok, I will let you know to close it. So far, i have not run any new install yet, but upgrade only.

nzola commented 10 months ago

Yes. I will test it when I return home tonight.

@nzola is it ok to close this ticket?

@holta Tested with fresh IIAB install ok. Please close this issue. @tim-moody Thank you so much for your help!