From 1d19ac5c2f6ced75f34c6fd7f700d453bc2a5578 Mon Sep 17 00:00:00 2001 From: cimryan Date: Fri, 12 Oct 2018 14:07:20 -0700 Subject: [PATCH] Make the network name of the Pi "teslausb". --- windows_archive/setup-teslausb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/windows_archive/setup-teslausb b/windows_archive/setup-teslausb index 9e210a1..516a119 100644 --- a/windows_archive/setup-teslausb +++ b/windows_archive/setup-teslausb @@ -85,3 +85,9 @@ rm ~/rc.local pushd /etc/modprobe.d wget https://raw.githubusercontent.com/cimryan/teslausb/master/g_mass_storage.conf popd + +cp /etc/hosts ~ +sed s/raspberrypi/teslausb/g ~/hosts > /etc/hosts + +cp /etc/hostname ~ +sed s/raspberrypi/teslausb/g ~/hosts > /etc/hostname \ No newline at end of file