Networking Forums

Networking Forums > Computer Networking > Linux Networking > 64bit WEP under Linux OK; how to get wpa_supplicant working?

Reply
Thread Tools Display Modes

64bit WEP under Linux OK; how to get wpa_supplicant working?

 
 
__spc__
Guest
Posts: n/a

 
      03-01-2006, 07:25 PM
Using ndiwsrapper 1.10 with the bcmwl5.inf WinXP driver I can get 64bit WEP.
I have also installed wpa_supplicant-0.4.8 but do not know how to gert this
working properly - I have configured the files (see below) but I am missing
something...

lspci:
00:00.0 Host bridge: ATI Technologies Inc AGP Bridge [IGP 320M] (rev 13)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320M] (rev 01)
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link
Controller Audio Device (rev 02)
00:09.0 Modem: ALi Corporation Intel 537 [M5457 AC-Link Modem]
00:0a.0 CardBus bridge: Texas Instruments PCI4410 PC card Cardbus
Controller (rev 02)
00:0a.1 FireWire (IEEE 1394): Texas Instruments PCI4410 FireWire
Controller (rev 02)
00:0c.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 03)
00:0d.0 USB Controller: NEC Corporation USB (rev 43)
00:0d.1 USB Controller: NEC Corporation USB (rev 43)
00:0d.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
00:0e.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev
01)
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:11.0 Bridge: ALi Corporation M7101 PMU
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility U1

Here is the relevant bit from etc/rc.d/rc.wireless:
00:90:96:*)
INFO="Broadcom WLAN 802.11g on Laptop"
# ESSID = "sn55ge" <- Doesn't work on the WLAN card
CHANNEL="1"
MODE="Managed"
KEY="xxxxxxxxxx" <- my 10 digit 64 bit HEX WEP key
;;

Here is the relevant bit from dmesg:
ndiswrapper version 1.10 loaded (preempt=no,smp=no)
ndiswrapper: driver bcmwl5 (WLAN,07/17/2003, 3.30.15.0) loaded
ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNK2] -> GSI 10 (level, low)
-> IRQ 10
ndiswrapper: using irq 10
wlan0: vendor: ''
wlan0: ndiswrapper ethernet device 00:90:96:bb:b5:c2 using driver bcmwl5,
14E4:4320:144F:7050.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA

Moving to try and set up WPA using wpa_supplicant, here
is /etc/wpa_supplicant.conf:
# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
bash-3.00# more wpa_supplicant.conf
# See /usr/doc/wpa_supplicant-0.4.8/wpa_supplicant.conf.sample
# for many more options that you can use in this file.

# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

# WPA protected network, supply your own ESSID and WPAPSK here:
network={
scan_ssid=0
ssid="sn55ge"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
#ssid="sn55ge"
#psk="xxxxxxxxxxxxx" <- my 13 digit ASCII WPA pass-phrase
psk=caf3247875e3d58105849cc02f3a6bdfa25eXXXXX47381 228745ea192813e56f <-
the generated key (XXXXX added )
}

# Plaintext connection (no WPA, no IEEE 802.1X),
# nice for hotel/airport types of WiFi network.
# You'll need a recent version of wireless-tools for this!
network={
ssid="any"
key_mgmt=NONE
priority=2
}

When I set my AP to WPA with the pass-phrase, then run wpa_supplicant in
debug with:
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -d

I get a load of errors and no connection - something about passphrase
mismatch.

What should I be doing next. Do I need to remove the rc.wireless.conf
file? Remove the (WEP) KEY line from it? Maybe remove rc.wireless
entirely?

I am sure that WPA should work (see dmesg) but I am at a loss on how I move
from WEP to WPA using wpa_supplicant.

Please help...

--
Remove "NOSPAMTHANKS." to email
 
Reply With Quote
 
 
 
 
maxx
Guest
Posts: n/a

 
      03-02-2006, 07:41 AM
On Wed, 01 Mar 2006 20:25:30 +0000, __spc__ wrote:

