[SOLVED]Unable to connect to wifi

[SOLVED]Unable to connect to wifi

Postby nightshadow » May 18th, '15, 22:11

Hi,

Recently I switched from GNOME to KDE on my M4 installation, and since then I'm having problems with connecting to wifi.
The system connects automatically to my home wifi when I turn it on, but whenever I try to connect to any other wifi network, it says 'Connection failed'. And then, when I try to reconnect to my home wifi, it says the same thing again. So only way to connect to the internet again is by restarting computer, then it automatically connects on startup.
By the way, it's not the case where it says 'Connection failed' but it actually connects, mine says 'Connection failed' and it doesn't connect.

What could be the problem ?

Regards,
Darko.
Last edited by nightshadow on Jun 5th, '15, 23:39, edited 1 time in total.
nightshadow
 
Posts: 38
Joined: Dec 12th, '13, 23:35

Re: Unable to connect to wifi

Postby doktor5000 » May 19th, '15, 12:13

Probably conflict between net_applet and NetworkManager. Please provide the output of the following commands:

Code: Select all
lspcidrake -v | grep -i -e net -e wireless -e wifi
ps -ef | grep -v grep | grep -ie net -e wpa


and, as root:
Code: Select all
systemctl status network.service -a


FWIW, I've described how to switch from Mageia's default net_applet to networkmanager here: viewtopic.php?f=25&t=5782
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: Unable to connect to wifi

Postby nightshadow » May 19th, '15, 18:23

Here it is

Code: Select all
[root@localhost nightshadow]# lspcidrake -v | grep -i -e net -e wireless -e wifi
atl1c           : Qualcomm Atheros|AR8132 Fast Ethernet [NETWORK_ETHERNET] (vendor:1969 device:1062 subv:1025 subd:0212) (rev: c0)
ath9k           : Qualcomm Atheros|AR928X Wireless Network Adapter (PCI-Express) [NETWORK_OTHER] (vendor:168c device:002a subv:11ad subd:6632) (rev: 01)


Code: Select all
[root@localhost nightshadow]# ps -ef | grep -v grep | grep -ie net -e wpa
root        16     2  0 13:51 ?        00:00:00 [netns]
root       693     1  0 13:51 ?        00:00:02 /usr/sbin/NetworkManager --no-daemon
root       863     1  0 13:51 ?        00:00:00 /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant.conf -P /run/wpa_supplicant.pid
root      1300   693  0 13:51 ?        00:00:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-client.action -pf /var/run/dhclient-wlp4s0.pid -lf /var/lib/NetworkManager/dhclient-6e382f76-4a4b-4127-8983-9ae32c853ed1-wlp4s0.lease -cf /var/lib/NetworkManager/dhclient-wlp4s0.conf wlp4s0


Code: Select all
[root@localhost nightshadow]# 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 Tue 2015-05-19 13:51:46 EDT; 4h 31min ago
  Process: 849 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

May 19 13:51:46 localhost.localdomain network[849]: Bringing up interface mon1:  Error: Connection activation failed: Device not managed by NetworkManager or unavailable
May 19 13:51:46 localhost.localdomain network[849]: [FAILED]
May 19 13:51:46 localhost.localdomain network[849]: Bringing up interface mon2:  Error: Connection activation failed: Device not managed by NetworkManager or unavailable
May 19 13:51:46 localhost.localdomain network[849]: [FAILED]
May 19 13:51:46 localhost.localdomain network[849]: Bringing up interface wlp4s0:  ./ifup: interface ifcfg-wlp4s0 is controlled by NetworkManager; skipping.
May 19 13:51:46 localhost.localdomain network[849]: [  OK  ]
May 19 13:51:46 localhost.localdomain systemd-sysctl[1196]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/51-alt-sysrq.conf'.
May 19 13:51:46 localhost.localdomain systemd[1]: network.service: control process exited, code=exited status=1
May 19 13:51:47 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
May 19 13:51:47 localhost.localdomain systemd[1]: Unit network.service entered failed state.
nightshadow
 
Posts: 38
Joined: Dec 12th, '13, 23:35

Re: Unable to connect to wifi

Postby wintpe » Jun 1st, '15, 18:04

i see this has had no reply for a few days now, Doktor answered it accurately before you posted your reply.

you can see in the logs you posted the info that backs that up.

hopefully you have seen this by now, so if you have, please mark solved.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest