LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Mint 18.1 Cinnamon Internet Connectivity Problems (https://www.linuxquestions.org/questions/linux-newbie-8/linux-mint-18-1-cinnamon-internet-connectivity-problems-4175613891/)

MySweetheartTheDrunk 09-15-2017 10:51 PM

Linux Mint 18.1 Cinnamon Internet Connectivity Problems
 
solved

business_kid 09-16-2017 01:48 PM

Welcome to LQ. As a rule it's not wise to put information specific to your machine on a public forum where everyone can read it. 127.0.0.1 is fine. Replace other ips and passwords with descriptive names - <my_essid>, <dns_server_1>, etc.

This much
Code:

wlp3s0
IEEE 802.11abgn ESSID: "secretcrackden"
Mode:Managed Frequency:5.745 GHz Access Point: 10:78:5B:E4:CF:26

tells your essid (network name) and that you have an access point, in other words, you're connected to the router. You could post the output of these commands
Code:

cat /etc/hosts
cat host.conf
cat /etc/resolv.conf
route

and we can see what's going on. Look at the man pages to see what they do. Are you in a vm? You can also try with ping, whois, or anything that goes online. Does 'apt-get update' work?

MySweetheartTheDrunk 09-19-2017 12:13 AM

Solved

business_kid 09-19-2017 09:47 AM

Put this in /etc/host.conf
Code:

order hosts, bind
multi on

That 'order' line tells it to check /etc/hosts first, then use dns. You'd better give it some dns servers. Add these lines to /etc/resolv.conf
Code:

nameserver 208.67.222.222
nameserver 208.67.220.220

You should be getting dns details from your isp, but that's opendns.org. See if anything works then. Try something in a terminal also, like ping, traceroute, whois, nslookup, etc. They all have man pages. Pick some random ip, not 192.168.<anything>, 10.0<anything>, or 172.16.<anything>, which are internal networks Here's a few examples
Code:

nslookup cr.yp.to
...
Non-authoritative answer:
Name:        cr.yp.to
Address: 131.193.32.108
Name:        cr.yp.to
Address: 131.193.32.109

bash-4.4$ nslookup chopped.ie
...
Non-authoritative answer:
Name:        chopped.ie
Address: 174.129.25.170


MySweetheartTheDrunk 09-19-2017 10:47 AM

Thanks very much for the help, sorted now!!


All times are GMT -5. The time now is 01:46 PM.