You are not logged in.
I've been using Arch since November of last year, and I've finally come across one of those problems that is so irritating it's difficult to find the answer.
THE PROBLEM: Both myself and a friend of mine have found ourselves unable to connect to a wireless network on our laptops. We use wifi-menu to connect to a network which saves a netctl profile to use at a later date. We have wpa_supplicant installed.
SYMPTOMS: When we select any wireless network from wifi-menu, we are immediately returned "Job for 'netctl@etcetera.service' failed" and are told to check the service's status or journalctl -xn for more information. The information to be gathered there is null and void. Essentially just says that the service failed, but not why. I've attempted using DHCP_DEBUG='yes' and also setting the dhcp timeout to 30, but it had no effect. In fact, it didn't even wait for the timeout.
ATTEMPTS: I attempted to use NetworkManager and nmcli to resolve the issue to no avail. nmcli simply failed to connect. Enabling NetworkManager.service with systemd worked temporarily. Essentially, I could plug in a cable or connect to wifi with no problems, but the connection would only last around 30 seconds before giving up. Unplugging and replugging the cable would have the same effect, or I could restart NetworkManager.
NOTES: Not sure when it started happening (so don't know if it was an update problem). I have not RTFM for netctl, mostly because it's low priority (I use a wired connection most often).
This is something that's worked just fine for me since I started using Arch. Was there an update that caused this to happen? I use the latest version of everything, so I would have any of the newest bug fixes, but also the newest bugs.
If there's any information you need, I'll be happy to give it. Networking isn't my forte; it's always worked out for me.
Last edited by 2mac (2014-04-09 02:20:24)
Offline
I think that posting service status and the output of journalctl would help.
It may be caused by services not running properly, thus I would suggest to disable netcl profiles and attempt manual connection procedures to debug the issue. For helping you in doing that I would need you to tell me how are you trying to connect: cable/wireless and if wireless what kind of.
Offline
$ systemctl status netctl@wlp3s0x2d@ASUB.service
netctl@wlp3s0x2dASUB.service - Networking for netctl profile wlp3s0x2dASUB
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
Active: inactive (dead)
Docs: man:netctl.profile(5)
$ journalctl -xn
-- Logs begin at Tue 2013-12-03 13:52:50 CST, end at Wed 2014-04-02 10:57:40 CDT
Apr 02 10:57:29 mobius org.gtk.Private.UDisks2VolumeMonitor[550]: ### debug: in
Apr 02 10:57:29 mobius org.gtk.Private.UDisks2VolumeMonitor[550]: ### debug: in
Apr 02 10:57:29 mobius org.gtk.Private.UDisks2VolumeMonitor[550]: ### debug: Nam
Apr 02 10:57:29 mobius org.gtk.Private.UDisks2VolumeMonitor[550]: ### debug: in
Apr 02 10:57:29 mobius gnome-session[538]: thunar-volman: Unsupported input devi
Apr 02 10:57:29 mobius org.gtk.Private.UDisks2VolumeMonitor[550]: ### debug: in
Apr 02 10:57:29 mobius org.gtk.Private.UDisks2VolumeMonitor[550]: ### debug: Nam
Apr 02 10:57:29 mobius org.gtk.Private.UDisks2VolumeMonitor[550]: ### debug: in
Apr 02 10:57:40 mobius org.gtk.Private.UDisks2VolumeMonitor[550]: ### debug: in
Apr 02 10:57:40 mobius org.gtk.Private.UDisks2VolumeMonitor[550]: ### debug: in
I did notice that the "-" code isn't escaped in the profile name... I'll have to check on that tomorrow.
Offline
Can't seem to find a way to escape the character in the profile. However, this has happened with manually created profiles that do not contain hyphens in their names. Not sure what other information is needed.
Offline
This might be relevant:
Both my friend and I recently had trouble connecting due to a "device is already up" message, so I set it down with `ip link set <device> down` which fixed that particular issue. Now, I can't seem to set mine back up using the same procedure.
$ ip addr
3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 2c:d0:5a:e8:74:7f brd ff:ff:ff:ff:ff:ff
EDIT: Strange. `ifconfig` shows the device as up...
$ ifconfig
wlp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 2c:d0:5a:e8:74:7f 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
Last edited by 2mac (2014-04-03 16:54:28)
Offline
Okay. So we've determined that the device is up. I now have a more relevant systemd journal:
$ journalctl -xn
-- Logs begin at Tue 2013-12-03 13:52:50 CST, end at Fri 2014-04-04 10:14:10 CDT. --
Apr 04 10:12:24 mobius gnome-session[332]: ** (zeitgeist-datahub:581): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///home/mac/.ardour" was not found
Apr 04 10:14:10 mobius sudo[1599]: mac : TTY=pts/0 ; PWD=/home/mac ; USER=root ; COMMAND=/usr/bin/netctl start wlp3s0-ASUB
Apr 04 10:14:10 mobius sudo[1599]: pam_unix(sudo:session): session opened for user root by mac(uid=0)
Apr 04 10:14:10 mobius sudo[1599]: pam_unix(sudo:session): session closed for user root
Apr 04 10:14:10 mobius systemd[1]: Starting Networking for netctl profile wlp3s0-ASUB...
-- Subject: Unit netctl@wlp3s0\x2dASUB.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit netctl@wlp3s0\x2dASUB.service has begun starting up.
Apr 04 10:14:10 mobius systemd[1]: netctl@wlp3s0\x2dASUB.service: main process exited, code=exited, status=1/FAILURE
Apr 04 10:14:10 mobius systemd[1]: Failed to start Networking for netctl profile wlp3s0-ASUB.
-- Subject: Unit netctl@wlp3s0\x2dASUB.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit netctl@wlp3s0\x2dASUB.service has failed.
--
-- The result is failed.
Apr 04 10:14:10 mobius systemd[1]: Unit netctl@wlp3s0\x2dASUB.service entered failed state.
Apr 04 10:14:10 mobius network[1606]: Starting network profile 'wlp3s0-ASUB'...
Apr 04 10:14:10 mobius network[1606]: The interface of network profile 'wlp3s0-ASUB' is already up
Although it's not a solution, I tried using Wicd by recommendation, and still had problems connecting. Here are my logs:
$ wicd-client
Has notifications support True
Loading...
Connecting to daemon...
Connected.
displaytray True
Done loading.
refreshing...
ESSID : <hidden>
ESSID : ASUB
ESSID : Cook Network
ESSID : NETGEAR
ESSID : linksys
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 230, in maybe_handle_message
self._handler(*args, **kwargs)
File "/usr/share/wicd/gtk/gui.py", line 253, in handle_connection_results
error(self.window, language[results], block=False)
KeyError: dbus.String(u'dhcp_failed')
Offline
Could you please post the entire output of systemctl --no-pager
?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active running Arbitrary Executable File Formats File System Automount Point
sys-devices-pci0000:00-0000:00:02.0-backlight-acpi_video0.device loaded active plugged /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0
sys-devices-pci0000:00-0000:00:02.0-drm-card0-card0\x2deDP\x2d1-intel_backlight.device loaded active plugged /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
sys-devices-pci0000:00-0000:00:03.0-sound-card0.device loaded active plugged Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d3-1\x2d3.4-1\x2d3.4.3-1\x2d3.4.3:1.0-host6-target6:0:0-6:0:0:0-block-sdb-sdb1.device loaded active plugged Hitachi_HDS5C3020BLE630 TOSHIBA_EXT
sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d3-1\x2d3.4-1\x2d3.4.3-1\x2d3.4.3:1.0-host6-target6:0:0-6:0:0:0-block-sdb-sdb2.device loaded active plugged Hitachi_HDS5C3020BLE630 2
sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d3-1\x2d3.4-1\x2d3.4.3-1\x2d3.4.3:1.0-host6-target6:0:0-6:0:0:0-block-sdb-sdb3.device loaded active plugged Hitachi_HDS5C3020BLE630 3
sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d3-1\x2d3.4-1\x2d3.4.3-1\x2d3.4.3:1.0-host6-target6:0:0-6:0:0:0-block-sdb.device loaded active plugged Hitachi_HDS5C3020BLE630
sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d6-1\x2d6:1.0-sound-card2.device loaded active plugged Turtle_Beach_PX22
sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d7-1\x2d7:1.0-bluetooth-hci0-rfkill1.device loaded active plugged /sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/rfkill
sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d7-1\x2d7:1.0-bluetooth-hci0.device loaded active plugged /sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0
sys-devices-pci0000:00-0000:00:1b.0-sound-card1.device loaded active plugged 8 Series/C220 Series Chipset High Definition Audio Controller
sys-devices-pci0000:00-0000:00:1c.2-0000:03:00.0-ieee80211-phy0-rfkill0.device loaded active plugged /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/ieee80211/phy0/rfkill0
sys-devices-pci0000:00-0000:00:1c.2-0000:03:00.0-net-wlp3s0.device loaded active plugged RTL8723AE PCIe Wireless Network Adapter
sys-devices-pci0000:00-0000:00:1c.3-0000:04:00.2-net-enp4s0f2.device loaded active plugged RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sr0.device loaded active plugged Slimtype_DVD_A_DS8A9SH
sys-devices-pci0000:00-0000:00:1f.2-ata6-host5-target5:0:0-5:0:0:0-block-sda-sda1.device loaded active plugged ST9750420AS 1
sys-devices-pci0000:00-0000:00:1f.2-ata6-host5-target5:0:0-5:0:0:0-block-sda-sda2.device loaded active plugged ST9750420AS 2
sys-devices-pci0000:00-0000:00:1f.2-ata6-host5-target5:0:0-5:0:0:0-block-sda.device loaded active plugged ST9750420AS
sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-module-fuse.device loaded active plugged /sys/module/fuse
sys-subsystem-bluetooth-devices-hci0.device loaded active plugged /sys/subsystem/bluetooth/devices/hci0
sys-subsystem-net-devices-enp4s0f2.device loaded active plugged RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
sys-subsystem-net-devices-wlp3s0.device loaded active plugged RTL8723AE PCIe Wireless Network Adapter
-.mount loaded active mounted /
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
proc-sys-fs-binfmt_misc.mount loaded active mounted Arbitrary Executable File Formats File System
run-media-mac-d2c05e61\x2d7633\x2d46cb\x2db404\x2d3d2314a1ab21.mount loaded active mounted /run/media/mac/d2c05e61-7633-46cb-b404-3d2314a1ab21
run-media-mac-TOSHIBA\x20EXT.mount loaded active mounted /run/media/mac/TOSHIBA EXT
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
run-user-1000.mount loaded active mounted /run/user/1000
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
sys-kernel-config.mount loaded active mounted Configuration File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted Temporary Directory
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
session-1.scope loaded active running Session 1 of user mac
accounts-daemon.service loaded active running Accounts Service
bumblebeed.service loaded active running Bumblebee C Daemon
colord.service loaded active running Manage, Install and Generate Color Profiles
dbus.service loaded active running D-Bus System Message Bus
dhcpcd.service loaded active running dhcpcd on all interfaces
getty@tty1.service loaded active running Getty on tty1
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
ntpd.service loaded active running Network Time Service
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-binfmt.service loaded active exited Set Up Additional Binary Formats
systemd-hostnamed.service loaded active running Hostname Service
systemd-journald.service loaded active running Journal Service
systemd-localed.service loaded active running Locale 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-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
-.slice loaded active active Root Slice
system-getty.slice loaded active active system-getty.slice
system-systemd\x2dbacklight.slice loaded active active system-systemd\x2dbacklight.slice
system-systemd\x2drfkill.slice loaded active active system-systemd\x2drfkill.slice
system.slice loaded active active System Slice
user-1000.slice loaded active active user-1000.slice
user.slice loaded active active User and Session Slice
dbus.socket loaded active running D-Bus System Message Bus Socket
dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
lvmetad.socket loaded active listening LVM2 metadata daemon socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket loaded active running udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel Socket
dev-sda2.swap loaded active active /dev/sda2
basic.target loaded active active Basic System
bluetooth.target loaded active active Bluetooth
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User System
network.target loaded active active Network
paths.target loaded active active Paths
remote-fs.target loaded active active Remote File Systems
slices.target loaded active active Slices
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
timers.target loaded active active Timers
systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
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.
110 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
Offline
You have dhcpcd.service enabled/started. This may be your conflict.
Offline
I didn't realize that dhcpcd had a conflict with netctl. Does netctl work fine with wired as well, or do I just need to stop dhcpcd before connecting wirelessly?
The reason that this perplexes me is because this has never presented a conflict in the past.
Last edited by 2mac (2014-04-08 17:41:24)
Offline
you can create 2 (or how many ever you want) profiles with netctl. check the /etc/netctl/examples directory on how to setup an ethernet profile and a wireless-* profile based on whether you use wpa or wep or open network. There are additional examples for EPEAP etc in there as well.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Not necessarily solved, but I managed to get NetworkManager to work by doing the following:
# systemctl disable dhcpcd
# systemctl enable NetworkManager
# reboot
For netctl users, I imagine disabling dhcpcd will solve the issue.
Offline