ETH0 not getting IP

New to Debian (Or Linux in general)? Ask your questions here!

ETH0 not getting IP

Postby najjah » 2017-09-19 16:55

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?
najjah
 
Posts: 2
Joined: 2017-09-19 16:12

Re: ETH0 not getting IP

Postby p.H » 2017-09-19 18:53

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.
p.H
 
Posts: 85
Joined: 2017-09-17 07:12

Re: ETH0 not getting IP

Postby najjah » 2017-09-19 19:57

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.
najjah
 
Posts: 2
Joined: 2017-09-19 16:12

Re: ETH0 not getting IP

Postby Head_on_a_Stick » 2017-09-19 20:29

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.
"Are you quite sure that all those bells and whistles, all those wonderful facilities of your so called powerful programming languages, belong to the solution set rather than the problem set?" — Edsger W. Dijkstra
User avatar
Head_on_a_Stick
 
Posts: 6600
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: ETH0 not getting IP

Postby TonyT » 2017-09-19 23:39

/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?
TonyT
 
Posts: 519
Joined: 2006-09-04 11:57


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable