LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-05-2005, 10:10 PM   #1
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Rep: Reputation: 15
Can't set essid in hostap driver prism2.5 card


Greetings,

Ok, I recently had to rebuild my gentoo system from scratch because of a dead hard drive. This time I decided to go ahead and install gentoo-sources which gives you a 2.6.12 kernel tree to compile. I now have a laundry list of things that used to work before (with kernel 2.4.25) but that don't work anymore. I'll focus on one for the sake of sanity.

I have a Linksys 802.11b card with a Prism3 chipset, supported by everyone under the sun. I have opted to use the hostap driver because of the iwlist scanning features, plus it's what I'm used to. The problem I'm currently having with it, which I never had before, is that I can no longer change the essid from the command line. There was another thread that talked about this but as there was no answer to the question I'm having a go at it. When I try to set the essid through iwconfig, I get "Operation not supported." In fact, the only way I can get the card to work and associate with my (cloaked, WEPped) WRT54G running HyperWRT is through KDE's KWifi manager (go figure). For some reason it's the only way to set the essid. Yes, the key is entered correctly for WEP. I wouldn't mind except I have to do this every time I reboot the PC, which is a pain. For some reason, even though I have "Apply settings at boot" checked, it doesn't apply the settings so I have to do it by hand if I want to be on the network.

Now, it used to be that the pcmcia script took care of that. It changed the essid, associated with the AP, it even ran dhcpcd for me! No more. I'd like that to be the case again if possible. Any thoughts?

Now for the techie part: I have wireless-tools 28 installed, apparently with wireless extension v17. iwconfig -v gives me a song and dance about the hostap driver (v 4.1) being compiled with wireless extensions 17 but v 18 is recommended which should be all well and good.

Relevant output of dmesg:

cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcffff 0xe0000-0xfffff
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.4.1 - 2005-05-22 (Jouni Malinen <jkmaline@cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 5.0, irq 10, io 0x0100-0x013f
prism2_hw_init: initialized in 194 ms
wifi0: NIC: id=0x801a v1.0.0
wifi0: PRI: id=0x15 v1.1.0
wifi0: STA: id=0x1f v1.7.4
wifi0: registered netdevice wlan0
prism2: wlan0: operating mode changed 3 -> 2
hostap_crypt: registered algorithm 'WEP'
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
A1=00:00:00:00:00:00 A2=00:06:25:02:7a:cc A3=33:33:00:00:00:16 A4=00:00:00:00:00:00
wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
A1=00:00:00:00:00:00 A2=00:06:25:02:7a:cc A3=33:33:ff:02:7a:cc A4=00:00:00:00:00:00
wifi0: LinkStatus=1 (Connected)
wifi0: LinkStatus: BSSID=00:13:10:2d:78:48
wlan0: no IPv6 routers present

The IPv6 stuff is loading for some reason. I compiled the kernel with IPv6 support as a module but I never ask the kernel to explicitly load it. It must load with the rest of the network scripts. Thanks ahead of time. Sorry for the long post.
 
Old 07-06-2005, 01:19 PM   #2
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Original Poster
Rep: Reputation: 15
Ok. There must be a bug in the 4.1 version of the driver (I guess that's why it's called a "development release"...) because I emerged the 3.9 driver and everything is working fine, in case anyone else is having the same problem.
 
Old 07-06-2005, 09:45 PM   #3
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Original Poster
Rep: Reputation: 15
Never mind, the problem is still there, it wasn't a driver issue after all. Still open to suggestions. It's very strange that KDE seems to be the only one to be able to set the right ssid. I should add that with the current driver setting the ssid with iwconfig quietly fails. It doesn't give me the error message anymore.
 
Old 07-06-2005, 10:10 PM   #4
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
prism3 card seems to be buggy about the hostap drivers, at least mine is, it might really be a driver issue (but it doesnt explain why KWifi works fine).

I noticed you aren't using the latest firmware, maybe uploading the latest one to your card could do any good. Consider trying this.
Also, if I remember right, some firmwares wont let you change ESSID and relevant settings unless you set the card to "roaming" mode. I don't quite remember how to do this but take a look at driver tools manpage (prism_param, prism_... ).
 
Old 07-06-2005, 11:59 PM   #5
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Original Poster
Rep: Reputation: 15
The thing I don't understand about it is that this used to work fine with a 2.4.25 kernel. Same laptop, same hardware, no hardware changes other than a new hard drive. Is this an issue with the kernel? Perhaps it's the driver since I'm using a different version of the driver from before. Perhaps I need to use the 2.0 driver again and see what happens.
 
  


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 03:54 AM
essid not being set with iwconfig jonathan_t Linux - Wireless Networking 17 10-19-2004 06:14 AM
Hostap - disable essid broadcast? Fonk Linux - Wireless Networking 0 05-27-2004 03:07 AM
please help with installing the hostap-driver-o.1.3 driver for wireless card chrisseattle Linux - Wireless Networking 1 03-26-2004 12:46 PM
wlan-ng (prism2) driver unable to detect DWL-520 card rnimz Linux - Hardware 2 02-06-2004 09:23 AM


All times are GMT -5. The time now is 09:45 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