Jump to content
Not connected, Your IP: 18.205.59.250
f5tu47WFN

Can't access internet unless Eddie is running in Linux Mint 18.1

Recommended Posts

I am facing the dreaded DNS issue that is caused by not exiting Eddie properly, which in the case of Linux Mint, is due to Eddie crashing frequently (there is a long thread about this). There is also a long thread about the DNS issue, but that thread is all about Windows and provides no step-by-step instuctions for Linux users who encounter this.

 

​This is the resolv.conf file on a Linux Mint PC that is able to connect to the internet with Eddie (AND network lock) turned OFF. In other words, this is what my resov.conf file should be when I disconnect from Eddie:
 

# 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



However, this is what my resolv.conf file looks like when I exit Eddie now:
 

​# 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



There is no nameserver, and adding it manually does nothing to resolve the issue. How can I fix this so the resolv.conf file is restored correctly? I need to be able to access the internet when Eddie is disconnected. Thanks.

Share this post


Link to post

Well, I figured out how to fix it, so I'll post it here in case it helps any other Linux Mint or Ubuntu user:

1) After closing Eddie, open this file as root:

/etc/network/interfaces



2) Add this line after "iface lo inet loopback"

dns-nameservers yourdns youraltdns


But change "yourdns" and "youraltdns" to whatever DNS you want. It would look like this if you were using Google's dns:

dns-nameservers 8.8.8.8 8.8.4.4



3) Type this in the terminal: 

sudo ifdown -a



4) Then type this in the terminal: 

sudo ifup -a



After doing this I was able to able to connect to the internet with AirVPN disconnected. Problem solved.

Share this post


Link to post

Should we need to reboot after running those commands? Dumb question - for the dns - is that something we lookup in our router configuration or you can just choose to use Google's or....?

Share this post


Link to post

Well, I figured out how to fix it, so I'll post it here in case it helps any other Linux Mint or Ubuntu user:

 

...

 

Thank you, thank you, thank you! You are a life saver. If we ever meet, I'll buy you a beer (or your favourite beverage!).

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...