Problem Getting Online

Geoff Shang geoff at QuiteLikely.com
Wed Mar 25 16:53:56 UTC 2015


On Wed, 25 Mar 2015, Christopher Gray wrote:

> It is an ethernet connection.

I'm going to assume it's an ethernet connection to a modem/router.

First, you'll want to see if /etc/network/interfaces has something like 
the following:

iface eth0 inet dhcp

This should be the default.

If it does, see if your interface is getting an address by running:

/sbin/ifconfig eth0

If it's up it should have an address and should say "UP BROADCAST". 
Here's what mine looks lke:

eth0      Link encap:Ethernet  HWaddr 00:1e:4f:d9:dc:14
           inet addr:192.168.2.101  Bcast:192.168.2.255  Mask:255.255.255.0
           inet6 addr: fe80::21e:4fff:fed9:dc14/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:7284830 errors:0 dropped:0 overruns:0 frame:0
           TX packets:6643140 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:3478879179 (3.2 GiB)  TX bytes:1062914569 (1013.6 MiB)
           Interrupt:21 Memory:fe9e0000-fea00000

If your interface isn't up but you do have the DHCP entry in 
/etc/network/interfaces, try looking in /var/log/syslog for DHCP output to 
see what's going on.

If your interfaces file looks different, what's in it?

Geoff.




More information about the Blinux-list mailing list