Ethernet Connected but no internet access on Linux Mint The 2019 Stack Overflow Developer...

The difference between dialogue marks

What is the motivation for a law requiring 2 parties to consent for recording a conversation

How do I free up internal storage if I don't have any apps downloaded?

RequirePermission not working

Are spiders unable to hurt humans, especially very small spiders?

How to quickly solve partial fractions equation?

What is the most efficient way to store a numeric range?

What is the meaning of Triage in Cybersec world?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Can an undergraduate be advised by a professor who is very far away?

Is bread bad for ducks?

What do hard-Brexiteers want with respect to the Irish border?

Why doesn't UInt have a toDouble()?

How can I add encounters in the Lost Mine of Phandelver campaign without giving PCs too much XP?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

How to type this arrow in math mode?

How to translate "being like"?

Can withdrawing asylum be illegal?

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

Likelihood that a superbug or lethal virus could come from a landfill

Can you cast a spell on someone in the Ethereal Plane, if you are on the Material Plane and have the True Seeing spell active?

The phrase "to the numbers born"?

Why is the maximum length of OpenWrt’s root password 8 characters?

Can we generate random numbers using irrational numbers like π and e?



Ethernet Connected but no internet access on Linux Mint



The 2019 Stack Overflow Developer Survey Results Are InConfigure Atheros AR9285 wireless in Gentoo802.3ad on FreeBSD and Linux using crossover cables?Cannot connect to network in fedora 19Using ip addr instead of ifconfig reports “RTNETLINK answers: File exists” on DebianFTP not happening on RHEL 6 Server configured using a Vm Player 11Can't figure out why Ethernet packets are ignoredInternet connectivity using linux network namespaceDirect connection Centos7 (loadbalance) to QNAP (trunk)NAT ETH1 PORT 5000 Traffic to PPP0Cannot connect to Wifi on Linux Mint Version 4.15.0-45





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















I new in connecting Ethernet with my Linux Mint, WiFi works fine. But I encountered quite a few errors. After spending 2 days searching I failed to connect.



$ uname -a
Linux 'username' 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


With "Method" Automatic DHCP, Here are the output of ifconfig



Method: Automatic(DHCP) for Profile



$ ifconfig
enp3s0 Link encap:Ethernet HWaddr 54:ee:75:79:b7:1f
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1760 errors:0 dropped:8 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:147427 (147.4 KB) TX bytes:17994 (17.9 KB)
Interrupt:43 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4120 errors:0 dropped:0 overruns:0 frame:0
TX packets:4120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:341414 (341.4 KB) TX bytes:341414 (341.4 KB)

wlp2s0 Link encap:Ethernet HWaddr 78:0c:b8:d6:62:da
inet addr:192.168.43.121 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::e842:14d2:88e2:1321/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16271 errors:0 dropped:0 overruns:0 frame:0
TX packets:13247 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19535354 (19.5 MB) TX bytes:1753988 (1.7 MB)


Also with this, the Wire never shows Connected but instead shows Connecting....



I then changed it to Manual with following details shown in attached Image:



Profile with Manual Settings



I then executed pppoeconf command and it executed with no errors.



And here is the output of ifconfig



enp3s0    Link encap:Ethernet  HWaddr 54:ee:75:79:b7:1f  
inet addr:192.168.43.121 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::56ee:75ff:fe79:b71f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1863 errors:0 dropped:9 overruns:0 frame:0
TX packets:186 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:157640 (157.6 KB) TX bytes:25158 (25.1 KB)
Interrupt:43 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4485 errors:0 dropped:0 overruns:0 frame:0
TX packets:4485 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:370644 (370.6 KB) TX bytes:370644 (370.6 KB)

wlp2s0 Link encap:Ethernet HWaddr 78:0c:b8:d6:62:da
inet addr:192.168.43.121 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::e842:14d2:88e2:1321/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:91264 errors:0 dropped:0 overruns:0 frame:0
TX packets:61200 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:126022999 (126.0 MB) TX bytes:7032850 (7.0 MB)


$ netstat -rn



$ natstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.43.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0


$ route



$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.43.0 * 255.255.255.0 U 100 0 0 enp3s0


