Re: Internet connectivity

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: George Joseph Thekkekara
Date:  
To: plug-discuss
Subject: Re: Internet connectivity
Hi,

As a thumbrule, for internet connection on Linux/Unix, there are 3
places that needs to be checked:

1. /etc/nsswitch.conf
---
hosts: files dns <- (Make sure you have "dns" here)


2. /etc/resolv.conf (as jlevie mentioned)
----
nameserver    <ISP DNS server's IP or your router's LAN IP>  


3. default gateway setting (you can see that using the command netstat -rn)

if you don't have a default gateway, then type

route add default gw <router's LAN IP>

In your case the router's LAN IP will be 192.168.0.1

Usually, the 2nd and 3rd will be assigned by DHCP (if you use DHCP to
get ip address).

So first check /etc/nsswitch.conf and then add the default route using
the command mentioned above. This will do the trick

Regards,

George Joseph
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss