Saturday, 7 February 2015

[ubuntu] wifi dropping out constantly on 14.04 LTS topic






Hello everyone.
I am having a lot of trouble with my wifi connection.
It can't be the wifi device (Huawei E5776v2 LTE OV PP Wifi) because i have my iPad and my Android smart phone connected to the net through the device and they work perfectly with no dropping out.
I also use a a roof mounted antenna signal booster.
Its only dropping out on the desktop running Ubuntu 14.04 LTS.
When it drops out I have to click disconnect - even though it is already disconnected - the click on the wifi device name to reconnect.
This occurs from every 2 to 5 minutes.
I've looked at questions relating the same or similar issue but haven't seen a solution.

Output of iwconfig:
iwconfig
wwan0 no wireless extensions.


ppp0 no wireless extensions.


eth0 no wireless extensions.


lo no wireless extensions.


wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off

Output of ifconfig
ifconfig
eth0 Link encap:Ethernet HWaddr d4:3d:7e:6c:da:80
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:5157 errors:0 dropped:0 overruns:0 frame:0
TX packets:5157 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:461563 (461.5 KB) TX bytes:461563 (461.5 KB)


ppp0 Link encap:Point-to-Point Protocol
inet addr:10.178.48.188 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1925 errors:0 dropped:0 overruns:0 frame:0
TX packets:1826 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:906457 (906.4 KB) TX bytes:353935 (353.9 KB)

Output of ifconfig -a
ifconfig -a
eth0 Link encap:Ethernet HWaddr d4:3d:7e:6c:da:80
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:5353 errors:0 dropped:0 overruns:0 frame:0
TX packets:5353 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:478526 (478.5 KB) TX bytes:478526 (478.5 KB)


ppp0 Link encap:Point-to-Point Protocol
inet addr:10.178.48.188 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4147 errors:0 dropped:0 overruns:0 frame:0
TX packets:4096 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2293901 (2.2 MB) TX bytes:819091 (819.0 KB)


wlan0 Link encap:Ethernet HWaddr 80:1f:02:b0:c0:e5
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:17671 errors:0 dropped:0 overruns:0 frame:0
TX packets:17581 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14076037 (14.0 MB) TX bytes:3168396 (3.1 MB)


wwan0 Link encap:Ethernet HWaddr 0c:5b:8f:27:9a:64
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)


Output of wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script && ./wireless_script
using my OPTUS 4G USB dongle

########## wireless info START ##########


Report from: 07 Feb 2015 19:26 AEDT +1100


Booted last: 07 Feb 2015 17:25 AEDT +1100


Script from: 20 Sep 2014 23:04 UTC +0000


##### release ###########################


Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty


##### kernel ############################


Linux 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


Parameters: ro, quiet, splash, vt.handoff=7


##### desktop ###########################


Ubuntu


##### lspci #############################


01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7800]
Kernel driver in use: r8169


##### lsusb #############################


Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 1c4f:0048 SiGma Micro
Bus 004 Device 002: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet K-2024 Multimedia Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard
Bus 001 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 003: ID 0dd8:ac00 Netac Technology Co., Ltd
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


##### PCMCIA card info ##################


##### rfkill ############################


0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no


##### lsmod #############################


rtl8192cu 67723 0
rtl_usb 18448 1 rtl8192cu
rtlwifi 63475 2 rtl_usb,rtl8192cu
rtl8192c_common 53172 1 rtl8192cu
mac80211 630669 3 rtl_usb,rtlwifi,rtl8192cu
cfg80211 484040 2 mac80211,rtlwifi


##### interfaces ########################


auto lo
iface lo inet loopback


##### ifconfig ##########################


eth0 Link encap:Ethernet HWaddr <MAC 'eth0' [IF]>
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)


ppp0 Link encap:Point-to-Point Protocol
inet addr:10.178.48.188 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:6905 errors:0 dropped:0 overruns:0 frame:0
TX packets:6061 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:5124065 (5.1 MB) TX bytes:1101942 (1.1 MB)


wlan0 Link encap:Ethernet HWaddr <MAC 'wlan0' [IF]>
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:17671 errors:0 dropped:0 overruns:0 frame:0
TX packets:17581 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14076037 (14.0 MB) TX bytes:3168396 (3.1 MB)


wwan0 Link encap:Ethernet HWaddr <MAC 'wwan0' [IF]>
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)


##### iwconfig ##########################


wwan0 no wireless extensions.


ppp0 no wireless extensions.


eth0 no wireless extensions.


lo no wireless extensions.


wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off



