You are not logged in.

#1 2014-03-23 19:18:14

Trideg
Member
Registered: 2014-03-23
Posts: 2

Failed to start netctl@MV.service: No such file or directory

I'm trying to get Internet access back via netctl.

$ netctl start MV
Failed to start netctl@MV.service: Unit netctl@MV.service failed to load: No such file or directory.

$ netctl status MV
netctl@MV.service
   Loaded: error (Reason: No such file or directory)
   Active: inactive (dead)

I created a profile using wifi-menu -o wlps20, and the profile appears at /etc/netctl/MV

I feel like this should be an easy fix, but I don't know what it is.

Offline

#2 2014-03-23 20:46:34

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: Failed to start netctl@MV.service: No such file or directory

Can you post /etc/netctl/MV (edit it so we don't see any private information such as password)?  Also, the error messages say that service files doesn't exist.  I've only used netctl-auto but my spider senses are telling me that it shouldn't be

netctl@MV.service

but should be

netctl@<interfacename>.service

Either way, I quoted how to use netctl-auto from the wiki below.

https://wiki.archlinux.org/index.php/netctl

One way is to stop & disable all other network service/managers from systemctl. 
Then you can use netctl-auto by enabling & starting it

sudo systemctl enable netctl-auto@wlp2s0.service

Note: I think your interface name is wlp2s0 instead of the wlps20 you wrote above.  Change my syntax to match your true interface name.
Then start the service,

sudo systemctl start netctl-auto@wlp2s0.service

If it doesn't automatically use the MV network you can switch to it

 sudo netctl-auto switch-to MV

Read the wiki for more ways to use netctl and/or how to set it up.

Offline

#3 2014-03-23 20:48:28

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

Re: Failed to start netctl@MV.service: No such file or directory

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-03-23 21:14:54

Trideg
Member
Registered: 2014-03-23
Posts: 2

Re: Failed to start netctl@MV.service: No such file or directory

The contents of /etc/netctl/MV are:

Description='Automatically generated profile by wifi-menu'
Interface=wlp2s0
Connection=wireless
Security=wpa
ESSID=network_name_hidden
IP=dhcp
Key=779b31...b9742

I looked, and it appears that netctl-auto@wlp2s0.service does not exist. It doesn't appear at /usr/library/systemd/system/

# systemctl enable netctl-auto@wlp2s0.service
Failed to execute operation: No such file or directory

I think I may have deleted it a long time ago when first setting up netctl because I had trouble the first time and there's much talk of how you should only have one service.

Offline

#5 2014-03-24 17:36:50

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: Failed to start netctl@MV.service: No such file or directory

In /usr/lib/systemd/system there is netctl-auto@.service. The device name is added once you enable the service file.
If you read the contents of the link frank604 posted carefully you notice you have to install wpa_actiond to use this file.
But since you already have created your profile you should give netctl@<interfacename>.service a try.

Offline

Board footer

Powered by FluxBB