LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhclient shows IP, but internet including ping wont work (https://www.linuxquestions.org/questions/linux-networking-3/dhclient-shows-ip-but-internet-including-ping-wont-work-371056/)

mjkelly93 10-08-2005 06:23 PM

dhclient shows IP, but internet including ping wont work
 
I was tinkering around with wi-fi radar and in the process disconnected my internet connection. Thinking that it must have messed up some setting, i opened up netword-admin and tried a bunch of different settings unsuccessfully. So i decided to erase all the settings then restart the comp thinking it would work. It didnt. After finally fixing /etc/hosts and /etc/hostname, manually, i finally got sudo to work and got dhclient to work. So heres where we are now:

dhclient shows an ip address. In network-admin, eth1, the correct card, is enabled and the default card. It found the DNS servers for my ISP. My /etc/hosts looks like this:
127.0.0.1 localhost.localdomain shendo
#which is correct and now works fine
my hostname looks like this:
shendo
my dhclient looks like this:
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/sit0/
Sending on LPF/sit0/
Listening on LPF/eth0/00:04:5a:50:57:e2
Sending on LPF/eth0/00:04:5a:50:57:e2
Listening on LPF/lo/
Sending on LPF/lo/
Listening on LPF/eth1/00:e0:4c:b0:89:a9
Sending on LPF/eth1/00:e0:4c:b0:89:a9
Sending on Socket/fallback
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 4
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 10.201.120.1
bound to 12.44.226.13 -- renewal in 33058 seconds.

my "ifconfig eth1"
eth1 Link encap:Ethernet HWaddr 00:E0:4C:B0:89:A9
inet addr:12.44.226.13 Bcast:255.255.255.255 Mask:255.255.254.0
inet6 addr: fe80::2e0:4cff:feb0:89a9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1553 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:101793 (99.4 KiB) TX bytes:5310 (5.1 KiB)
Interrupt:23 Base address:0xec00

my route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
12.44.226.0 0.0.0.0 255.255.254.0 U 0 0 0 eth1
0.0.0.0 12.44.226.1 0.0.0.0 UG 0 0 0 eth1

my /etc/resolv.conf:
domain shenhgts.net
nameserver 65.83.241.181
nameserver 67.32.118.46

my /etc/iftab:
# This file assigns persistent names to network interfaces. See iftab(5).
eth0 mac 00:04:5a:50:57:e2
eth1 mac 00:e0:4c:b0:89:a9

my /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth1

# The primary network interface
iface eth1 inet dhcp

auto eth1

------------------------

Also, pinging the default gateway under route -n, returns a successful ping measuring in ms like it should. Pinging anything else fails with no return. Just timing out. So heres where i stand:
Before me tinkering it worked fine.
Im on windows now using the same connection
It connects under dhclient and obtains an IP address.
Nothing works except pinging the gateway.
Heres the link to the thread over at ubuntuforums:
http://www.ubuntuforums.org/showthread.php?t=73207

Also im using Ubuntu 5.10 and a cable connection with DHCP.
So thanks in advance i know you guys are the best here at lq.org.

Marty

mjkelly93 10-09-2005 07:46 AM

Does anyone know what files that network-admin writes to?

Like when i started ubuntu, prolly during installation, it ran something to detect my network settings. It filled in all those tabs under network-admin. Including a bunch of settings that arent in there anymore. So i needa know what files network-admin writes to then compare it to someone else. Or id really like to know what program writes to network-admin.


All times are GMT -5. The time now is 10:43 AM.