Sign in with
Sign up | Sign in
Your question

Linux Wireless Config Problem!

Last response: in Linux/Free BSD
Share
June 1, 2004 8:56:03 PM

Hi all,

I'm running Knoppix 3.3 w/ Kernel 2.4 on my linux box with a built in PRISM based card. At home, I do not have WEP encyrption enabled, therefore, as soon as I put in the ESSID from iwconfig, the card functions perfectly. However, at work, where the 128-bit encyrption IS enabled, I cannot seem to associate with the network. The strange thing is, with the same 26-bit HEX key, my computer connects to the network flawlessly with Windown XP.

Thus, this rules out the possibility of a faulty driver, an incorrect ESSID or an incorrect WEP key. I have included portions of some relevant logs.

Any help would be appreciated.

Ming

**********************************************************
When the computer boots up:

eth0: Station identity 001f:0003:0001:0006
eth0: Looks like an Intersil firmware version 1.6.3
eth0: Ad-hoc demo mode supported
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEP supported, 104-bit key
eth0: MAC address 00:07:CA:02:10:86
eth0: Station name "Prism I"
eth0: ready


eth0: New link status: Association Failed (0006)
eth0: New link status: Connected (0001)



**********************************************************
iwconfig:

root@sparks:/etc# iwconfig
lo no wireless extensions.

eth0 IEEE 802.11-DS ESSID:"H-01" Nickname:"Prism I"
Mode:Managed Frequency:2.467GHz Access Point: 00:40:05:25:23:B9
Bit Rate:11Mb/s Tx-Power=15 dBm Sensitivity:1/3
Retry min limit:8 RTS thr:o ff Fragment thr:o ff
Encryption key:******************************
Power Management:o ff
Link Quality:28/92 Signal level:-101 dBm Noise level:-148 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

eth1 no wireless extensions.




**********************************************************
after running ifconfig eth0 up

root@sparks:/etc# ifconfig
eth0 Link encap:Ethernet HWaddr **********
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1188 (1.1 KiB)
Interrupt:10 Base address:0x9000 Memory:D 0006000-d0006fff
June 2, 2004 3:43:20 AM

sounds like you did what needs to be done but can you try this.

1. Go to the command line and type... wlcardconfig
2. Enter your wireless network's name (SSID) when prompted.
3. Enter your WEP key/password (if your network is encrypted) when prompted.
4. Leave the other specs blank.
5. After you complete the config, at the command line type... pump -i eth0
(where "0" is the number of your wireless card)

see if that works for you. I'm not sure how you configured the card in the first place. but the wlcardconfig seams to fix WEP errors after it does not work by vi'ing the files directly.

Willaim S. Huskey
Network Engineer
SAIC
"there are 10 types of people in this world. They who understand binary and they who do not"
June 2, 2004 3:13:55 PM

Thank you. It worked like a charm :) 

I was thinking that my issue had something to do with the DHCP client. I just did not know how to do it in Knoppix.

So far, I like this distro because it has all the software I use for work preinstalled. IE, per, php, mysqld...etc

Thanks a bunch!!

MIng :) 
!