Bugzilla – Bug 893665
no wireless connection via Realtek 802.11n USB NIC wlp0s3f3u4
Last modified: 2016-04-28 06:39:34 UTC
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0 I have installed openSUSE-Factory and tried to get a network connection via a TP-LINK 150Mbps Wireless N Nano USB Adapter, model TL-WN725N. During the install I configured a wired network IP 192.168.2.55 and that works correct. Since the wired connection is a temporalily situation I configured in Yast a Wireless connection with IP 192.168.2.56. The configuration went oke but the system makes no connection. I follows a thread of LW Finger "Getting your wireless to work" 2 What device do you have? In yast/hardware/hardware-information I found Realek 802.11n NIC (wlp0s3f3u4) and kernel driver r8188eu. 3 Do you need to install external firmware? In Yast/Misc/System-logs I cannot find /var/log/boot.msg I find only /var/log/boot.log and that does not contains the word "firmware". Also with the command "dmesg | grep firmware" i do not find an entry. 4 Making a connection MD8000-openSUSE:/home/frans # /usr/sbin/iwlist scan enp0s4 Interface doesn't support scanning. wlp0s3f3u4 Scan completed : Cell 01 - Address: BC:05:43:F2:77:B4 ESSID:"FRITZ!Box Fon WLAN 7340" Protocol:IEEE 802.11bgn Mode:Master Frequency:2.412 GHz (Channel 1) Encryption key:on Bit Rates:300 Mb/s Extra:wpa_ie=dd160abaf20101000050f2020100df20201000050f202 IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : TKIP Authentication Suites (1) : PSK Extra:rsn_ie=30140100000fac020100000fac040100000fac020000 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK IE: Unknown: DD6F0050F204104A0001101044000102103B000103104700106FFD8EE9EFEE1239D507BC0543F277B41021000341564D1023000446426F78102400043030303010420004303030301054000800060050F20400011011000446426F78100800022788103C0001031049000600372A000120 Quality:0 Signal level:0 Noise level:0 lo Interface doesn't support scanning. MD8000-openSUSE:/home/frans # 5 Encryption was properly set in configuration via yast 6 Association and Authentication MD8000-openSUSE:/home/frans # /usr/sbin/iwconfig enp0s4 no wireless extensions. wlp0s3f3u4 unassociated Nickname:"<WIFI@REALTEK>" Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated Sensitivity:0/0 Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 lo no wireless extensions. MD8000-openSUSE:/home/frans # Part of output dmesg 22.172033] r8188eu: module is from the staging directory, the quality is unknown, you have been warned. [ 22.180130] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0) [ 22.213373] usbcore: registered new interface driver r8188eu [ 22.608250] saa7134 ALSA driver for DMA sound loaded [ 22.608300] saa7134[0]/alsa: saa7134[0] at 0xe2425000 irq 19 registered as card -1 [ 22.743091] systemd-udevd[434]: renamed network interface wlan0 to wlp0s3f3u4 [ 25.311310] Adding 811244k swap on /dev/sda7. Priority:-1 extents:1 across:811244k FS [ 25.889031] EXT4-fs (sda12): mounted filesystem with ordered data mode. Opts: acl,user_xattr [ 27.649235] EXT4-fs (sda10): mounting ext3 file system using the ext4 subsystem [ 28.243914] EXT4-fs (sda10): mounted filesystem with ordered data mode. Opts: (null) [ 28.307955] audit: type=1305 audit(1409043811.956:2): audit_pid=567 old=0 auid=4294967295 ses=4294967295 res=1 [ 41.817729] NET: Registered protocol family 17 [ 42.497155] No iBFT detected. [ 43.688445] enp0s4: Media Link Off [ 48.706781] enp0s4: Media Link On 100mbps full-duplex [ 76.532839] Bluetooth: Core ver 2.19 [ 76.532883] NET: Registered protocol family 31 [ 76.532886] Bluetooth: HCI device and connection manager initialized [ 76.532902] Bluetooth: HCI socket layer initialized [ 76.532906] Bluetooth: L2CAP socket layer initialized [ 76.532924] Bluetooth: SCO socket layer initialized [ 76.544641] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 76.544647] Bluetooth: BNEP filters: protocol multicast [ 76.544663] Bluetooth: BNEP socket layer initialized [ 89.483317] fuse init (API version 7.23) [ 2657.992328] perf interrupt took too long (2507 > 2500), lowering kernel.perf_event_max_sample_rate to 50000 [ 5026.887373] perf interrupt took too long (5002 > 5000), lowering kernel.perf_event_max_sample_rate to 25000 [ 8398.886546] R8188EU: Firmware Version 11, SubVersion 1, Signature 0x88e1 [ 8399.268613] MAC Address = e8:94:f6:16:95:60 [ 8399.273304] IPv6: ADDRCONF(NETDEV_UP): wlp0s3f3u4: link is not ready [ 8584.856011] R8188EU: ERROR indicate disassoc [ 8587.824011] R8188EU: ERROR indicate disassoc [ 8590.792011] R8188EU: ERROR indicate disassoc [ 8593.760011] R8188EU: ERROR indicate disassoc [ 8610.144011] R8188EU: ERROR indicate disassoc [ 8633.288011] R8188EU: ERROR indicate disassoc Regards, Frans Reproducible: Always Steps to Reproduce: 1. Just reboot the system 2. 3. Actual Results: No wireless connection Expected Results: Wireless connection The same wireless NIC function in openSUSE 13.1 final correctly, after I had aplied Computer Tip "Realtek RTL8188EU in openSUSE 13.1" from URL https://sites.google.com/site/computertip/3
It seems the driver is loaded and the device can scan networks so that part looks good. But "Access Point: Not-Associated" is not good. One interesting question is if you use wicked or NetworkManager to configure the wireless network.
I just tested with a Factory system updated yesterday. One I installed the kernel-firmware, my TP-Link TL-WN725N connected immediately using NetworkManager. The new KDE applet is definitely inferior to the plasmoid-networkmanagement applet in 13.1.
Hallo Bernhard, Larry, My initial report was with wicked (via Yast) This evening I gave it a try with NetworkManager and now the Wireless connection works correctly. It started up however .slowly Regards, Frans
Please attach the following logs: ‒ set DEBUG=all in /etc/sysconfig/network/config ‒ systemctl restart wickedd ‒ wicked --debug all ifup all # systemctl restart wicked ‒ wicked ifstatus all > status.log ‒ wicked show-config > configs.log ‒ journalctl -b -o short-iso > wicked.log ‒ ip addr show > ip_addr.log ‒ ip route show > routes.log ‒ ip -6 route show >> routes.log
Yes, the results differs from HW to HW. While intel HW we have here in our notebooks does not cause trouble, other HW is not always reliable. I've the following stick here: # hwinfo --netcard 28: USB 00.0: 0282 WLAN controller [Created at usb.122] Unique ID: 33sj.x9IMWGGtcg8 Parent ID: ADDn.4Nx_qoDfSd7 SysFS ID: /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0 SysFS BusID: 1-1.4:1.0 Hardware Class: network Model: "Realtek 802.11n WLAN Adapter" Hotplug: USB Vendor: usb 0x0bda "Realtek Semiconductor Corp." Device: usb 0x8176 "802.11n WLAN Adapter" Revision: "2.00" Serial ID: "00e04c000001" Driver: "rtl8192cu" Driver Modules: "rtl8192cu" Device File: wlan0 Features: WLAN Speed: 480 Mbps HW Address: 80:1f:02:bd:34:5c Link detected: no WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 WLAN encryption modes: WEP40 WEP104 TKIP CCMP WLAN authentication modes: open sharedkey wpa-psk wpa-eap Module Alias: "usb:v0BDAp8176d0200dc00dsc00dp00icFFiscFFipFFin00" Driver Info #0: Driver Status: rtl8192cu is active Driver Activation Cmd: "modprobe rtl8192cu" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #34 (Hub) and it basically works (with kernel-firmware-20140903git-2.1.noarch), but I'm only able to connect one of the two networks I have. I've never seen the second one in the scan results -- the signal is just perhaps 5% worser but my mobile phone and notebook (intel HW) does not have any problem to see and connect to both...
Hm... I've changed the settings to "everything auto" (enabling wireless-b and all that stuff...) -- but now it simply worked: A "iwlist wlan0 scan" reports them with: network 1 [not working before, AP FritzBox 6369] Quality=50/70 Signal level=-60 dBm network 2 [working before, D-Link DIR-850L] Quality=54/70 Signal level=-56 dBm
Ahm... I've just overlooked before, that the card does not list channel 13 which the AP were using before (CRDA were DE, but it seems to add ch12+13). So basically the above HW / firmware works too. Question is now what this error from kernel driver means: [ 8584.856011] R8188EU: ERROR indicate disassoc AFAIS, it is a staging driver == unknown quality ... Please provide the logs requested in comment 4 and additionally also the /var/log/wpa_supplicant.log and /var/log/NetworkManager.
Hello Pawel, I am just back from vacation, so sorry for late reaction. Just a few questions to clarify what you need and how to get the logs. 1 Should I do these steps with "Wicked" reconfigured, since I currently run networkmanager successfully? 2 How should I get the logs? Should I run on the command line just the various commands in the given sequence. Should I run the commands as user or as root? Regards, Frans
(In reply to Frans Leerink from comment #8) > Hello Pawel, Hi Frank, > > I am just back from vacation, so sorry for late reaction. > No worries :-). > Just a few questions to clarify what you need and how to get the logs. > > 1 Should I do these steps with "Wicked" reconfigured, since I currently run > networkmanager successfully? > First of all disable and kill NetworkManager properly. Description how to do that can be found here: https://bugzilla.suse.com/show_bug.cgi?id=893678#c17 > 2 How should I get the logs? Should I run on the command line just the > various > commands in the given sequence. Should I run the commands as user or as > root? > Here's more detailed description: ‒ set DEBUG=all in /etc/sysconfig/network/config edit /etc/sysconfig/network/config file and tweak the requested DEBUG variable. - enable wpa_supplicant in the debugging mode Easiest is to edit the wpa_supplicant.service file and restart it by: * Apply the following diff (note it is just an additional -d option on the wpa_supplicant parm list) diff --git a/usr/lib/systemd/system/wpa_supplicant.service b/usr/lib/systemd/system/wpa_supplicant.service.old index c764a53..7f475cf 100644 --- a/usr/lib/systemd/system/wpa_supplicant.service +++ b/usr/lib/systemd/system/wpa_supplicant.service.old @@ -5,7 +5,7 @@ Before=network.target [Service] Type=dbus BusName=fi.w1.wpa_supplicant1 -ExecStart=/usr/sbin/wpa_supplicant -d -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f /var/log/wpa_supplicant.log +ExecStart=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f /var/log/wpa_supplicant.log [Install] WantedBy=multi-user.target * execute as root on terminal: systemctl daemon-reload * execute as root on terminal: systemctl restart wpa_supplicant All the following commands should be manually executed as root on the terminal: ‒ systemctl restart wickedd ‒ wicked --debug all ifup all # systemctl restart wicked ‒ wicked ifstatus all > status.log ‒ wicked show-config > configs.log ‒ journalctl -b -o short-iso > wicked.log ‒ ip addr show > ip_addr.log ‒ ip route show > routes.log ‒ ip -6 route show >> routes.log Provide also log file from wpa_supplicant: /var/log/wpa_supplicant.log > Regards, Frans
If you are worried about that "ERROR" in the disassociate message, you can ignore it. All it is saying is that the interface is not associated. That is not necessarily an error.
This is an autogenerated message for OBS integration: This bug (893665) was mentioned in https://build.opensuse.org/request/show/254980 Factory / wicked
SUSE-RU-2014:1461-1: An update that has four recommended fixes can now be installed. Category: recommended (important) Bug References: 887910,893665,900112,900401 CVE References: Sources used: SUSE Linux Enterprise Server 12 (src): wicked-0.6.12-4.1 SUSE Linux Enterprise Desktop 12 (src): wicked-0.6.12-4.1 SUSE Linux Enterprise Build System Kit 12 (src): wicked-0.6.12-4.1