You are not logged in.

#1 2014-08-15 18:28:59

LudaOtaku
Member
From: Helvetia
Registered: 2013-04-03
Posts: 22

[Solved] Can't connecto to wifi using NetworkManager

Hello,

for some reasons, I can't connect to my WiFi network using NetworkManager. What's weird, is that my network and all the other networks around coming from my neighbours' houses are displayed, but I can't connect to any of them, including mine...

The wired connection works just fine (that's why I'm able to post this message), but I can't get the wireless one to work. NetworkManager is configured to use dhcpcd for dhcp by the way.

When I try to connect I usually don't get any notifications, but if I press several times the connect button this will be displayed

7Kpsj9O.png

Typing systemctl --type=service outputs this.

UNIT                                                                                      LOAD   ACTIVE SUB     DESCRIPTION
accounts-daemon.service                                                                   loaded active running Accounts Service
avahi-daemon.service                                                                      loaded active running Avahi mDNS/DNS-SD Stack
colord.service                                                                            loaded active running Manage, Install and Generate Color Profiles
cups.service                                                                              loaded active running CUPS Printing Service
dbus.service                                                                              loaded active running D-Bus System Message Bus
kmod-static-nodes.service                                                                 loaded active exited  Create list of required static device nodes for the current kernel
NetworkManager.service                                                                    loaded active running Network Manager
openntpd.service                                                                          loaded active running OpenNTP Daemon
polkit.service                                                                            loaded active running Authorization Manager
rtkit-daemon.service                                                                      loaded active running RealtimeKit Scheduling Policy Service
slim.service                                                                              loaded active running SLiM Simple Login Manager
systemd-backlight@backlight:acpi_video0.service                                           loaded active exited  Load/Save Screen Backlight Brightness of backlight:acpi_video0
systemd-backlight@backlight:intel_backlight.service                                       loaded active exited  Load/Save Screen Backlight Brightness of backlight:intel_backlight
systemd-fsck@dev-disk-by\x2duuid-c5981f32\x2d4494\x2d4d0b\x2d8ee7\x2da4271fd786f2.service loaded active exited  File System Check on /dev/disk/by-uuid/c5981f32-4494-4d0b-8ee7-a4271fd786f2
systemd-journald.service                                                                  loaded active running Journal Service
systemd-logind.service                                                                    loaded active running Login Service
systemd-random-seed.service                                                               loaded active exited  Load/Save Random Seed
systemd-remount-fs.service                                                                loaded active exited  Remount Root and Kernel File Systems
systemd-rfkill@rfkill0.service                                                            loaded active exited  Load/Save RF Kill Switch Status of rfkill0
systemd-rfkill@rfkill1.service                                                            loaded active exited  Load/Save RF Kill Switch Status of rfkill1
systemd-rfkill@rfkill2.service                                                            loaded active exited  Load/Save RF Kill Switch Status of rfkill2
systemd-rfkill@rfkill3.service                                                            loaded active exited  Load/Save RF Kill Switch Status of rfkill3
systemd-sysctl.service                                                                    loaded active exited  Apply Kernel Variables
systemd-tmpfiles-setup-dev.service                                                        loaded active exited  Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service                                                            loaded active exited  Create Volatile Files and Directories
systemd-udev-trigger.service                                                              loaded active exited  udev Coldplug all Devices
systemd-udevd.service                                                                     loaded active running udev Kernel Device Manager
systemd-update-utmp.service                                                               loaded active exited  Update UTMP about System Boot/Shutdown
systemd-user-sessions.service                                                             loaded active exited  Permit User Sessions
systemd-vconsole-setup.service                                                            loaded active exited  Setup Virtual Console
udisks2.service                                                                           loaded active running Disk Manager
upower.service                                                                            loaded active running Daemon for power management
user@1000.service                                                                         loaded active running User Manager for UID 1000
wpa_supplicant.service                                                                    loaded active running WPA supplicant

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

34 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

I know my wireless chip works fine because this computer could connect to network with arch previously.

Any idea what the problem could be? Do not hesitate to ask for more information. I just didn't post a lot because I didn't know which ones would be useful

Thanks

Last edited by LudaOtaku (2014-09-04 14:08:03)

Offline

#2 2014-08-15 18:59:44

okubax
Member
From: London
Registered: 2010-04-24
Posts: 203
Website

Re: [Solved] Can't connecto to wifi using NetworkManager

What's the output of

 systemctl status NetworkManager 

Offline

#3 2014-08-15 19:14:12

LudaOtaku
Member
From: Helvetia
Registered: 2013-04-03
Posts: 22

Re: [Solved] Can't connecto to wifi using NetworkManager

There you go :

[ludaota@ludarch ~]$ systemctl status NetworkManager -l
● NetworkManager.service - Network Manager
   Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled)
   Active: active (running) since Fri 2014-08-15 20:20:22 CEST; 55min ago
 Main PID: 205 (NetworkManager)
   CGroup: /system.slice/NetworkManager.service
           ├─205 /usr/bin/NetworkManager --no-daemon
           └─239 /usr/bin/dhcpcd -B -K -L -G -c /usr/lib/networkmanager/nm-dhcp-helper enp0s25

