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

xbian-config: "," in SSID breaks wifi network list #920

Open
Rhino-Cracker opened this issue Sep 21, 2022 · 2 comments
Open

xbian-config: "," in SSID breaks wifi network list #920

Rhino-Cracker opened this issue Sep 21, 2022 · 2 comments

Comments

@Rhino-Cracker
Copy link

image
The 3rd network in the List was called "Ralf-Vodafone-5,0GHz" and WPA2/3 protected (you can use one of both).
xbian-config places everything right from the "," into the column "Type". Don't know what happens to the "5" left from the ",".
Connecting is not possible with this name.

Not necessarily but possibly related to this: My Kodi cannot list wifi networks anymore.

@Rhino-Cracker
Copy link
Author

Rhino-Cracker commented Sep 21, 2022

I've done some pre-work.
You can find the allowed chars for SSIDs here.
According with that ASCII-Table it results in the following rules:

  • 1 first char: %&'()*,-./0-9:<=>@a-z^_`a-z{|}~
  • 0-30 mid-chars: !#%&'()*,-./0-9:;<=>@a-z^_`a-z{|}~
  • 1 end char: !#%&'()*,-./0-9:;<=>@a-z^_`a-z{|}~

(not sure which of them have to be escabed for bash/grep regex)
(0-9, a-z, A-Z are meant as groups of all digits, letters, while ,-. is meant as the literal chars , - and .)

@mkreisl
Copy link
Contributor

mkreisl commented Oct 16, 2022

Two packages are now available in the staging repository for testing (xbian-package-config-shell and xbian-package-config-xbmc).
The problem is that the comma is essential for the internal functioning of xbian-config CLI and cannot be bypassed. So the solution is to UTF-escape the comma in the SSID and convert it back in Kodi's xbian-config GUI. In the xbian-config CLI, however, the comma is displayed as \u002c and this is not changed. It is simply not worth it.

For me, SSIDs that contain a comma are displayed correctly, but I can't connect because my AP (hostapd) simply won't cooperate. The connection does not work with an Android 12 mobile phone either.

mkreisl added a commit to xbianonpi/xbian-package-config-shell that referenced this issue Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants