Problems with Ethernet network connection

Questions about cabled networking
Forum rules
Before you post please read this

Problems with Ethernet network connection

Postby cmadur on Wed Jan 02, 2013 7:54 pm

Hi there. Can anyone help me.I ´ve installed recently linux mint 10 Julia, Kernel: 2.6.35-22-generic(x86_64),Desktop environment: GNOME 2.32.0.
The ethernet cable is plugged in but I don t have network connection.I´ve runned these comands:

cat /etc/network/interfaces

auto lo
iface lo inet loopback


ifconfig -a

eth0 Link encap:Ethernet HWaddr e0:cb:4e:d5:b2:ef

inet6 addr: fe80::e2cb:4eff:fed5:b2ef/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:12 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:4104 (4.1 KB)

Interrupt:42 Base address:0xe000


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:12 errors:0 dropped:0 overruns:0 frame:0

TX packets:12 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0
RX bytes:720 (720.0 B) TX bytes:720 (720.0 B)nm-tool

NetworkManager Tool

State: disconnected

- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: r8169
State: disconnected
Default: no
HW Address: E0:CB:4E:D5:B2:EF

Capabilities:
Carrier Detect: yes
Speed: 10 Mb/s

Wired Properties
Carrier: on
cmadur
Level 1
Level 1
 
Posts: 1
Joined: Sat Dec 22, 2012 9:11 pm

Linux Mint is funded by ads and donations.
 

Re: Problems with Ethernet network connection

Postby billmc on Sat Jan 05, 2013 1:31 am

From what you've posted, to me it looks like the eth0 port is not up. I don't know if you're looking for a temporary fix or a permanent one, so I'll give you both:

temporary
sudo ifconfig eth0 up
sudo dhclient eth0

This will bring "up" eth0, dhclient will request an IP address from your server; you can varify it worked by running the ifconfig -a command again. This time you should see an IP address assigned to eth0.

If you don't want to do this every time you boot up, you need to add another "stanza" to you /etc/network/interfaces file. To read about it -> man interfaces

I'll assume you're looking for dhcp, add this:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp


This stanza will configure your eth0 card to come up at boot and request an IP address from the dhcp server.
billmc
Level 1
Level 1
 
Posts: 40
Joined: Sat Dec 29, 2012 7:22 pm


Return to Ethernet

Who is online

Users browsing this forum: No registered users and 1 guest