Problems with Ethernet network connection

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
cmadur

Problems with Ethernet network connection

Post by cmadur »

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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
billmc

Re: Problems with Ethernet network connection

Post by billmc »

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.
Locked

Return to “Networking”