2

I installed a fresh Ubuntu beside Windows 10. In Windows, I have Internet access by ethernet. In Ubuntu, I can see a Wired Connection 1, but without internet access. I am behind a local network.

Ubuntu 16.04.6 LTS

Here are the outcomes of some commands:

ifconfig

sudo lshw -C network

sudo gedit /etc/NetworkManager/NetworkManager.conf

sudo gedit /etc/network/interfaces

I have tried to set interfaces to:

auto enp0s31f6
iface enp0s31f6 inet auto

and then restart the network manager/ reboot, but it didn't work. If fact, as soon as the restart occured, the enp0s31f6 interface was not shown in ifconfig. Any help is appreciated, thanks.

EDIT: Normal internet connection, via USB tethering

Tried sudo apt-get update, sudo apt-get upgrade, still NO internet connection via ETHERNET

EDIT2:

Output for: sudo dhclient -d enp0s31f6

Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/enp0s31f6/64:00:6a:90:e0:92
Sending on   LPF/enp0s31f6/64:00:6a:90:e0:92
Sending on   Socket/fallback
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 3 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 7 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 11 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 17 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 18 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 11 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 20 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 19 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 21 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 11 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 17 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 9 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 14 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 8 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 10 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 11 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 11 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 19 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 17 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 19 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 9 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 11 (xid=0xb123492d)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 8 (xid=0xb123492d)
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

EDIT3: Below, output of: dpkg -l *dnsmasq*

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                       Version            Architecture       Description
+++-==========================-==================-==================-=========================================================
un  dnsmasq                    <none>             <none>             (no description available)
ii  dnsmasq-base               2.75-1ubuntu0.16.0 amd64              Small caching DNS proxy and DHCP/TFTP server
New contributor
Lara Larsen is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 1
    Please do not post text as pictures. Copy from the terminal, and paste into the question. Please see askubuntu.com/editing-help#code on how to format command output. – vidarlo Jul 12 at 7:25
  • You are right, however, I don't have internet access, so I would have to type them. – Lara Larsen Jul 12 at 7:26
  • What kind of network? Does it use 802.1X to authenticate clients? This would be common in many corporate settings – vidarlo Jul 12 at 7:26
  • No @vidarlo, no such authentication. – Lara Larsen Jul 12 at 7:31
  • what is the output of dhclient -d enp0s31f6? Do you know anything more about the network? Your NIC should be fairly well supported. – vidarlo Jul 12 at 10:32

Your Answer

Lara Larsen is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.