You are not logged in.

#1 2015-09-19 23:21:56

lemonWater
Member
Registered: 2015-09-19
Posts: 4

[Solved] Network service failing

Hello, completely new to linux in general, and I over the past 2 days I've been setting up arch on my laptop

When I boot my computer and login, I don't automatically connect to my wireless network, and what I've been doing is


killall dhcpcd

followed by

ip link set wlp2s0 down

Then I would use wifi-menu to connect to the internet. However, today I decided to try and fix the issue, downloading the networkmanagerpackage. Shortly after the download, I had to shut down my computer, and upon reboot, the work around failed.
I would note that after killing dhcpcd, it said that no such process was running.
I removed the networkmanager package and it failed again. Both times the error after using the wifi-menu was:

Job for netctl@wlp2s0\x2d(nameofmynetwork).service failed because the control process exited with error code. See "systemctl sttus "netctl@wlp2s0\\x2d(nameofmynetwork).service" " and "journalctl -xe" for details.

Running the first command,

systemctl sttus "netctl@wlp2s0\\x2d(nameofmynetwork).service"

givs me a timeline with

Started Networking for netctl profile wlp2s0-mywifiname
netctl@wlp2s0\x(mywifiname).service: Main process exited, code=exited, status=1/FAILURE
Failed to start Networking for netctl profile wlp2s0-mywifiname.
netctl@wlp2s0\x(mywifiname).service: Unit entered failed state.
netctl@wlp2s0\x(mywifiname).service: Failed with result 'exit-code'..
Starting network profile 'wlp2s0-wifiname' ...
DHCP client 'dhcpcd' is not installed or not ready
Failed to bring the network up for profile 'wlp2s0-wifiname

Running the second command gives the same last 5 lines

netctl@wlp2s0\x(mywifiname).service: Unit entered failed state.
netctl@wlp2s0\x(mywifiname).service: Failed with result 'exit-code'..
Starting network profile 'wlp2s0-wifiname' ...
DHCP client 'dhcpcd' is not installed or not ready
Failed to bring the network up for profile 'wlp2s0-wifiname

trying to use netctl to start/restart my profile gives the same error message. For good measure, my profile in /etc/netctl/ is

Description='Automatically generated profile by wifi-menu'

Interface=wlp2s0

Connection=wireless

Security=wpa

ESSID=(my network)

IP=dhcp

Key=(my network key)

I hope that's enough information to tell what's going on, I have no idea what else to do.

Last edited by lemonWater (2015-09-20 00:44:35)

Offline

#2 2015-09-20 00:07:03

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: [Solved] Network service failing

lemonWater wrote:

I would note that after killing dhcpcd, it said that no such process was running.
[...]

DHCP client 'dhcpcd' is not installed or not ready

[...]

DHCP client 'dhcpcd' is not installed or not ready

Perhaps try installing it then?

# pacman -S dhcpcd

You need to make sure that only *one* networking .service is enabled at a time.

Look at the output of this command to determine enabled .services on your machine:

ls -l /etc/systemd/system/multi-user.target.wants

Offline

#3 2015-09-20 00:41:58

lemonWater
Member
Registered: 2015-09-19
Posts: 4

Re: [Solved] Network service failing

yo
head_on_a_stick
I don't know how to say this, but I love you man. I feel like such a goddam idiot right now. I DIDN'T INSTALL DHCPCD. I didn't remember to install it, but since it seemed so basic I assumed I must have. After running

pacman -R dhcpcd

and nothing came up, I realized I was a doofus.

Used my installation usb, chrooted in, installed. exit, umount, reboot.
login and hey it automatically connected to the wifi.
________________________________________
Anyway, regarding the second command there were 3 enabled services: dhcpd.service, netctl@wlp2s0\mynetwork.service, and remote-fs.target.

Thanks dude I owe you one

Edit: if someone could tell me how to mark this thread as [Solved] that would be great

Last edited by lemonWater (2015-09-20 00:43:35)

Offline

#4 2015-09-20 01:06:59

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: [Solved] Network service failing

You're welcome smile

EDIT: & welcome to Arch

Last edited by Head_on_a_Stick (2015-09-20 01:08:35)

Offline

Board footer

Powered by FluxBB