Setting dns for fixed ip address

  • i've literally just installed recalbox and having a couple of issues with Kodi the first issue is that ive setup a fixed ip address by editing etc/network/interfaces, the contents are shown below; # Configure Loopback auto lo iface lo inet loopback   auto eth0 iface eth0 inet static address network netmask broadcast gateway     auto wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf   i've then updated etc/resolv.conf and added the lines below nameserver nameserver this works fine until reboot, whereby the resolv.conf file needs to be rewritten again for it to get online. any ideas why this is happening? i've noticed the @ at the end making the file a symlink, don't know if that has anything to do with it?

  • right, i've tried adding   dns-namservers into the interfaces file, but again this has no affect. in the end i've switched it back to dhcp and reserved the ip address on my router, not the best solution, but for now it will have to do

Want to support us ?