You are not logged in.

#1 2011-09-12 20:41:18

bradomyn
Member
Registered: 2011-08-05
Posts: 15

[SOLVED] Wireless configuration overnight doesn't work any more....

Hi,

I don't like to start a post sayin "my wireless was working and I woke up and it doesn't work anymore"

but it seems to be so... I've been trying to find the problem and I run out of ideas, I don't have freaking idea what could screw the configuration up and where.
Right before the wireless stoped working i was playing around with pm-hibernate/suspend and I wanted to costumized the power management of the laptop....

Some info:

NetBook Asus EEE PC 1015, wireless interface Broadcom [14e4:4727]     BCM4313

Linux bradomyn 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 07:32:23 UTC 2011 i686 Intel(R) Atom(TM) CPU N455 @ 1.66GHz GenuineIntel GNU/Linux

Wireless encryption WPA-TKIP in the router, alternative for testing no encryption.

The wireless driver and configuration

Since is the 4313 I have installed the wl driver from the  AUR

I didn't have to blacklist any other driver since they weren't there:

blacklist b43
blacklist ssb

Then I followed  Manual Setup and it worked out.
Then set some profiles for netcnf and it worked as well.

After a couple of weeks, as I said, overnight the wireless configuration was not working anymore. Don't ask me, I have no clue what I did or what happened.

Let's start with the rc.conf, I post the important info:

rc.conf

CONFIGURATION 1

eth0="dhcp" # wireless interface
eth1="dhcp"
INTERFACES=(eth0 eth1 )

CONFIGURATION 2

NETWORKS=(wireless wire) 

DAEMONS=(syslog-ng network netfs crond dbus net-profiles slim )

either configuration were working....

wireless profile

This is the old profile for netcfg, it was working.

CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='eth0'
SECURITY='wpa'
ESSID='TaunusStation'
KEY='passwort'
IP='dhcp'
# Uncomment this if your ssid is hidden
#HIDDEN=yes

This is the new profile using with wpa_supplicant, and doesn't work.

CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='eth0'
SECURITY='wpa'
ESSID='TaunusStation'
WPA_DRIVER='wext'
KEY='*****'
IP='dhcp'
# Uncomment this if your ssid is hidden
#HIDDEN=yes

wpa_supplicant

ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel
network={
       ssid="TaunusStation"
       proto=RSN
       key_mgmt=WPA-PSK
       pairwise=CCMP TKIP
       WPA_DRIVER='wext'
       group=CCMP TKIP
       psk=*********************** #generated from wpa_passphrase
}

output from netcfg

I'm using now netcfg v2.5.5, I was using v2.8 and I downgraded... worth trying. So the outputs below are generated by netcfg v2.5 and wpa_supplicant v0.7.3
The output of netcfg with the OLD PROFILE and NEW PROFILE

#NETCFG_DEBUG="yes" netcfg wireless

DEBUG: Loading profile wireless
DEBUG: Configuring interface eth0 :: heim up     [BUSY]
DEBUG: status reported to profile_up as:
DEBUG: Loading profile heim
DEBUG: Configuring interface eth0
DEBUG: wireless_up stop_wpa eth0
DEBUG: wireless_up ifup
DEBUG: wireless_up Configuration generated at /tmp/wpa.eth0/wpa.conf
DEBUG: wireless_up start_wpa eth0 /tmp/wpa.eth0/wpa.conf wext
DEBUG: wireless_up wpa_check

> WPA Authentication/Association Failed
DEBUG: profile_up connect failed                            [FAIL]

output from manual configuration
Let's do it manually and get some info

#iwconfig

eth0      IEEE 802.11  Nickname:""
          Access Point: Not-Associated   
          Link Quality:5  Signal level:0  Noise level:0
          Rx invalid nwid:0  invalid crypt:0  invalid misc:0

#ip link set eth0 up

#iwlist eth0 scan
eth0      Failed to read scan data : Invalid argument

Either WPA or not encryption in the router 
# wpa_supplicant -i eth0 -dd -c /etc/wpa_supplicant.conf

Initializing interface 'eth0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='DIR=/run/wpa_supplicant GROUP=wheel'
Line: 2 - start of a new network block
ssid - hexdump_ascii(len=13):
     54 61 75 6e 75 73 53 74 61 74 69 6f 6e            TaunusStation   
proto: 0x2
key_mgmt: 0x2
pairwise: 0x18
group: 0x18
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='TaunusStation'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=19 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: 74:f0:6d:4a:18:df
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
WPS: UUID based on MAC address - hexdump(len=16): 7e 9b ea ad d9 33 54 77 a6 89 b4 6b e5 81 17 28
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
ctrl_interface_group=10 (from group name 'wheel')
Added interface eth0
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
Wireless event: cmd=0x8b1a len=40
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
State: DISCONNECTED -> SCANNING
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 5 seconds
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized
Scan timeout - try to get results
ioctl[SIOCGIWSCAN]: Invalid argument
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 5 seconds
^CCTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth0
No keys have been configured - skip key clearing
State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
netlink: Operstate: linkmode=0, operstate=6

alternative 

# iwconfig wlan0 channel auto 

Error for wireless request "Set Frequency" (8B04) :
    SET failed on device wlan0 ; No such device.

dmesg is really poor:

[ 1858.323213] eth0: no IPv6 routers present

I have some smattering of  wireless but I should keep reading and figure out what is going on... if someone could point out where my problem lies and how i can fix it... well I'd be really grateful

Cheers,

bradomyn

Last edited by bradomyn (2011-09-26 21:37:03)

Offline

#2 2011-09-13 03:20:42

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,822

Re: [SOLVED] Wireless configuration overnight doesn't work any more....

How do you recover?

Your description is similar to an experience I had with a Dlink router.  Rebooting the router fixed my problem.  Your problem does not look like the router though hmm


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-09-13 08:02:38

jacmoe
Member
From: Denmark
Registered: 2011-09-11
Posts: 11
Website

Re: [SOLVED] Wireless configuration overnight doesn't work any more....

I have no idea what I'm talking about, but if it happened overnight (and I believe that's possible), it is probably your router/whatever which upgraded itself.
That would explain why it happened while you were away.
And maybe it just needs a reboot as Ewaller said. wink

Last edited by jacmoe (2011-09-13 08:03:24)


Less noise. More signal.

Offline

#4 2011-09-13 10:55:58

bradomyn
Member
Registered: 2011-08-05
Posts: 15

Re: [SOLVED] Wireless configuration overnight doesn't work any more....

Thank you for the replies,

unfortunately it's not the router. I usually switch on/off the router if I'm not at home. Therefore  I have ruled out from the very beginning the router. And I'd rule out an upgrade of  arch's packages as well.  I installed->upgraded all packages  after a fresh installation of arch,  and then I started the configuration...

ewaller, nice "How to"

Cheers

Last edited by bradomyn (2011-09-13 10:59:39)

Offline

#5 2011-09-14 13:38:07

bradomyn
Member
Registered: 2011-08-05
Posts: 15

Re: [SOLVED] Wireless configuration overnight doesn't work any more....

Hi,

I found the problem, but not solved, somehow! I remove everything wireless related and started from scratch. Apparently the wl driver was working and overnight not anymore. The point is that I rmmod and insmod the driver several times and I didn't get any sign that led me think that the driver was the problem... so solved and the informatin above can be used as example of configuration...

Cheers

Offline

Board footer

Powered by FluxBB