Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
775 stars 188 forks source link

Automatic wifi connection #799

Open wouam31200 opened 6 months ago

wouam31200 commented 6 months ago

Hello everyone, I can't make an automatic connection to wifi.

In build I activated:

package wpa_supplicant
package wireless

package autonet

In the thinstation.conf file I added:

WIRELESS_ESSID="MyWIFIName"
WIRELESS_MODE="auto"
WIRELESS_WPAKEY="MyPassword"

Could someone enlighten me? Thank you so much

Thinstation commented 6 months ago

Try something more like this, WIRELESS_WPAKEY="Simple123" WIRELESS_DRIVER=wext WIRELESS_ESSID="Devices"

On Sat, Dec 30, 2023 at 3:40 AM wouam31200 @.***> wrote:

Hello everyone, I can't make an automatic connection to wifi.

In build I activated:

package wpa_supplicant package wireless

package autonet

In the thinstation.conf file I added:

WIRELESS_ESSID="MyWIFIName" WIRELESS_MODE="auto" WIRELESS_WPAKEY="MyPassword"

Could someone enlighten me? Thank you so much

— Reply to this email directly, view it on GitHub https://github.com/Thinstation/thinstation/issues/799, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVW47Q57UQIWFV5HZYCYDTYL7VRPAVCNFSM6AAAAABBHN5HOKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DANZQHA4TKMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

wouam31200 commented 6 months ago

Hi, thanks for the quick response. I managed to get it working:

package wpa_supplicant
package wireless

#package networkmanager
package autonet

and for wifi

WIRELESS_ESSID="MyWIFIName"
WIRELESS_WPAKEY="MyPassword"
pripravka commented 1 month ago

I faced that from thinstation.config.user system don`t get paramters WIRELESS_ESSID, WIRELESS_WPAKEY, but give it from thinstation.conf.buildtime...

plastilincheg commented 1 week ago

I'm trying to pull the Wi-Fi settings from thinstation.conf.user - it doesn't work. If the same parameters:

WIRELESS_ESSID="SSID" WIRELESS_WPAKEY="PASS" WIRELESS_MODE="managed"

filled in thinstation.conf.buildtime - then everything works. Are there any workarounds to force the network parameters to be loaded from an external file, so that when you change the Wi-Fi password, you don’t have to rebuild the image?

Thinstation commented 1 week ago

A design decision had to be made, or was made..... A local file is read at the same time as network files. For this to happen, the network must already be up. So it's a chicken and egg thing. It could be possible to maybe look twice..... On Sunday, June 30, 2024 at 03:03:51 AM MDT, plastilincheg @.***> wrote:

I'm trying to pull the Wi-Fi settings from thinstation.conf.user - it doesn't work. If the same parameters:

WIRELESS_ESSID="SSID" WIRELESS_WPAKEY="PASS" WIRELESS_MODE="managed"

filled in thinstation.conf.buildtime - then everything works. Are there any workarounds to force the network parameters to be loaded from an external file, so that when you change the Wi-Fi password, you don’t have to rebuild the image?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Thinstation commented 1 week ago

NetworkManager starts later, but does not support network files. It might work for you depending on your total implementation. I think you can have both autonet and NetworkManager, but might be best to choose one. On Sunday, June 30, 2024 at 08:02:44 AM MDT, Don Cupp @.***> wrote:

A design decision had to be made, or was made..... A local file is read at the same time as network files. For this to happen, the network must already be up. So it's a chicken and egg thing. It could be possible to maybe look twice..... On Sunday, June 30, 2024 at 03:03:51 AM MDT, plastilincheg @.***> wrote:

I'm trying to pull the Wi-Fi settings from thinstation.conf.user - it doesn't work. If the same parameters:

WIRELESS_ESSID="SSID" WIRELESS_WPAKEY="PASS" WIRELESS_MODE="managed"

filled in thinstation.conf.buildtime - then everything works. Are there any workarounds to force the network parameters to be loaded from an external file, so that when you change the Wi-Fi password, you don’t have to rebuild the image?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>