Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
permanent static ip config
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
stateq2
Apprentice
Apprentice


Joined: 11 Sep 2003
Posts: 242
Location: us

PostPosted: Sat Sep 20, 2003 12:31 am    Post subject: permanent static ip config Reply with quote

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
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Sat Sep 20, 2003 12:34 am    Post subject: Reply with quote

Quote:
or would i just do the obvious and put in my info in the /etc/conf.d/net file?

yep.
Back to top
View user's profile Send private message
stateq2
Apprentice
Apprentice


Joined: 11 Sep 2003
Posts: 242
Location: us

PostPosted: Sat Sep 20, 2003 1:20 am    Post subject: Reply with quote

what i figured, thanks :)
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