ubuntu linux machine fails to connect to wired network but recognizes ethernet cable

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












0















I got a new Ubuntu/Linux machine (Ubuntu 18.04.1 LTS) that I am trying to connect to the internet for the first time, wired via ethernet cable.



Under Settings >> Network >> Wired, there is an On/Off toggle switch. I switch it on, and it says:




Connecting - 1000 Mb/s




However, after about 30 seconds a window appears saying:




Connection failed - Activation of network connection failed.




I run the following in the terminal, here is the output:



user@natasha:~$ sudo lshw -c network -sanitize
*-network
description: Ethernet interface
product: Ethernet Connection (2) I219-V
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: enp0s31f6
version: 00
serial: [REMOVED]
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.2-4 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:134 memory:df300000-df31ffff


I also try:



user@natasha:~$ sudo modprobe r8169
user@natasha:~$ dmesg
[ 0.000000] Linux version 4.15.0-43-generic
(buildd@lgw01-amd64-001) (gcc version 7.3.0
(Ubuntu 7.3.0-16ubuntu3)) #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 (Ubuntu 4.15.0-43.46-generic 4.15.18)
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.15.0-43-generic root=UUID=cfbfc572-c96e-448f-850b-021a4ee127cf ro quiet splash vt.handoff=1
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
[ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64


... the output continues for much longer than the character limit of this post.



I have also tried this, based on another post's suggestion, but it has not worked:



sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo systemctl restart NetworkManager


My /etc/network/interfaces file:



# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback


Does anyone have any insight or suggestions?










share|improve this question



















  • 1





    Is there anything on your network that provides DHCP? If not, you may need to set up the addressing scheme by hand.

    – roaima
    Jan 30 at 0:00












  • Yes, there should be DHCP on this network. Is this something I would configure in Settings?

    – Natasha B
    Jan 30 at 0:03











  • Sorry don't know; I rarely run with a GUI.

    – roaima
    Jan 30 at 0:05











  • Please include the configuration of your ethernet interface in the question. lo doesn't help.

    – Panki
    Jan 30 at 7:48















0















I got a new Ubuntu/Linux machine (Ubuntu 18.04.1 LTS) that I am trying to connect to the internet for the first time, wired via ethernet cable.



Under Settings >> Network >> Wired, there is an On/Off toggle switch. I switch it on, and it says:




Connecting - 1000 Mb/s




However, after about 30 seconds a window appears saying:




Connection failed - Activation of network connection failed.




I run the following in the terminal, here is the output:



user@natasha:~$ sudo lshw -c network -sanitize
*-network
description: Ethernet interface
product: Ethernet Connection (2) I219-V
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: enp0s31f6
version: 00
serial: [REMOVED]
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.2-4 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:134 memory:df300000-df31ffff


I also try:



user@natasha:~$ sudo modprobe r8169
user@natasha:~$ dmesg
[ 0.000000] Linux version 4.15.0-43-generic
(buildd@lgw01-amd64-001) (gcc version 7.3.0
(Ubuntu 7.3.0-16ubuntu3)) #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 (Ubuntu 4.15.0-43.46-generic 4.15.18)
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.15.0-43-generic root=UUID=cfbfc572-c96e-448f-850b-021a4ee127cf ro quiet splash vt.handoff=1
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
[ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64


... the output continues for much longer than the character limit of this post.



I have also tried this, based on another post's suggestion, but it has not worked:



sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo systemctl restart NetworkManager


My /etc/network/interfaces file:



# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback


Does anyone have any insight or suggestions?










share|improve this question



















  • 1





    Is there anything on your network that provides DHCP? If not, you may need to set up the addressing scheme by hand.

    – roaima
    Jan 30 at 0:00












  • Yes, there should be DHCP on this network. Is this something I would configure in Settings?

    – Natasha B
    Jan 30 at 0:03











  • Sorry don't know; I rarely run with a GUI.

    – roaima
    Jan 30 at 0:05











  • Please include the configuration of your ethernet interface in the question. lo doesn't help.

    – Panki
    Jan 30 at 7:48













0












0








0








I got a new Ubuntu/Linux machine (Ubuntu 18.04.1 LTS) that I am trying to connect to the internet for the first time, wired via ethernet cable.



Under Settings >> Network >> Wired, there is an On/Off toggle switch. I switch it on, and it says:




Connecting - 1000 Mb/s




However, after about 30 seconds a window appears saying:




Connection failed - Activation of network connection failed.




I run the following in the terminal, here is the output:



user@natasha:~$ sudo lshw -c network -sanitize
*-network
description: Ethernet interface
product: Ethernet Connection (2) I219-V
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: enp0s31f6
version: 00
serial: [REMOVED]
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.2-4 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:134 memory:df300000-df31ffff


I also try:



user@natasha:~$ sudo modprobe r8169
user@natasha:~$ dmesg
[ 0.000000] Linux version 4.15.0-43-generic
(buildd@lgw01-amd64-001) (gcc version 7.3.0
(Ubuntu 7.3.0-16ubuntu3)) #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 (Ubuntu 4.15.0-43.46-generic 4.15.18)
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.15.0-43-generic root=UUID=cfbfc572-c96e-448f-850b-021a4ee127cf ro quiet splash vt.handoff=1
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
[ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64


... the output continues for much longer than the character limit of this post.



I have also tried this, based on another post's suggestion, but it has not worked:



sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo systemctl restart NetworkManager


My /etc/network/interfaces file:



# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback


Does anyone have any insight or suggestions?










share|improve this question
















I got a new Ubuntu/Linux machine (Ubuntu 18.04.1 LTS) that I am trying to connect to the internet for the first time, wired via ethernet cable.



Under Settings >> Network >> Wired, there is an On/Off toggle switch. I switch it on, and it says:




Connecting - 1000 Mb/s




However, after about 30 seconds a window appears saying:




Connection failed - Activation of network connection failed.




I run the following in the terminal, here is the output:



user@natasha:~$ sudo lshw -c network -sanitize
*-network
description: Ethernet interface
product: Ethernet Connection (2) I219-V
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: enp0s31f6
version: 00
serial: [REMOVED]
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.2-4 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:134 memory:df300000-df31ffff


I also try:



user@natasha:~$ sudo modprobe r8169
user@natasha:~$ dmesg
[ 0.000000] Linux version 4.15.0-43-generic
(buildd@lgw01-amd64-001) (gcc version 7.3.0
(Ubuntu 7.3.0-16ubuntu3)) #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 (Ubuntu 4.15.0-43.46-generic 4.15.18)
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.15.0-43-generic root=UUID=cfbfc572-c96e-448f-850b-021a4ee127cf ro quiet splash vt.handoff=1
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
[ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64


... the output continues for much longer than the character limit of this post.



I have also tried this, based on another post's suggestion, but it has not worked:



sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo systemctl restart NetworkManager


My /etc/network/interfaces file:



# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback


Does anyone have any insight or suggestions?







ethernet






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 30 at 0:01







Natasha B

















asked Jan 29 at 23:56









Natasha BNatasha B

11




11







  • 1





    Is there anything on your network that provides DHCP? If not, you may need to set up the addressing scheme by hand.

    – roaima
    Jan 30 at 0:00












  • Yes, there should be DHCP on this network. Is this something I would configure in Settings?

    – Natasha B
    Jan 30 at 0:03











  • Sorry don't know; I rarely run with a GUI.

    – roaima
    Jan 30 at 0:05











  • Please include the configuration of your ethernet interface in the question. lo doesn't help.

    – Panki
    Jan 30 at 7:48












  • 1





    Is there anything on your network that provides DHCP? If not, you may need to set up the addressing scheme by hand.

    – roaima
    Jan 30 at 0:00












  • Yes, there should be DHCP on this network. Is this something I would configure in Settings?

    – Natasha B
    Jan 30 at 0:03











  • Sorry don't know; I rarely run with a GUI.

    – roaima
    Jan 30 at 0:05











  • Please include the configuration of your ethernet interface in the question. lo doesn't help.

    – Panki
    Jan 30 at 7:48







1




1





Is there anything on your network that provides DHCP? If not, you may need to set up the addressing scheme by hand.

– roaima
Jan 30 at 0:00






Is there anything on your network that provides DHCP? If not, you may need to set up the addressing scheme by hand.

– roaima
Jan 30 at 0:00














Yes, there should be DHCP on this network. Is this something I would configure in Settings?

– Natasha B
Jan 30 at 0:03





Yes, there should be DHCP on this network. Is this something I would configure in Settings?

– Natasha B
Jan 30 at 0:03













Sorry don't know; I rarely run with a GUI.

– roaima
Jan 30 at 0:05





Sorry don't know; I rarely run with a GUI.

– roaima
Jan 30 at 0:05













Please include the configuration of your ethernet interface in the question. lo doesn't help.

– Panki
Jan 30 at 7:48





Please include the configuration of your ethernet interface in the question. lo doesn't help.

– Panki
Jan 30 at 7:48










0






active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f497582%2fubuntu-linux-machine-fails-to-connect-to-wired-network-but-recognizes-ethernet-c%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f497582%2fubuntu-linux-machine-fails-to-connect-to-wired-network-but-recognizes-ethernet-c%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay