0

I've got problem with my Ethernet connection on Ubuntu, although connection works fine on my dualboot Win 7 and I should say, that my connection on Ubuntu was working few days ago , but now it won't connect at all. It say that I'm "Disconnected".

ifconfig shows following output:

eth0      Link encap:Ethernet  HWaddr e4:11:5b:3a:73:b0  
          inet6 addr: fe80::e611:5bff:fe3a:73b0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:5755 (5.7 KB)

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:65536  Metric:1
          RX packets:39 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:4065 (4.0 KB)  TX bytes:4065 (4.0 KB)

wlan0     Link encap:Ethernet  HWaddr ac:81:12:e3:ce:5a  
          UP 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)

cat /etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

I would appreciate any help!

Umbra
  • 3

1 Answers1

0

Are you using a graphical desktop or are you on server? If server then you can safely edit /etc/network/interfaces to something like:

for dhcp :

auto eth0
iface eth0 inet dhcp

for static IP:

auto eth0
iface eth0 inet static
           address <ip>
           netmask <netmask>
           gateway <gateway_ip>
           dns-nameservers <dns_ip> <dns_ip>

However if you have a desktop then they use NetworkManager daemon to automagically manage the interfaces and overrides/messes up with /etc/network/interfaces. If so, check your network settings from the desktop tool and don't mess with /etc.