View previous topic :: View next topic |
Author |
Message |
Sir Auron n00b

Joined: 23 Jul 2004 Posts: 11 Location: Osnabrück, Deutschland
|
Posted: Fri Jul 23, 2004 5:02 pm Post subject: How to change my IP-settings? |
|
|
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 |
|
 |
SLBMEH Apprentice


Joined: 16 Aug 2003 Posts: 299 Location: Pittsburgh, PA
|
Posted: Fri Jul 23, 2004 5:07 pm Post subject: |
|
|
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 |
|
 |
Jeremy_Z l33t


Joined: 05 Apr 2004 Posts: 671 Location: Shanghai
|
Posted: Fri Jul 23, 2004 5:08 pm Post subject: |
|
|
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 |
|
 |
koara Tux's lil' helper


Joined: 30 Jun 2004 Posts: 76 Location: Portland, Maine
|
Posted: Fri Jul 23, 2004 5:09 pm Post subject: Re: How to change my IP-settings? |
|
|
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 |
|
 |
Sir Auron n00b

Joined: 23 Jul 2004 Posts: 11 Location: Osnabrück, Deutschland
|
Posted: Fri Jul 23, 2004 6:14 pm Post subject: |
|
|
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 |
|
 |
m.b.j. Guru

Joined: 12 Sep 2003 Posts: 407 Location: Germany (Essen)
|
Posted: Fri Jul 23, 2004 6:53 pm Post subject: |
|
|
Can you post the output of your
?
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 |
|
 |
|