LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-27-2005, 06:38 AM   #1
svenbox
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Cant change ESSID with iwconfig


Hi all,
I successfully installed a new wireless network card in my Dell running a Debian Linux kernel version 2.6.8.1

It works, becuase a iwlist ra0 scan shows that it can find my router:
sox# iwlist ra0 scan
ra0 Scan completed :
Cell 01 - Address: 00:80:C8:017:AC
Mode:Managed
ESSID:"default"
Encryption keyff
Channel:6

The card is set in /etc/network/interfaces with:
iface ra0 inet dhcp
up iwconfig ra0 essid default && iwconfig ra0 key open channel 6

My problem is, that i originally set the essid to b0x!, as that was the name before i resetted the router. Now it's called just "default".

The output of iwconfig ra0 is:
ra0 RT2500 Wireless ESSID:"b0x!" Nickname:"sox"
Mode:Managed Frequency=2.437 GHz Bit Rate=54 Mb/s
RTS thrff Fragment thrff
Encryption keyff
Link Quality=92/100 Signal level:-174 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

And no matter how I try, I can't change the essid to default.
I've tried iwconfig ra0 essid default and "default", plus the whole chain of iwconfig parameters as in the networks file.

To no use, iwconfig shows that my essid is still "b0x!" I wonder if it might be a problem with the ! in the essid name that makes it impossible to change it?

Is there any way to reset the iwconfig settings for ra0?
Or any other way to change the essid that I've missed?

Thanks for any help,
/S
 
Old 04-27-2005, 06:54 AM   #2
svenbox
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Original Poster
Rep: Reputation: 0
OK, replying to my own post is kindof dull, but I managed to finally set the essid by first changing the mode to ad-hoc. This somehow made it possible to set the essid again. Don't know why or how, but it worked. Then I had to change mode again to managed, and dhclient got an IP from my router. Great!

/S
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot set ESSID with iwconfig leapingfrog Linux - Wireless Networking 37 09-15-2008 04:54 AM
iwconfig - can't set essid simon_w Linux - Wireless Networking 5 04-13-2005 10:23 PM
iwconfig shows essid, unable to connect rjcrews Linux - Wireless Networking 8 12-21-2004 05:59 PM
essid not being set with iwconfig jonathan_t Linux - Wireless Networking 17 10-19-2004 07:14 AM
Problems setting ESSID on WPC11 with iwconfig DustOffTryAgain Linux - Networking 1 07-22-2003 11:09 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration