Ray replied to the topic 'AstroPi3 Scripts revised' in the forum. 4 years ago

"In the new version, I put it in as a virtual network so that it shouldn't prevent ethernet from working with DHCP if you connect it to a router, but it will still keep the static IP running in the field if you need to connect to your laptop. At least this is my reasoning, have you found that this isn't true anymore?"
Is that the part in the script that mentions;

sudo --preserve-env bash -c 'cat > /etc/network/interfaces' <<- EOF
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
# The loopback network interface
auto lo
iface lo inet loopback
EOF

Maybe I could enter these lines in the terminal to ensure this is working?

Read More...