LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2022, 04:13 PM   #1
4pr3nd1z
LQ Newbie
 
Registered: Jan 2022
Distribution: Debian
Posts: 23

Rep: Reputation: 0
Question ¿ Ethernet running or not running ?


Hi guys,
Question, have I burned the integrated rj45 port?
I have made the connection of the network cable from the router to the notebook and it only turns on the green light permanently without blinking.
I have removed the cable, and the green light stays on constantly.
I have checked the cable in another connection and the cable is fine.
I run Debian OS, open command console and as root "ifconfig" and get the following output:

Code:
enp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:1d:72:aa:aa:aa  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16
where I notice that the wifi says RUNNING but ethernet NO

Code:
wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
        ether 00:17:c4:bb:bb:bb  txqueuelen 1000  (Ethernet)
        RX packets 287775  bytes 290858126 (277.3 MiB)
        RX errors 0  dropped 13392  overruns 0  frame 0
        TX packets 175202  bytes 32422647 (30.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Or have only the drivers that correspond to the ethernet been misconfigured?

Code:
ethtool enp2s0
Settings for enp2s0:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Half 1000baseT/Full
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Half 1000baseT/Full
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: Unknown!
	Duplex: Unknown! (255)
	Auto-negotiation: on
	Port: Twisted Pair
	PHYAD: 1
	Transceiver: internal
	MDI-X: Unknown
	Supports Wake-on: g
	Wake-on: g
        Current message level: 0x000000ff (255)
                               drv probe link timer ifdown ifup rx_err tx_err
	Link detected: no
I thank you in advance for your attention.

Last edited by 4pr3nd1z; 03-06-2022 at 04:19 PM. Reason: add result of ethtool enp2s0
 
Old 03-06-2022, 05:51 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Realistically, to avoid network issues, you should not connect both ethernet and wifi at the same time. Unless you are connecting to different networks it usually causes conflicts and communication errors.

If you want to use ethernet then I suggest that you use the settings panel and turn off wifi then connect the ethernet. It should just work, and if not then you can manually connect it, also using the settings panel.

If instead you wish to use wifi then I suggest you not connect the ethernet since wifi is already configured.

As to your question about the led on the ethernet port.
If I am reading the question properly it seems the light for the port on the router is staying on. My first reaction to that would be 1) power cycle the router. If the light fails to turn off with no cable connected then 2) consider replacing the router. The led on with no cable connected shows the port senses a connection even with nothing connected.
 
1 members found this post helpful.
Old 03-06-2022, 06:00 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
I assume your system as to networking has not been changed from the default installation.

Typically network manager when a cable is plugged in and a link established will automatically switch from wireless to wired and when the cable is disconnected will switch back to wireless.

If the the link light remains illuminated when the cable is disconnected then there is a good possibility ethernet is bad.

Was the output of the ethtool command ran when the cable was connected or disconnected?
 
Old 03-06-2022, 07:51 PM   #4
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
What have you done to see if the ethernet works?
Have you tried pinging anywhere?
Code:
$ping google.com
PING google.com (216.58.212.206) 56(84) bytes of data.
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=1 ttl=115 time=24.2 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=2 ttl=115 time=23.4 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=3 ttl=115 time=20.2 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=4 ttl=115 time=19.7 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=5 ttl=115 time=20.4 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=6 ttl=115 time=26.8 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=7 ttl=115 time=20.1 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=8 ttl=115 time=19.6 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=9 ttl=115 time=19.8 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=10 ttl=115 time=19.9 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=11 ttl=115 time=19.7 ms
If you get a response as above, it works, i.e. it's running.

