cizia64 / CrossMix-OS

Enhanced OS for the TrimUI Smart Pro
GNU General Public License v3.0
279 stars 31 forks source link

Add wifi SSID:pwd manually ? #192

Closed Mik027 closed 2 months ago

Mik027 commented 2 months ago

Hi, Is it possible to allow adding the SSID and password of a hidden Wi-Fi network ? I tried to temporarily show and then hide the Wi-Fi during the configuration, but once it’s hidden again, I lose the Wi-Fi connection.

2Bane commented 2 months ago

Use the on device file manager (or any other remote method that can access root and edit text files)

Navigate to /etc/wifi/wpa_supplicant.conf

Edit SSID line and psk

Mik027 commented 2 months ago

Thank you, but it doesn't work. My network credentials are correctly entered in the file you advised me to edit. I even deleted the other Wi-Fi hotspots that I had added afterward for testing, to prevent the device from connecting to those first. Despite this, nothing changes. I cannot connect as long as my SSID is hidden by my router.

Mik027 commented 2 months ago

Solved ! Edit /etc/wifi/wpa_supplicant.conf Add scan_ssid=1 Restart machine

network={ ssid="your_hidden_ssid" scan_ssid=1 psk="your_password" }

Thank you @2Bane for pointing me towards the solution.

digitaldivergence commented 1 month ago

@Mik027 - I tried your suggestion for a visible SSID - as my wifi was not persistant - every time powersaving started lost connection and had to re-enter SSID and Pwd again. Edited the file as you suggested - but after saving and opening again - file is blank again ? Any thoughts ?

Mik027 commented 1 month ago

@digitaldivergence I don't have this issue. Two weeks later, and no problem. Sometimes, I need to rescan Wi-Fi spots to re-enable the connection. So, we can assume that your problem doesn't come directly from there.

How are you editing the .conf file ? Directly on the Trimui, or via your PC ? Are you on the latest version of Crossmix ? Did you make any previous settings or modifications ?

digitaldivergence commented 1 month ago

Hi - thanks for the reply ...

I was editing in notepad on the PC - whilst connected via SMB. Whatever I edited went back to 0k so wondering if I have SD card issue again (Seems to be so common on the TrimUI). Running Crossmix 1.2.1 ..... I've got a stock SD card - let me try and swap it back, However that conf file isnt in crossmix right ? It's on the actual device area ? Could it be a permissions issue?

Regards Marc

On Sat, 14 Sept 2024 at 14:59, Mik @.***> wrote:

@digitaldivergence https://github.com/digitaldivergence I don't have this issue. Two weeks later, and no problem. Sometimes, I need to rescan Wi-Fi spots to re-enable the connection. So, we can assume that your problem doesn't come directly from there.

How are you editing the .conf file ? Directly on the Trimui, or via your PC ? Are you on the latest version of Crossmix ? Did you make any previous settings or modifications ?

— Reply to this email directly, view it on GitHub https://github.com/cizia64/CrossMix-OS/issues/192#issuecomment-2350901195, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKVRARHFMESPNOT62LJJ2R3ZWPUFVAVCNFSM6AAAAABNLBOKOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJQHEYDCMJZGU . You are receiving this because you were mentioned.Message ID: @.***>

-- Marc Walker Skype: digitaldivergence LINE: marc_walker_one Mb: +66 8 3091 1433 LinkedIN: https://www.linkedin.com/in/marcdswalker/ Email: @.***