On 5 Nov 2003 04:19:01 -0800, Saul wrote:
> Hi,
>
> Is there a configuration that sets the default gateway?
Yes.
> It should probably be in "/etc/sysconfig/networking/"
Not in my distribution.
Please read
http://www.catb.org/~esr/faqs/smart-questions.html
It always helps if you provide some basic system information and what
you are having problems with when you post questions to the
news groups.
That info helps us to provide better examples/responses.
There are several "linuxes": Red Hat, Slackware, SuSE, Debian, Mandrake,
Caldera, Corel, Yellow Lab, Black Lab, WinLinux, PhatLinux, Linux On A
Floppy, slinux, Trinux, Peanut and
(Rock, Armed, Stampede, Tiny. Power, Coyote) Linux, to name a few.
Always provide what distro and release level you are using
when you post questions (Redhat 6.1, Suse 5.0, Mandrake 8.2,...).
Different distros have different commands, files, and links to files,
pacakges and package/software managers.
Even happens between release levels of the same distribution.
Internet connection problem (ISP, cable, adsl, PPPoE, LAN, dialup, eth0. USB..)
If dhcp, which client (pump, dhcpcd, dhclient,...)
Firewall (Bastille, Tiny, Smoothwall ..) , which type ipchains, iptables,...
Window manger, application problem/question give the name
(gnome, kde, sawmill, kscd, kmix, eroaster, ...) Different
window managers can have different programs.
Give us error messages if you have them.
Look in your logs, /var/log/messages on Redhat and Mandrake.
If it is a shell/script question, give the shell name (bash, tch, zch,...)
Example: Using RH 7.3, kde, dhcpcd though a cable modem on RR in Fortworth Tx.
ipchains Tinyfirewall is disabled. Still cannot get a lease.
Redhat and Mandrake have the gateway in /etc/sysconfig/network. Example
cat /etc/sysconfig/network
HOSTNAME=wb.home
NETWORKING=yes
GATEWAY=192.168.1.1