steptail.com

How many light bulbs does it take to change a penguin?

User Tools

Site Tools


guides:virtual_modem:section_3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
guides:virtual_modem:section_3 [2020-12-17 04:05]
omolini [Physical connections]
guides:virtual_modem:section_3 [2020-12-17 04:10]
omolini
Line 42: Line 42:
  
 ==== Connect over SSH ==== ==== Connect over SSH ====
-  * Once you've figured out the IP address of the Raspberry Pi, connect to it via SSH. You can use any SSH client to log into the Raspberry. I choose to use PuTTY for this tutorial, which can be obtained from: \\ https://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​latest.html+  * Once you've figured out the IP address of the Raspberry Pi, you can connect to it via SSH. SSH server is now enabled, because we saved the SSH.TXT file on the root of the boot file system on the earlier step. You can use any SSH client to log into the Raspberry. I use PuTTY for this tutorial, which is highly recommended and can be obtained from: \\ https://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​latest.html
   * Upon first connection, you will receive a warning message. This is normal. Click on Yes to add the security key to the local cache. \\ {{ :​guides:​pics:​putty_security_alert_yes.png?​300 |}}   * Upon first connection, you will receive a warning message. This is normal. Click on Yes to add the security key to the local cache. \\ {{ :​guides:​pics:​putty_security_alert_yes.png?​300 |}}
   * It will prompt to log on. Username is ''​pi'',​ password is ''​raspberry''​. Everything is case sensitive.   * It will prompt to log on. Username is ''​pi'',​ password is ''​raspberry''​. Everything is case sensitive.
Line 50: Line 50:
  
 ==== Basic configuration and network settings ==== ==== Basic configuration and network settings ====
-  * For ease of access through SSH, you may want to configure a static IP address for your Raspberry Pi so that you can connect to the same IP address without always checking your router for the correct IP address. Later on you may want to reverse this change, if you want the Raspberry to auto-configure to be used in any network. In the latest ​version of Raspbian, you can set a static IP by editing **/​etc/​dhcpcd.conf** and uncommenting the example static configuration. ​+  * For ease of access through SSH, you may want to configure a static IP address for your Raspberry Pi so that you can connect to the same IP address without always checking your router for the correct IP address. Later onyou can optionally ​reverse this change, if you want the Raspberry to auto-configure to be used in any network. In the version of Raspbian ​OS (2018 as of time of writing), you can set a static IP by editing **/​etc/​dhcpcd.conf** and uncommenting the example static configuration. ​
     * I prefer Nano for quick file edits. \\ ''​**sudo nano /​etc/​dhcpcd.conf**''​     * I prefer Nano for quick file edits. \\ ''​**sudo nano /​etc/​dhcpcd.conf**''​
     * Here's an example of my static IP configuration. As you can see, I've set my IP as **10.0.16.50** and router to **10.0.16.1**. Usually the router can also double as a domain name server, but for portability I've told Raspberry to just use the Google name server, **8.8.4.4**. For simplicity, I won't use any other name servers at this time, but if you want to use more, you can add them to the same line, just separate them with a space.     * Here's an example of my static IP configuration. As you can see, I've set my IP as **10.0.16.50** and router to **10.0.16.1**. Usually the router can also double as a domain name server, but for portability I've told Raspberry to just use the Google name server, **8.8.4.4**. For simplicity, I won't use any other name servers at this time, but if you want to use more, you can add them to the same line, just separate them with a space.
guides/virtual_modem/section_3.txt · Last modified: 2022-12-17 19:37 by omolini