You are not logged in.

#1 2017-09-30 05:30:10

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

[SOLVED] Dhcpc_ permission denied when I try to start i fort

I recently installed Arch to my laptop and got it working completely, network and everything, but after a restart dhcpcd won't start, and I'm thinking it's because the PID file didn't clear on reboot. Is it possible to fix this by just deleting said PID file? If so, where is it?

Last edited by kmason (2017-09-30 07:39:47)

Offline

#2 2017-09-30 05:48:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Dhcpc_ permission denied when I try to start i fort

Please paste the output of `systemctl restart dhcpcd@interface.service` or just the generic service if you aren't starting it per interface.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-09-30 05:57:00

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Re: [SOLVED] Dhcpc_ permission denied when I try to start i fort

I'm manually transcribing this on my phone so apologies for any possible typos.

Failed to restart dhcpcd@wlp1s0.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status dhcpcd@wlp1s0.service' for details. 

That was actually done without elevated privileges. This is what happens when done as root:

Job for dhcpcd@wlp1s0.service failed because the service did not take the steps required by its unit configuration.
See "systemctl status dhcpcd@wlp1s0.service" and "journalctl -xe" for details. 

Last edited by kmason (2017-09-30 06:03:16)

Offline

#4 2017-09-30 06:01:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Dhcpc_ permission denied when I try to start i fort

Do you have polkit installed?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-09-30 06:04:30

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Re: [SOLVED] Dhcpc_ permission denied when I try to start i fort

I don't, but I have no way to install it because I can't even get internet via tethering anymore.

Offline

#6 2017-09-30 06:05:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Dhcpc_ permission denied when I try to start i fort

You should be able to connect manually.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2017-09-30 06:10:04

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Re: [SOLVED] Dhcpc_ permission denied when I try to start i fort

There is no Ethernet on this machine. I'm gonna try to boot up the iso and chroot into the install to fix it that way.

Offline

#8 2017-09-30 06:36:18

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Re: [SOLVED] Dhcpc_ permission denied when I try to start i fort

I feel silly. My only problem turned out to be that I forgot to start up WPA supplicant. As soon as I do that I can connect right away.

Offline

#9 2017-09-30 06:37:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Dhcpc_ permission denied when I try to start i fort

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB