LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 07-09-2004, 02:51 AM   #1
leapingfrog
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Rep: Reputation: 0
Angry Cannot set ESSID with iwconfig


Hello Guys,

I have a Dell 600m laptop with an Intel Centrino 2100 wireless card. I successfully compiled ndiswrapper and was able to get the wireless card detected and "running" in linux (as far as the driver goes).

However, when it comes to configuring my card for my wirless network, I *cannot* get iwconfig to set my SSID! Everything else works... changing channels, setting up the WEP key, etc, but not the SSID!

Here is the command I'm running:
Code:
iwconfig wlan0 essid "Neptune"
I've also tried it without quotes and with several other network names... nothing.

Everytime I type:

Code:
iwconfig wlan0
I see:

wlan0 IEEE 802.11b ESSID:""
Mode:Managed Frequency:2.412GHz Access Point: FF:FF:FF:FF:FF:FF
Bit Rate:54Mb/s
RTS thr:1600 B Fragment thr:2344 B
Encryption key:8384-1E3F-03B9-7EA4-08F9-xxxx-xx Security mode:restricted
Power Managementff
Link Quality:0/100 Signal level:-98 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

What am I doing wrong?

I am on Fedora Core 2 with 2.6.5-1.358 as my kernel (whatever comes with FC2).

Thanks!
Andrew

Also - I've tried to change settings with the card both up (ifconfig wlan0 up) and down, and still nothing... I'm doing all of the commands with the root accont (su -).

Last edited by leapingfrog; 07-09-2004 at 02:52 AM.
 
Old 07-09-2004, 02:55 AM   #2
dissolved soul
Member
 
Registered: Sep 2002
Posts: 35

Rep: Reputation: 15
it says link quality 0/100
i would be more worried about that at the moment

what wireless router do you have?
 
Old 07-09-2004, 03:02 AM   #3
leapingfrog
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the quick response. I have a Linksys BEFW11S4 router.
 
Old 07-09-2004, 03:42 AM   #4
leapingfrog
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Original Poster
Rep: Reputation: 0
http://www.linuxant.com/pipermail/dr...q4/000153.html

I just found this...... seems like a common problem Now where is the solution?!
 
Old 07-09-2004, 09:04 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
I've seen a couple of examples of cards not being able to set the SSID unless the router was broadcasting it. If your router isn't broadcasting the SSID, you might try turning that on and see if it helps.
 
Old 07-09-2004, 09:28 AM   #6
pibby
Member
 
Registered: Oct 2003
Location: Houston, TX
Distribution: Debian Sid
Posts: 100

Rep: Reputation: 15
I don't think that you need quotes around your ESSID, for instance mine is set like this:

iwconfig wlan0 essid RAGEKAGE

Try that and see if it works
 
Old 07-09-2004, 11:19 AM   #7
dissolved soul
Member
 
Registered: Sep 2002
Posts: 35

Rep: Reputation: 15
Quote:
Originally posted by leapingfrog
Thanks for the quick response. I have a Linksys BEFW11S4 router.
i have that exact same router with my current wireless linux setup.
for now, i just have it on the default settings and it works fine. i was playing with the settings, and had turned SSID broadcast off (just to see if the laptop would still work), restarted the computer, and it didn't work. it couldn't find anything (even if i specified correct the ssid on the laptop).. as soon as i turned ssid broadcast back on it worked fine.

Last edited by dissolved soul; 07-09-2004 at 11:20 AM.
 
Old 07-09-2004, 01:53 PM   #8
dinojerm
Member
 
Registered: Apr 2004
Location: NJ,US
Distribution: Debian Sid
Posts: 33

Rep: Reputation: 15
I am also having a similar problem with being unable to set the essid (and the access point MAC).
I'm using a Belkin 802.11G PCI card (f5d7000) through ndiswrapper and a Belkin 802.11B router. I do have "Broadcast SSID'" enabled in the router configuration.
I'm running Mandrake 10, with the default 2.6.3-7 kernel.
Here is the output of "iwconfig wlan0" (after setting the encryption key)
Code:
wlan0     IEEE 802.11g  ESSID:""
          Mode:Managed  Frequency:2.462GHz  Access Point: FF:FF:FF:FF:FF:FF
          Bit Rate:54Mb/s   Tx-Power:14 dBm
          RTS thr:2347 B   Fragment thr:2346 B
          Encryption key:C483-51C4-97FF-FFCF-CC99-EE9E-DA   Security mode:restricted
          Power Management:off
          Link Quality:100/100  Signal level:-10 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:1  Invalid misc:25897   Missed beacon:0
(update)
According to this page, the SSID will show correctly when the device is up, but this did not fix the problem for me.

Last edited by dinojerm; 07-09-2004 at 02:33 PM.
 
Old 07-10-2004, 11:17 AM   #9
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
It's usually easy to edit the etc /sysconfig/network file. Find the entry for wlan0 or whatever the one you are using is.


Incidentally set the network card from the config panel -- you need to set the ip address, dsn servers, and gateway just like with a normal network card as well. I'm doing mine manually since I don't have a DHCP server. Once you've set these then when you do IWCONFIG you'll find the stuff already set.
 
