Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Can 't change to static ip address !
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
skorefish
Apprentice
Apprentice


Joined: 21 Jun 2015
Posts: 281

PostPosted: Sat Jun 27, 2015 5:10 am    Post subject: [solved]Can 't change to static ip address ! Reply with quote

hello,

I changed /etc/conf.d/net to

this

# Set the dns_domain_lo variable to the selected domain name
dns_domain_lo="homenetwork"
config_eno16777736="192.168.2.20 netmask 255.255.255.0 brd 192.168.2.255"
routes_eno16777736="default via 192.168.2.1"
#config_eno16777736="dhcp"

but I get ip 192.168.2.64

What am I doing wrong here ?

btw: for the moment I run Gentoo on VMware player


Last edited by skorefish on Tue Jul 21, 2015 8:12 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sat Jun 27, 2015 8:14 am    Post subject: Reply with quote

skorefish,

Do you have a link net.eno16777736 -> net.lo in /etc/init.d and is net.eno1677773 in your default runlevel?

Hmm ... I recall that interface names longer than 9 characters didn't work at one time and eno16777736 is 11 characters.
If thats still true, you will need to tell udev to leave your interfaces alone and have a eth0.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
skorefish
Apprentice
Apprentice


Joined: 21 Jun 2015
Posts: 281

PostPosted: Sat Jun 27, 2015 2:44 pm    Post subject: Reply with quote

Quote:
you will need to tell udev to leave your interfaces alone and have a eth0.


how is that done?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sat Jun 27, 2015 3:25 pm    Post subject: Reply with quote

skorefish,

See the Gentoo Wiki the section on udev 171 to 204
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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