View previous topic :: View next topic |
Author |
Message |
QPegasus n00b
Joined: 27 Sep 2003 Posts: 42
|
Posted: Sat Sep 27, 2003 11:18 pm Post subject: Newbie alert - configuring network |
|
|
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 |
|
|
Achilles Apprentice
Joined: 03 Jun 2002 Posts: 259 Location: Chicago
|
Posted: Sat Sep 27, 2003 11:28 pm Post subject: |
|
|
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 |
|
|
QPegasus n00b
Joined: 27 Sep 2003 Posts: 42
|
Posted: Sat Sep 27, 2003 11:30 pm Post subject: |
|
|
thanks |
|
Back to top |
|
|
|