Old 07-10-2004, 03:58 PM   #10
stuart
Member
 
Registered: Jun 2004
Location: aussie in germany
Distribution: mandrake 10 powerpack
Posts: 104

Rep: Reputation: 15
im having the exact same issue guys, i have no wep key set on my AP(for testing purposes that is) and it works fine with windows but when i get into linux it seems to not work,

iwconfig brings this

wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.462GHz Access Point: FF:FF:FF:FF:FF:FF
Bit Rate:54Mb/s Tx-Power:16 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption keyff
Power Managementff
Link Quality:100/100 Signal level:-10 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


i have link quality 100 as my AP is right next to the laptop at the moment, but no matter what i do i cant change the ESSID, im using mandrake 10 official with ndiswrapper 8.0 to get my card running. its a belkin AP. same as you guys i set the essid "iwconfig wlan0 essid "idhere" and it appears to set it but it doesnt work

i hope we can work out a fix for this, where is the file to set the settings in manually? im a pretty linux nook and dont know where to look for it


i dunno if this helps, but when i run dhcpcd i get this

[root@home stu]# dhcpcd.exe: interface eth0 has been configured with old IP=192.168.0.5
dhcpcd wlan0
[root@home stu]# /etc/dhcpc/dhcpcd.exe: line 27: .: filename argument required
.: usage: . filename

Last edited by stuart; 07-10-2004 at 04:56 PM.
 
Old 07-10-2004, 06:47 PM   #11
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
@dinojerm : how did you manage make your Belkin atapter work with Mandrake 10? Did you have to pick a driver from the net and compile it ? Or is a driver embedded with the Mandrake10 distro ?
 
Old 07-10-2004, 11:15 PM   #12
dinojerm
Member
 
Registered: Apr 2004
Location: NJ,US
Distribution: Debian Sid
Posts: 33

Rep: Reputation: 15
I used NdisWrapper . It lets you use (some) wireless adapters with their windows drivers. Mandrake 10 does come with a version of it, but it is only version 0.4. I uninstalled it and installed 0.8 from the source (You will also need to install the kernel source to install it). You will also need the .inf and the .sys driver files, available from the cd that came with the card. It should be compatible with the f5d7000 (except for this problem).
 
Old 07-11-2004, 12:38 AM   #13
peekho
LQ Newbie
 
Registered: Jul 2004
Location: San Diego
Distribution: Slackware 10.0
Posts: 13

Rep: Reputation: 0
Hey guys,
I had noticed a similar problem with the essid, i'm using slackware 10.0 and NDISwrapper. I noticed that if you don't set the encryption key first then you won't be able to connect to the network.
 
Old 07-11-2004, 05:02 AM   #14
stuart
Member
 
Registered: Jun 2004
Location: aussie in germany
Distribution: mandrake 10 powerpack
Posts: 104

Rep: Reputation: 15
so has anyone had any luck fixinf this problem yet?
 
Old 07-11-2004, 07:40 AM   #15
stuart
Member
 
Registered: Jun 2004
Location: aussie in germany
Distribution: mandrake 10 powerpack
Posts: 104

Rep: Reputation: 15
WOOHOO I FIXED IT!!!!!!

I was having the exact same trouble as you guys, i was using ndiswrapper 0.8 on my asus laptop which has an asus wireless card that uses the broadcom BCM94306 chipset. I went to the ndiswrapper site, and on their site they had two links to drivers for my chipset there so i got them and thats what i was using, the card would detect ok, and it would get signal to the AP but nothing else, i coudnt change anything like ESSID or when i tried to run dhcpcd it would give me errors, anyways the reason i didnt use the driver that came with my card was that it was in a windows installer package and i didnt know what to get from the installed windows sytem to use with the linux install. I was looking in my program files folder and noticed an asus folder there so i had a look and it had drivers for my card for win98, winME, win2k and winXP. I tried the XP one but it seemed to do nothing so i had a look at the inf and it was all garbled data and i couldnt read it in anythign in linux so i had a look at the ME/98 drivers and they were fine so i tried to install one of those and VOILA!! on next reboot my card detected my AP and here i am typing this over my wireless link.

It was the same named file that i got from the ndiswrapper site(bcmwl5a.inf), just the contents of mine were slightly different

The laptop is the ASUS L5000GA


So to summarise

Ndiswrapper 0.8 with Broadcom BCM94306 chipset and the generic driver that comes from the ndiswrapper site for that chipset did not work for me and i had to use the driver that came with my card(which i didnt do in the first place because i couldnt find it)

I hope this info can help you guys out, and maybe you can try some different driver files and see if they work?? (you didnt post wether you were using the windows driver that came with your card or if you were using one from ndiswrapper site)

Last edited by stuart; 07-11-2004 at 07:44 AM.
 
  


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
Cant change ESSID with iwconfig svenbox Linux - Hardware 1 04-27-2005 06: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 06:45 PM.

Main Menu
Advertisement
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