View previous topic :: View next topic |
Author |
Message |
sk8harddiefast Guru
Joined: 15 Feb 2009 Posts: 335 Location: athens
|
Posted: Mon Mar 17, 2014 10:25 am Post subject: Cannot get static ip |
|
|
Hi. I bought a Lenovo P400 laptop and I am trying to get static ip.
So I go to /etc/conf.d/net and I add
Code: | ifconfig_enp1s0="192.168.1.20 netmask 255.255.255.0"
routes_enp1s0="default via 192.168.1.1"
dns_servers_enp1s0="78.87.0.122" |
So I link net to net.enp1s0 and restart network.
My system refuses to see the static ip and always trying to get dhcp.
But even when get dhcp ip I have packet loss.
How to make it just work? _________________ Compile The Universe |
|
Back to top |
|
|
olek Apprentice
Joined: 22 Oct 2011 Posts: 173
|
Posted: Mon Mar 17, 2014 12:23 pm Post subject: |
|
|
I only know
instead of
Maybe give that a try. _________________ https://plaintext.blog |
|
Back to top |
|
|
kite14 Apprentice
Joined: 07 Nov 2006 Posts: 216 Location: Italy
|
Posted: Tue Mar 18, 2014 7:38 am Post subject: |
|
|
Quote: | So I link net to net.enp1s0 and restart network. |
Did you mean "link net.lo to net.enp1s0" ?
...and yes, olek is right about config_xxx / ifconfig_xxx |
|
Back to top |
|
|
|