View previous topic :: View next topic |
Author |
Message |
fmalabre Guru
Joined: 19 Jun 2002 Posts: 376 Location: Chicago
|
Posted: Sat Jun 22, 2002 2:18 am Post subject: Network config |
|
|
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 |
|
|
fmalabre Guru
Joined: 19 Jun 2002 Posts: 376 Location: Chicago
|
Posted: Sat Jun 22, 2002 2:28 am Post subject: |
|
|
I found out in another post
for info if someone has the same issue, add those lines in:
/etc/conf.d/net
Fred. |
|
Back to top |
|
|
tomte Tux's lil' helper
Joined: 08 May 2002 Posts: 122
|
Posted: Sat Jun 22, 2002 2:30 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|