Wi-fi problem [solved]

Wi-fi problem [solved]

Postby nw1456 » May 28th, '16, 01:19

Hi,
Has anyone been having a problem with wifi? Or just me? Had this laptop since last year, installed Mageia5 and been running it ever since both wired and wifi. Was working perfectly this morning. Took it to a friends house this evening, couldn't connect, couldn't even see any networks, odd methinks! Gets home and will not see my network! Fired up Win 8.1 (yeah I know...shoot me) could just about remember the login password.. connected fine. Another laptop running Ubuntu Mate, connects fine. I'm even running UM on a try out disc on the main laptop and that works fine. Does seem to be a Mageia problem.

I'm at a loss, any ideas people?

Thanks
Last edited by nw1456 on May 28th, '16, 14:53, edited 1 time in total.
nw1456
 
Posts: 22
Joined: Jan 11th, '12, 13:02
Location: UK

Re: Wi-fi problem

Postby doktor5000 » May 28th, '16, 10:28

That's a pretty generic question, as wifi problems can be pretty diverse, and some more detailed information would be needed.

Which desktop environment are you using? Do you use net_applet or NetworkManager?
And please provide the output of the following commands:

Code: Select all
lspcidrake -v | grep -iE "wlan|wifi|wireless|net"
ps -ef | grep -v grep | grep -iE "net|wpa"


and, as root:
Code: Select all
ifconfig -a
rfkill list all
systemctl status network.service -a
journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Wi-fi problem

Postby Lebarhon » May 28th, '16, 11:44

Hi,
When setting the network interface, MCC ask "Allow interface to be controlled by Network Manager", answer Yes or No, but never Automatic, it seems this choice isn't safe. It isn't easy to find out why, but it is worth a try.
Lebarhon
 
Posts: 408
Joined: Mar 22nd, '11, 22:24
Location: France

Re: Wi-fi problem

Postby nw1456 » May 28th, '16, 14:10

Hi, thanks.
Running KDE. I use the small globe/network icon on the taskbar, so I assume net-applet? Here is the output you asked for.

Code: Select all
[ted@cerberus ~]$ lspcidrake -v | grep -iE "wlan|wifi|wireless|net"
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:1179 subd:f920) (rev: 0c)
iwlwifi         : Intel Corporation|Wireless 3160 [NETWORK_OTHER] (vendor:8086 device:08b3 subv:8086 subd:8170) (rev: 83)
btusb           : Intel Corp.|Unknown [Wireless|Radio Frequency|Bluetooth] (vendor:8087 device:07dc)
[ted@cerberus ~]$ ps -ef | grep -v grep | grep -iE "net|wpa"
root        24     2  0 12:30 ?        00:00:00 [netns]
systemd+   851     1  0 12:30 ?        00:00:00 /usr/lib/systemd/systemd-networkd
root      3077     1  0 12:31 ?        00:00:00 /usr/sbin/xinetd -stayalive -pidfile /run/xinetd.pid
ted       3987  2416  0 12:31 ?        00:00:04 /usr/bin/perl /usr/bin/net_applet
root      4898     1  0 12:37 ?        00:00:00 /usr/sbin/wpa_supplicant -B -i wlp7s0 -c /etc/wpa_supplicant.conf -D wext


