PDA

View Full Version : help with wireless lan


gogu1012003
2005-09-11, 09:47 PM CDT
I am running FC3 with 2.6.9-1.667.stk16 kernel. My wireless card is an AIRLINK 101 (model AWLH3025).
I have isntalled the ndiswrapper and used the driver from the ndiswrapper website for my card.

As far as I can tell the card is up and when I run "iwlist wlan0 scan" I can a list of wireless networks (I get the same list on my laptop also). However when I configure the card from "system-network-coinfig" I can not get an IP address (dhcp failed error).

I have tried to configure the card manually useing iwconfig but that seems even more problematic. Output from iwconfig:

./iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

Warning: Driver for device wlan0 recommend version 18 of Wireless Extension,
but has been compiled with version 16, therefore some driver features
may not be available...

wlan0 IEEE 802.11g ESSID:off/any Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.457 GHz Access Point: 00:00:00:00:00:00
Bit Rate=54 Mb/s Tx-Power:10 dBm Sensitivity=0/3
RTS thr=4096 B Fragment thr=4096 B
Power Management:off
Link Quality:100 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

sit0 no wireless extensions

So at this point I need to change my essid. I do that with the following command running as root:

iwconfig wlan0 essid "marashu"

However when i type iwconfig again my essid isnot set to "marashu" it is still set to "off/any". How can this be? What am I doing wrong? Are then any configuration files I need to delete/replace?

Thanks for the help

wshawn
2005-09-11, 10:06 PM CDT
I would suggest networkmanager to handle the wireless. FedoraJim has written a great article on it...

http://www.fedoraforum.org/forum/member.php?find=lastposter&t=75648

gogu1012003
2005-09-12, 12:08 AM CDT
Thanks for the suggestion.

I downloaded the NetworkManager tool and played around with the settings.

I can only get the wireless network to work if I do not use any encryption. If I enable WEP encryption I can not get my linux box to talk to the router. I am useing a DLINK DI-624.

Anybody able to use WEP encryption with this setup? I dont want to run my wireless network with no encryption.

Thanks

chili555
2005-09-12, 05:34 AM CDT
Try the following, as root:

iwconfig wlan0 key restricted
iwconfig wlan0 key 096F123A567Betc. <=whatever your key is.

Let us know.

gogu1012003
2005-09-12, 08:40 PM CDT
that still does not work.

The first time I did "/sbin/iwconfig wlan0 key restricted" as root I got an error

Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; invalid argument.

I did "/sbin/iwconfig wlan0 key 9090dead90" (my key).
then I did "/sbin/iwconfig wlan0 key restricted" (this time it worked).
then I did another "/sbin/iwconfig wlan0 key 9090dead90"

But it still does not work.

Another thing is that sometimes when I use the NetworkManagerInfo thingie and try to
connect to my wireless network I will just get a popup window saying can not connect
to wireless network <name of my network>. and I can click on the OK button. Well I can
click on that button all I want it will not go away.

gogu1012003
2005-09-12, 09:32 PM CDT
ok playing around with iwconfig and key restricted I got it to work.

The problem is that NetworkManagerInfo always set "Security mode: open" and I need it to be set to restricted to work.

Is there a way to do that in NetworkManagerInfo?