LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to set two-part ESSID as default with iwconfig, e.g. 6563 5221 (http://www.linuxquestions.org/questions/linux-networking-3/how-to-set-two-part-essid-as-default-with-iwconfig-e-g-6563-5221-a-650131/)

wkdude18 06-18-2008 01:34 PM

How to set two-part ESSID as default with iwconfig, e.g. 6563 5221
 
The primary network in my house has an essid of 6563 5221. However the tow parts are separated by a space. So when I type for instance, when I type

iwconfig eth0 essid 6563 5221

I get

iwconfig: unknown command "5221"

of course, 5221 is not a command, it is still part of the essid, but iwconfig doesn't realize this. Should I put the essid in quotes? I thought that was a no-no. What about an underscore?

On a miscellaneous note, are there any different network configuration operations that must be applied with a network that has a hexadecimal key?

Nylex 06-18-2008 01:38 PM

Use double quotes. There's an example in the man page that does so. I don't know where you got the idea that doing that was wrong :/.

pixellany 06-18-2008 02:41 PM

OR---why not set the wireless router with an essid without spaces?

In re the hex key: Using the iwconfig command, you would use "s:" with an ascii key, but not with hex.
See the man page for iwconfig.


All times are GMT -5. The time now is 06:06 PM.