> Using ndiwsrapper 1.10 with the bcmwl5.inf WinXP driver I can get 64bit
> WEP. I have also installed wpa_supplicant-0.4.8 but do not know how to
> gert this working properly - I have configured the files (see below) but I
> am missing something...
>
> lspci:
> 00:00.0 Host bridge: ATI Technologies Inc AGP Bridge [IGP 320M] (rev 13)
> 00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320M] (rev 01)
> 00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
> 00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link
> Controller Audio Device (rev 02)
> 00:09.0 Modem: ALi Corporation Intel 537 [M5457 AC-Link Modem] 00:0a.0
> CardBus bridge: Texas Instruments PCI4410 PC card Cardbus
> Controller (rev 02)
> 00:0a.1 FireWire (IEEE 1394): Texas Instruments PCI4410 FireWire
> Controller (rev 02)
> 00:0c.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev
> 03) 00:0d.0 USB Controller: NEC Corporation USB (rev 43) 00:0d.1 USB
> Controller: NEC Corporation USB (rev 43) 00:0d.2 USB Controller: NEC
> Corporation USB 2.0 (rev 04) 00:0e.0 Ethernet controller: Broadcom
> Corporation BCM4401 100Base-T (rev
> 01)
> 00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4) 00:11.0
> Bridge: ALi Corporation M7101 PMU 01:05.0 VGA compatible controller: ATI
> Technologies Inc Radeon Mobility U1
>
> Here is the relevant bit from etc/rc.d/rc.wireless: 00:90:96:*)
> INFO="Broadcom WLAN 802.11g on Laptop" # ESSID = "sn55ge" <- Doesn't
> work on the WLAN card CHANNEL="1"
> MODE="Managed"
> KEY="xxxxxxxxxx" <- my 10 digit 64 bit HEX WEP key ;;
>
> Here is the relevant bit from dmesg:
> ndiswrapper version 1.10 loaded (preempt=no,smp=no) ndiswrapper: driver
> bcmwl5 (WLAN,07/17/2003, 3.30.15.0) loaded ACPI: PCI Interrupt
> 0000:00:0c.0[A] -> Link [LNK2] -> GSI 10 (level, low)
> -> IRQ 10
> ndiswrapper: using irq 10
> wlan0: vendor: ''
> wlan0: ndiswrapper ethernet device 00:90:96:bb:b5:c2 using driver
> bcmwl5,
> 14E4:4320:144F:7050.5.conf
> wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA
>
> Moving to try and set up WPA using wpa_supplicant, here is
> /etc/wpa_supplicant.conf:
> # This line enables the use of wpa_cli which is used by rc.wireless # if
> possible (to check for successful association)
> ctrl_interface=/var/run/wpa_supplicant bash-3.00# more
> wpa_supplicant.conf
> # See /usr/doc/wpa_supplicant-0.4.8/wpa_supplicant.conf.sample # for
> many more options that you can use in this file.
>
> # This line enables the use of wpa_cli which is used by rc.wireless # if
> possible (to check for successful association)
> ctrl_interface=/var/run/wpa_supplicant # By default, only root (group 0)
> may use wpa_cli ctrl_interface_group=0
> eapol_version=1
> ap_scan=1
> fast_reauth=1
>
> # WPA protected network, supply your own ESSID and WPAPSK here:
> network={
> scan_ssid=0
> ssid="sn55ge"
> proto=WPA
> key_mgmt=WPA-PSK
> pairwise=CCMP TKIP
> group=CCMP TKIP WEP104 WEP40
> #ssid="sn55ge"
> #psk="xxxxxxxxxxxxx" <- my 13 digit ASCII WPA pass-phrase
> psk=caf3247875e3d58105849cc02f3a6bdfa25eXXXXX47381 228745ea192813e56f
> <-
> the generated key (XXXXX added )
> }
> }
> # Plaintext connection (no WPA, no IEEE 802.1X), # nice for
> hotel/airport types of WiFi network. # You'll need a recent version of
> wireless-tools for this! network={
> ssid="any"
> key_mgmt=NONE
> priority=2
> }
> }
> When I set my AP to WPA with the pass-phrase, then run wpa_supplicant in
> debug with:
> wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -d
>
> I get a load of errors and no connection - something about passphrase
> mismatch.
>
> What should I be doing next. Do I need to remove the rc.wireless.conf
> file? Remove the (WEP) KEY line from it? Maybe remove rc.wireless
> entirely?
>
> I am sure that WPA should work (see dmesg) but I am at a loss on how I
> move from WEP to WPA using wpa_supplicant.
>
> Please help...


wpa_sup[plicant is used for WPA, not for WEP...

--
gr,
maxx
:wq!

 
Reply With Quote
 
maxx
Guest
Posts: n/a

 
      03-02-2006, 08:49 AM
On Thu, 02 Mar 2006 09:41:05 +0100, maxx wrote:

>> I am sure that WPA should work (see dmesg) but I am at a loss on how I
>> move from WEP to WPA using wpa_supplicant.
>>
>> Please help...

>
> wpa_sup[plicant is used for WPA, not for WEP...


OOps... missed the last line in your post... sorry.

on the access point you have to setup WPA as well. Have you done that? You
need to enter your WPA key in wpa_supplicant.conf, not your WEP key!

--
gr,
maxx
:wq!

 
Reply With Quote
 
__spc__
Guest
Posts: n/a

 
      03-02-2006, 07:35 PM
maxx wrote:

> On Thu, 02 Mar 2006 09:41:05 +0100, maxx wrote:
>
>>> I am sure that WPA should work (see dmesg) but I am at a loss on how I
>>> move from WEP to WPA using wpa_supplicant.
>>>
>>> Please help...

>>
>> wpa_sup[plicant is used for WPA, not for WEP...

>
> OOps... missed the last line in your post... sorry.
>
> on the access point you have to setup WPA as well. Have you done that? You
> need to enter your WPA key in wpa_supplicant.conf, not your WEP key!
>


Hi, and thanks,

What I'm asking is, do I leave the WEP configuration as is, and just ensure
wpa_supplicant.conf is OK for WPA and that my AP is set to WPA? Or, do I
need to disable WEP wireless configuration BEFORE configuring WPA?
--
Remove "NOSPAMTHANKS." to email
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista 64bit and norton firewall Tam Broadband 8 12-29-2007 06:39 PM
How can wpa2 work with with 64bit vasudev Wireless Networks 1 04-11-2006 12:43 PM
64bit WEP under Linux OK; how to get wpa_supplicant working? __spc__ Wireless Internet 0 03-01-2006 07:25 PM
64bit Wifi drivers (amd)? idiotprogrammer Linux Networking 2 12-15-2005 12:05 AM
wpa_supplicant Randomthots Linux Networking 1 10-17-2005 07:14 PM



1 2 3 4 5 6 7 8 9 10 11