Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to escape special chars in WiFi SSID?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jerrry94087
n00b
n00b


Joined: 02 Mar 2008
Posts: 41

PostPosted: Thu Sep 18, 2008 6:16 pm    Post subject: How to escape special chars in WiFi SSID? Reply with quote

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
View user's profile Send private message
jerrry94087
n00b
n00b


Joined: 02 Mar 2008
Posts: 41

PostPosted: Thu Sep 18, 2008 7:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Sep 18, 2008 8:09 pm    Post subject: Reply with quote

jerrry94087 wrote:
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?


Sadly, that's a limitation of configuring in shell.
Are you currently in a situation where this is a problem?
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
jerrry94087
n00b
n00b


Joined: 02 Mar 2008
Posts: 41

PostPosted: Thu Sep 18, 2008 8:14 pm    Post subject: Reply with quote

[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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Sep 18, 2008 9:46 pm    Post subject: Reply with quote

[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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum