On 7/7/05, Hossein Mobahi <hmobahi@...> wrote:
> I have problem with iwconfig'ing my wireless device.
> "iwlist scan" reports correct information about ESSID,
> requirement, etc., while iwconfig reports completely
> different and incorrect information. Furthermore, I
> cannot modify
> this information. Although I get no error when setting
> values by iwconfig, when read device's status by
> I again see the same incorrect information. Even
> "iwconfig commit" in between writing and reading does
> not help.
> Any help is appreciated
> I use 2.6.11-gentoo-r11 (64-bit mode) on AMD64 Athlon.
> wireless card is Broadcom BCM4306 802.11b/g. I have
> installed ndiswrapper-1.2 and use generic 64-bit
> netbc564.inf. Below is a log of what happens
> # ndiswrapper -i netbc564
> Installing netbc564
> Forcing parameter IBSSGMode|0 to IBSSGMode|2
> # iwlist wlan0 scan
> Warning: Driver for device wlan0 recommend version 18
> Wireless Extension, but has been compiled with version
> therefore some driver features may not be available...
> wlan0 Scan completed :
> Cell 01 - Address: 00:12:88:14:B3:B9
> Protocol:IEEE 802.11g
> Frequency:2.437 GHz (Channel 6)
> Quality:0/100 Signal level:-37 dBm
> Noise level:-256 dBm
> Encryption key:on
> # iwconfig wlan0
> wlan0 IEEE 802.11g ESSID:off/any
> Mode:Managed Frequency:2.462 GHz Access Point:
> Bit Rate=3D54 Mb/s Tx-Power:25 dBm
> RTS thr:off Fragment thr:off
> Encryption key:off
> 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
> Tx excessive retries:0 Invalid misc:193061
> Missed beacon:0
> # iwconfig wlan0 essid "TEST"
> # iwconfig wlan0 commit
> # iwconfig wlan0
> THIS GIVES THE SAME INFO AS BEFORE
This is normal behavior. The essid will only change when it has
associated with your AP. Since your AP has WEP on and you have not
set the key, association is impossible. Note also that this means you
cannot just set an arbitrary essid. The "commit" command is not
needed with this card. Is this a Compaq R3000Z laptop?
So, set your key and authentication method ("open" or "restricted"
(aka, shared key)) and then try setting the essid. If that doesn't
work, make sure your wireless is on (most laptops have a hardware
button to disable the wireless). If nothing works, disable WEP and
try to connect without it first, then turn it back on once you know