You are not logged in.

#1 2013-05-20 16:02:36

gdavid
Member
Registered: 2007-04-22
Posts: 22

netctl wireless fails every other boot [SOLVED]

This has me stumped.

Here is my netctl profile:

gdm@gdmThink ~$ cat /etc/netctl/mifi4510l
Description='A simple WPA encrypted wireless connection using a static IP'
Interface=wlp3s0
Connection=wireless
Security=wpa
ESSID='Verizon MIFI4510L E3A0 Secure'
Key='password'
IP=static
Address='192.168.1.11/24'
Gateway='192.168.1.1'
DNS=('192.168.1.1')
TimeoutWPA=30

Here is a pastebin link to the "journalctl -b" for a failed boot:
http://pastebin.com/GbELjqm0

Here is a pastebin link to the "journalctl -b for a successful boot.
http://pastebin.com/ywzDvkqD

Other than there is no attempt to authenticate in the failed boot, I see no significant difference.

Any help would be greatly appreciated.

Last edited by gdavid (2013-05-26 16:19:42)

Offline

#2 2013-05-20 17:43:07

madr
Member
From: Norway
Registered: 2013-04-25
Posts: 87

Re: netctl wireless fails every other boot [SOLVED]

I'll have to ask, since I've had a similar issue recently. Does the interface name change those times connection fails? Or is it always wlp3s0?

Offline

#3 2013-05-20 19:19:06

gdavid
Member
Registered: 2007-04-22
Posts: 22

Re: netctl wireless fails every other boot [SOLVED]

"gdmThink systemd-udevd[197]: renamed network interface wlan0 to wlp3s0" appears in the failed boots.
"gdmThink systemd-udevd[186]: renamed network interface wlan0 to wlp3s0" appears in the successful boots.

Offline

#4 2013-05-20 20:04:14

gdavid
Member
Registered: 2007-04-22
Posts: 22

Re: netctl wireless fails every other boot [SOLVED]

Update

From the failed boot:

[root@gdmThink gdm]# grep mifi4510l journal.failed
May 20 07:51:04 gdmThink systemd[1]: Installed new job netctl@mifi4510l.service/start as 58
May 20 07:51:14 gdmThink network[827]: Starting network profile 'mifi4510l'...
May 20 07:51:14 gdmThink network[827]: The interface of network profile 'mifi4510l' is already up
May 20 07:51:14 gdmThink systemd[1]: About to execute: /usr/lib/network/network start mifi4510l
May 20 07:51:14 gdmThink systemd[1]: netctl@mifi4510l.service changed dead -> start
May 20 07:51:14 gdmThink systemd[827]: Executing: /usr/lib/network/network start mifi4510l
May 20 07:51:14 gdmThink systemd[1]: Child 827 belongs to netctl@mifi4510l.service
May 20 07:51:14 gdmThink systemd[1]: netctl@mifi4510l.service: main process exited, code=exited, status=1/FAILURE
May 20 07:51:14 gdmThink systemd[1]: netctl@mifi4510l.service changed start -> failed
May 20 07:51:14 gdmThink systemd[1]: Job netctl@mifi4510l.service/start finished, result=failed
May 20 07:51:14 gdmThink systemd[1]: Unit netctl@mifi4510l.service entered failed state.
May 20 07:51:14 gdmThink systemd[1]: netctl@mifi4510l.service: cgroup is empty

note the "mifi4510l is already up" about line 3 and the last line.


from the successful boot:

[root@gdmThink gdm]# grep mifi4510l journal.success
May 20 07:54:46 gdmThink systemd[1]: Installed new job netctl@mifi4510l.service/start as 58
May 20 07:54:51 gdmThink systemd[1]: About to execute: /usr/lib/network/network start mifi4510l
May 20 07:54:51 gdmThink systemd[1]: netctl@mifi4510l.service changed dead -> start
May 20 07:54:51 gdmThink systemd[826]: Executing: /usr/lib/network/network start mifi4510l
May 20 07:54:55 gdmThink network[826]: Starting network profile 'mifi4510l'...
May 20 07:54:57 gdmThink network[826]: Started network profile 'mifi4510l'
May 20 07:54:57 gdmThink systemd[1]: Child 826 belongs to netctl@mifi4510l.service
May 20 07:54:57 gdmThink systemd[1]: netctl@mifi4510l.service: main process exited, code=exited, status=0/SUCCESS
May 20 07:54:57 gdmThink systemd[1]: netctl@mifi4510l.service changed start -> exited
May 20 07:54:57 gdmThink systemd[1]: Job netctl@mifi4510l.service/start finished, result=done

