PDA

View Full Version : atheros ar542x hard blocked after ifconfig down and up



999mcnally
2015-08-20, 20:14
I am having some troubles with my networking. I have a fresh install of The newest Kali-Linux. My problem is: after I boot up I try to run this simple script and I get stuck in airplane mode:

ifconfig wlan0 down && macchanger -A wlan0 && ifconfig wlan0 up

I've attempted to us rfkill to unblock the hard block to no avail.

Here's a sample of what I'm talking about:


~# ifconfig


eth0 Link encap:Ethernet HWaddr 00:1e:68:46:4b:ae

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)



lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:65536 Metric:1

RX packets:20 errors:0 dropped:0 overruns:0 frame:0

TX packets:20 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:1200 (1.1 KiB) TX bytes:1200 (1.1 KiB)



wlan0 Link encap:Ethernet HWaddr 00:1f:3a:79:cc:6c

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

~# rfkill list

0: phy0: Wireless LAN

Soft blocked: no

Hard blocked: no

~# dmesg|grep ath

[ 13.983312] ath5k 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control

[ 13.983648] ath5k 0000:03:00.0: registered as 'phy0'

[ 14.573215] ath: EEPROM regdomain: 0x64

[ 14.573221] ath: EEPROM indicates we should expect a direct regpair map

[ 14.573225] ath: Country alpha2 being used: 00

[ 14.573226] ath: Regpair used: 0x64

[ 14.614229] ath5k: phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)




~# lsmod|grep ath

ath5k 139264 0

ath 24576 1 ath5k

mac80211 487424 1 ath5k

cfg80211 393216 3 ath,ath5k,mac80211

~# ifconfig wlan0 down && macchanger -A wlan0 && ifconfig wlan0 up

Current MAC: 00:1f:3a:79:cc:6c (Hon Hai Precision Ind.Co., Ltd.)

Permanent MAC: 00:1f:3a:79:cc:6c (Hon Hai Precision Ind.Co., Ltd.)

New MAC: 00:1d:d4:aa:73:d9 (ARRIS Group, Inc.)


~# rfkill list

0: phy0: Wireless LAN

Soft blocked: no

Hard blocked: yes



~# rfkill unblock all



~# rfkill list

0: phy0: Wireless LAN

Soft blocked: no

Hard blocked: yes



As you can see the ifconfig down and up hard blocks it. I've tried switching on and off the hardware on the front of the computer, however it stays stuck. When I reboot it's not in airplane mode but it gets messed up if I try to go into monitor mode or ifconfig down then up. Thanks for any help in advance.