View previous topic :: View next topic |
Author |
Message |
stateq2 Apprentice


Joined: 11 Sep 2003 Posts: 242 Location: us
|
Posted: Sat Sep 20, 2003 12:31 am Post subject: permanent static ip config |
|
|
hi,
i got static ip network up fine, but after every reboot, i have to manually enter the config options again. like this
Code: |
# ifconfig eth0 <ip adress> netmask <netmask>
# route add -net default gw <gateway> netmask 0.0.0.0 metric 1 eth0
|
now, this isn't a big problem, although a little inconvenient, and it would be a luxury if i could make it configure automatically. a startup script come to mind, but how would i come to write it for this purpose, and where exactly would it go? or would i just do the obvious and put in my info in the /etc/conf.d/net file? thanks |
|
Back to top |
|
 |
bmichaelsen Veteran


Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Sat Sep 20, 2003 12:34 am Post subject: |
|
|
Quote: | or would i just do the obvious and put in my info in the /etc/conf.d/net file? |
yep. |
|
Back to top |
|
 |
stateq2 Apprentice


Joined: 11 Sep 2003 Posts: 242 Location: us
|
Posted: Sat Sep 20, 2003 1:20 am Post subject: |
|
|
what i figured, thanks  |
|
Back to top |
|
 |
|
|
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
|
|