$ cat /etc/network/interfaces



$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto dsl-provider
iface dsl-provider inet ppp
pre-up /bin/ip link set enp3s0 up # line maintained by pppoeconf
provider dsl-provider

auto enp3s0
iface enp3s0 inet static
address 192.168.43.121
netmask 255.255.255.0
network 192.168.43.0
bradcast 192.168.43.255
gateway 192.168.43.1


$ cat /etc/resolv.conf



$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1


$ ping 127.0.1.1



$ ping 127.0.1.1
PING 127.0.1.1 (127.0.1.1) 56(84) bytes of data.
64 bytes from 127.0.1.1: icmp_seq=1 ttl=64 time=0.071 ms
64 bytes from 127.0.1.1: icmp_seq=2 ttl=64 time=0.061 ms
64 bytes from 127.0.1.1: icmp_seq=3 ttl=64 time=0.062 ms
64 bytes from 127.0.1.1: icmp_seq=4 ttl=64 time=0.062 ms
64 bytes from 127.0.1.1: icmp_seq=5 ttl=64 time=0.029 ms
^C
--- 127.0.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4083ms
rtt min/avg/max/mdev = 0.029/0.057/0.071/0.014 ms


$ ping google.com



$ ping google.com
ping: unknown host google.com


$ ping 192.168.43.1



$ ping 192.168.43.1
PING 192.168.43.1 (192.168.43.1) 56(84) bytes of data.
From 192.168.43.121 icmp_seq=1 Destination Host Unreachable
From 192.168.43.121 icmp_seq=2 Destination Host Unreachable
From 192.168.43.121 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.43.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4100ms
pipe 4


I even tried to ping using the IP Address of google.com



 $ ping 172.217.10.110
connect: Network is unreachable


Update:



Is this be useful? after suggested by one of the answers, I tried



$ sudo ip r a default via 192.168.43.1
$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.43.1 0.0.0.0 UG 0 0 0 enp3s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp3s0
192.168.43.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0


and I pinged google.com with Name:



$ ping google.com
ping: unknown host google.com


with IP Address:



$ ping 172.217.10.110
PING 172.217.10.110 (172.217.10.110) 56(84) bytes of data.
From 192.168.43.121 icmp_seq=1 Destination Host Unreachable
From 192.168.43.121 icmp_seq=2 Destination Host Unreachable
From 192.168.43.121 icmp_seq=3 Destination Host Unreachable
^C
--- 172.217.10.110 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4078ms
pipe 4


Please let me know how to resolve this issue.










share|improve this question




















  • 2





    Change addres to address in your /etc/network/interfaces

    – GAD3R
    Jun 9 '18 at 11:44











  • I updated the Question, it was a typing error. The problem still exists.

    – Jatin Mandav
    Jun 9 '18 at 15:49


















2















I new in connecting Ethernet with my Linux Mint, WiFi works fine. But I encountered quite a few errors. After spending 2 days searching I failed to connect.



$ uname -a
Linux 'username' 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


With "Method" Automatic DHCP, Here are the output of ifconfig



Method: Automatic(DHCP) for Profile



$ ifconfig
enp3s0 Link encap:Ethernet HWaddr 54:ee:75:79:b7:1f
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1760 errors:0 dropped:8 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:147427 (147.4 KB) TX bytes:17994 (17.9 KB)
Interrupt:43 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4120 errors:0 dropped:0 overruns:0 frame:0
TX packets:4120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:341414 (341.4 KB) TX bytes:341414 (341.4 KB)

wlp2s0 Link encap:Ethernet HWaddr 78:0c:b8:d6:62:da
inet addr:192.168.43.121 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::e842:14d2:88e2:1321/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16271 errors:0 dropped:0 overruns:0 frame:0
TX packets:13247 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19535354 (19.5 MB) TX bytes:1753988 (1.7 MB)


Also with this, the Wire never shows Connected but instead shows Connecting....



I then changed it to Manual with following details shown in attached Image:



Profile with Manual Settings



I then executed pppoeconf command and it executed with no errors.



And here is the output of ifconfig



