Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Newbie alert - configuring network
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
QPegasus
n00b
n00b


Joined: 27 Sep 2003
Posts: 42

PostPosted: Sat Sep 27, 2003 11:18 pm    Post subject: Newbie alert - configuring network Reply with quote

Well, I just got Gentoo installed and everything seems fine. Probably easier than when I tried mandrake/redhat actually, albeit a bit longer. :)


Anyway, here's the question.

I've configured my connection (dsl router) by doing the following :-

ifconfig eth0 <IP> broadcast <BCAST> netmask 255.255.255.0

along with...

route add -net default gw <GWAY> netmask 0.0.0.0 metric 1 eth0


Which works fine. However, here's the dumb newbie question I've been unable to find the answer to:

I need to type this again after every reboot. What do I need to do to save these settings?


Thanks in advance.
Back to top
View user's profile Send private message
Achilles
Apprentice
Apprentice


Joined: 03 Jun 2002
Posts: 259
Location: Chicago

PostPosted: Sat Sep 27, 2003 11:28 pm    Post subject: Reply with quote

Edit the file /etc/conf.d/net and then do:

Code:
 rc-update add net.eth0 default


That will automatically bring up your network card every time you start your computer :)
Back to top
View user's profile Send private message
QPegasus
n00b
n00b


Joined: 27 Sep 2003
Posts: 42

PostPosted: Sat Sep 27, 2003 11:30 pm    Post subject: Reply with quote

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