(I never check the lights as my desktop lives under the bench in my "Man Cave". Can't see them!)

My

Play Bonny!


Last edited by Soadyheid; 03-06-2022 at 07:54 PM. Reason: lights...
 
Old 03-06-2022, 11:08 PM   #5
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
I had an odd issue with my laptop were Network Manager was not managing the ethernet port, just the wireless. So it did nothing when I plugged in a cable.
What does this command report?
Code:
nmcli dev status
If Network Manager is not controlling an interface, its STATE will be listed as unmanaged.
 
Old 03-07-2022, 02:17 PM   #6
4pr3nd1z
LQ Newbie
 
Registered: Jan 2022
Distribution: Debian
Posts: 23

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by computersavvy View Post
Realistically, to avoid network issues, you should not connect both ethernet and wifi at the same time. Unless you are connecting to different networks it usually causes conflicts and communication errors.

If you want to use ethernet then I suggest that you use the settings panel and turn off wifi then connect the ethernet. It should just work, and if not then you can manually connect it, also using the settings panel.

If instead you wish to use wifi then I suggest you not connect the ethernet since wifi is already configured.

As to your question about the led on the ethernet port.
If I am reading the question properly it seems the light for the port on the router is staying on. My first reaction to that would be 1) power cycle the router. If the light fails to turn off with no cable connected then 2) consider replacing the router. The led on with no cable connected shows the port senses a connection even with nothing connected.
Thank you! @computersavvy
on the notebook; In reality, the amber LED is off (it does not turn on) and only the green LED remains on, whether or not a network cable is connected.
Some time ago, after a system update, I had received a Tigon3 "firmware missing" message.
I didn't give it much importance at the time because everything was working fine; and I said that I would see it later, since then a lot of time has passed and now I just wanted to clear up the doubts if it is just a misconfiguration or the port is physically damaged.

Code:
lspci | egrep -i --color 'network|ethernet'
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5764M Gigabit Ethernet PCIe (rev 10)
Quote:
Originally Posted by michaelk View Post
I assume your system as to networking has not been changed from the default installation.

Typically network manager when a cable is plugged in and a link established will automatically switch from wireless to wired and when the cable is disconnected will switch back to wireless.

If the the link light remains illuminated when the cable is disconnected then there is a good possibility ethernet is bad.

Was the output of the ethtool command ran when the cable was connected or disconnected?
@michaelk I have executed the ethtool command with the cable connected, and then without the cable connected. Compare the outputs and they were the same, so attach an answer.

Quote:
Originally Posted by Soadyheid View Post
What have you done to see if the ethernet works?
Have you tried pinging anywhere?
Code:
$ping google.com
PING google.com (216.58.212.206) 56(84) bytes of data.
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=1 ttl=115 time=24.2 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=2 ttl=115 time=23.4 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=3 ttl=115 time=20.2 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=4 ttl=115 time=19.7 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=5 ttl=115 time=20.4 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=6 ttl=115 time=26.8 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=7 ttl=115 time=20.1 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=8 ttl=115 time=19.6 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=9 ttl=115 time=19.8 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=10 ttl=115 time=19.9 ms
64 bytes from ams16s21-in-f206.1e100.net (216.58.212.206): icmp_seq=11 ttl=115 time=19.7 ms
If you get a response as above, it works, i.e. it's running.

(I never check the lights as my desktop lives under the bench in my "Man Cave". Can't see them!)

My

Play Bonny!

@Soadyheid there is no ping; Destination host is unreachable. I have already verified the "/etc/network/interfaces", when in doubt of a bad assignment. I tried "inet static" and "inet dhcp". And there is nothing.

Quote:
Originally Posted by uteck View Post
I had an odd issue with my laptop were Network Manager was not managing the ethernet port, just the wireless. So it did nothing when I plugged in a cable.
What does this command report?
Code:
nmcli dev status
If Network Manager is not controlling an interface, its STATE will be listed as unmanaged.
@uteck result of:
Code:
nmcli dev status
is:
Code:
DEVICE TYPE STATE CONNECTION
enp2s0 ethernet not available --

__
personal comment; I imagine that the easiest thing would be to disassemble the entire motherboard and make some measurements, so we would be ruling out possible physical damage to the port.
But I have my doubts, as I mentioned above, that after the system update. I wonder;
Perhaps the firmware that corresponds to the Ethernet port has been removed or removed from the Debian repositories ? But, must there be a method to determine by software that the port is physically damaged?

Actually, I don't know what I would do without all the support and recommendations. From now on, I am grateful to each of you.
 
  


Reply

Tags
ethernet, ifconfig



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet to USB converter, not USB to Ethernet MrUmunhum Linux - Hardware 14 11-13-2009 12:43 PM
ethernet card SiS 900-Based PCI Fast Ethernet Adapter Not Detected pathan_azhar Linux - Networking 0 08-13-2006 04:15 AM
ethernet to ethernet frames alaios Linux - Networking 0 08-28-2004 04:32 PM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 12:33 AM
Can't Bring Ethernet Up / Can't Active Ethernet / Guigo Linux - Newbie 8 04-03-2004 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration