can't get online

Duncan Lithgow duncan at lithgow-schmidt.dk
Sat Jul 23 10:36:11 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Gimpelevich wrote:

>If you only get seven lines when you type "ifconfig -a" (that is what you
>typed, right?), and you don't say what those lines are, I must assume that
>the lines relate only to the loopback interface "lo" and not to "eth0"
>which would mean that your NIC isn't being seen. This is if, and only if,
>you typed "ifconfig -a" in the terminal. If "ifconfig -a" indeed shows
>lines relating to "eth0" when you try it, please post the results of
>typing "sudo dhclient" in the terminal.
>
>On Sat, 23 Jul 2005 01:26:07 +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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFC4h2bK7lmfCGoxjoRAiGaAJ955gtyeG6XYsZhNnW4B3Nk54253gCg4GCe
v1oEfv9ys+v+ZdBcFTzOk34=
=eaBq
-----END PGP SIGNATURE-----





More information about the ubuntu-users mailing list