You are not logged in.

#1 2011-11-23 15:50:58

magum
Member
Registered: 2011-08-22
Posts: 22

Netcfg - constant break down

Hi archcommunity,

In the last few hours I have been experiencing a constant break down of my wireless connection with netcfg.
Every 5minutes my connection is lost and I have to reconnect... manually. Netcfg doesn't even recognize the connection is lost so I have to reconnect using the "-r" parameter.
Is there a way to teach netcfg to be brave and behave? I searched for the problem, but I couldn't find a good solution. Well other than people arguing for and against wicd. However since I had a lot of trouble to get my eduroam-config running I would prefer to keep it that way (never change a ru...). The dumbest thing is, netcfg reconnects without lot of trouble...

Hope you can help!

Best
Niklas

Offline

#2 2011-11-23 17:45:42

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Netcfg - constant break down

if you are going to ask for help, you should at least provide information to work with.

dmesg
lspci
netcfg profile in use

etcetera. remember to use code tags for those.

Offline

#3 2011-11-24 13:55:23

magum
Member
Registered: 2011-08-22
Posts: 22

Re: Netcfg - constant break down

Sure can do:

My card is: Atheros AR4008 (rev 01)
My driver: ath9k

03:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
        Subsystem: Apple Computer Inc. Device 0087
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at 90100000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: ath9k
        Kernel modules: ath9k

netcfg profile:

CONNECTION='wireless'
INTERFACE=wlan0
SCAN='no'
SECURITY='wpa-configsection'
ESSID='eduroam'
IP='dhcp'
CONFIGSECTION='
    ssid="eduroam"
    key_mgmt=WPA-EAP 
    eap=PEAP
    proto=WPA RSN
    group=TKIP
    pairwise=CCMP TKIP
    #anonymous_identity="anonymous"
    identity="myuser@myuniversity"
    password="mypw"
    ca_path="/etc/ssl/certs"
    auth_alg=OPEN
    phase2="auth=MSCHAPV2"'

from yesterdays logs I noted:

localhost kernel: [...] ADDRCONF(NETDEV_UP)
      wlan0: link not ready

I would post dmesg etc as well but it is running surprisingly smoothly today. Strange.

Offline

#4 2012-01-04 11:47:47

magum
Member
Registered: 2011-08-22
Posts: 22

Re: Netcfg - constant break down

Hi Community,

a while back I posted the above. The error still remains, but appears only randomly (or at least it seems like this).
When the error appears, it appears in three forms:

1. mostly in the beginning of sessions

ctrl_iface exists and seems to be in use - cannot override it
Delete '/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface '/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
 to manually remove this file before starting wpa_supplicant again.

// While sometimes there is not even a file named in this way.

2. Seems to happen every session at least once

 > wpa_supplicant did not start, possible configuration error 

   
3. This one is the most mysterious to me:

Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
[and so on till I hit Ctrl-C]

It seems this error is wpa_supplicant related, or am I wrong?
However netcfg configures wpa_supplicant in this setting, so I can't see anything I could change in the wpa_supplicant.conf that could help...

Offline

Board footer

Powered by FluxBB