enp3s0    Link encap:Ethernet  HWaddr 54:ee:75:79:b7:1f  
inet addr:192.168.43.121 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::56ee:75ff:fe79:b71f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1863 errors:0 dropped:9 overruns:0 frame:0
TX packets:186 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:157640 (157.6 KB) TX bytes:25158 (25.1 KB)
Interrupt:43 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4485 errors:0 dropped:0 overruns:0 frame:0
TX packets:4485 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:370644 (370.6 KB) TX bytes:370644 (370.6 KB)

wlp2s0 Link encap:Ethernet HWaddr 78:0c:b8:d6:62:da
inet addr:192.168.43.121 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::e842:14d2:88e2:1321/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:91264 errors:0 dropped:0 overruns:0 frame:0
TX packets:61200 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:126022999 (126.0 MB) TX bytes:7032850 (7.0 MB)


$ netstat -rn



$ natstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.43.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0


$ route



$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.43.0 * 255.255.255.0 U 100 0 0 enp3s0


$ cat /etc/network/interfaces



$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto dsl-provider
iface dsl-provider inet ppp
pre-up /bin/ip link set enp3s0 up # line maintained by pppoeconf
provider dsl-provider

auto enp3s0
iface enp3s0 inet static
address 192.168.43.121
netmask 255.255.255.0
network 192.168.43.0
bradcast 192.168.43.255
gateway 192.168.43.1


$ cat /etc/resolv.conf



$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1


$ ping 127.0.1.1



$ ping 127.0.1.1
PING 127.0.1.1 (127.0.1.1) 56(84) bytes of data.
64 bytes from 127.0.1.1: icmp_seq=1 ttl=64 time=0.071 ms
64 bytes from 127.0.1.1: icmp_seq=2 ttl=64 time=0.061 ms
64 bytes from 127.0.1.1: icmp_seq=3 ttl=64 time=0.062 ms
64 bytes from 127.0.1.1: icmp_seq=4 ttl=64 time=0.062 ms
64 bytes from 127.0.1.1: icmp_seq=5 ttl=64 time=0.029 ms
^C
--- 127.0.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4083ms
rtt min/avg/max/mdev = 0.029/0.057/0.071/0.014 ms


$ ping google.com



$ ping google.com
ping: unknown host google.com


$ ping 192.168.43.1



$ ping 192.168.43.1
PING 192.168.43.1 (192.168.43.1) 56(84) bytes of data.
From 192.168.43.121 icmp_seq=1 Destination Host Unreachable
From 192.168.43.121 icmp_seq=2 Destination Host Unreachable
From 192.168.43.121 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.43.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4100ms
pipe 4


I even tried to ping using the IP Address of google.com



 $ ping 172.217.10.110
connect: Network is unreachable


Update:



Is this be useful? after suggested by one of the answers, I tried



$ sudo ip r a default via 192.168.43.1
$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.43.1 0.0.0.0 UG 0 0 0 enp3s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp3s0
192.168.43.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0


and I pinged google.com with Name:



$ ping google.com
ping: unknown host google.com


with IP Address:



$ ping 172.217.10.110
PING 172.217.10.110 (172.217.10.110) 56(84) bytes of data.
From 192.168.43.121 icmp_seq=1 Destination Host Unreachable
From 192.168.43.121 icmp_seq=2 Destination Host Unreachable
From 192.168.43.121 icmp_seq=3 Destination Host Unreachable
^C
--- 172.217.10.110 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4078ms
pipe 4


Please let me know how to resolve this issue.










share|improve this question




















  • 2





    Change addres to address in your /etc/network/interfaces

    – GAD3R
    Jun 9 '18 at 11:44











  • I updated the Question, it was a typing error. The problem still exists.

    – Jatin Mandav
    Jun 9 '18 at 15:49














2












2








2


1






I new in connecting Ethernet with my Linux Mint, WiFi works fine. But I encountered quite a few errors. After spending 2 days searching I failed to connect.



$ uname -a
Linux 'username' 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


With "Method" Automatic DHCP, Here are the output of ifconfig



Method: Automatic(DHCP) for Profile



