why is this happening?-"dhcpcd will not work correctly unless run as root"

Posted by user330317 on Super User See other posts from Super User or by user330317
Published on 2014-06-07T15:06:11Z Indexed on 2014/06/07 15:27 UTC
Read the original article Hit count: 188

Filed under:

i have installed archlinux and gnome on virtualbox. had no problem connecting to internet but now after installing gnome and rebooting there is no internet connection

after following instructions from archwiki,i have tried . but i cant figure out the problem please help.

host-63drhd% sudo netctl status enp0s3

? [email protected] - Networking for netctl profile enp0s3 Loaded: loaded (/usr/lib/systemd/system/[email protected]; static) Active: inactive (dead) Docs: man:netctl.profile(5)

host-63drhd% sudo netctl enable enp0s3

Profile 'enp0s3' does not exist or is not readable

host-63drhd% sudo dhcpcd

dhcpcd[1486]: sending commands to master dhcpcd process host-63drhd% dhcpcd

dhcpcd[1543]: control_open: Permission denied

dhcpcd[1543]: dhcpcd will not work correctly unless run as root

dhcpcd[1543]: open `/run/dhcpcd.pid': Permission denied

dhcpcd[1543]: control_start: Permission denied

dhcpcd[1543]: version 6.3.2 starting

dhcpcd[1543]: enp0s3: if_init: Permission denied

dhcpcd[1543]: enp0s8: if_init: Permission denied

dhcpcd[1543]: no valid interfaces found

dhcpcd[1543]: no interfaces have a carrier

dhcpcd[1543]: forked to background, child pid 1544

© Super User or respective owner

Related posts about arch-linux