You are not logged in.

#1 2007-10-31 23:19:31

borror
Member
Registered: 2007-07-25
Posts: 9

rtl8187 and wpa_supplicant

Well guys. i need some help. I have rtl8187. I have configured it with the new kernel and it's working. when i use only mac filtering as protection it's ok. i can do whatever i want. When i activate the WPA encryption i just use these 2 commands

# wpa_passphrase XXXXXXX YYYYYYYYYYY > conf
# wpa_supplicant -i wlan0 -c conf

As XXXXX it's my essid name and as YYYYYYYY it's my secret passphrase.
The point is that it connects for about 2 to 3 seconds and then it disconnects me.


Do you have an idea of what is going wrong????



Thanks

Offline

#2 2007-10-31 23:27:59

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: rtl8187 and wpa_supplicant

What does it say? post the output of wpa_supplicant here.

James

Offline

#3 2007-11-01 07:59:39

borror
Member
Registered: 2007-07-25
Posts: 9

Re: rtl8187 and wpa_supplicant

It's ok now. and i don't know what did i do. roll
well let me post my rc.conf

lo="lo 127.0.0.1"
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
wlan0="wlan0 192.168.1.68 netmask 255.255.255.0 broadcast 192.168.1.255"
wlan_wlan0="wlan0 essid Linux_wireless  ap 00:14:C1:1E:50:EE"
INTERFACES=(lo eth0 wlan0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(gateway)

so when the laptop is booting the wireless card just uses the ssid Linux_wireless and my access point as i enter the mac address of my access point. then i entered the commands i told you yesterday and it kept disconnecting me. when i started the laptop today i removed the lines refering eto wlan0 so i entered them alone. and then i entered

# wpa_passphrase Linux_wireless XXXXXXXXXXX > conf
# wpa_supplicant -i wlan0 -c conf

and it's connected now and it's very stable. Do you know what may have changed. something maybe between the configuration of the rtl8187 and the access point at the boot.

Offline

Board footer

Powered by FluxBB