$ ifconfig
enp3s0 Link encap:Ethernet HWaddr 54:ee:75:79:b7:1f
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1760 errors:0 dropped:8 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:147427 (147.4 KB) TX bytes:17994 (17.9 KB)
Interrupt:43 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4120 errors:0 dropped:0 overruns:0 frame:0
TX packets:4120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:341414 (341.4 KB) TX bytes:341414 (341.4 KB)

wlp2s0 Link encap:Ethernet HWaddr 78:0c:b8:d6:62:da
inet addr:192.168.43.121 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::e842:14d2:88e2:1321/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16271 errors:0 dropped:0 overruns:0 frame:0
TX packets:13247 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19535354 (19.5 MB) TX bytes:1753988 (1.7 MB)


Also with this, the Wire never shows Connected but instead shows Connecting....



I then changed it to Manual with following details shown in attached Image:



Profile with Manual Settings



I then executed pppoeconf command and it executed with no errors.



And here is the output of ifconfig



enp3s0    Link encap:Ethernet  HWaddr 54:ee:75:79:b7:1f  
inet addr:192.168.43.121 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::56ee:75ff:fe79:b71f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1863 errors:0 dropped:9 overruns:0 frame:0
TX packets:186 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:157640 (157.6 KB) TX bytes:25158 (25.1 KB)
Interrupt:43 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4485 errors:0 dropped:0 overruns:0 frame:0
TX packets:4485 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:370644 (370.6 KB) TX bytes:370644 (370.6 KB)

wlp2s0 Link encap:Ethernet HWaddr 78:0c:b8:d6:62:da
inet addr:192.168.43.121 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::e842:14d2:88e2:1321/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:91264 errors:0 dropped:0 overruns:0 frame:0
TX packets:61200 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:126022999 (126.0 MB) TX bytes:7032850 (7.0 MB)


$ netstat -rn



$ natstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.43.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0


$ route



$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.43.0 * 255.255.255.0 U 100 0 0 enp3s0


$ cat /etc/network/interfaces



$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto dsl-provider
iface dsl-provider inet ppp
pre-up /bin/ip link set enp3s0 up # line maintained by pppoeconf
provider dsl-provider

auto enp3s0
iface enp3s0 inet static
address 192.168.43.121
netmask 255.255.255.0
network 192.168.43.0
bradcast 192.168.43.255
gateway 192.168.43.1


$ cat /etc/resolv.conf



$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1


$ ping 127.0.1.1



$ ping 127.0.1.1
PING 127.0.1.1 (127.0.1.1) 56(84) bytes of data.
64 bytes from 127.0.1.1: icmp_seq=1 ttl=64 time=0.071 ms
64 bytes from 127.0.1.1: icmp_seq=2 ttl=64 time=0.061 ms
64 bytes from 127.0.1.1: icmp_seq=3 ttl=64 time=0.062 ms
64 bytes from 127.0.1.1: icmp_seq=4 ttl=64 time=0.062 ms
64 bytes from 127.0.1.1: icmp_seq=5 ttl=64 time=0.029 ms
^C
--- 127.0.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4083ms
rtt min/avg/max/mdev = 0.029/0.057/0.071/0.014 ms


$ ping google.com



$ ping google.com
ping: unknown host google.com


$ ping 192.168.43.1



$ ping 192.168.43.1
PING 192.168.43.1 (192.168.43.1) 56(84) bytes of data.
From 192.168.43.121 icmp_seq=1 Destination Host Unreachable
From 192.168.43.121 icmp_seq=2 Destination Host Unreachable
From 192.168.43.121 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.43.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4100ms
pipe 4


I even tried to ping using the IP Address of google.com



 $ ping 172.217.10.110
connect: Network is unreachable


Update:



Is this be useful? after suggested by one of the answers, I tried



$ sudo ip r a default via 192.168.43.1
$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.43.1 0.0.0.0 UG 0 0 0 enp3s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp3s0
192.168.43.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0


and I pinged google.com with Name:



$ ping google.com
ping: unknown host google.com


with IP Address:



$ ping 172.217.10.110
PING 172.217.10.110 (172.217.10.110) 56(84) bytes of data.
From 192.168.43.121 icmp_seq=1 Destination Host Unreachable
From 192.168.43.121 icmp_seq=2 Destination Host Unreachable
From 192.168.43.121 icmp_seq=3 Destination Host Unreachable
^C
--- 172.217.10.110 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4078ms
pipe 4


