You are not logged in.

#1 2015-10-31 17:47:16

FreakyCheeseMan
Member
Registered: 2013-05-21
Posts: 10

Netctl Profile does not exist or is not readable

Any attempt I make to use netctl throws

Profile '/etc/netctl/wlp3s0-NETGEAR52' does not exist or is not readable

wifi-menu, however, works just fine. netctl list produces

$ netctl list
* wlp3s0-NETGEAR52
  wireless-wpa

A list of /etc/netctl shows

$ ls -l /etc/netctl/
total 20
drwxr-xr-x 2 root root 4096 Jun 17 01:27 examples
drwxr-xr-x 2 root root 4096 Jun 17 01:27 hooks
drwxr-xr-x 2 root root 4096 Jun 17 01:27 interfaces
-rw-rw-rw- 1 root root  426 Oct 31 09:50 wireless-wpa
-rw-rw-rw- 1 root root  204 Oct 31 09:33 wlp3s0-NETGEAR52

The profile in question looks like:

Description='Automatically generated profile by wifi-menu'
Interface=wlp3s0
Connection=wireless
Security=wpa
ESSID=NETGEAR52
IP=dhcp
Key=\"************************* 

systemctl's status info

$ systemctl status netctl@wireless\x2dwpa.service
● netctl@wirelessx2dwpa.service - Networking for netctl profile wirelessx2dwpa
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:netctl.profile(5)

And some stuff about my wifi.

 iwconfig
enp0s25   no wireless extensions.

lo        no wireless extensions.

wlp3s0    IEEE 802.11abgn  ESSID:"NETGEAR52"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 20:E5:2A:3F:58:21   
          Bit Rate=2 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=68/70  Signal level=-42 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:15   Missed beacon:0
03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
        Subsystem: Intel Corporation Dual Band Wireless-AC 7265
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

Offline

#2 2015-10-31 18:06:10

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 4,584
Website

Re: Netctl Profile does not exist or is not readable

Have you tried (re)moving the profile then using wifi-menu to generate a fresh one?

Offline

#3 2015-10-31 18:28:51

dcdriving
Member
From: United Kingdom
Registered: 2015-01-20
Posts: 70

Re: Netctl Profile does not exist or is not readable

Also, remove the dash in the profile name just to rule it out?  I had this issue and remember removing the dash as I was doing something wrong with the escaped character in the profile name.  https://github.com/joukewitteveen/netctl/issues/66

Offline

#4 2015-10-31 20:03:14

FreakyCheeseMan
Member
Registered: 2013-05-21
Posts: 10

Re: Netctl Profile does not exist or is not readable

Head_on_a_Stick wrote:

Have you tried (re)moving the profile then using wifi-menu to generate a fresh one?

Yeah, as well as editing the one from /examples.

dcdriving wrote:

Also, remove the dash in the profile name just to rule it out?  I had this issue and remember removing the dash as I was doing something wrong with the escaped character in the profile name.

Tried that, no luck.

Offline

#5 2015-11-01 01:05:00

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 4,584
Website

Re: Netctl Profile does not exist or is not readable

FreakyCheeseMan wrote:

Any attempt I make to use netctl throws

Profile '/etc/netctl/wlp3s0-NETGEAR52' does not exist or is not readable

Please post the *exact* commands used.

Please also post the output of:

systemctl list-unit-files|grep enabled

Offline

#6 2015-11-01 20:19:09

FreakyCheeseMan
Member
Registered: 2013-05-21
Posts: 10

Re: Netctl Profile does not exist or is not readable

Head_on_a_Stick wrote:

Please post the *exact* commands used.

I've tried it a couple of different ways:

$ sudo netctl enable /etc/netctl/wlp3s0NETGEAR52 
Profile '/etc/netctl/wlp3s0NETGEAR52' does not exist or is not readable

For reasons unknown to me, if I use start rather than enable, it logs the problem to the journal rather than dumping it to the console:

$ sudo netctl start /etc/netctl/wlp3s0NETGEAR52 
Job for netctl@-etc-netctl-wlp3s0NETGEAR52.service failed because the control process exited with error code. See "systemctl status netctl@-etc-netctl-wlp3s0NETGEAR52.service" and "journalctl -xe" for details. 

journalctl -xe gives:

-- Unit netctl@-etc-netctl-wlp3s0NETGEAR52.service has begun starting up.
Nov 01 12:14:34 architecture network[7350]: Profile '/etc/netctl/wlp3s0NETGEAR52' does not exist or is not readable
Nov 01 12:14:34 architecture systemd[1]: netctl@-etc-netctl-wlp3s0NETGEAR52.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 12:14:34 architecture systemd[1]: Failed to start Networking for netctl profile /etc/netctl/wlp3s0NETGEAR52.
-- Subject: Unit netctl@-etc-netctl-wlp3s0NETGEAR52.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@-etc-netctl-wlp3s0NETGEAR52.service has failed.
-- 
-- The result is failed.
Nov 01 12:14:34 architecture systemd[1]: netctl@-etc-netctl-wlp3s0NETGEAR52.service: Unit entered failed state.
Nov 01 12:14:34 architecture systemd[1]: netctl@-etc-netctl-wlp3s0NETGEAR52.service: Failed with result 'exit-code'.
Nov 01 12:14:34 architecture polkitd[493]: Unregistered Authentication Agent for unix-process:7344:8865220 (system bus name :1.19, object path /org/freedeskto
Nov 01 12:14:34 architecture sudo[7340]: pam_unix(sudo:session): session closed for user root

I should stress that wifi-menu works just fine, both when first creating a profile and when reading one it's already made.

Please also post the output of:

systemctl list-unit-files|grep enabled
~$ sudo systemctl list-unit-files|grep enabled
getty@.service                             enabled 
netctl.service                             enabled 
remote-fs.target                           enabled 

Offline

#7 2015-11-01 21:02:31

dcdriving
Member
From: United Kingdom
Registered: 2015-01-20
Posts: 70

Re: Netctl Profile does not exist or is not readable

from the wiki

Once you have created your profile, attempt to establish a connection (use only the profile name, not the full path):

Offline

Board footer

Powered by FluxBB