[NTLUG:Discuss] Getting eth0 working with Kubuntu
Wayne Dahl
w.dahl4 at verizon.net
Sun Jan 29 22:49:28 CST 2006
On Sun, 2006-01-29 at 18:51, Terry wrote:
> Since you've not mentioned domain name resolution or /etc/resolv.conf,
> I suspect that is the issue you have omitted. But, maybe not...
> If your network runs DHCP server, try
> dhclient
The domain name servers I was given when I got my DSL (and that works
for my other two computers) is what shows in /etc/resolv.conf...namely
nameserver 4.2.2.4
nameserver 4.2.2.5
nameserver 4.2.2.6
> ------------------------------------------------
> You have 3 issues to resolve before getting Internet service working.
> 1) IP address set and in the right range, (whether you're using DHCP
> or static IP)
> ifconfig
I'm using static IP's on all my machines. This one is set to
192.168.1.104.
The other two are 192.168.1.102 and 103.
> 2) Gateway (default gateway) - to manually set default gateway:
> route add default gw ###.##.##.##
The router is the gateway, 192.168.1.100 and it shows up under the "home
dsl" profile.
> 3) Domain name resolution (having valid name server addresses in
> /etc/resolv.conf ) To manually do that, simply edit /etc/resolv.conf
> and add lines like so:
> nameserver ###.###.##.#
> nameserver ###.###.##.#
See above.
>
> --------TROUBLESHOOTING-------
> If you don't know if you're network is working at all, you might start
> [troubleshooting] by pinging the PC's own NIC.
> i.e. If you set the PC's NIC to 192.168.1.5, do this:
> ping 192.168.1.5
> If you can ping your own nick, you can be pretty sure it is working ok.
> Next, ping the gateway IP address.
I can ping the router just fine. I just can't ping anything outside the
router. It's as if the router is not routing this one PC.
> If that fails, check your wiring.
> Next, ping one of your nameserver addresses.
I get network is unreachable when I attempt to ping the nameservers.
Clearly the problem is the router, but I have no idea why it would pass
the other two machines and not pass this one. The configurations are
identical and as I said, I can log into the router from that box with
Konqueror and make changes to the router config, so I can clearly route
to the router, just not to the WAN interface for some reason.
> and / or try to do name resolution, i.e.
> host www.google.com
> should show you google.com's IP address
I couldn't ping the nameservers or google.
> If all of the above yields positive results and you're still not
> surfing the Internet, I'm as lost as you are... :)
More info for you...I'm using a Netgear 108Mbps wireless router, model
number WGT624. The only computer currently running wireless on it is my
wifes computer running ExPee...I was too lazy to run Cat5 for it. And
it works just fine. So does the one I'm currently typing this message
on and this one is hardwired to the router, as is the computer in
question.
Thanks again,
Wayne
More information about the Discuss
mailing list