LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   WEP is not supported? Broadcom 1505 wireless card, RHEL5 (http://www.linuxquestions.org/questions/linux-wireless-networking-41/wep-is-not-supported-broadcom-1505-wireless-card-rhel5-621009/)

sean_zhang 02-14-2008 01:50 AM

WEP is not supported? Broadcom 1505 wireless card, RHEL5
 
I installed ndiswrapper. The card is able to search for APs that are in range.
Code:

iwlist wlan0 scan
There is a wireless AP called WirelessAP5-G. Its encryption setting is WEP128, and password is 26 2's (hex).

Code:

cat ifcfg-wlan0
TYPE=Wireless
DEVICE=wlan0
BOOTPROTO=dhcp
ESSID=WirelessAP5-G
MODE=Managed

cat key-wlan0
KEY=222......222 (26 2's)

ifdown wlan0
ifup wlan0
Determine IP information for wlan0... failed; no link present. Check cable?

I also tried to change the content of key-wlan0 to "KEY=0x222...2" (all 2's are hex), but this time an error pops up saying "invalid configuration".

The output of "iwlist wlan0 key" also confuses me:
Code:

Authentication capabilities:
  WPA
  WPA2
  CIPHER TKIP
  CIPHER CCMP

WEP is not listed here.

sean_zhang 02-14-2008 02:26 AM

It is strange that the wireless device successfully obtains an IP address after abandoning the GUI network program but modifying /etc/sysconfig/network-scripts/ifcfg-wlan0 and key-wlan0 files directly (ifdown wlan0; ifup wlan0).

I found that sometimes even thouth configuration is changed via system-config-network, the ifcfg-wlan0 and key-wlan0 are not at the same time, or the changes made to these two files are not what you want exactly.


All times are GMT -5. The time now is 12:12 AM.