On Saturday 30 November 2002 01:54 am, Elky Grrrr... wrote:
> i just installed linux as a work station, it can access the lan, but cannot
> access the internet??  at boot is says something like SIOCADDRT: Network is
> unreachable, can anybody tell me what the problem is???
>
> the lan card i have is a sis 900 pci,  in case you have to know... help me
> please would really appreciate it.

what do the following commands say?
    ping -c 10 www.yahoo.com
    ifconfig
    route
    iptables -L
    iptables -t nat -L
    cat /etc/resolv.conf

if you can access the LAN but not the internet, then it's almost certainly 
not a LAN card issue.  often that's due to not having a default route.  what
is the gateway to the internet?
try to set the default route with:

    route add default gw <gateway_ip_or_hostname>

tiger

-- 
Gerald Timothy Quimpo  tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"
                   Veritas liberabit vos.
  my name is Inigo Montoya.  You killed my father.  Prepare to die.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to