[root@cerberus ted]# ifconfig -a
enp8s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.6  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fd57:6be:490a:0:c654:44ff:fe8b:1445  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::c654:44ff:fe8b:1445  prefixlen 64  scopeid 0x20<link>
        ether c4:54:44:8b:14:45  txqueuelen 1000  (Ethernet)
        RX packets 2215  bytes 1306708 (1.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1378  bytes 154615 (150.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 291  bytes 33784 (32.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 291  bytes 33784 (32.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp7s0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether a0:88:69:a5:00:5a  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@cerberus ted]# rfkill list all
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
[root@cerberus ted]# systemctl status network.service -a
● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
   Active: failed (Result: exit-code) since Sat 2016-05-28 11:30:58 BST; 1h 19min ago
  Process: 878 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)                                                                                     
   CGroup: /system.slice/network.service                                                                                                                                   
           ├─1072 /sbin/ifplugd -I -b -i enp8s0                                                                                                                             
           └─1411 dhclient -1 -q -lf /var/lib/dhclient/dhclient--enp8s0.lease -pf /var/run/dhclient-enp8s0.pid enp8s0                                                       
                                                                                                                                                                           
May 28 11:30:58 cerberus systemd[1]: Failed to start LSB: Bring up/down networking.                                                                                         
May 28 11:30:58 cerberus systemd[1]: Unit network.service entered failed state.                                                                                             
May 28 11:30:58 cerberus systemd[1]: network.service failed.                                                                                                               
May 28 11:31:01 cerberus ifplugd(enp8s0)[1072]: Link beat detected.                                                                                                         
May 28 11:31:02 cerberus ifplugd(enp8s0)[1072]: Executing '/etc/ifplugd/ifplugd.action enp8s0 up'.
May 28 11:31:04 cerberus dhclient[1335]: DHCPREQUEST on enp8s0 to 255.255.255.255 port 67
May 28 11:31:04 cerberus dhclient[1335]: DHCPACK from 192.168.0.1
May 28 11:31:04 cerberus dhclient[1335]: bound to 192.168.0.6 -- renewal in 40622 seconds.
May 28 11:31:04 cerberus ifplugd(enp8s0)[1072]: client: Determining IP information for enp8s0... done.
May 28 11:31:04 cerberus ifplugd(enp8s0)[1072]: Program executed successfully.
[root@cerberus ted]# journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"
May 28 11:30:36 cerberus kernel: psmouse serio2: synaptics: Touchpad model: 1, fw: 8.1, id: 0x1e2b1, caps: 0xd00123/0x840300/0x126800, board id: 2989, fw id: 1575901
May 28 11:30:51 cerberus kernel: cfg80211: Calling CRDA to update world regulatory domain
May 28 11:30:51 cerberus kernel: Intel(R) Wireless WiFi driver for Linux
May 28 11:30:51 cerberus kernel: Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.0.2.3.d.bseq
May 28 11:30:51 cerberus kernel: iwlwifi 0000:07:00.0: loaded firmware version 25.30.13.0 op_mode iwlmvm
May 28 11:30:51 cerberus kernel: iwlwifi 0000:07:00.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164
May 28 11:30:51 cerberus kernel: iwlwifi 0000:07:00.0: L1 Enabled - LTR Enabled
May 28 11:30:51 cerberus kernel: iwlwifi 0000:07:00.0: L1 Enabled - LTR Enabled
May 28 11:30:51 cerberus kernel: Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
May 28 11:30:51 cerberus kernel: ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
May 28 11:30:51 cerberus kernel: cfg80211: Calling CRDA to update world regulatory domain
May 28 11:30:51 cerberus kernel: cfg80211: World regulatory domain updated:
May 28 11:30:51 cerberus kernel: cfg80211:  DFS Master region: unset
May 28 11:30:51 cerberus kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
May 28 11:30:51 cerberus kernel: cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
May 28 11:30:51 cerberus kernel: cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
May 28 11:30:51 cerberus kernel: cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
May 28 11:30:51 cerberus kernel: cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
May 28 11:30:51 cerberus kernel: cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
May 28 11:30:51 cerberus kernel: cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
May 28 11:30:51 cerberus kernel: cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
May 28 11:30:51 cerberus kernel: cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
May 28 11:30:51 cerberus kernel: cfg80211: Calling CRDA for country: GB
May 28 11:30:51 cerberus kernel: cfg80211: Regulatory domain changed to country: GB
May 28 11:30:51 cerberus kernel: cfg80211:  DFS Master region: ETSI
May 28 11:30:51 cerberus kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
May 28 11:30:51 cerberus kernel: cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
May 28 11:30:51 cerberus kernel: cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
May 28 11:30:51 cerberus kernel: cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
May 28 11:30:51 cerberus kernel: cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
May 28 11:30:51 cerberus kernel: cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
May 28 11:30:51 cerberus kernel: iwlwifi 0000:07:00.0 wlp7s0: renamed from wlan0
May 28 11:30:57 cerberus network[878]: Configuring wireless regulatory domain  [  OK  ]
May 28 11:30:58 cerberus network[878]: Error for wireless request "Set Encode" (8B2A) :
May 28 11:30:58 cerberus ifplugd(wlp7s0)[1170]: Using interface wlp7s0/A0:88:69:A5:00:5A with driver <iwlwifi> (version: 4.1.15-desktop-2.mga5)
                                             wireless-tools
May 28 12:36:01 cerberus drakconnect[4562]: Found settings for driver "iwlwifi" in category "network::connection::wireless"
May 28 12:36:01 cerberus drakconnect[4562]: No kernel_module package for module "iwlwifi" is required, skipping
May 28 12:36:01 cerberus drakconnect[4562]: No tools package for module "iwlwifi" is required, skipping
May 28 12:36:01 cerberus drakconnect[4562]: Required firmware package for module "iwlwifi" is already installed, skipping
May 28 12:36:01 cerberus drakconnect[4562]: Loading module iwlwifi
May 28 12:36:02 cerberus drakconnect[4562]: Settings for driver "iwlwifi" applied
May 28 12:37:44 cerberus drakconnect[4562]: modified file /etc/sysconfig/network-scripts/wireless.d/ubiquiti-ap-ac-lr
May 28 12:37:44 cerberus drakconnect[4562]: modified file /etc/sysconfig/network-scripts/wireless.d/ubiquiti-ap-ac-lr
May 28 12:37:44 cerberus drakconnect[4562]: changed mode of /etc/sysconfig/network-scripts/wireless.d/ubiquiti-ap-ac-lr to 700
May 28 12:37:44 cerberus drakconnect[4562]: written  interface configuration in /etc/sysconfig/network-scripts/wireless.d/ubiquiti-ap-ac-lr
May 28 12:37:45 cerberus ifplugd(wlp7s0)[4900]: Using interface wlp7s0/A0:88:69:A5:00:5A with driver <iwlwifi> (version: 4.1.15-desktop-2.mga5)
                                             wireless-tools
May 28 12:38:58 cerberus drakconnect[4940]: Found settings for driver "ndiswrapper" in category "network::connection::wireless"
May 28 12:39:21 cerberus drakconnect[4940]: Found settings for driver "iwlwifi" in category "network::connection::wireless"
May 28 12:39:21 cerberus drakconnect[4940]: No kernel_module package for module "iwlwifi" is required, skipping
May 28 12:39:21 cerberus drakconnect[4940]: No tools package for module "iwlwifi" is required, skipping
May 28 12:39:21 cerberus drakconnect[4940]: Required firmware package for module "iwlwifi" is already installed, skipping
May 28 12:39:21 cerberus drakconnect[4940]: Loading module iwlwifi
May 28 12:39:22 cerberus drakconnect[4940]: Settings for driver "iwlwifi" applied
Last edited by doktor5000 on May 28th, '16, 14:21, edited 1 time in total.
Reason: added code tags
nw1456
 
Posts: 22
Joined: Jan 11th, '12, 13:02
Location: UK

Re: Wi-fi problem

Postby doktor5000 » May 28th, '16, 14:25

nw1456 wrote:[root@cerberus ted]# rfkill list all
1: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no

That's your problem, wireless is disabled. Is there a keyboard shortcut or function key on your laptop to enable wireless? Can you please try to toggle that once, then run the above command again to see if anything changes?
If it doesn't, try running the following command as root to unblock it:
Code: Select all
rfkill unblock all
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Wi-fi problem

Postby nw1456 » May 28th, '16, 14:41

You're a genius! I never even knew there was a key to toggle wifi (got a tiny little wifi symbol on it). To be fair I hardly ever use the laptop keyboard as I mainly use a seperate monitor and keyboard, must have pressed it inadvertently transporting it yesterday. What a fool! Thanks for your help.
nw1456
 
Posts: 22
Joined: Jan 11th, '12, 13:02
Location: UK


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron