Ubuntu 16.04 - ethernet connection works only for <30 seconds before I have to reconnect

by emihir0   Last Updated May 23, 2018 12:02 PM

I have a very peculiar problem - up until today everything was fine. Today when I started my PC my internet was not working and so I tried disconnecting and reconnecting to it. Then it worked for around 30 seconds before disconnecting again. I'm still connected to the network; internet simply does not work.

When I ping 8.8.8.8 - I get around 50 pings before I stop getting any more responses. If I reconnect to the network I get again around 50 pings.

I tried deleting the connection network and re-adding it but it does not work (problem persists).

What can I do? What commands should I run to provide you with more diagnostic info?



Answers 1


Network Manager connects to WI-Fi networks and automatically configures wired network connections when you plug in an Ethernet cable. Before Network Manager, you’d have to do this with terminal commands. If something isn’t working properly, you may still have to configure Network Manager. Click the network connection or WI-Fi icon on the panel at the top-right corner of your screen to access the Network Manager menu, then choose a network. If you need to view information about your connection for troubleshooting purposes—your computer’s IP address, for example—click Connection Information. If your local network connection isn’t working, ensure the Enable Networking and Enable Wi-Fi options are selected here in the menu. These options let you quickly disable and enable your connections, which is useful for putting your laptop into airplane mode. If you accidentally disabled either, you won’t have an Internet connection until you re-enable them. Configure your connections by clicking Edit Connections. You’ll see a window with one or more connections, depending on how many network adapters you have in your computer. Select a connection and click Edit to modify its settings. Ensure the ‘Automatically connect to this network when it is available’ option is enabled on the General tab. If it’s disabled, NetworkManager won’t automatically connect to a wired or wireless network when you boot your computer.

Network Manager uses Dynamic Host Configuration Protocol (DHCP) by default, so your computer will attempt to get connection settings—IP address, DNS servers, and default gateway—automatically from your router or Internet service provider.

For networks that require a static IP configuration, you’ll need to visit either the IPv4 Settings or the IPv6 Settings pane and select the “Manual” method. (If you’re not sure which you’re using, you’re probably still using IPv4.) Enter the details your connection requires here—your ISP or network administrator can tell you what to enter if you don't know. If, for some reason, your network only allows devices with a specific MAC address to connect, click the Ethernet tab and enter that information into the 'Cloned MAC address' box.

teran teshara
teran teshara
May 23, 2018 12:00 PM

Related Questions



Internet through Ethernet problem

Updated February 23, 2016 03:01 AM

LAN not working on 17.04

Updated April 18, 2017 07:02 AM


Ethernet not working after update 14.04 (64 bit)

Updated October 10, 2015 16:01 PM