You are not logged in.

#1 2016-08-13 18:13:43

adamovic
Member
Registered: 2016-08-12
Posts: 5

Netctl-auto fails

Hi all,

I have wireless working with netctl and wanted to configure netctl-auto, but this fails

[mladen@localhost ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 30:8d:99:7c:2a:d8 brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DORMANT group default qlen 1000
    link/ether d8:5d:e2:a8:93:db brd ff:ff:ff:ff:ff:ff

[mladen@localhost ~]$ sudo netctl start netctl-auto@wlp4s0
Job for netctl@netctl\x2dauto\x40wlp4s0.service failed because the control process exited with error code.
See "systemctl status "netctl@netctl\\x2dauto\\x40wlp4s0.service"" and "journalctl -xe" for details.

Nothing in these additional log files as I see.

Any help?

Thanks

Last edited by adamovic (2016-08-13 18:14:09)

Offline

#2 2016-08-13 18:28:41

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

Re: Netctl-auto fails

adamovic wrote:

Nothing in these additional log files as I see.

Please post the complete log files rather than your interpretation of them.

https://bbs.archlinux.org/viewtopic.php?id=57855

Please also post the full output of:

systemctl list-unit-files --state=enabled

Offline

#3 2016-08-13 18:40:40

adamovic
Member
Registered: 2016-08-12
Posts: 5

Re: Netctl-auto fails

[mladen@localhost ~]$ systemctl status "netctl@netctl\\x2dauto\\x40wlp4s0.service"
● netctl@netctl\x2dauto\x40wlp4s0.service - Networking for netctl profile netctl
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor prese
   Active: failed (Result: exit-code) since Sat 2016-08-13 18:35:06 UTC; 8s ago
     Docs: man:netctl.profile(5)
  Process: 1577 ExecStart=/usr/lib/network/network start %I (code=exited, status
 Main PID: 1577 (code=exited, status=1/FAILURE)

This is tail of my journal so netctl-auto apparently didn't write anything to journal (it failed at 18:35 and the last message is at 18:34:00

Aug 13 18:34:00 localhost tracker-extract.desktop[781]:          nie:copyright "Adobe Systems Incorporated which may be registered in" ;
Aug 13 18:34:00 localhost tracker-extract.desktop[781]:          nie:copyright "certain jurisdictions." ;
Aug 13 18:34:00 localhost tracker-extract.desktop[781]:          nie:copyright "-----------------------------------------------------------" .
Aug 13 18:34:00 localhost tracker-extract.desktop[781]: }
Aug 13 18:34:00 localhost tracker-extract.desktop[781]: }
Aug 13 18:34:00 localhost google-chrome.desktop[887]: [887:928:0813/183400:ERROR:connection_factory_impl.cc(369)] Failed to connect to MCS endpoint wi
Aug 13 18:34:02 localhost google-chrome.desktop[887]: [887:928:0813/183402:ERROR:connection_factory_impl.cc(369)] Failed to connect to MCS endpoint wi
Aug 13 18:34:10 localhost google-chrome.desktop[887]: [887:887:0813/183410:ERROR:account_tracker.cc(357)] OnGetTokenFailure: Connection failed (-105).
Aug 13 18:34:10 localhost google-chrome.desktop[887]: [887:887:0813/183410:ERROR:account_tracker.cc(357)] OnGetTokenFailure: Connection failed (-105).
mladen@localhost ~]$ 
[mladen@localhost ~]$ systemctl list-unit-files --state=enabled
UNIT FILE               STATE  
autovt@.service         enabled
dhcpcd@.service         enabled
display-manager.service enabled
gdm.service             enabled
getty@.service          enabled
mariadb.service         enabled
mysqld.service          enabled
remote-fs.target        enabled

8 unit files listed.

Last edited by adamovic (2016-08-13 18:42:13)

Offline

#4 2016-08-13 18:55:15

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

Re: Netctl-auto fails

adamovic wrote:

This is tail of my journal so netctl-auto apparently didn't write anything to journal (it failed at 18:35 and the last message is at 18:34:00

journalctl --unit=netctl@netctl\\x2dauto\\x40wlp4s0.service

https://www.digitalocean.com/community/ … stemd-logs

Last edited by Head_on_a_Stick (2016-08-13 18:56:11)

Offline

#5 2016-08-13 19:22:52

adamovic
Member
Registered: 2016-08-12
Posts: 5

Re: Netctl-auto fails

I've got this working.

used

sudo journalctl --no-pager | grep "netctl"

I've had to stop active netctl, and then run

sudo systemctl start netctl-auto@wlp4s0

now it seems to be working

Aug 13 19:17:20 localhost systemd[1]: Stopped Networking for netctl profile kuca.
Aug 13 19:17:24 localhost sudo[2086]:   mladen : TTY=pts/0 ; PWD=/home/mladen ; USER=root ; COMMAND=/usr/bin/systemctl start netctl-auto@wlp4s0
Aug 13 19:17:24 localhost systemd[1]: Starting Automatic wireless network connection using netctl profiles...
Aug 13 19:17:24 localhost netctl-auto[2089]: Included profile 'kuca'
Aug 13 19:17:24 localhost systemd[1]: Started Automatic wireless network connection using netctl profiles.

Still, netctl is flaky, but it is for another post (until I figure out more details).

Offline

#6 2016-10-17 13:15:25

GDDXZ
Member
Registered: 2016-10-17
Posts: 1

Re: Netctl-auto fails

I have encountered the following problem when I run $ sudo systemctl start....
------------------------------------------------------------------------------
job for netctl-auto@wlan0.service failed because the control process exited with error code
------------------------------------------------------------------------------

Last edited by GDDXZ (2016-10-17 13:30:27)

Offline

#7 2016-10-17 21:22:41

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

Re: Netctl-auto fails

GDDXZ wrote:

I have encountered the following problem when I run $ sudo systemctl start....
------------------------------------------------------------------------------
job for netctl-auto@wlan0.service failed because the control process exited with error code
------------------------------------------------------------------------------

Please post *full* commands and error messages rather than snippets.

See https://bbs.archlinux.org/viewtopic.php?id=57855 and probably https://wiki.archlinux.org/index.php/Ne … ice_failed as well.

Also, please don't hijack threads, start your own thread for this issue and link back to this one if you think it's relevant.

Offline

Board footer

Powered by FluxBB