Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network config
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
fmalabre
Guru
Guru


Joined: 19 Jun 2002
Posts: 376
Location: Chicago

PostPosted: Sat Jun 22, 2002 2:18 am    Post subject: Network config Reply with quote

Hi,

After compiling my kernel like 10 times, I figured out what drivers I needed to make it boot. I'm still not confirtable with the option I chose.

Anyway, I set up my network (static IP) when I did my install:
/sbin/ifconfig eth0 ...
/sbin/route add -net ...

This works fine, but everytime I reboot, I loose my network configuration.
So, I need to reconfigure my static IP all the time.

Should I need to include those lines in a startup script?
If yes, which one?
If no, what did I miss :?:
Thanks,
Fred.
Back to top
View user's profile Send private message
fmalabre
Guru
Guru


Joined: 19 Jun 2002
Posts: 376
Location: Chicago

PostPosted: Sat Jun 22, 2002 2:28 am    Post subject: Reply with quote

I found out in another post :oops:
for info if someone has the same issue, add those lines in:
/etc/conf.d/net

Fred.
Back to top
View user's profile Send private message
tomte
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2002
Posts: 122

PostPosted: Sat Jun 22, 2002 2:30 am    Post subject: Reply with quote

edit /etc/conf.d/net

an excerpt of mine:
Code:

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="192.168.1.42 broadcast 192.168.0.255 netmask 255.255.255.0"

# For setting the default gateway
#
gateway="eth0/192.168.1.2"


and be sure to add net.eth0 to the default runlevel, more on this files in the docs somewhere IIRC

hth,
regards,
tom
edit: whoop, your faster than light :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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