Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

ETH0 not getting IP

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
najjah
Posts: 2
Joined: 2017-09-19 16:12

ETH0 not getting IP

#1 Post by najjah »

Summary

My eth0 interface cannot connect no matter what I do. I'll try to list below everything I tried.
By "cannot connect" I mean that no IP is assigned to eth0 and network-manager looks like loading forever on eth0.
wlan0 is working correctly.

I'm running Debian 8.9 with KDE 4.14.2.

Troubleshooting

First of all, I ran ifconfig -a in order to check if my interface was really eth0 and I got this.
Image

Then, I tried connecting manually with dhclient -r eth0 && dhclient -v eth0 and I got this.
Image

My /etc/network/interfaces file is like this:
Image

And my /etc/NetworkManager/NetworkManager.conf is like this:
Image


What am I missing?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: ETH0 not getting IP

#2 Post by p.H »

Maybe eth0 is part of a bridge ?
What does

Code: Select all

brctl show
report ?

PS : Do not change manage to true unless you know exactly what you are doing. Most of the times it is useless and can cause trouble.

najjah
Posts: 2
Joined: 2017-09-19 16:12

Re: ETH0 not getting IP

#3 Post by najjah »

p.H. thanks for your reply.

Looks like I don't have brctl installed.
Image

The image is in portuguese, but you will understand what it means.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: ETH0 not getting IP

#4 Post by Head_on_a_Stick »

najjah wrote:The image is in portuguese, but you will understand what it means.
Use LC_ALL=C before a command t make it speak English.

Please replace all of those ridiculous images of text with the plain text itself (using code tags), I will not assist further in this thread until you have done this.
deadbang

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: ETH0 not getting IP

#5 Post by TonyT »

/etc/network/interfaces is correct.it should not contain any reference to eth0 if you are using network-manager. Thus trying to connect by command will always fail due to network-manager managing the interface.

That said, answer these:
1. could you ever connect using eth0?
2. what adapter is it? (use lspci to get the manufacturer name)
3. are you certain any needed firmware for the adapter is installed?

Post Reply