Hello this is Heroterra from EVE Robotics, in this post am gonna show you how to solve an issue most of our proxy wizard users face and I solved it many times for them, you have been asking how I do it? follow me :
1- from where this problem come from?
it’s a Linux misconfiguration, some provider ignore, they assign your machine a hostname and they don’t edit the necessary Linux configs files , result? whenever you make a sudo command you receive this error
sudo : unable to resolve host [HOSTNAME]
with Hostname is the hostname assigned to you , the wizard is confused by this error and causes it to fail to find inteface name
2- enough theory let’s fix it :
First of all, you need to access your server trough SSH , login as root , and try to make a command
sudo ifconfig
if the first line of the output is sudo : unable to resolve host [HOSTNAME] note your [HOSTNAME] as you will need it in the following step
next step is to edit the /etc/hosts file , using nano
nano /etc/hosts
the first line of this file contains this direction
127.0.0.1 localhost after this line add another similar line in this way :
127.0.0.1 localhost.localdomain localhost 127.0.1.1 [HOSTNAME] with [HOSTNAME] being the hostname it show when the error pops up that's it save changes by cnrtl+X and confirm changes by Y ( yes) PS : if your server doesn't have nano installed install it using : sudo apt-get install nano PS2: please I need your feedbacks to make this article more clear all comments are welcome ,