Max2Play Home › Forums › Max2Play on Raspberry PI › Network connection fails when ethernet removed / reattached. Requires PI reboot › Reply To: Network connection fails when ethernet removed / reattached. Requires PI reboot
Hello Mario
Thanks for this. I found the filew and added the line which you suggested to the END of ythe filew. So the file is as below. Is this correct?
Thanks
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
#auto eth0 # managed by ifplugd
iface eth0 inet static
address 192.168.0.24
gateway 192.168.0.1
dns-nameservers 192.168.0.1
dns-nameservers 8.8.8.8
netmask 255.255.255.0
#hwaddress ether 1a:64:b6:bf:36:37
#allow-hotplug wlan0
#auto wlan0
#iface wlan0 inet dhcp
#pre-up wpa_supplicant -B w -D wext -i wlan0 -c /opt/max2play/wpa_supplicant.conf
#post-down killall -q wpa_supplicant
allow-hotplug eth0