Aug 15 20:20:51 ludarch NetworkManager[205]: <info> Activation (wls1) Stage 2 of 5 (Device Configure) starting...
Aug 15 20:20:51 ludarch NetworkManager[205]: <info> (wls1): device state change: prepare -> config (reason 'none') [40 50 0]
Aug 15 20:20:51 ludarch NetworkManager[205]: <info> Activation (wls1/wireless): access point 'Auto LudaWifi' has security, but secrets are required.
Aug 15 20:20:51 ludarch NetworkManager[205]: <info> (wls1): device state change: config -> need-auth (reason 'none') [50 60 0]
Aug 15 20:20:51 ludarch NetworkManager[205]: <info> Activation (wls1) Stage 2 of 5 (Device Configure) complete.
Aug 15 20:20:51 ludarch NetworkManager[205]: <warn> No agents were available for this request.
Aug 15 20:20:51 ludarch NetworkManager[205]: <info> (wls1): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
Aug 15 20:20:51 ludarch NetworkManager[205]: <warn> Activation (wls1) failed for connection 'Auto LudaWifi'
Aug 15 20:20:51 ludarch NetworkManager[205]: <info> (wls1): device state change: failed -> disconnected (reason 'none') [120 30 0]
Aug 15 20:20:51 ludarch NetworkManager[205]: <info> (wls1): deactivating device (reason 'none') [0]

Last edited by LudaOtaku (2014-08-15 19:16:11)

Offline

#4 2014-08-15 20:31:41

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: [Solved] Can't connecto to wifi using NetworkManager

Are you sure that your configuration for the network is still correct? I noticed that a few days ago networkmanager didn't connect to a network because it somehow lost the password.

Offline

#5 2014-08-15 20:43:02

LudaOtaku
Member
From: Helvetia
Registered: 2013-04-03
Posts: 22

Re: [Solved] Can't connecto to wifi using NetworkManager

I clicked on "Forget this network" and tried to reconnect like 10 times now. I tried to connect to another wifi, but in both cases there's no dialog asking me for a password. I just click on my wifi's name, and... Nothing happens.

Reguarding the configuration itself, well I don't remember doing anything special when I installed NetworkManager six month ago on this same laptopt (I had to reinstall it).

Offline

#6 2014-08-15 21:13:58

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: [Solved] Can't connecto to wifi using NetworkManager

Ok, so networkmanager did not accidentily forget the password.

Can you post the output of:

systemctl -u NetworkManager -b

This shows the log of networkmanager since this boot. Might be something intersting there.

Last edited by runical (2014-08-15 21:14:34)

Offline

#7 2014-08-15 21:14:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 22,900
Website

Re: [Solved] Can't connecto to wifi using NetworkManager

If it's a secured network, you would have had to input a password at some point.  Is it possible the network settings have changed (e.g. it used to be an open network, but now is secured)?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2014-08-15 21:39:18

Jeroen)Mathon
Member
From: Netherlands
Registered: 2013-08-29
Posts: 82

Re: [Solved] Can't connecto to wifi using NetworkManager

For me and my friend it did not display a dialog to enter the password.
As a work around got to the applet select "Network Connections"
Select your network SSID and then go to Wireless security.
Then enter your password.

Offline

#9 2014-08-15 23:28:00

LudaOtaku
Member
From: Helvetia
Registered: 2013-04-03
Posts: 22

Re: [Solved] Can't connecto to wifi using NetworkManager

runical : Are you sure your command is correct?

[ludaota@ludarch ~]$ systemctl -u NetworkManager -b
systemctl: invalid option -- 'u'

Trilby : Nope, this network has always been secured. And I already connected to this network using this computer prior to my arch reinstall and it worked. Just fine.

Jeroen)Mathon : Wow, I feel so stupid now, that actually worked, I should've tried this before... Thank you!

My question now is... Why's NetworkManager not opening a prompt to ask me for the password?...

Last edited by LudaOtaku (2014-08-15 23:29:21)

Offline

#10 2014-08-16 01:28:36

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: [Solved] Can't connecto to wifi using NetworkManager

Whoops, that was supposed to be

journalctl -u NetworkManager -b

You are using gnome, right? Is there anything else that doesn't give a dialog as it is supposed to?

Offline

#11 2014-08-16 05:33:41

scryan
Member
Registered: 2014-07-01
Posts: 50

Re: [Solved] Can't connecto to wifi using NetworkManager

I have had this issue as well, where you are never prompted for a password, so it will not connect.
For me it DID work if I manually went in and edited the security settings.

I have always fixed it by installing gnome-keyring, and that gives me the password dialog, though I don't know if this is the correct answer or if there is a better way. (hopefully someone will let us know if there is a better way?)

Offline

#12 2014-09-04 14:07:34

LudaOtaku
Member
From: Helvetia
Registered: 2013-04-03
Posts: 22

Re: [Solved] Can't connecto to wifi using NetworkManager

Installing gnome-keyring fixed the problem. Thanks!

runical > No I'm using Cinnamon but that wasn't the problem.

Last edited by LudaOtaku (2014-09-04 14:21:43)

Offline

Board footer

Powered by FluxBB