##### route #############################


Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.64.64.64 0.0.0.0 UG 0 0 0 ppp0
10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0


##### resolv.conf #######################


nameserver 127.0.1.1


##### nm-tool ###########################


NetworkManager Tool


State: connected (global)


- Device: ttyUSB1 [Optus Wireless Broadband] ----------------------------------
Type: Mobile Broadband (GSM)
Driver: huawei_cdc_ncm, option1
State: connected
Default: yes


Capabilities:


IPv4 Settings:
Address: 10.178.48.188
Prefix: 32 (255.255.255.255)
Gateway: 10.64.64.64


DNS: 198.142.0.51
DNS: 211.29.132.12


- Device: wlan0 ----------------------------------------------------------------
Type: 802.11 WiFi
Driver: rtl8192cu
State: unavailable
Default: no
HW Address: <MAC 'wlan0' [IF]>


Capabilities:


Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes


Wireless Access Points


- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: r8169
State: unavailable
Default: no
HW Address: <MAC 'eth0' [IF]>


Capabilities:
Carrier Detect: yes


Wired Properties
Carrier: off


##### NetworkManager.state ##############


[main]
NetworkingEnabled=true
WirelessEnabled=false
WWANEnabled=true
WimaxEnabled=true


##### NetworkManager.conf ###############


[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq


[ifupdown]
managed=false


##### NetworkManager profiles ###########


[[/etc/NetworkManager/system-connections/OptusWLAN]] (600 root)
[connection] id=OptusWLAN | type=802-11-wireless
[802-11-wireless] ssid=OptusWLAN | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto


[[/etc/NetworkManager/system-connections/OptusWLAN 1]] (600 root)
[connection] id=OptusWLAN 1 | type=802-11-wireless
[802-11-wireless] ssid=OptusWLAN | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto


##### iw reg get ########################


Region: Australia/Melbourne (based on set time zone)


country 00:
(2402 - 2472 @ 40), (3, 20)
(2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS


##### iwlist channels ###################


wwan0 no frequency information.


ppp0 no frequency information.


eth0 no frequency information.


lo no frequency information.


wlan0 11 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz


##### iwlist scan #######################


wwan0 Interface doesn't support scanning.


ppp0 Interface doesn't support scanning.


eth0 Interface doesn't support scanning.


lo Interface doesn't support scanning.


wlan0 Interface doesn't support scanning : Network is down


##### module infos ######################


[rtl8192cu]
filename: /lib/modules/3.13.0-45-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko
firmware: rtlwifi/rtl8192cufw_TMSC.bin
firmware: rtlwifi/rtl8192cufw_B.bin
firmware: rtlwifi/rtl8192cufw_A.bin
firmware: rtlwifi/rtl8192cufw.bin
description: Realtek 8192C/8188C 802.11n USB wireless
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Ziv Huang <ziv_huang@realtek.com>
author: Georgia <georgia@realtek.com>
srcversion: 2E676CE01D91070679A9EF3
depends: rtlwifi,rtl8192c-common,rtl_usb,mac80211
intree: Y
vermagic: 3.13.0-45-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 34:99:21:39:F3:DA:40:B6:20:BD:55:17:59:7B:A8:5A:F5 :79:7C:9A
sig_hashalgo: sha512
parm: swenc:Set to 1 for software crypto (default 0)
(bool)
parm: debug:Set debug level (0-5) (default 0) (int)


[rtl_usb]
filename: /lib/modules/3.13.0-45-generic/kernel/drivers/net/wireless/rtlwifi/rtl_usb.ko
description: USB basic driver for rtlwifi
license: GPL
author: Larry Finger <Larry.FInger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
srcversion: 9A4393167BB287C0A5DC011
depends: rtlwifi,mac80211
intree: Y
vermagic: 3.13.0-45-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 34:99:21:39:F3:DA:40:B6:20:BD:55:17:59:7B:A8:5A:F5 :79:7C:9A
sig_hashalgo: sha512


[rtlwifi]
filename: /lib/modules/3.13.0-45-generic/kernel/drivers/net/wireless/rtlwifi/rtlwifi.ko
description: Realtek 802.11n PCI wireless core
license: GPL
author: Larry Finger <Larry.FInger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
srcversion: 730FEE1A7696EA37A982482
depends: mac80211,cfg80211
intree: Y
vermagic: 3.13.0-45-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 34:99:21:39:F3:DA:40:B6:20:BD:55:17:59:7B:A8:5A:F5 :79:7C:9A
sig_hashalgo: sha512


[rtl8192c_common]
filename: /lib/modules/3.13.0-45-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko
description: Realtek 8192C/8188C 802.11n PCI wireless
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Ziv Huang <ziv_huang@realtek.com>
author: Georgia <georgia@realtek.com>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
srcversion: 32F826C623BC49F764F7974
depends:
intree: Y
vermagic: 3.13.0-45-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 34:99:21:39:F3:DA:40:B6:20:BD:55:17:59:7B:A8:5A:F5 :79:7C:9A
sig_hashalgo: sha512


[mac80211]
filename: /lib/modules/3.13.0-45-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: 385697223F8285F67C93A06
depends: cfg80211
intree: Y
vermagic: 3.13.0-45-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 34:99:21:39:F3:DA:40:B6:20:BD:55:17:59:7B:A8:5A:F5 :79:7C:9A
sig_hashalgo: sha512
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)


[cfg80211]
filename: /lib/modules/3.13.0-45-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: C2478077E22138832B71659
depends:
intree: Y
vermagic: 3.13.0-45-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 34:99:21:39:F3:DA:40:B6:20:BD:55:17:59:7B:A8:5A:F5 :79:7C:9A
sig_hashalgo: sha512
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)


