You are not logged in.
I have this weird problem with NetworkManager. It will not see any wireless networks. However doing
ip link set wlan0 up
wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
and finally
dhcpcd wlan0
Brings the network up.
Using
iwlist wlan0 scan | less
I can also see list of all the networks.
Could you please suggest where the problem might be?
Offline
Are you sure the daemon is running?
Offline
$ systemctl is-active networkmanager.service
Offline
The daemon is running. I also removed network daemon from rc.conf and added networkmanager instead preceeded by dbus daemon. Doing systemctl shows me that networkmanager.service is active.
Found this thread - https://bbs.archlinux.org/viewtopic.php?id=150087
I also have
sys-subsystem-net-devices-wlan0.device loaded inactive dead sys-subsystem-net-devices-wlan0.device
But I don't know how to use "service file" properly.
Offline
$ systemctl is-active networkmanager.service
$ systemctl is-active NetworkManager.service
methinks?
Offline
@ninian, that is probably so... I don;t use network manager, but I would certainly believe that they would do something rediculous like capitalize in a directory full of lowercase. That is why I love my zsh and its simple spell checkng.
Offline
The daemon is running. I also removed network daemon from rc.conf and added networkmanager instead preceeded by dbus daemon. Doing systemctl shows me that networkmanager.service is active.
Hold up, once you enable NetworkManager.service in systemd, you remove it from rc.conf, not add it. I don't think that it would cause this problem, but you never know.
Offline
iodine wrote:The daemon is running. I also removed network daemon from rc.conf and added networkmanager instead preceeded by dbus daemon. Doing systemctl shows me that networkmanager.service is active.
Hold up, once you enable NetworkManager.service in systemd, you remove it from rc.conf, not add it. I don't think that it would cause this problem, but you never know.
Hmm, are you sure? Wiki says something different.
Offline
Yeah, that section of the wiki isn't very clear. You only need to start NetworkManager once, either with systemd or with rc.conf, not with both. The section that mentions adding networkmanager and dbus is assuming you're not running systemd.
Offline
Wiki edited, the section about systemd had just been added without regard for anything else in that section. The part that mentions that NetworkManager won't do anything until you load an applet and tell it to isn't correct, but I'm still trying to figure out the best way to say it.
Offline
Yeah, that section of the wiki isn't very clear. You only need to start NetworkManager once, either with systemd or with rc.conf, not with both. The section that mentions adding networkmanager and dbus is assuming you're not running systemd.
Ah, okay. Well, I removed networkmanager from DAEMONS list in rc.conf, but no effect.
Offline
This is what I found in journal:
systemd[1]: Job sys-subsystem-net-devices-wlan0.device/start timed out.
systemd[1]: Timed out waiting for device sys-subsystem-net-devices-wlan0.device.
systemd[1]: Dependency failed for WPA supplicant daemon (interface-specific version).
systemd[1]: Job wpa_supplicant@wlan0.service/start failed with result 'dependency'.
systemd[1]: Job sys-subsystem-net-devices-wlan0.device/start failed with result 'timeout'.
Which is again the same problem as here - https://bbs.archlinux.org/viewtopic.php?id=150087
Then I replaced in /usr/lib/systemd/system/wpa_supplicant@.service sys-subsystem-net-devices-wlan0.device with sys-devices-pci0000:00-0000:00:1d.0-usb5-5\x2d1-5\x2d1.3-5\x2d1.3:1.0-net-wlan0.device.
Now I can see messages from NetworkManager in journalctl. These caught my attention:
NetworkManager[346]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
NetworkManager[346]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
NetworkManager[346]: <error> [1349605382.573890] [nm-supplicant-interface.c:897] interface_add_cb(): (wlan0): error adding interface: Unit wpa_supplicant.service failed to load: No such file or directory. See system logs and 'systemctl status wpa_supplicant.service' for details.
NetworkManager[346]: dbus_g_proxy_cancel_call: assertion `pending != NULL' failed
NetworkManager[346]: <info> (wlan0): supplicant interface state: starting -> down
NetworkManager[346]: <warn> Trying to remove a non-existant call id.
$ systemctl status wpa_supplicant.service
wpa_supplicant.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
(Very detailed, yes)
Also in systemctl -a:
sys-devices-pci0000:00-0000:00:1d.0-usb3-3\x2d1-3\x2d1.3-3\x2d1.3:1.0-net-wlan0.device loaded active plugged DWA-125 Wireless N 150 Adapter(rev.A2) [Ralink RT3070]
sys-devices-pci0000:00-0000:00:1d.0-usb5-5\x2d1-5\x2d1.3-5\x2d1.3:1.0-net-wlan0.device loaded inactive dead sys-devices-pci0000:00-0000:00:1d.0-usb5-5\x2d1-5\x2d1.3-5\x2d1.3:1.0-net-wlan0.device
Offline