Please let me know how to resolve this issue.










share|improve this question
















I new in connecting Ethernet with my Linux Mint, WiFi works fine. But I encountered quite a few errors. After spending 2 days searching I failed to connect.



$ uname -a
Linux 'username' 4.13.0-39-generic #44~16.04.1-Ubuntu SMP Thu Apr 5 16:43:10 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


With "Method" Automatic DHCP, Here are the output of ifconfig



Method: Automatic(DHCP) for Profile



$ ifconfig
enp3s0 Link encap:Ethernet HWaddr 54:ee:75:79:b7:1f
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1760 errors:0 dropped:8 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:147427 (147.4 KB) TX bytes:17994 (17.9 KB)
Interrupt:43 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4120 errors:0 dropped:0 overruns:0 frame:0
TX packets:4120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:341414 (341.4 KB) TX bytes:341414 (341.4 KB)

wlp2s0 Link encap:Ethernet HWaddr 78:0c:b8:d6:62:da
inet addr:192.168.43.121 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::e842:14d2:88e2:1321/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16271 errors:0 dropped:0 overruns:0 frame:0
TX packets:13247 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19535354 (19.5 MB) TX bytes:1753988 (1.7 MB)


Also with this, the Wire never shows Connected but instead shows Connecting....



I then changed it to Manual with following details shown in attached Image:



Profile with Manual Settings



I then executed pppoeconf command and it executed with no errors.



And here is the output of ifconfig



enp3s0    Link encap:Ethernet  HWaddr 54:ee:75:79:b7:1f  
inet addr:192.168.43.121 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::56ee:75ff:fe79:b71f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1863 errors:0 dropped:9 overruns:0 frame:0
TX packets:186 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:157640 (157.6 KB) TX bytes:25158 (25.1 KB)
Interrupt:43 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4485 errors:0 dropped:0 overruns:0 frame:0
TX packets:4485 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:370644 (370.6 KB) TX bytes:370644 (370.6 KB)

wlp2s0 Link encap:Ethernet HWaddr 78:0c:b8:d6:62:da
inet addr:192.168.43.121 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::e842:14d2:88e2:1321/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:91264 errors:0 dropped:0 overruns:0 frame:0
TX packets:61200 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:126022999 (126.0 MB) TX bytes:7032850 (7.0 MB)


$ netstat -rn



$ natstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.43.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0


$ route



$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.43.0 * 255.255.255.0 U 100 0 0 enp3s0


$ cat /etc/network/interfaces



$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto dsl-provider
iface dsl-provider inet ppp
pre-up /bin/ip link set enp3s0 up # line maintained by pppoeconf
provider dsl-provider

auto enp3s0
iface enp3s0 inet static
address 192.168.43.121
netmask 255.255.255.0
network 192.168.43.0
bradcast 192.168.43.255
gateway 192.168.43.1


$ cat /etc/resolv.conf



$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1


$ ping 127.0.1.1



$ ping 127.0.1.1
PING 127.0.1.1 (127.0.1.1) 56(84) bytes of data.
64 bytes from 127.0.1.1: icmp_seq=1 ttl=64 time=0.071 ms
64 bytes from 127.0.1.1: icmp_seq=2 ttl=64 time=0.061 ms
64 bytes from 127.0.1.1: icmp_seq=3 ttl=64 time=0.062 ms
64 bytes from 127.0.1.1: icmp_seq=4 ttl=64 time=0.062 ms
64 bytes from 127.0.1.1: icmp_seq=5 ttl=64 time=0.029 ms
^C
--- 127.0.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4083ms
rtt min/avg/max/mdev = 0.029/0.057/0.071/0.014 ms


$ ping google.com



$ ping google.com
ping: unknown host google.com


$ ping 192.168.43.1



$ ping 192.168.43.1
PING 192.168.43.1 (192.168.43.1) 56(84) bytes of data.
From 192.168.43.121 icmp_seq=1 Destination Host Unreachable
From 192.168.43.121 icmp_seq=2 Destination Host Unreachable
From 192.168.43.121 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.43.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4100ms
pipe 4