##### module parameters #################


[rtl8192cu]
debug: 0
swenc: N


[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500


[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00


##### /etc/modules ######################


lp
rtc


##### modprobe options ##################


[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci


[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac


[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off


[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211


[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en


##### rc.local ##########################


exit 0


##### pm-utils ##########################


##### udev rules ########################


[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# USB device 0x:0x (rtl8192cu)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"


##### dmesg #############################


[ 4234.030510] wlan0: authenticate with <MAC address>
[ 4234.053974] wlan0: send auth to <MAC address> (try 1/3)
[ 4234.057080] wlan0: authenticated
[ 4234.057877] wlan0: associate with <MAC address> (try 1/3)
[ 4234.072485] wlan0: RX AssocResp from <MAC address> (capab=0x411 status=0 aid=1)
[ 4234.072563] wlan0: associated
[ 4239.753783] wlan0: deauthenticated from <MAC address> (Reason: 15)
[ 4240.578722] wlan0: authenticate with <MAC address>
[ 4240.603000] wlan0: send auth to <MAC address> (try 1/3)
[ 4240.615053] wlan0: authenticated
[ 4240.618137] wlan0: associate with <MAC address> (try 1/3)
[ 4240.644776] wlan0: RX AssocResp from <MAC address> (capab=0x411 status=0 aid=1)
[ 4240.644862] wlan0: associated
[ 4246.316880] wlan0: deauthenticated from <MAC address> (Reason: 15)
[ 4247.142906] wlan0: authenticate with <MAC address>
[ 4247.166553] wlan0: send auth to <MAC address> (try 1/3)
[ 4247.176706] wlan0: authenticated
[ 4247.178316] wlan0: associate with <MAC address> (try 1/3)
[ 4247.205745] wlan0: RX AssocResp from <MAC address> (capab=0x411 status=0 aid=1)
[ 4247.205827] wlan0: associated
[ 5102.163567] wlan0: deauthenticating from <MAC address> by local choice (reason=3)


########## wireless info END ############

Now I'm going to remove my USB dongle and change over to the WIFI device. Posting this in case it disappears when I disconnect. Will edit this post and add the output using the wifi device.

Output of: wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script && ./wireless_script
using my Huawei wifi device.########## wireless info START ##########


Report from: 07 Feb 2015 19:44 AEDT +1100


Booted last: 07 Feb 2015 17:25 AEDT +1100


Script from: 20 Sep 2014 23:04 UTC +0000


##### release ###########################


Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty


##### kernel ############################


Linux 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


Parameters: ro, quiet, splash, vt.handoff=7


##### desktop ###########################


Ubuntu


##### lspci #############################


01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7800]
Kernel driver in use: r8169


##### lsusb #############################


Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 1c4f:0048 SiGma Micro
Bus 004 Device 002: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet K-2024 Multimedia Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 003: ID 0dd8:ac00 Netac Technology Co., Ltd
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


##### PCMCIA card info ##################


##### rfkill ############################


0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no


##### lsmod #############################


rtl8192cu 67723 0
rtl_usb 18448 1 rtl8192cu
rtlwifi 63475 2 rtl_usb,rtl8192cu
rtl8192c_common 53172 1 rtl8192cu
mac80211 630669 3 rtl_usb,rtlwifi,rtl8192cu
cfg80211 484040 2 mac80211,rtlwifi


##### interfaces ########################


auto lo
iface lo inet loopback


##### ifconfig ##########################


eth0 Link encap:Ethernet HWaddr <MAC 'eth0' [IF]>
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)


wlan0 Link encap:Ethernet HWaddr <MAC 'wlan0' [IF]>
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::821f:2ff:feb0:c0e5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17800 errors:0 dropped:0 overruns:0 frame:0
TX packets:17750 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14119673 (14.1 MB) TX bytes:3206575 (3.2 MB)


##### iwconfig ##########################


eth0 no wireless extensions.


lo no wireless extensions.


wlan0 IEEE 802.11bgn ESSID:"OptusWLAN"
Mode:Managed Frequency:2.437 GHz Access Point: <MAC 'OptusWLAN' [AC1]>
Bit Rate=72.2 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=66/70 Signal level=-44 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:1 Missed beacon:0


##### route #############################


Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0


##### resolv.conf #######################


nameserver 127.0.1.1
search www.huaweimobilewifi.com


##### nm-tool ###########################


NetworkManager Tool


State: connected (global)


- Device: wlan0 [OptusWLAN 1] -------------------------------------------------
Type: 802.11 WiFi
Driver: rtl8192cu
State: connected
Default: yes
HW Address: <MAC 'wlan0' [IF]>


Capabilities:
Speed: 72 Mb/s


Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes


Wireless Access Points (* = current AP)
*OptusWLAN: Infra, <MAC 'OptusWLAN' [AC1]>, Freq 2437 MHz, Rate 54 Mb/s, Strength 74 WPA WPA2


IPv4 Settings:
Address: 192.168.1.100
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.1


DNS: 192.168.1.1


- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: r8169
State: unavailable
Default: no
HW Address: <MAC 'eth0' [IF]>


Capabilities:
Carrier Detect: yes


Wired Properties
Carrier: off


##### NetworkManager.state ##############


[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true


##### NetworkManager.conf ###############


[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq


[ifupdown]
managed=false


##### NetworkManager profiles ###########


[[/etc/NetworkManager/system-connections/OptusWLAN]] (600 root)
[connection] id=OptusWLAN | type=802-11-wireless
[802-11-wireless] ssid=OptusWLAN | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto


[[/etc/NetworkManager/system-connections/OptusWLAN 1]] (600 root)
[connection] id=OptusWLAN 1 | type=802-11-wireless
[802-11-wireless] ssid=OptusWLAN | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto


##### iw reg get ########################


Region: Australia/Melbourne (based on set time zone)


country 00:
(2402 - 2472 @ 40), (3, 20)
(2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS


##### iwlist channels ###################


eth0 no frequency information.


lo no frequency information.


wlan0 11 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Current Frequency:2.437 GHz (Channel 6)


##### iwlist scan #######################


Channel occupancy:


1 APs on Frequency:2.437 GHz (Channel 6)


eth0 Interface doesn't support scanning.


lo Interface doesn't support scanning.


wlan0 Scan completed :
Cell 01 - Address: <MAC 'OptusWLAN' [AC1]>
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=60/70 Signal level=-50 dBm
Encryption key:on
ESSID:"OptusWLAN"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000002dbe132
Extra: Last beacon: 96ms ago
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK


##### module infos ######################


[rtl8192cu]
filename: /lib/modules/3.13.0-45-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko
firmware: rtlwifi/rtl8192cufw_TMSC.bin
firmware: rtlwifi/rtl8192cufw_B.bin
firmware: rtlwifi/rtl8192cufw_A.bin
firmware: rtlwifi/rtl8192cufw.bin
description: Realtek 8192C/8188C 802.11n USB wireless
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Ziv Huang <ziv_huang@realtek.com>
author: Georgia <georgia@realtek.com>
srcversion: 2E676CE01D91070679A9EF3
depends: rtlwifi,rtl8192c-common,rtl_usb,mac80211
intree: Y
vermagic: 3.13.0-45-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 34:99:21:39:F3:DA:40:B6:20:BD:55:17:59:7B:A8:5A:F5 :79:7C:9A
sig_hashalgo: sha512
parm: swenc:Set to 1 for software crypto (default 0)
(bool)
parm: debug:Set debug level (0-5) (default 0) (int)


[rtl_usb]
filename: /lib/modules/3.13.0-45-generic/kernel/drivers/net/wireless/rtlwifi/rtl_usb.ko
description: USB basic driver for rtlwifi
license: GPL
author: Larry Finger <Larry.FInger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
srcversion: 9A4393167BB287C0A5DC011
depends: rtlwifi,mac80211
intree: Y
vermagic: 3.13.0-45-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 34:99:21:39:F3:DA:40:B6:20:BD:55:17:59:7B:A8:5A:F5 :79:7C:9A
sig_hashalgo: sha512


[rtlwifi]
filename: /lib/modules/3.13.0-45-generic/kernel/drivers/net/wireless/rtlwifi/rtlwifi.ko
description: Realtek 802.11n PCI wireless core
license: GPL
author: Larry Finger <Larry.FInger@lwfinger.net>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
srcversion: 730FEE1A7696EA37A982482
depends: mac80211,cfg80211
intree: Y
vermagic: 3.13.0-45-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 34:99:21:39:F3:DA:40:B6:20:BD:55:17:59:7B:A8:5A:F5 :79:7C:9A
sig_hashalgo: sha512


[rtl8192c_common]
filename: /lib/modules/3.13.0-45-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko
description: Realtek 8192C/8188C 802.11n PCI wireless
license: GPL
author: Larry Finger <Larry.Finger@lwfinger.net>
author: Ziv Huang <ziv_huang@realtek.com>
author: Georgia <georgia@realtek.com>
author: Realtek WlanFAE <wlanfae@realtek.com>
author: lizhaoming <chaoming_li@realsil.com.cn>
srcversion: 32F826C623BC49F764F7974
depends:
intree: Y
vermagic: 3.13.0-45-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 34:99:21:39:F3:DA:40:B6:20:BD:55:17:59:7B:A8:5A:F5 :79:7C:9A
sig_hashalgo: sha512


[mac80211]
filename: /lib/modules/3.13.0-45-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: 385697223F8285F67C93A06
depends: cfg80211
intree: Y
vermagic: 3.13.0-45-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 34:99:21:39:F3:DA:40:B6:20:BD:55:17:59:7B:A8:5A:F5 :79:7C:9A
sig_hashalgo: sha512
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)


[cfg80211]
filename: /lib/modules/3.13.0-45-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: C2478077E22138832B71659
depends:
intree: Y
vermagic: 3.13.0-45-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 34:99:21:39:F3:DA:40:B6:20:BD:55:17:59:7B:A8:5A:F5 :79:7C:9A
sig_hashalgo: sha512
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)


##### module parameters #################


[rtl8192cu]
debug: 0
swenc: N


[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500


[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00


##### /etc/modules ######################


lp
rtc


##### modprobe options ##################


[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci


[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac


[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off


[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211


[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en


##### rc.local ##########################


exit 0


##### pm-utils ##########################


##### udev rules ########################


[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# USB device 0x:0x (rtl8192cu)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"


##### dmesg #############################


[ 4240.644776] wlan0: RX AssocResp from <MAC 'OptusWLAN' [AC1]> (capab=0x411 status=0 aid=1)
[ 4240.644862] wlan0: associated
[ 4246.316880] wlan0: deauthenticated from <MAC 'OptusWLAN' [AC1]> (Reason: 15)
[ 4247.142906] wlan0: authenticate with <MAC 'OptusWLAN' [AC1]>
[ 4247.166553] wlan0: send auth to <MAC 'OptusWLAN' [AC1]> (try 1/3)
[ 4247.176706] wlan0: authenticated
[ 4247.178316] wlan0: associate with <MAC 'OptusWLAN' [AC1]> (try 1/3)
[ 4247.205745] wlan0: RX AssocResp from <MAC 'OptusWLAN' [AC1]> (capab=0x411 status=0 aid=1)
[ 4247.205827] wlan0: associated
[ 5102.163567] wlan0: deauthenticating from <MAC 'OptusWLAN' [AC1]> by local choice (reason=3)
[ 8256.203865] rtl8192cu: MAC auto ON okay!
[ 8256.237023] rtl8192cu: Tx queue select: 0x05
[ 8256.598354] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 8282.194021] wlan0: authenticate with <MAC 'OptusWLAN' [AC1]>
[ 8282.206054] wlan0: send auth to <MAC 'OptusWLAN' [AC1]> (try 1/3)
[ 8282.208482] wlan0: authenticated
[ 8282.212011] wlan0: associate with <MAC 'OptusWLAN' [AC1]> (try 1/3)
[ 8282.228790] wlan0: RX AssocResp from <MAC 'OptusWLAN' [AC1]> (capab=0x411 status=0 aid=1)
[ 8282.228857] wlan0: associated
[ 8282.229039] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready


########## wireless info END ############


What other information is required to help sort this issue?






No comments:

Post a Comment