View previous topic :: View next topic |
Author |
Message |
wharez Tux's lil' helper
Joined: 11 Aug 2004 Posts: 104
|
Posted: Fri Sep 24, 2004 6:48 am Post subject: setting eth0 |
|
|
I have recently changed the ip on my nic by using ifconfig
Code: |
ifconfig eth0 10.0.0.130 255.255.255.128
|
how can I make this eth0 setting persistant so that I dont have to retype it every time I reboot? |
|
Back to top |
|
|
hardcore l33t
Joined: 01 Nov 2003 Posts: 626 Location: MSU, MI
|
Posted: Fri Sep 24, 2004 7:02 am Post subject: |
|
|
You'll want to edit /etc/conf.d/net and change iface_eth0 to this: Code: | iface_eth0="10.0.0.130 broadcast 10.0.0.255 netmask 255.255.255.128" |
_________________ Nothing can stop me now, cuz I just don't care. |
|
Back to top |
|
|
wharez Tux's lil' helper
Joined: 11 Aug 2004 Posts: 104
|
Posted: Fri Sep 24, 2004 7:17 am Post subject: |
|
|
and how do I set my new gateway address to be persistent? |
|
Back to top |
|
|
hardcore l33t
Joined: 01 Nov 2003 Posts: 626 Location: MSU, MI
|
Posted: Fri Sep 24, 2004 7:25 am Post subject: |
|
|
Scroll down to the bottom of /etc/conf.d/net, you'll see a section called gateway. _________________ Nothing can stop me now, cuz I just don't care. |
|
Back to top |
|
|
|