Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

when I run dhcpcd after boot everything works fine but when I try to add it to auto start systemctl enable dhcpcd@eth0.service, after each boot it's inactive

dhcpcd@eth0.service       loaded inactive dead      start dhcpcd on eth0
share|improve this question
    
What happens if you simply do 'systemctl enable dhcpcd' ? –  schaiba May 21 '13 at 14:22
    
the same, symbolic link is created, service starts but it's dead. I run Arch Linux in VirtualBox on Windows 7 if that matters. –  micnyk May 21 '13 at 14:44
    
systemctl status dhcpcd@eth0.service? Shows any error message? –  uzsolt May 21 '13 at 15:22
    
Ohh, I didn't try this command. Yes, it says no such file or directory. –  micnyk May 21 '13 at 15:35
1  
@micnyk - use ip link or ls /sys/class/net to list your network devices, your ethernet might be something like enp6s0f0 as per the new systemd device names –  don_crissti May 21 '13 at 17:51
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.