I even tried to ping using the IP Address of google.com



 $ ping 172.217.10.110
connect: Network is unreachable


Update:



Is this be useful? after suggested by one of the answers, I tried



$ sudo ip r a default via 192.168.43.1
$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.43.1 0.0.0.0 UG 0 0 0 enp3s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp3s0
192.168.43.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0


and I pinged google.com with Name:



$ ping google.com
ping: unknown host google.com


with IP Address:



$ ping 172.217.10.110
PING 172.217.10.110 (172.217.10.110) 56(84) bytes of data.
From 192.168.43.121 icmp_seq=1 Destination Host Unreachable
From 192.168.43.121 icmp_seq=2 Destination Host Unreachable
From 192.168.43.121 icmp_seq=3 Destination Host Unreachable
^C
--- 172.217.10.110 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4078ms
pipe 4


Please let me know how to resolve this issue.







linux networking linux-mint ethernet internet






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 10 '18 at 5:04







Jatin Mandav

















asked Jun 9 '18 at 11:21









Jatin MandavJatin Mandav

113




113








  • 2





    Change addres to address in your /etc/network/interfaces

    – GAD3R
    Jun 9 '18 at 11:44











  • I updated the Question, it was a typing error. The problem still exists.

    – Jatin Mandav
    Jun 9 '18 at 15:49














  • 2





    Change addres to address in your /etc/network/interfaces

    – GAD3R
    Jun 9 '18 at 11:44











  • I updated the Question, it was a typing error. The problem still exists.

    – Jatin Mandav
    Jun 9 '18 at 15:49








2




2





Change addres to address in your /etc/network/interfaces

– GAD3R
Jun 9 '18 at 11:44





Change addres to address in your /etc/network/interfaces

– GAD3R
Jun 9 '18 at 11:44













I updated the Question, it was a typing error. The problem still exists.

– Jatin Mandav
Jun 9 '18 at 15:49





I updated the Question, it was a typing error. The problem still exists.

– Jatin Mandav
Jun 9 '18 at 15:49










2 Answers
2






active

oldest

votes


















1














You have no default gateway:



ip r a default via 192.168.43.1



Nor resolver, as - I guess, you have no running DNS service on 127.0.1.1:



echo nameserver 8.8.8.8 >> /etc/resolv.conf






share|improve this answer


























  • When I run this command, $ sudo ip r a default via 192.68.43.1 RTNETLINK answers: Network is unreachable

    – Jatin Mandav
    Jun 10 '18 at 4:40











  • Also there is another thing I noticed, as soon as I boot my system, it displays "Wired Connection Established" with some profile which vanishes once I turn off and then turn on the Wired option even though I have not connected any Ethernet. After Once Turning off and then on, the third option vanishes and after that it remains "cable unplugged". What to do?

    – Jatin Mandav
    Jun 10 '18 at 4:44











  • 192. 168 .43.1 not 192. 68 .43.1

    – Tomasz Pala
    Jun 10 '18 at 4:47













  • Still no effect. When I try to ping, it pauses for a while and after a few seconds again gives the previous output. What should I do?

    – Jatin Mandav
    Jun 11 '18 at 5:39











  • Apparently 192.168.43.1 is not your gateway.

    – Tomasz Pala
    Jun 12 '18 at 7:43



















0














go to wired settings at the top where there is the wifi symbol
you will be redirected to the network settings
click on the setting symbol of your ethernet then remove profile and then create a new profile and edit ipv4 setting add the following to the dns 8.8.8.8, 8.8.4.4 'make sure it is set to dhcp(automatic)



this worked for me






share|improve this answer








New contributor




