- Wearable:Tech Projects with the Raspberry Pi Zero
- Jon Witts
- 207字
- 2021-07-02 19:46:26
Changing the hour hostname
To change the hostname of our Pi Zero, we are going to make use of the raspi-config tool. Type the following command into your SSH connection:
sudo raspi-config
This will bring up the following menu:

Select option 2 using your cursor keys and press Enter to select it. Read and take note of the rules for allowed hostnames, and press Enter to select your new hostname. I am calling mine wearablepi. Once you have entered your new hostname, press Enter to save it. Press your Tab key twice to select <Finish> on the raspi-config menu and press Enter to close raspi-config. You will be prompted to reboot your Pi Zero. Press Enter with <Yes> selected, and your Pi Zero will reboot.
When your Pi Zero reboots, it should now show on your router's Attached Devices list, with its new hostname.
Reconnect to your Pi Zero via SSH and move onto the next section.
Detailed steps to download the code bundle are mentioned in the Preface of this book. The code bundle for the book is also hosted on GitHub at: https://github.com/PacktPublishing/Wearable-Tech-Projects-with-the-Raspberry-Pi-Zero . We also have other code bundles from our rich catalog of books and videos available at: https://github.com/PacktPublishing/ . Check them out!
- VMware View Security Essentials
- 觸·心:DT時(shí)代的大數(shù)據(jù)精準(zhǔn)營(yíng)銷
- TensorFlow Lite移動(dòng)端深度學(xué)習(xí)
- Web Scraping with Python
- JavaScript Unlocked
- jQuery從入門到精通 (軟件開發(fā)視頻大講堂)
- Android底層接口與驅(qū)動(dòng)開發(fā)技術(shù)詳解
- Mastering Android Development with Kotlin
- Python之光:Python編程入門與實(shí)戰(zhàn)
- 區(qū)塊鏈技術(shù)進(jìn)階與實(shí)戰(zhàn)(第2版)
- Python Interviews
- Hadoop 2.X HDFS源碼剖析
- Puppet:Mastering Infrastructure Automation
- Flink核心技術(shù):源碼剖析與特性開發(fā)
- 少兒編程輕松學(xué)(全2冊(cè))