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 192.168.0.100 network 192.168.0.0 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.1 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 8.8.8.8 nameserver 8.8.4.4 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 8.8.8.8 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