Jump to content
Not connected, Your IP: 18.117.170.130
bricksandmortar

ANSWERED Can only connect to internet if Eddie is running

Recommended Posts

Hi, up until a few days ago, I was able to connect to the internet whether Eddie was connected or not. Now there seems to be no connectivity if I exit out of eddie. Unfortunately this is sometimes necessary because there are some sites that just will not work with VPN's. I have been using Airvpn for years without issue but this has become a bind. As far as I am aware, nothing has changed.

I am running Linux Mint 21.2 (Victoria) on a Lenovo laptop with an AMD Ryzen 5 5500U processor.

Here are the logs:- (I think I've done it right)

  Reveal hidden contents



From the research I've done it seems it's a DNS issue but the fixes/workarounds I've found have been windows based.

Any ideas? I'm stumped. :(
 

Share this post


Link to post
  On 9/25/2023 at 3:35 PM, bricksandmortar said:

. 2023.09.25 16:09:34 - DNS of the system switched to VPN DNS - via /etc/resolv.conf)


If you disconnect, what's the content of this file?

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

So, it's not reset to what it was before. I think systemd-resolved is to blame here. That file is not a regular file but a symlink in your case. Though I only faintly remember the solution. I will do some searching. :)


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

# Generated by Eddie v2.21.8 - https://eddie.website - 15 September 2023 21:40:17 UTC

nameserver 10.14.82.1Many thanks, not sure if this helps but...

There are two files /etc/resolve.conf.eddie which is a symlink and /etc/resolve.conf.eddievpn which contain...

resolve.conf.eddie (while eddie running and connected)

  Reveal hidden contents


resolve.conf.eddievpn (while eddie running and connected)

Share this post


Link to post

Huh? What are the contents of that directory, then?

$ ls -la /etc/airvpn/

.

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Sorry mate, not trying to be an asshole but I'm not sure what you mean.

The response to the command $ ls -la /etc/airvpn/ is...

ls: cannot access '/etc/airvpn/': No such file or directory

There's no airvpn directory within /etc

Share this post


Link to post

Oooh, right. T'was me mate, /etc/airvpn is used by the AirVPN suite, not by Eddie :D
Sorry, I meant this ls.

$ ls -la /etc/resolv*

And while you're at it, maybe their contents, too.

$ for file in /etc/resolv*; do echo -e "\n$file:\n--------------------\n"; cat $file; done


The reason I'm asking is that I don't understand what resolv.* files are there now. It's starting to look like Eddie is botching them accidentally, but I want to confirm this.

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Reponse to $ ls -la /etc/resolv* 

-rw-r--r-- 1 root root 300 Sep 26 20:17 /etc/resolv.conf
lrwxrwxrwx 1 root root  39 Apr 25 23:34 /etc/resolv.conf.eddie -> ../run/systemd/resolve/stub-resolv.conf
-rw-r--r-- 1 root root 109 Sep 15 22:40 /etc/resolv.conf.eddievpn



Reponse to $ for file in /etc/resolv*; do echo -e "\nfile:\n--------------------\n"; cat $file; done

  Reveal hidden contents



Hope this helps.
 

Share this post


Link to post

You forgot a $ in the echo… :) No matter, it's still readable.

So, okay, what I see is that both the flat-file /etc/resolv.conf and its backup are filled with AirDNS servers, so it doesn't matter whether VPN is on or off, you will not get DNS back using Eddie.
Meanwhile, the resolv.conf.eddie containing the stub resolver (and ultimately the file that will make DNS work again) is from… April.

The fix is thus, after ensuring Eddie is shut down, to remove the current resolv.conf and backup, then renaming the .eddie backup to resolv.conf.

$ rm /etc/resolv{.conf,.conf.eddievpn} && mv /etc/resolv.conf.eddie /etc/resolv.conf

.

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Hello!

Some context for the readers as well: Eddie 2.23.1 added full support with proper DNS management for every systemd-resolved working mode. Any older version will misbehave whenever systemd-resolved is running (various working modes are not supported).
AirVPN Suite added full support with proper DNS management for every systemd-resolved working mode in 2022 (1.2.0 or higher version).

Kind regards
 

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...
We do NOT use cookies to profile or track users.I understandMore information