Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to change my IP-settings?
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
Sir Auron
n00b
n00b


Joined: 23 Jul 2004
Posts: 11
Location: Osnabrück, Deutschland

PostPosted: Fri Jul 23, 2004 5:02 pm    Post subject: How to change my IP-settings? Reply with quote

How to change my IP-settings? I need this settings:


IP-Adress: 192.168.0.26
Subnetmask: 255.255.255.0
Gateway: 192.168.0.1
1st DNS: 217.237.151.225
2nd DNS: 194.25.2.192

Thanks!
Sir Auron
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 299
Location: Pittsburgh, PA

PostPosted: Fri Jul 23, 2004 5:07 pm    Post subject: Reply with quote

well your dns addresses go in a file called /etc/resolv.conf and the rest of the configuration is in the device configuration file /etc/conf.d/net and you would put something like this in it...
Code:
ifconfig_eth0=(
     "192.168.0.26 broadcast 192.168.0.255 netmask 255.255.255.0"
)

routes_eth0=(
     "default gw 192.168.0.1"
)

_________________
Steve - Semper Fi
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Fri Jul 23, 2004 5:08 pm    Post subject: Reply with quote

Manually : ifconfig
At boot time : /etc/conf.d/net

DNS are to be put in /setc/resolv.conf (nameserver ip)
_________________
"Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals
Back to top
View user's profile Send private message
koara
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2004
Posts: 76
Location: Portland, Maine

PostPosted: Fri Jul 23, 2004 5:09 pm    Post subject: Re: How to change my IP-settings? Reply with quote

Check out this http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=8#doc_chap2 section of the Gentoo Handbook. It will explain how to change the 1st three lines. To change your DNS you need to edit the /etc/resolv.conf.

Sir Auron wrote:
How to change my IP-settings? I need this settings:


IP-Adress: 192.168.0.26
Subnetmask: 255.255.255.0
Gateway: 192.168.0.1
1st DNS: 217.237.151.225
2nd DNS: 194.25.2.192

Thanks!
Sir Auron
Back to top
View user's profile Send private message
Sir Auron
n00b
n00b


Joined: 23 Jul 2004
Posts: 11
Location: Osnabrück, Deutschland

PostPosted: Fri Jul 23, 2004 6:14 pm    Post subject: Reply with quote

I've changed it, but it doesn't work... Yes, I've resterted too.
_________________
Tagchen, wie geht's euch? Was?! Ihr könnt das hier nicht lesen? Dann könnt ihr wohl kein Deutsch! ;-) IHR NICHTDEUTSCHEN! *gg*
Back to top
View user's profile Send private message
m.b.j.
Guru
Guru


Joined: 12 Sep 2003
Posts: 407
Location: Germany (Essen)

PostPosted: Fri Jul 23, 2004 6:53 pm    Post subject: Reply with quote

Can you post the output of your
Code:
ifconfig

?
And how it does not work, does name resolving not work, or something else...?
Need more information.....
_________________
root@mbj # echo "sys-pizza/calzone -tunfish" >> /etc/paludis/use.conf
root@mbj # paludis -i calzone --dl-blocks discard
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