View previous topic :: View next topic |
Author |
Message |
jerrry94087 n00b

Joined: 02 Mar 2008 Posts: 41
|
Posted: Thu Sep 18, 2008 6:16 pm Post subject: How to escape special chars in WiFi SSID? |
|
|
SSID of WiFi network that I want to use is in the form XXX-XXX
I am trying to write it in /etc/conf.d/net as:
key_XXX-XXX="[1] <PASSWORD> [1] open" but it seems it associates with the network but doesn't set the encryption key: Encryption key=Off
Backslash before dash doesn't seem to help. |
|
Back to top |
|
 |
jerrry94087 n00b

Joined: 02 Mar 2008 Posts: 41
|
Posted: Thu Sep 18, 2008 7:55 pm Post subject: |
|
|
I found the reply for my own question: replace any chars not in a-zA-Z0-9 with _.
Which is very weird and unexpected: what if 2 SSIDs only differ in those special chars? |
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
 |
jerrry94087 n00b

Joined: 02 Mar 2008 Posts: 41
|
Posted: Thu Sep 18, 2008 8:14 pm Post subject: |
|
|
[quote="UberLord"] jerrry94087 wrote: |
Sadly, that's a limitation of configuring in shell.
Are you currently in a situation where this is a problem?
|
No I am not in such situation.
But being an engineer I always think about these kind of things. |
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Thu Sep 18, 2008 9:46 pm Post subject: |
|
|
[quote="jerrry94087"] UberLord wrote: | jerrry94087 wrote: |
Sadly, that's a limitation of configuring in shell.
Are you currently in a situation where this is a problem?
|
No I am not in such situation.
But being an engineer I always think about these kind of things. |
Then you'll appreciate it's a known issue
Solvable yes, but it would mean a more complicated setup seeing as the only character NOT allowed in ASCII is the NULL one.
Now try and make that work with iwconfig and that's a big limitation right there regardless of configuration.
Things are a little better with wpa_supplicant, but we make no attempt to configure that. _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
 |
|