Hiya all...<br>
<br>
I'm using Ubuntu Breezy and am having a whole stack of problems getting
my network to run. I have a Windows box and my gateway, connected
to a ISDN. I have a 8 port switch and 2 NIC's in my linux box.<br>
<br>
I have got the network cable plugged into eth0.<br>
<br>
I have done some searching on the net and came up with a variety of
commands that give me a whole heap of information, but I know nothing
about how it interpret it.<br>
<br>
Here is the output from these commands that I found:<br>
<br>
lee@kubuntu:~$ sudo dhclient eth0<br>
Password:<br>
There is already a pid file /var/run/dhclient.pid with pid 0<br>
Internet Systems Consortium DHCP Client V3.0.2<br>
Copyright 2004 Internet Systems Consortium.<br>
All rights reserved.<br>
For info, please visit <a href="http://www.isc.org/products/DHCP">http://www.isc.org/products/DHCP</a><br>
sit0: unknown hardware address type 776<br>
sit0: unknown hardware address type 776<br>
Listening on LPF/eth0/00:0a:eb:9e:04:ee<br>
Sending on LPF/eth0/00:0a:eb:9e:04:ee<br>
Sending on Socket/fallback<br>
DHCPDISCOVER on eth0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 4<br>
DHCPDISCOVER on eth0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 5<br>
DHCPDISCOVER on eth0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 13<br>
DHCPDISCOVER on eth0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 15<br>
DHCPDISCOVER on eth0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 11<br>
DHCPDISCOVER on eth0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 10<br>
DHCPDISCOVER on eth0 to <a href="http://255.255.255.255">255.255.255.255</a> port 67 interval 3<br>
No DHCPOFFERS received.<br>
No working leases in persistent database - sleeping.<br>
lee@kubuntu:~$ ifconfig eth0<br>
eth0 Link encap:Ethernet HWaddr 00:0A:EB:9E:04:EE<br>
inet6 addr: fe80::20a:ebff:fe9e:4ee/64 Scope:Link<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:94 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:100 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000<br>
RX bytes:13249 (12.9 KiB) TX bytes:32868 (32.0 KiB)<br>
Interrupt:11 Base address:0xec00<br>
lee@kubuntu:~$ dmesg | grep eth0<br>
lee@kubuntu:~$ sudo ifconfig eth0 <a href="http://192.168.0.50">192.168.0.50</a><br>
lee@kubuntu:~$ ping <a href="http://192.168.0.1">192.168.0.1</a><br>
PING <a href="http://192.168.0.1">192.168.0.1</a> (<a href="http://192.168.0.1">192.168.0.1</a>) 56(84) bytes of data.<br>
64 bytes from <a href="http://192.168.0.1">192.168.0.1</a>: icmp_seq=1 ttl=128 time=0.319 ms<br>
64 bytes from <a href="http://192.168.0.1">192.168.0.1</a>: icmp_seq=2 ttl=128 time=0.314 ms<br>
64 bytes from <a href="http://192.168.0.1">192.168.0.1</a>: icmp_seq=3 ttl=128 time=0.310 ms<br>
64 bytes from <a href="http://192.168.0.1">192.168.0.1</a>: icmp_seq=4 ttl=128 time=0.338 ms<br>
64 bytes from <a href="http://192.168.0.1">192.168.0.1</a>: icmp_seq=5 ttl=128 time=0.339 ms<br>
64 bytes from <a href="http://192.168.0.1">192.168.0.1</a>: icmp_seq=6 ttl=128 time=0.308 ms<br>
64 bytes from <a href="http://192.168.0.1">192.168.0.1</a>: icmp_seq=7 ttl=128 time=0.322 ms<br>
--- <a href="http://192.168.0.1">192.168.0.1</a> ping statistics ---<br>
7 packets transmitted, 7 received, 0% packet loss, time 5999ms<br>
rtt min/avg/max/mdev = 0.308/0.321/0.339/0.020 ms<br>
lee@kubuntu:~$ping <a href="http://www.google.com">www.google.com</a><br>
ping: unknown host <a href="http://www.google.com">www.google.com</a><br>
lee@kubuntu:~$ dig @<a href="http://192.168.0.1">192.168.0.1</a> <a href="http://ubuntu.com">ubuntu.com</a><br>
; <<>> DiG 9.3.1 <<>> @<a href="http://192.168.0.1">192.168.0.1</a> <a href="http://ubuntu.com">ubuntu.com</a><br>
<br>
; (1 server found)<br>
;<br>
; global options: printcmd<br>
;; connection timed out; no servers could be reached<br>
lee@kubuntu:~$<br>
<br clear="all">Pinging from my xp box to linux<br>
<br>
Microsoft Windows XP [Version 5.1.2600]<br>
(C) Copyright 1985-2001 Microsoft Corp.<br>
<br>
C:\Documents and Settings\AdministratorLee>ping <a href="http://192.168.0.50">192.168.0.50</a><br>
<br>
Pinging <a href="http://192.168.0.50">192.168.0.50</a> with 32 bytes of data:<br>
<br>
Reply from <a href="http://192.168.0.50">192.168.0.50</a>: bytes=32 time<1ms TTL=64<br>
Reply from <a href="http://192.168.0.50">192.168.0.50</a>: bytes=32 time<1ms TTL=64<br>
Reply from <a href="http://192.168.0.50">192.168.0.50</a>: bytes=32 time<1ms TTL=64<br>
Reply from <a href="http://192.168.0.50">192.168.0.50</a>: bytes=32 time<1ms TTL=64<br>
<br>
Ping statistics for <a href="http://192.168.0.50">192.168.0.50</a>:<br>
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),<br>
Approximate round trip times in milli-seconds:<br>
Minimum = 0ms, Maximum = 0ms, Average = 0ms<br>
<br>
C:\Documents and Settings\AdministratorLee><br>
<br>
<br>
After that I rebooted my linux box and now I can't access the network anymore. I have no idea what I am doing now.<br>
<br>
I am sure that my gateway is <a href="http://192.168.0.1">192.168.0.1</a> - that's the xp box - so why
is "DHCPDISCOVER on eth0" to "<a href="http://255.255.255.255">255.255.255.255</a>"? Have I not set
the gateway somewhere?<br>
<br>
I don't know what to do.<br>
<br>
Thanks in advance for any help.<br>
<br>-- <br>-<br>Regards,<br><br>Lee Jamieson