Last active
July 16, 2017 16:27
-
-
Save linnil1/0f1266cd47851eaa9a7fcf3cf2f09031 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run script when boot | |
sudo vim /etc/rc.local | |
# add this line | |
su pi -c "tmux new-session -d 'python3 /home/pi/connect.py'" & | |
# when some website cannot connect | |
sudo vim /etc/resolv.conf | |
# comment all | |
# add this | |
nameserver 8.8.8.8 | |
# when locale warning | |
echo 'export LC_ALL=C' >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment