You are not logged in.
When I boot my laptop I have openvpn set to connect automatically, but it has an issue where I get the error cannot resolve host address. I thought it is due to the hostname being different in each OS and having a reserved/static DHCP IP address set in my router. My router would show the reserved IP address twice, once for each OS
I now have the hostname set exactly the same in each OS but I still end up with two entries in my router, one is all uppercase letters and the other is all lowercase letters. Both get the same ip address and show the same mac and hostname. If I disconnect and reconnect the vpn everything works fine, but that defeats the purpose of having it connect automatically at boot.
For a temporary solution I got rid of the reserved dhcp address in my router and the vpn connects fine at boot, is there any way to have my laptop appear to my router as the same computer no matter which OS I use? I think that will solve my problem
Offline
It is probably trying to connect prior to your network coming up -- "cannot resolve host address" usually means DNS lookup failed (eg, network is still down so your computer couldn't contact the DNS server).
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
It is probably trying to connect prior to your network coming up -- "cannot resolve host address" usually means DNS lookup failed (eg, network is still down so your computer couldn't contact the DNS server).
I'm using network manager dispatcher in Arch so OpenVPN shouldn't be connecting till after my wifi connects, Fedora running as a single OS the vpn connects just fine. I only seem to have this issue when dual booting and reserving a dhcp IP address to be used for this laptop. Running dual boot without a reserved IP or running a single OS with a reserved IP I have no issue. Other computers on my network are set up the same way minus the dual boot and don't have this problem, they connect just fine.
I've had the same issue dual booting Fedora/Ubuntu and even switching between Linux/windows and now Arch/Fedora, it's something with the switching OS. This is the first time I set the hostname the same on both OS's, but even that didn't work cause I still get two entries in the router anyway. I'm not totally sure if the hostname is completely at fault though I'm guessing there is something else the router is using to identify the laptop that is causing it to each OS differently. Thing I see most weird is that I only have to disconnect and reconnect the vpn, I don't have to touch the wifi.
Is there anything else a router uses to identify a computer on a network aside from a mac address and hostname? Mac and hostname are all I know that it uses...
Offline