On Tue, 2003-09-30 at 11:36, Bruce E. Harris wrote:
> Everytime I reboot, I lose my gateway, and have to configure it by
> hand.
> Were is that info suppose to be so I can add it to the file and save
> it? I 
> followed the instructins and got my /etc/host and /etc/resolve
> correct, but 
> dont know where the gateway data would be.

i believe you're looking for /etc/conf.d/net.  it has your basic network
info, including your gateway.  it should look something like this:


# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7
2002/11/18 19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="192.168.x.yyy broadcast 192.168.x.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0="dhcp"
#dhcpcd_eth0="..."

# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"

# NB:  The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly.  Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"


# For setting the default gateway
#
gateway="eth0/192.168.x.z"



--
[EMAIL PROTECTED] mailing list

Reply via email to