last day (17 days later) » 

2:38 PM
0
A: Server not found issue after attempting to install and then remove OpenVPN

Pavel SayekatAfter conversation, it seems like your machine is behind a wifi-router and you are connected to network through wifi but having dns issue after installing and removing openvpn. So to solve that, one of the ways is to edit your /etc/network/interfaces file by sudo nano /etc/network/interfaces ...

 
After i do- sudo -H gedit /etc/network/interfaces. I get this- # interfaces(5) files used by ifup(8) and ifdown(8) auto enp3s0 iface enp3s0
 
@arunparavel yes, you have to set that as mentioned above. So change your iface enp3s0 line to iface enp3s0 inet dhcp
 
After saving it. I get this- ** (gedit:2940): WARNING **: Set document metadeta failed: Setting attribute metadata::gedit-spell-encoding not supported. And this- ** (gedit:2940): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
 
@arunparavel those are just warnings, now run the sudo systemctl restart networking command and then ip addr and paste the results on paste.ubuntu.com
 
I've done it now... no change..
Same ipaddr that i sent earlier
 
2:38 PM
@arunparavel if you don't want to post the results, how can we be able to help you then?
 
The result of ipaddr is the same ipaddr result i've pasted earlier today
 
@arunparavel your ip addr result in the question says your enp3s0 is up but the last two ip addr says it is down now, is your LAN cable is connected to your machine?
 
Im using wifi to connect to system.. i dont use LAN
 
@arunparavel and your server not found issue on firefox is still there?
 
Yes... i still have server not found issue
 
2:38 PM
@arunparavel paste the sudo dpkg -l wpasupplicant result.
@arunparavel if you have server not found issue then how you are being able to post on this site? So if you are able to find this site then for which site you are getting server not found?
 
Im posting it using mobile...
 
@arunparavel I have changed the answer accordingly.
 
Did according to your answer. I still have the "SERVER NOT FOUND" ISSUE
 
@arunparavel run echo "nameserver 8.8.8.8" > /etc/resolv.conf and try to browse, see if that fixes your issue.
 
After running, it shows- bash: /etc/resolv.conf: No such file or directory
I tried to run it like this too- echo "nameserver 8.8.8.8" > /etc/network/resolv.conf. it shows- bash: /etc/network/resolv.conf: Permission denied. And i run it with sudo too.. it again showed permission denied
 
2:38 PM
@arunparavel add sudo to that like sudo echo "nameserver 8.8.8.8"> /etc/resolv.conf
@arunparavel paste the sudo dpkg -l resolvconf
 
@arunparavel do sudo nano /etc/resolv.conf and put the line nameserver 8.8.8.8 there and press ctrl+x and then confirm it by y and then try to browse and if that does not work only then do a sudo systemctl restart networking and retry to browse the web.
 
Didn't work.. still shows server not found
When after adding nameserver 8.8.8.8 and pressing ctrl+x and confirming it y and pressing enter, it shows no such file or directory
 
try sudo touch /etc/resolv.conf and then try to add that line again.
 
sudo touch /etc/resolv.conf is showing this- touch: cannot touch '/etc/resolv.conf': No such file or directory
 
2:38 PM
@arunparavel post the ls /etc/ result
 
 
2 hours later…
4:36 PM
@PavelSayekat.. is there a solution?
 

  last day (17 days later) »