user346740 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















    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%2f448792%2fethernet-connected-but-no-internet-access-on-linux-mint%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    You have no default gateway:



    ip r a default via 192.168.43.1



    Nor resolver, as - I guess, you have no running DNS service on 127.0.1.1:



    echo nameserver 8.8.8.8 >> /etc/resolv.conf






    share|improve this answer


























    • When I run this command, $ sudo ip r a default via 192.68.43.1 RTNETLINK answers: Network is unreachable

      – Jatin Mandav
      Jun 10 '18 at 4:40











    • Also there is another thing I noticed, as soon as I boot my system, it displays "Wired Connection Established" with some profile which vanishes once I turn off and then turn on the Wired option even though I have not connected any Ethernet. After Once Turning off and then on, the third option vanishes and after that it remains "cable unplugged". What to do?

      – Jatin Mandav
      Jun 10 '18 at 4:44











    • 192. 168 .43.1 not 192. 68 .43.1

      – Tomasz Pala
      Jun 10 '18 at 4:47













    • Still no effect. When I try to ping, it pauses for a while and after a few seconds again gives the previous output. What should I do?

      – Jatin Mandav
      Jun 11 '18 at 5:39











    • Apparently 192.168.43.1 is not your gateway.

      – Tomasz Pala
      Jun 12 '18 at 7:43
















    1














    You have no default gateway:



    ip r a default via 192.168.43.1



    Nor resolver, as - I guess, you have no running DNS service on 127.0.1.1:



    echo nameserver 8.8.8.8 >> /etc/resolv.conf






    share|improve this answer


























    • When I run this command, $ sudo ip r a default via 192.68.43.1 RTNETLINK answers: Network is unreachable

      – Jatin Mandav
      Jun 10 '18 at 4:40











    • Also there is another thing I noticed, as soon as I boot my system, it displays "Wired Connection Established" with some profile which vanishes once I turn off and then turn on the Wired option even though I have not connected any Ethernet. After Once Turning off and then on, the third option vanishes and after that it remains "cable unplugged". What to do?

      – Jatin Mandav
      Jun 10 '18 at 4:44











    • 192. 168 .43.1 not 192. 68 .43.1

      – Tomasz Pala
      Jun 10 '18 at 4:47













    • Still no effect. When I try to ping, it pauses for a while and after a few seconds again gives the previous output. What should I do?

      – Jatin Mandav
      Jun 11 '18 at 5:39











    • Apparently 192.168.43.1 is not your gateway.

      – Tomasz Pala
      Jun 12 '18 at 7:43














    1












    1








    1







    You have no default gateway:



    ip r a default via 192.168.43.1



    Nor resolver, as - I guess, you have no running DNS service on 127.0.1.1:



    echo nameserver 8.8.8.8 >> /etc/resolv.conf






    share|improve this answer















    You have no default gateway:



    ip r a default via 192.168.43.1



    Nor resolver, as - I guess, you have no running DNS service on 127.0.1.1:



    echo nameserver 8.8.8.8 >> /etc/resolv.conf







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jun 10 '18 at 5:08

























    answered Jun 9 '18 at 19:41









    Tomasz PalaTomasz Pala

    1827




    1827













    • When I run this command, $ sudo ip r a default via 192.68.43.1 RTNETLINK answers: Network is unreachable

      – Jatin Mandav
      Jun 10 '18 at 4:40











    • Also there is another thing I noticed, as soon as I boot my system, it displays "Wired Connection Established" with some profile which vanishes once I turn off and then turn on the Wired option even though I have not connected any Ethernet. After Once Turning off and then on, the third option vanishes and after that it remains "cable unplugged". What to do?

      – Jatin Mandav
      Jun 10 '18 at 4:44











    • 192. 168 .43.1 not 192. 68 .43.1

      – Tomasz Pala
      Jun 10 '18 at 4:47













    • Still no effect. When I try to ping, it pauses for a while and after a few seconds again gives the previous output. What should I do?

      – Jatin Mandav
      Jun 11 '18 at 5:39











    • Apparently 192.168.43.1 is not your gateway.

      – Tomasz Pala
      Jun 12 '18 at 7:43



















    • When I run this command, $ sudo ip r a default via 192.68.43.1 RTNETLINK answers: Network is unreachable

      – Jatin Mandav
      Jun 10 '18 at 4:40











    • Also there is another thing I noticed, as soon as I boot my system, it displays "Wired Connection Established" with some profile which vanishes once I turn off and then turn on the Wired option even though I have not connected any Ethernet. After Once Turning off and then on, the third option vanishes and after that it remains "cable unplugged". What to do?

      – Jatin Mandav
      Jun 10 '18 at 4:44











    • 192. 168 .43.1 not 192. 68 .43.1

      – Tomasz Pala
      Jun 10 '18 at 4:47













    • Still no effect. When I try to ping, it pauses for a while and after a few seconds again gives the previous output. What should I do?

      – Jatin Mandav
      Jun 11 '18 at 5:39











    • Apparently 192.168.43.1 is not your gateway.

      – Tomasz Pala
      Jun 12 '18 at 7:43

















    When I run this command, $ sudo ip r a default via 192.68.43.1 RTNETLINK answers: Network is unreachable

    – Jatin Mandav
    Jun 10 '18 at 4:40





    When I run this command, $ sudo ip r a default via 192.68.43.1 RTNETLINK answers: Network is unreachable

    – Jatin Mandav
    Jun 10 '18 at 4:40













    Also there is another thing I noticed, as soon as I boot my system, it displays "Wired Connection Established" with some profile which vanishes once I turn off and then turn on the Wired option even though I have not connected any Ethernet. After Once Turning off and then on, the third option vanishes and after that it remains "cable unplugged". What to do?

    – Jatin Mandav
    Jun 10 '18 at 4:44





    Also there is another thing I noticed, as soon as I boot my system, it displays "Wired Connection Established" with some profile which vanishes once I turn off and then turn on the Wired option even though I have not connected any Ethernet. After Once Turning off and then on, the third option vanishes and after that it remains "cable unplugged". What to do?

    – Jatin Mandav
    Jun 10 '18 at 4:44













    192. 168 .43.1 not 192. 68 .43.1

    – Tomasz Pala
    Jun 10 '18 at 4:47







    192. 168 .43.1 not 192. 68 .43.1

    – Tomasz Pala
    Jun 10 '18 at 4:47















    Still no effect. When I try to ping, it pauses for a while and after a few seconds again gives the previous output. What should I do?

    – Jatin Mandav
    Jun 11 '18 at 5:39





    Still no effect. When I try to ping, it pauses for a while and after a few seconds again gives the previous output. What should I do?

    – Jatin Mandav
    Jun 11 '18 at 5:39













    Apparently 192.168.43.1 is not your gateway.

    – Tomasz Pala
    Jun 12 '18 at 7:43





    Apparently 192.168.43.1 is not your gateway.

    – Tomasz Pala
    Jun 12 '18 at 7:43













    0














    go to wired settings at the top where there is the wifi symbol
    you will be redirected to the network settings
    click on the setting symbol of your ethernet then remove profile and then create a new profile and edit ipv4 setting add the following to the dns 8.8.8.8, 8.8.4.4 'make sure it is set to dhcp(automatic)



    this worked for me






    share|improve this answer








    New contributor




    user346740 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      go to wired settings at the top where there is the wifi symbol
      you will be redirected to the network settings
      click on the setting symbol of your ethernet then remove profile and then create a new profile and edit ipv4 setting add the following to the dns 8.8.8.8, 8.8.4.4 'make sure it is set to dhcp(automatic)



      this worked for me






      share|improve this answer








      New contributor




      user346740 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        go to wired settings at the top where there is the wifi symbol
        you will be redirected to the network settings
        click on the setting symbol of your ethernet then remove profile and then create a new profile and edit ipv4 setting add the following to the dns 8.8.8.8, 8.8.4.4 'make sure it is set to dhcp(automatic)



        this worked for me






        share|improve this answer








        New contributor




        user346740 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        go to wired settings at the top where there is the wifi symbol
        you will be redirected to the network settings
        click on the setting symbol of your ethernet then remove profile and then create a new profile and edit ipv4 setting add the following to the dns 8.8.8.8, 8.8.4.4 'make sure it is set to dhcp(automatic)



        this worked for me







        share|improve this answer








        New contributor




        user346740 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        user346740 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 14 hours ago









        user346740user346740

        1




        1




        New contributor




        user346740 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        user346740 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        user346740 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            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%2f448792%2fethernet-connected-but-no-internet-access-on-linux-mint%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

            Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

            Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

            Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...