Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how config netctl static ip?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Wed Apr 16, 2014 11:50 am    Post subject: how config netctl static ip? Reply with quote

Hi,

I tried to configure static ip with netctl in gnome/systemd (I do not know if it is possible with NetwotkManager?) -
I followed the example but it is not working. I have a simple network - one Ethernet interface with router -
I do not know where to insert the right values and if all of them are in use - Routes, Gateway, DNS...

In RC system I configured like that:

Code:
dns_domain_lo="mg_domain"

config_enp2s0="10.0.0.7 netmask 255.255.255.0 brd 10.0.0.255"
routes_enp2s0="default via 10.0.0.138"
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Fri Apr 18, 2014 1:29 pm    Post subject: Reply with quote

OK - I worked it out: From Gnome main menu -
settings > network > preferences > IPv4 and fill in all nessecary data.
Now I have a static IP ... :D

EDIT: Please let me know if I have to have networkmanager/netctl, for static ip, or this feature is included in Gnome?

EDIT: It is highly recommended to add the below command when using static ip with systemd - For instance, Minidlnla did not work for me without, and it fixed more issues!
Code:
systemctl enable NetworkManager-wait-online.service
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum