You are not logged in.

#1 2016-01-17 12:58:53

xtrusion
Member
Registered: 2016-01-17
Posts: 3

[SOLVED] Static IP - Job for netctl@wlp3s0.service failed

Hi everybody,

I have configured Wi-Fi connection through the Network Manager applet from Cinnamon and it has work like a charm until now. Nonetheless, I need to change from DHCP and connect to my network with static IP. I have also been reading how to set up with netctl profile coppied from the examples but all I get is the next message:

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

The wlp3s0 profile is:

Description='A simple WPA encrypted wireless connection using a static IP'
Interface=wlp3s0
Connection=wireless
Security=wpa
ESSID=mywifi
Key='mypassword'
IP=static
Address='192.168.1.128/24'
Gateway='192.168.1.1'
DNS=('192.168.1.1')
# Uncomment this if your ssid is hidden
#Hidden=yes

where mywifi and 'mypassword' have been replaced with the proper information according to my network.

systemctl status netctl@wlp3s0.service returns

● netctl@wlp3s0.service - A simple WPA encrypted wireless connection using a static IP
   Loaded: loaded (/etc/systemd/system/netctl@wlp3s0.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2016-01-17 13:52:54 CET; 2s ago
     Docs: man:netctl.profile(5)
  Process: 4327 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 4327 (code=exited, status=1/FAILURE)

and journalctl -xe return

Jan 17 13:46:58 spark /usr/lib/gdm/gdm-x-session[1072]: (cinnamon:1189): St-WARNING **: Did not find color property '-gradient-start'
Jan 17 13:46:58 spark /usr/lib/gdm/gdm-x-session[1072]: (cinnamon:1189): St-WARNING **: Did not find color property '-gradient-end'
Jan 17 13:52:50 spark /usr/lib/gdm/gdm-x-session[1072]: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

which seems not to be related with.

I don't know if it is intefering with Network Manager applet but I cannot figure out what else I can do. Some light on the issue would be really appreciated!

Thank you in advance,
xtrusion

Last edited by xtrusion (2016-01-17 14:13:04)

Offline

#2 2016-01-17 13:26:18

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: [SOLVED] Static IP - Job for netctl@wlp3s0.service failed

You'll have to make a choice. Either networkmanager or netctl. Two at the same time will lead to problems. If you want to test this setup, you can stop and disable networkmanager and see if that works, otherwise just use networkmanager and set up the static address there.

Offline

#3 2016-01-17 14:12:34

xtrusion
Member
Registered: 2016-01-17
Posts: 3

Re: [SOLVED] Static IP - Job for netctl@wlp3s0.service failed

runical wrote:

You'll have to make a choice. Either networkmanager or netctl. Two at the same time will lead to problems. If you want to test this setup, you can stop and disable networkmanager and see if that works, otherwise just use networkmanager and set up the static address there.

Hi runical,

that was exactly the point I was missing. I messed netctl with networkmanager due to when I searched how to set up static IP, the references I found were about netctl. Now I have been able to set static IP succesfully through networkmanager using Network Manager applet.

Thank you so much for clarifying the issue.

Best regards,
xtrusion

Offline

#4 2016-01-17 14:13:50

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: [SOLVED] Static IP - Job for netctl@wlp3s0.service failed

Don't forget to mark your thread as Solved.  Edit your first post and put "[Solved]" without the quotes at the beginning of the title.

Edit: And you snaked me doing it. wink

Last edited by headkase (2016-01-17 14:14:13)

Offline

Board footer

Powered by FluxBB