can't get online
Daniel Gimpelevich
daniel at gimpelevich.san-francisco.ca.us
Sat Jul 23 15:54:43 UTC 2005
You seem to have two NICs. When you said you "configured the network card
as DHCP and activated it," you probably did that for eth0, but your
connection is plugged into eth1. That's why it's not doing it
automatically on boot. I also see something very strange: A DHCP server on
your LAN (10.5.255.254) is assigning a publicly routable address
(62.107.19.189) to your machine. What kind of LAN setup works like that?
On Sat, 23 Jul 2005 13:36:11 +0200, Duncan Lithgow wrote:
> That worked great! Here's the output...
>
> dulithgow at ubuntu:~$ ifconfig -a
> eth0 Link encap:Ethernet HWaddr 00:02:44:16:28:F4
> inet6 addr: fe80::202:44ff:fe16:28f4/64 Scope:Link
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:2430 (2.3 KiB)
> Interrupt:17 Base address:0xcc00
>
> eth1 Link encap:Ethernet HWaddr 00:0C:76:5C:59:E5
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Interrupt:20 Base address:0x6e00
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:322 errors:0 dropped:0 overruns:0 frame:0
> TX packets:322 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:27928 (27.2 KiB) TX bytes:27928 (27.2 KiB)
>
> sit0 Link encap:IPv6-in-IPv4
> NOARP MTU:1480 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> - --------------------------------
>
> So I tried the next one ...
>
> dulithgow at ubuntu:~$ sudo dhclient
> Internet Systems Consortium DHCP Client V3.0.1
> 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/eth1/00:0c:76:5c:59:e5
> Sending on LPF/eth1/00:0c:76:5c:59:e5
> Listening on LPF/eth0/00:02:44:16:28:f4
> Sending on LPF/eth0/00:02:44:16:28:f4
> Listening on LPF/lo/
> Sending on LPF/lo/
> Sending on Socket/fallback
> DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
> DHCPOFFER from 10.5.255.254
> DHCPREQUEST on eth1 to 255.255.255.255 port 67
> DHCPACK from 10.5.255.254
> bound to 62.107.19.189 -- renewal in 2946 seconds.
> - --------------------------------
>
> After that I started up the browser and found I was online! So how do I
> make this work automatically?
>
> Thanks for the help, Duncan
More information about the ubuntu-users
mailing list