Linux Tips: No internet on DHCP
Linux Tips: No internet on DHCP (Wifi)
if you can't access the internet (on your router) despite getting a successful DHCP lease,
Step 1:
# cd /etc/resolvconf/resolv.conf.d/
Step 2:
Add (to base file) your ISP's DNS Nameservers - (the below ip(s) are examples):
nameserver 172.17.5.68
nameserver 172.17.5.36
(Assumption: This is tested (working) on Linux Mint 18.3; you have an valid ip address (from DHCP) ).
If you're willing to use Google DNS Nameservers instead:
// IPv4
nameserver 8.8.8.8
nameserver 8.8.4.4
// IPv6
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844
if you can't access the internet (on your router) despite getting a successful DHCP lease,
Step 1:
# cd /etc/resolvconf/resolv.conf.d/
Step 2:
Add (to base file) your ISP's DNS Nameservers - (the below ip(s) are examples):
nameserver 172.17.5.68
nameserver 172.17.5.36
(Assumption: This is tested (working) on Linux Mint 18.3; you have an valid ip address (from DHCP) ).
Further info:If you're willing to use Google DNS Nameservers instead:
// IPv4
nameserver 8.8.8.8
nameserver 8.8.4.4
// IPv6
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844
Comments
Post a Comment