No such errors.

Last edited by gdavid (2013-05-20 22:08:34)

Offline

#5 2013-05-20 21:03:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: netctl wireless fails every other boot [SOLVED]

When it fails, does systemctl report any services that have failed?  And do those services start successfully when things work?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2013-05-20 22:03:48

gdavid
Member
Registered: 2007-04-22
Posts: 22

Re: netctl wireless fails every other boot [SOLVED]

The  following three failed messages appear in the journal of the failed boot but not the successful boot

May 20 07:51:14 gdmThink systemd[1]: netctl@mifi4510l.service changed start -> failed
May 20 07:51:14 gdmThink systemd[1]: Job netctl@mifi4510l.service/start finished, result=failed
May 20 07:51:14 gdmThink systemd[1]: Unit netctl@mifi4510l.service entered failed state.

Offline

#7 2013-05-20 23:25:55

gdavid
Member
Registered: 2007-04-22
Posts: 22

Re: netctl wireless fails every other boot [SOLVED]

Update:

Upgrading to kernel 3.9.3-1 does not change anything.

Offline

#8 2013-05-22 17:41:32

gdavid
Member
Registered: 2007-04-22
Posts: 22

Re: netctl wireless fails every other boot [SOLVED]

Update:

Upgrading to systemd-204-2 does not  change anything.
Upgrading to netctl-1.1.1 from testing does not change anything.

Offline

#9 2013-05-23 17:18:36

Old user, new ID
Member
Registered: 2012-09-18
Posts: 13

Re: netctl wireless fails every other boot [SOLVED]

It would be more useful if detailed status log is provided accompanied by the relevant dmesg lines. Don't use grep as it hides context and flow. Just look for relevant lines and copy the whole block.

For detailed status:

systemctl status -n 100 netctl@mifi4510l.service

(100 is just a sufficiently large number)

Offline

#10 2013-05-25 22:12:08

gdavid
Member
Registered: 2007-04-22
Posts: 22

Re: netctl wireless fails every other boot [SOLVED]

[root@gdmThink gdm]# systemctl status -n 100 netctl@mifi4510l.service
netctl@mifi4510l.service - A simple WPA encrypted wireless connection using a static IP
   Loaded: loaded (/etc/systemd/system/netctl@mifi4510l.service; enabled)
   Active: failed (Result: exit-code) since Sat 2013-05-25 17:57:53 EDT; 42s ago
     Docs: man:netctl.profile(5)
  Process: 830 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)

[root@gdmThink gdm]#

From dmesg:

