You are not logged in.
Pages: 1
Hi,
Today I updated my system using pacman -Syu and after rebooting, I noticed that dhcpcd fail every time I try to lauch it.
systemctl status dhcpcd@wlp2s0:
dhcpcd@wlp2s0.service - dhcpcd on wlp2s0
Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since mar. 2015-02-24 19:57:37 CET; 21min ago
Process: 509 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited, status=1/FAILURE)
févr. 24 19:57:31 reichenbach dhcpcd[509]: wlp2s0: carrier lost
févr. 24 19:57:32 reichenbach dhcpcd[509]: wlp2s0: carrier acquired
févr. 24 19:57:32 reichenbach dhcpcd[509]: wlp2s0: IAID 5e:ec:d2:11
févr. 24 19:57:32 reichenbach dhcpcd[509]: wlp2s0: carrier lost
févr. 24 19:57:37 reichenbach dhcpcd[509]: received signal ALRM from PID 741, releasing
févr. 24 19:57:37 reichenbach dhcpcd[509]: wlp2s0: removing interface
févr. 24 19:57:37 reichenbach systemd[1]: dhcpcd@wlp2s0.service: control process exited, code=exited status=1
févr. 24 19:57:37 reichenbach systemd[1]: Failed to start dhcpcd on wlp2s0.
févr. 24 19:57:37 reichenbach systemd[1]: Unit dhcpcd@wlp2s0.service entered failed state.
févr. 24 19:57:37 reichenbach systemd[1]: dhcpcd@wlp2s0.service failed.journal -xe
févr. 24 20:21:30 reichenbach dhcpcd[7323]: version 6.7.1 starting
févr. 24 20:21:30 reichenbach dhcpcd[7330]: wlp2s0: starting wpa_supplicant
févr. 24 20:21:30 reichenbach dhcpcd[7323]: wlp2s0: waiting for carrier
févr. 24 20:22:00 reichenbach dhcpcd[7323]: timed out
févr. 24 20:22:00 reichenbach dhcpcd[7323]: exitedWhen I am in Wicd, the ethernet connection takes long to get an IP address but works.
Whereas the wifi connection fails every time.
Any Ideas ?
(I already checked in the documentation and on forums and the solutions did not apply to me.)
Last edited by rolbrok (2015-02-24 20:56:59)
Offline
(I already checked in the documentation and on forums and the solutions did not apply to me.)
It would be helpful if you listed the things you have tried as this will prevent duplication of effort.
Please post the output of:
ls -l /etc/systemd/system/multi-user.target.wants
systemctlWhich packages were updated?
Have you tried downgrading them?
Jin, Jîyan, Azadî
Offline
Ok.
ls -l /etc/systemd/system/multi-user.target.wants:
total 0
lrwxrwxrwx 1 root root 37 2 janv. 12:33 acpid.service -> /usr/lib/systemd/system/acpid.service
lrwxrwxrwx 1 root root 38 11 janv. 20:52 autofs.service -> /usr/lib/systemd/system/autofs.service
lrwxrwxrwx 1 root root 48 19 févr. 21:54 automount-daemon.service -> /usr/lib/systemd/system/automount-daemon.service
lrwxrwxrwx 1 root root 39 24 févr. 19:30 dhcpcd@enp1s0.service -> /usr/lib/systemd/system/dhcpcd@.service
lrwxrwxrwx 1 root root 39 24 févr. 19:30 dhcpcd@wlp2s0.service -> /usr/lib/systemd/system/dhcpcd@.service
lrwxrwxrwx 1 root root 42 2 janv. 03:58 lm_sensors.service -> /usr/lib/systemd/system/lm_sensors.service
lrwxrwxrwx 1 root root 36 31 déc. 00:04 ntpd.service -> /usr/lib/systemd/system/ntpd.service
lrwxrwxrwx 1 root root 51 15 févr. 17:32 remote-fs.target -> ../../../../usr/lib/systemd/system/remote-fs.target
lrwxrwxrwx 1 root root 35 17 janv. 18:04 tlp.service -> /usr/lib/systemd/system/tlp.service
lrwxrwxrwx 1 root root 36 19 févr. 22:10 wicd.service -> /usr/lib/systemd/system/wicd.servicesystemctl:
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active running Arbitrary Executable File Formats File System Automount Poin
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
sys-devices-pci0000:00-0000:00:03.0-sound-card1.device loaded active plugged Haswell-ULT HD Audio Controller
sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d7-1\x2d7:1.0-bluetooth-hci0-rfkill4.device loaded active plugged /sys/devices/pci0000:00/0000:00:
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/usb
sys-devices-pci0000:00-0000:00:1b.0-sound-card0.device loaded active plugged 8 Series HD Audio Controller
sys-devices-pci0000:00-0000:00:1c.0-0000:01:00.0-net-enp1s0.device loaded active plugged RTL8111/8168/8411 PCI Express Gigabit Ethernet Control
sys-devices-pci0000:00-0000:00:1c.3-0000:02:00.0-ieee80211-phy0-rfkill2.device loaded active plugged /sys/devices/pci0000:00/0000:00:1c.3/0000:
sys-devices-pci0000:00-0000:00:1c.3-0000:02:00.0-net-wlp2s0.device loaded active plugged QCA9565 / AR9565 Wireless Network Adapter
sys-devices-pci0000:00-0000:00:1f.0-PNP0C09:00-VPC2004:00-rfkill-rfkill0.device loaded active plugged /sys/devices/pci0000:00/0000:00:1f.0/PNP0
sys-devices-pci0000:00-0000:00:1f.0-PNP0C09:00-VPC2004:00-rfkill-rfkill1.device loaded active plugged /sys/devices/pci0000:00/0000:00:1f.0/PNP0
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged ST1000LM024_HN-M101MBB WINRE_DRV
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda10.device loaded active plugged ST1000LM024_HN-M101MBB Arch_Lin
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda11.device loaded active plugged ST1000LM024_HN-M101MBB Storage
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged ST1000LM024_HN-M101MBB SYSTEM_DR
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda3.device loaded active plugged ST1000LM024_HN-M101MBB LRS_ESP
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda4.device loaded active plugged ST1000LM024_HN-M101MBB Microsoft
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda5.device loaded active plugged ST1000LM024_HN-M101MBB Windows8_
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda6.device loaded active plugged ST1000LM024_HN-M101MBB LENOVO
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda7.device loaded active plugged ST1000LM024_HN-M101MBB PBR_DRV
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda8.device loaded active plugged ST1000LM024_HN-M101MBB Linux_Swa
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda9.device loaded active plugged ST1000LM024_HN-M101MBB Arch_Linu
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged ST1000LM024_HN-M101MBB
sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sr0.device loaded active plugged PLDS_DVD-RW_DA8A5SH
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-devices-platform-thinkpad_acpi-sound-card29.device loaded active plugged /sys/devices/platform/thinkpad_acpi/sound/card29
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-enp1s0.device loaded active plugged RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
sys-subsystem-net-devices-wlp2s0.device loaded active plugged QCA9565 / AR9565 Wireless Network Adapter
sys-subsystem-rfkill-devices-rfkill0.device loaded active plugged /sys/subsystem/rfkill/devices/rfkill0
sys-subsystem-rfkill-devices-rfkill1.device loaded active plugged /sys/subsystem/rfkill/devices/rfkill1
sys-subsystem-rfkill-devices-rfkill2.device loaded active plugged /sys/subsystem/rfkill/devices/rfkill2
sys-subsystem-rfkill-devices-rfkill4.device loaded active plugged /sys/subsystem/rfkill/devices/rfkill4
-.mount loaded active mounted /
boot-efi.mount loaded active mounted /boot/efi
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home.mount loaded active mounted /home
proc-sys-fs-binfmt_misc.mount loaded active mounted Arbitrary Executable File Formats File System
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
run-user-1000.mount loaded active mounted /run/user/1000
storage.mount loaded active mounted /storage
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-c1.scope loaded active running Session c1 of user rekt
acpid.service loaded active running ACPI event daemon
autofs.service loaded active running Automounts filesystems on demand
automount-daemon.service loaded active running Automount new devices
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
bluetooth.service loaded active running Bluetooth service
dbus.service loaded active running D-Bus System Message Bus
● dhcpcd@enp1s0.service loaded failed failed dhcpcd on enp1s0
● dhcpcd@wlp2s0.service loaded failed failed dhcpcd on wlp2s0
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
lm_sensors.service loaded active exited Initialize hardware monitoring sensors
NetworkManager.service loaded active running Network Manager
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:intel_backlight.service loaded active exited Load/Save Screen Backlight Brightness of backlight:intel_bac
systemd-binfmt.service loaded active exited Set Up Additional Binary Formats
systemd-fsck@dev-disk-by\x2duuid-00246905\x2d54e1\x2d417f\x2db12a\x2d99c8a1c33010.service loaded active exited File System Check on /dev/disk/
systemd-fsck@dev-disk-by\x2duuid-150dc3af\x2dd8c5\x2d4b84\x2db88d\x2d00db549db99d.service loaded active exited File System Check on /dev/disk/
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
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-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
tlp.service loaded active exited TLP system startup/shutdown
user@1000.service loaded active running User Manager for UID 1000
wicd.service loaded active running Wicd a wireless and wired network manager for Linux
wpa_supplicant.service loaded active running WPA supplicant
-.slice loaded active active Root Slice
system-dhcpcd.slice loaded active active system-dhcpcd.slice
system-getty.slice loaded active active system-getty.slice
system-systemd\x2dbacklight.slice loaded active active system-systemd\x2dbacklight.slice
system-systemd\x2dfsck.slice loaded active active system-systemd\x2dfsck.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
avahi-daemon.socket loaded active running Avahi mDNS/DNS-SD Stack Activation Socket
dbus.socket loaded active running D-Bus System Message Bus Socket
dm-event.socket loaded active listening Device-mapper event daemon FIFOs
lvm2-lvmetad.socket loaded active listening LVM2 metadata daemon socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald-dev-log.socket loaded active running Journal Socket (/dev/log)
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-sda8.swap loaded active active Swap Partition
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
time-sync.target loaded active active System Time Synchronized
timers.target loaded active active Timers
logrotate.timer loaded active waiting Daily rotation of log files
man-db.timer loaded active waiting Daily man-db cache update
shadow.timer loaded active waiting Daily verification of password and group files
systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
updatedb.timer loaded active waiting Daily locate database update
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.
134 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.How can I see which packages were updated ?
The update was about 600MB...
I will try to downgrade dhcpcd.
Offline
Also, here's what I already tried:
- setting my network directly in /etc/wpa_supplicant/wpa_supplicant.conf
- manually doing everything (ip link set up, wpa_supplicant -B, dhcpcd wlp2s0...)
- Disabling ipv6 in my dhcpcd.conf (I had an error:
if_addaddresses6: permission deniedwhen I launched the dhcpcd service.)
Offline
How can I see which packages were updated ?
The update was about 600MB...
/var/log/pacman.log
Have you always enabled wicd and dhcpcd?
I would have thought those would conflict.
You also have NetworkManager.service running, but it doesn't appear to be `enable`d -- how did you start that?
NetworkManager.service and dhcpcd@.service will not work together.
Which desktop environment/window manager are you using?
Jin, Jîyan, Azadî
Offline
So:
Wicd and dhcpcd -> yes, I always used Wicd and dhcpcd together, wicd being the gui that allowed me to connect easily to a network
I don't know why NetworkManager loads at startup, I already tried disabling it and everything but it still loading every time.
I use bspwm, but I can switch to cinnamon or gnome.
I also downgraded dhcpcd from 6.7.1 to 6.6.7 (6.6.7 being the previous version installed), and it still doesn't work...
During the update:
dhcpcd 6.6.7 -> 6.7.1
wicd 1.7.2.4 -> 1.7.3
networkmanager 1.0.0-1 -> 1.0.0-2
Also, i noticed netctl was removed (long time ago), do I need it for dhcpcd ?
Offline
Also, i noticed netctl was removed (long time ago), do I need it for dhcpcd ?
No.
What is the output of:
ls -l /usr/lib/systemd/system/NetworkManager.serviceStrictly speaking you should downgrade every package that has been updated to find the culprit -- obviously that's not going to happen if you updated 600 packages...
You really should be updating Arch every week or so in order to limit troubleshooting like this to something more manageable.
How often do you usually update?
EDIT: Are you sure your wireless interface is actually up?
ip lWhy are you attemping to start dhcp on your wireless interface?
Last edited by Head_on_a_Stick (2015-02-24 20:21:02)
Jin, Jîyan, Azadî
Offline
I installed netctl to test, and i still get the error:
wlp2s0: waiting for carrier
wlp2s0: timed outOffline
I don't have an updating schedule, but I try to do it now and then. This time, it was for about a month or so that I did not updated.
ls -l /usr/lib/systemd/system/NetworkManager.service:
-rw-r--r-- 1 root root 403 14 févr. 19:13 /usr/lib/systemd/system/NetworkManager.serviceip l:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 28:d2:44:cd:e7:b8 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
link/ether 18:cf:5e:ec:d2:11 brd ff:ff:ff:ff:ff:ffI am trying to start dhcp on my wireless interface because I want to connect at my router with wifi, and wicd works with dhcp.
Offline
I am trying to start dhcp on my wireless interface because I want to connect at my router with wifi, and wicd works with dhcp.
From the ArchWiki wicd page:
First, stop all previously running network daemons (like netctl, netcfg, dhcpcd, NetworkManager).
Disable any existing network management services, including netctl, netcfg, dhcpcd, and networkmanager.
https://wiki.archlinux.org/index.php/Wicd
EDIT: I've never tried wicd so I don't know how it works. The wiki also notes that it is no longer under development and recommends connman or netctl as alternatives.
For now, disable all network related .services and attempt to connect manually.
https://wiki.archlinux.org/index.php/Wi … nual_setup
Of course we don't know why NetworkManager is running...
Have you tried:
Maybe you could mask it (for now):
# systemctl mask NetworkManager.serviceLast edited by Head_on_a_Stick (2015-02-24 20:34:17)
Jin, Jîyan, Azadî
Offline
NetworkManager -> when I disable it, i get no message.
dhcpcd on ethernet worked at startup (not foor wireless)
I removed Wicd.
With wpa_supplicant, I could connect to a network, but it quickly disconnected...
I am now connected with connman (ethernet)
Offline
NetworkManager -> when I disable it, i get no message.
dhcpcd on ethernet worked at startup (not foor wireless)
I removed Wicd.
With wpa_supplicant, I could connect to a network, but it quickly disconnected...I am now connected with connman (ethernet)
Please post the full error messages given when wpa_supplicant disconnects.
You can follow the journal output using:
journalctl -xfhttps://wiki.archlinux.org/index.php/Systemd#Journal
As I said, you need to disable all networking services and then try connecting manually.
Have you done this?
If NetworkManager.service will not die, just `mask` it (see my edit above).
Jin, Jîyan, Azadî
Offline
Allright. The problem was with wicd, not dhcpcd.
Apparently, the last update was obsolete, and so it didn't work.
Thanks a lot !
(connman works perfectly!)
Good night !
Offline
Oh, OK.
Glad you got it fixed.
Jin, Jîyan, Azadî
Offline
Pages: 1