Skip to content
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

[Bug]: Cannot connect to Chinese SSID on first login #6848

Open
1 of 2 tasks
SeeleVolleri opened this issue Jun 30, 2024 · 2 comments
Open
1 of 2 tasks

[Bug]: Cannot connect to Chinese SSID on first login #6848

SeeleVolleri opened this issue Jun 30, 2024 · 2 comments
Labels
Bug Something isn't working as it should

Comments

@SeeleVolleri
Copy link
Contributor

What happened?

The armbian-firstlogin script cannot connect to Chinese SSID, such as:

         Cell 10 - Address: 11:45:14:19:19:81
                    ESSID:"\xE6\xB5\x81\xE9\x87\x8F\xE4\xB9\x8B\xE5\xBE\x8B\xE8\x80\x85"
                    Mode:Managed
                    Frequency:5.18 GHz (Channel 36)
                    Quality:5/5  Signal level:-46 dBm  Noise level:-93 dBm
                    Encryption key:off
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 9 Mb/s; 18 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s

How to reproduce?

1, rebuild
2, reflash firefly-itx-3588j
3, boot

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Other

Are you building on Windows WSL2?

  • Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@SeeleVolleri SeeleVolleri added the Bug Something isn't working as it should label Jun 30, 2024
Copy link

Jira ticket: AR-2397

@SeeleVolleri
Copy link
Contributor Author

SeeleVolleri commented Jun 30, 2024

It seems need to convert from hex first, then use wpa_passphrase to connect.
something like

ssid=$(echo -e '\xE6\xB5\x81\xE9\x87\x8F\xE4\xB9\x8B\xE5\xBE\x8B\xE8\x80\x85' | sed 's/\\x//g')
wpa_passphrase $ssid $password

I don't know how script called wpa_supplicant to connect the network, so I can only got this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as it should
Development

No branches or pull requests

1 participant