You are not logged in.

#1 2012-06-12 13:31:10

camilou
Member
Registered: 2012-06-12
Posts: 2

Wireless connection problem - connect/reconnect every few seconds

Hi, I installed arch and I was setting up my network connection. basically I am able to connect to the network (posting right now from it) but it drops every 10 or 20 seconds, only to reconnect again.

I am connecting using "netcfg hallo_bern":

/etc/network.d/hallo_bern:

CONNECTION='wireless'
DESCRIPTION='A wpa_supplicant configuration based wireless connection'
INTERFACE=wlan0
SECURITY='wpa-config'
WPA_CONF='/etc/wpa_supplicant_hallobern.conf'
IP='static'
ADDR='192.168.1.4'
GATEWAY='192.168.1.1'
DNS=('192.168.1.1')

 
HOSTNAME='Xibalba'

# Uncomment this if your ssid is hidden
#HIDDEN=yes

ESSID='hallo_bern'
KEY='3a6b9c12d15e18f21a24b27c30'

TIMEOUT=60
DHCP_TIMEOUT=60
CARRIER_TIMEOUT=60

/etc/wpa_supplicant_hallobern.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

network={
	ssid="hallo_bern"
	proto=WPA
	key_mgmt=WPA-PSK
	psk=5cb13adb33ae3ea4ed318ded1cc94ebba827c2179e9f5f3190995bcb35c9ad3f
}

This is my old connection script:

killall wpa_supplicant || echo "No wpa_supplicant daemons."
killall dhcpcd || echo "No dhcpcd daemons."
ip link set wlan0 down && ip link set wlan0 up
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant_hallobern.conf -B -D wext
dhcpcd wlan0 && echo "Connected to hallo_bern" || "Something went wrong"

With that I had the same problem and dhcpcd would say "carrier lost" when I read /everything.log
By the way this is the output of that file at the moment:

Jun 12 15:26:20 localhost kernel: [ 7400.021723] wlan0: authenticate with 00:19:70:77:ad:19 (try 1)
Jun 12 15:26:20 localhost kernel: [ 7400.219292] wlan0: authenticate with 00:19:70:77:ad:19 (try 2)
Jun 12 15:26:20 localhost kernel: [ 7400.221919] wlan0: authenticated
Jun 12 15:26:20 localhost kernel: [ 7400.222048] wlan0: associate with 00:19:70:77:ad:19 (try 1)
Jun 12 15:26:20 localhost kernel: [ 7400.225178] wlan0: RX ReassocResp from 00:19:70:77:ad:19 (capab=0x431 status=0 aid=2)
Jun 12 15:26:20 localhost kernel: [ 7400.225181] wlan0: associated
Jun 12 15:26:20 localhost kernel: [ 7400.225185] wlan0: moving STA 00:19:70:77:ad:19 to state 1
Jun 12 15:26:20 localhost kernel: [ 7400.225187] wlan0: moving STA 00:19:70:77:ad:19 to state 2
Jun 12 15:26:20 localhost kernel: [ 7400.243538] wlan0: moving STA 00:19:70:77:ad:19 to state 3
Jun 12 15:27:02 localhost kernel: [ 7441.942812] wlan0: moving STA 00:19:70:77:ad:19 to state 2
Jun 12 15:27:02 localhost kernel: [ 7441.942816] wlan0: moving STA 00:19:70:77:ad:19 to state 1
Jun 12 15:27:02 localhost kernel: [ 7441.942818] wlan0: moving STA 00:19:70:77:ad:19 to state 0
Jun 12 15:27:02 localhost kernel: [ 7441.946122] cfg80211: Calling CRDA for country: ES
Jun 12 15:27:03 localhost kernel: [ 7443.008005] wlan0: authenticate with 00:19:70:77:ad:19 (try 1)
Jun 12 15:27:03 localhost kernel: [ 7443.205973] wlan0: authenticate with 00:19:70:77:ad:19 (try 2)
Jun 12 15:27:03 localhost kernel: [ 7443.208584] wlan0: authenticated
Jun 12 15:27:03 localhost kernel: [ 7443.208718] wlan0: associate with 00:19:70:77:ad:19 (try 1)
Jun 12 15:27:03 localhost kernel: [ 7443.211991] wlan0: RX ReassocResp from 00:19:70:77:ad:19 (capab=0x431 status=0 aid=2)
Jun 12 15:27:03 localhost kernel: [ 7443.211994] wlan0: associated
Jun 12 15:27:03 localhost kernel: [ 7443.211998] wlan0: moving STA 00:19:70:77:ad:19 to state 1
Jun 12 15:27:03 localhost kernel: [ 7443.212000] wlan0: moving STA 00:19:70:77:ad:19 to state 2
Jun 12 15:27:03 localhost kernel: [ 7443.233087] wlan0: moving STA 00:19:70:77:ad:19 to state 3

So that's the story, I used to connect with wpa_supplicant+dhcpcd but I got this reconnection problem, I tried netcfg and the same thing happens, so I suppose it might be a wpa_supplicant problem?

Offline

#2 2012-06-12 16:38:08

camilou
Member
Registered: 2012-06-12
Posts: 2

Re: Wireless connection problem - connect/reconnect every few seconds

I just updated my drivers to the last version found in linuxwireless.org , connected again with netcfg and it's been working for the past 10 minutes. I hope that fixed it.

Offline

Board footer

Powered by FluxBB