[   11.726467] systemd[1]: Starting Login Service...
[   11.726547] systemd[1]: About to execute: /usr/lib/systemd/systemd-logind
[   11.726627] systemd[837]: Executing: /usr/lib/systemd/systemd-user-sessions start
[   11.726685] systemd[1]: Forked /usr/lib/systemd/systemd-logind as 838
[   11.726784] systemd[1]: systemd-logind.service changed dead -> start
[   11.726799] systemd[1]: Starting D-Bus System Message Bus...
[   11.726971] systemd[838]: Executing: /usr/lib/systemd/systemd-logind
[   11.727515] systemd[1]: About to execute: /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
[   11.727642] systemd[1]: Forked /usr/bin/dbus-daemon as 839
[   11.727781] systemd[1]: dbus.service changed dead -> running
[   11.727786] systemd[1]: Job dbus.service/start finished, result=done
[   11.727923] systemd[839]: Executing: /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
[   11.728498] systemd[1]: Started D-Bus System Message Bus.
[   11.728602] systemd[1]: Set up jobs progress timerfd.
[   11.728630] systemd[1]: Received SIGCHLD from PID 829 (alsactl).
[   11.728645] systemd[1]: Got SIGCHLD for process 829 (alsactl)
[   11.728674] systemd[1]: Child 829 died (code=exited, status=0/SUCCESS)
[   11.728677] systemd[1]: Child 829 belongs to alsa-restore.service
[   11.728685] systemd[1]: alsa-restore.service: main process exited, code=exited, status=0/SUCCESS
[   11.728782] systemd[1]: alsa-restore.service changed start -> dead
[   11.728841] systemd[1]: Job alsa-restore.service/start finished, result=done
[   11.729552] systemd[1]: Started Restore Sound Card State.
[   11.729583] systemd[1]: Got SIGCHLD for process 833 (modprobe)
[   11.729609] systemd[1]: Child 833 died (code=exited, status=0/SUCCESS)
[   11.729611] systemd[1]: Child 833 belongs to lm_sensors.service
[   11.729618] systemd[1]: lm_sensors.service: main process exited, code=exited, status=0/SUCCESS
[   11.729620] systemd[1]: lm_sensors.service running next main command for state start
[   11.729652] systemd[1]: About to execute: /usr/bin/sensors -s
[   11.729756] systemd[1]: Forked /usr/bin/sensors as 840
[   11.729894] systemd[1]: Accepted connection on private bus.
[   11.729900] systemd[1]: Incoming traffic on dbus.socket
[   11.729908] systemd[1]: dbus.socket changed listening -> running
[   11.729940] systemd[1]: Accepted connection on private bus.
[   11.729978] systemd[1]: Accepted connection on private bus.
[   11.729987] systemd[840]: Executing: /usr/bin/sensors -s
[   11.730107] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[   11.730151] systemd[1]: systemd-update-utmp.service: cgroup is empty
[   11.730175] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[   11.730195] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[   11.730237] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[   11.730264] systemd[1]: alsa-restore.service: cgroup is empty
[   11.730282] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[   11.730299] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[   11.776646] systemd[835]: Executing: /usr/bin/laptop_mode init auto
[   11.937296] systemd[1]: Received SIGCHLD from PID 837 (systemd-user-se).
[   11.937318] systemd[1]: Got SIGCHLD for process 837 (systemd-user-se)
[   11.937352] systemd[1]: Child 837 died (code=exited, status=0/SUCCESS)
[   11.937354] systemd[1]: Child 837 belongs to systemd-user-sessions.service
[   11.937366] systemd[1]: systemd-user-sessions.service: main process exited, code=exited, status=0/SUCCESS
[   11.937490] systemd[1]: systemd-user-sessions.service changed start -> exited
[   11.937494] systemd[1]: Job systemd-user-sessions.service/start finished, result=done
[   11.938230] systemd[1]: Started Permit User Sessions.
[   11.938264] systemd[1]: Starting Getty on tty1...
[   11.938997] systemd[1]: About to execute: /sbin/agetty --noclear tty1 38400 linux
[   11.939186] systemd[1]: Forked /sbin/agetty as 844
[   11.939313] systemd[1]: getty@tty1.service changed dead -> running
[   11.939344] systemd[1]: Job getty@tty1.service/start finished, result=done
[   11.940070] systemd[1]: Started Getty on tty1.
[   11.940089] systemd[1]: Starting Login Prompts.
[   11.940092] systemd[1]: getty.target changed dead -> active
[   11.940094] systemd[1]: Job getty.target/start finished, result=done
[   11.940824] systemd[1]: Reached target Login Prompts.
[   11.940886] systemd[1]: Accepted connection on private bus.
[   11.941016] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[   11.941058] systemd[1]: systemd-user-sessions.service: cgroup is empty
[   11.941085] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[   11.973600] e1000e 0000:00:19.0: irq 49 for MSI/MSI-X
[   12.074517] e1000e 0000:00:19.0: irq 49 for MSI/MSI-X
[   12.074737] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   12.074979] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[   12.075190] iwlwifi 0000:03:00.0: Radio type=0x0-0x3-0x1
[   12.425688] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[   12.425894] iwlwifi 0000:03:00.0: Radio type=0x0-0x3-0x1
[   12.464645] systemd[1]: Received SIGCHLD from PID 840 (sensors).
[   12.464666] systemd[1]: Got SIGCHLD for process 840 (sensors)
[   12.464701] systemd[1]: Child 840 died (code=exited, status=0/SUCCESS)
[   12.464704] systemd[1]: Child 840 belongs to lm_sensors.service
[   12.464716] systemd[1]: lm_sensors.service: main process exited, code=exited, status=0/SUCCESS
[   12.464829] systemd[1]: lm_sensors.service changed start -> exited
[   12.464838] systemd[1]: Job lm_sensors.service/start finished, result=done
[   12.465943] systemd[1]: Started Initialize hardware monitoring sensors.
[   12.466053] systemd[1]: Accepted connection on private bus.
[   12.466244] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[   12.466278] systemd[1]: lm_sensors.service: cgroup is empty
[   12.466302] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[   12.648245] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[   12.648631] systemd[1]: Received SIGCHLD from PID 831 (dhcpcd).
[   12.648648] systemd[1]: Got SIGCHLD for process 831 (dhcpcd)
[   12.648680] systemd[1]: Child 831 died (code=exited, status=0/SUCCESS)
[   12.648682] systemd[1]: Child 831 belongs to dhcpcd.service
[   12.648688] systemd[1]: dhcpcd.service: control process exited, code=exited status=0
[   12.648719] systemd[1]: dhcpcd.service got final SIGCHLD for state start
[   12.648735] systemd[1]: Main PID loaded: 872
[   12.648782] systemd[1]: dhcpcd.service changed start -> running
[   12.648786] systemd[1]: Job dhcpcd.service/start finished, result=done
[   12.650040] systemd[1]: Started dhcpcd on all interfaces.
[   12.838952] systemd[1]: Received SIGCHLD from PID 830 (network).
[   12.838973] systemd[1]: Got SIGCHLD for process 830 (network)
[   12.839025] systemd[1]: Child 830 died (code=exited, status=1/FAILURE)
[   12.839028] systemd[1]: Child 830 belongs to netctl@mifi4510l.service
[   12.839038] systemd[1]: netctl@mifi4510l.service: main process exited, code=exited, status=1/FAILURE
[   12.839042] systemd[1]: netctl@mifi4510l.service changed start -> failed
[   12.839129] systemd[1]: Job netctl@mifi4510l.service/start finished, result=failed
[   12.841013] systemd[1]: Failed to start A simple WPA encrypted wireless connection using a static IP.
[   12.842353] systemd[1]: Unit netctl@mifi4510l.service entered failed state.
[   12.842373] systemd[1]: Starting Network.
[   12.842377] systemd[1]: network.target changed dead -> active
[   12.842382] systemd[1]: Job network.target/start finished, result=done
[   12.843262] systemd[1]: Reached target Network.
[   12.843299] systemd[1]: Accepted connection on private bus.
[   12.843488] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[   12.843531] systemd[1]: netctl@mifi4510l.service: cgroup is empty
[   12.843557] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[   12.843759] systemd[1]: Accepted connection on private bus.

Sorry for the delayed response.  I am in the middle of moving.

Offline

#11 2013-05-26 10:45:07

Old user, new ID
Member
Registered: 2012-09-18
Posts: 13

Re: netctl wireless fails every other boot [SOLVED]

Why is dhcpcd.service enabled?

Offline

#12 2013-05-26 16:20:57

gdavid
Member
Registered: 2007-04-22
Posts: 22

Re: netctl wireless fails every other boot [SOLVED]

Because I originally used dhcp rather than a static connection.

I disabled dhcpcd and every thing seems to be working properly.

I wonder about connecting to wifi services at motels etc. but for now my problem is solved.

Thank you all.

Offline

Board footer

Powered by FluxBB