steptail.com

Who put the alphabet in alphabetical order?

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
guides:virtual_modem:section_3 [2018-09-23 03:56]
omolini [Headless installation]
guides:virtual_modem:section_3 [2022-12-17 19:37] (current)
omolini [Skip to other sections]
Line 2: Line 2:
  
 ===== Install Raspbian Lite ===== ===== Install Raspbian Lite =====
-  ​- Download the latest version of **Raspbian Stretch ​Lite** onto your hard disk. You may obtain it from: \\ https://​www.raspberrypi.org/​downloads/raspbian/ \\ {{ :​guides:​pics:​raspbian_download.png?​nolink |}} +This section describes the basic installation of Raspbian onto your Raspberry Pi. If you know how to install Raspbian, and already know how to connect up everything, please feel free to [[Guides:​Virtual Modem:​Section 4|skip to the next section!]] 
-    - // At the time of writing, the latest version was **June 2018 (2014-06-27)**.// + 
 +  ​- Download the latest version of **Raspberry Pi OS Lite** onto your hard disk. You may obtain it from: \\ https://​www.raspberrypi.org/​software/operating-systems/* \\ {{ :​guides:​pics:​raspbian_download.png?​nolink |}} */ 
 +    - // At the time of writing, the latest version was **December 2nd 2020**.// 
   - Download and install **Etcher**, the recommended image burner for Raspberry Pi. You can download Etcher at: \\ https://​etcher.io   - Download and install **Etcher**, the recommended image burner for Raspberry Pi. You can download Etcher at: \\ https://​etcher.io
   - Insert the MicroSD memory card into the memory card reader.   - Insert the MicroSD memory card into the memory card reader.
Line 16: Line 18:
   * Open up Windows **File Explorer**, then find the memory card you just flashed. You should see a drive letter labeled **"​boot"​** under Devices and drives. This is the Raspberry'​s Boot partition.   * Open up Windows **File Explorer**, then find the memory card you just flashed. You should see a drive letter labeled **"​boot"​** under Devices and drives. This is the Raspberry'​s Boot partition.
     * If you cannot find the drive letter of your memory card, re-insert the memory card in your memory card reader. This should make the drive letter appear in Devices and drives. \\ {{ :​guides:​pics:​file_explorer_drives.png |}}     * If you cannot find the drive letter of your memory card, re-insert the memory card in your memory card reader. This should make the drive letter appear in Devices and drives. \\ {{ :​guides:​pics:​file_explorer_drives.png |}}
-  * Open the drive and create an empty text file inside the SD card root (/boot) directory. Rename the file "​SSH.TXT"​. ​This will tell the Raspberry to enable ​the SSH service to allow you to log on to your Raspberry Pi. \\ {{ guides:​pics:​new_text_document.png |}} \\ {{ :​guides:​pics:​filename_ssh.png |}}+  * Open up the drive and **create an empty text file**. Rename the file **"​SSH.TXT"​**The existence of this file will tell the Raspberry to enable SSH services on it, so that you will be able to log on to your Raspberry Pi. \\ {{ guides:​pics:​new_text_document.png |}} \\ {{ :​guides:​pics:​filename_ssh.png |}}
  
 ==== Physical connections ==== ==== Physical connections ====
 {{ :​guides:​pics:​raspi_connections.png?​500 |}} {{ :​guides:​pics:​raspi_connections.png?​500 |}}
-Once you have imaged ​the Raspbian operating system image to the SD memory card, and saved **SSH.TXT** ​to the root and the script files to the **vmodem** folder, do the following: ​+Once you have flashed ​the Raspbian operating system image to the SD memory card, and saved the **SSH.TXT** ​text file, do the following: ​
   - Insert the memory card into the Raspberry Pi.    - Insert the memory card into the Raspberry Pi. 
-  - Plug in the serial-to-USB adapter  +  ​- Following the above picture as a guide,  
-  Connect your Raspberry Pi to the Ethernet. +    ​- Plug in your serial-to-USB adapter. 
-  - Connect ​the Micro USB power cable to the Raspberry Pi. The system should will start booting up immediately.+    Plug in an Ethernet ​cable
 +    - Connect ​Micro USB power cable to the Raspberry Pi. The system should will start booting up immediately.
  
-==== Power up your Raspberry Pi ==== +Note: you may choose to connect the Raspberry Pi over Wi-fi to simplify connections,​ but for the sake of the tutorial, we'll work with wired connections for now. If you do decide to switch over to WLAN, there are instructions on the next section how to do so.  
-  - Insert the MicroSD card into the Raspberry Pi and power it on. It could take up to five minutes to boot. Watch the blinking green activity light on the Raspberry Pi indicating that the Raspberry is loading files. Once the blinking stops, wait another 15-30 seconds before proceeding. If the activity light of Raspberry does not blink at all after powering up, the MicroSD card may not be properly inserted, it may not have been properly flashed or the image used was corrupted. You may need to retrace your steps up to this point. \\ {{ :​guides:​pics:​raspberry_activity.jpg?​500 |}} +==== Powering ​up the Raspberry Pi ==== 
-  - Verify that the Raspberry Pi is connected to your network. You will see the Ethernet activity lights turn on\\ {{ :​guides:​pics:​raspberry_eth_activity.jpg?​500 |}}+  - It could take up to five minutes to boot. Watch the blinking green activity light on the Raspberry Pi indicating that the Raspberry is booting up (see image below with the red arrow). Once the blinking stops, wait another 15-30 seconds before proceeding. If the activity light of Raspberry does not blink at all after powering up, the MicroSD card may not be properly inserted, it may not have been properly flashed or the image used was corrupted. You may need to retrace your steps up to this point. \\ {{ :​guides:​pics:​raspberry_activity.jpg?​500 |}} 
 +  - Verify that the Raspberry Pi is connected to the network. You will see the Ethernet activity lights turn on\\ {{ :​guides:​pics:​raspberry_eth_activity.jpg?​400 |}}
   - By now the Raspberry Pi should be booted, and it should be connected to your network. ​   - By now the Raspberry Pi should be booted, and it should be connected to your network. ​
  
-==== Find your Raspberry'​s IP address ====+==== Find out your Raspberry'​s IP address ====
   - To locate the IP address of your Raspberry Pi, easiest way is to log on to your router and find the IP there. ​   - To locate the IP address of your Raspberry Pi, easiest way is to log on to your router and find the IP there. ​
     - By default, most routers homepage can be reached at http://​192.168.0.1/,​ http://​192.168.1.1/​ or http://​10.0.0.1/​. Most routers username and password is admin/​admin,​ root/root, root/​password or a combination thereof. The correct default password can be found in the manual of the router. ​     - By default, most routers homepage can be reached at http://​192.168.0.1/,​ http://​192.168.1.1/​ or http://​10.0.0.1/​. Most routers username and password is admin/​admin,​ root/root, root/​password or a combination thereof. The correct default password can be found in the manual of the router. ​
-  - Once you have logged on to your router, look for your connected devices, you should see the raspberry pi and it's IP address. In my case it is **10.0.16.141**. Save this IP address for later use. \\ {{ :​guides:​pics:​router_info_with_raspberry_highlighted.jpg?​500 |}}+  - Once you have logged on to your router, look for connected ​network ​devices. You should see the Raspberry Pi and it's IP address. In my case it is **10.0.16.141**. Save this IP address for later use. \\ {{ :​guides:​pics:​router_info_with_raspberry_highlighted.jpg?​600 |}}
   - Alternatively you can use the official guide at: \\ https://​www.raspberrypi.org/​documentation/​remote-access/​ip-address.md   - Alternatively you can use the official guide at: \\ https://​www.raspberrypi.org/​documentation/​remote-access/​ip-address.md
   - Alternatively you can use the Raspberry Pi Finder app from Adafruit at: \\ https://​learn.adafruit.com/​the-adafruit-raspberry-pi-finder/​overview   - Alternatively you can use the Raspberry Pi Finder app from Adafruit at: \\ https://​learn.adafruit.com/​the-adafruit-raspberry-pi-finder/​overview
  
 ==== 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 47: Line 51:
  
 ==== 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, in my network ​need to set my IP as **10.0.16.50** and router to **10.0.16.1**. ​Please use the values that suit your network configuration. Quite often your 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**. 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.
 <code c++> <code c++>
 # Example static IP configuration:​ # Example static IP configuration:​
Line 60: Line 64:
     * To exit, press CTRL+X     * To exit, press CTRL+X
   * Disconnecting and reconnecting the Ethernet cable should be sufficient to update the IP address. In my case my new IP updated to **10.0.16.50**,​ so I will reconnect PuTTY on this new IP address. ​   * Disconnecting and reconnecting the Ethernet cable should be sufficient to update the IP address. In my case my new IP updated to **10.0.16.50**,​ so I will reconnect PuTTY on this new IP address. ​
 +
 +----
  
 Go ahead and continue to the next part of this guide, where I will show you how to install the Virtual Modem script! Go ahead and continue to the next part of this guide, where I will show you how to install the Virtual Modem script!
Line 69: Line 75:
   * [[Guides:​Virtual Modem|Section 1 - Introduction]]   * [[Guides:​Virtual Modem|Section 1 - Introduction]]
   * [[Guides:​Virtual Modem:​Section 2|Section 2 - Shopping list]]   * [[Guides:​Virtual Modem:​Section 2|Section 2 - Shopping list]]
-  * [[Guides:​Virtual Modem:​Section 3|Section 3 - Setting up Raspbian]] << You are on this page+  ​* **[[Guides:​Virtual Modem:​Section 3|Section 3 - Setting up Raspbian]] << You are here**
   * [[Guides:​Virtual Modem:​Section 4|Section 4 - Setting up Virtual Modem]]   * [[Guides:​Virtual Modem:​Section 4|Section 4 - Setting up Virtual Modem]]
 +  * [[Guides:​Virtual Modem:​Section 5|Section 5 - Using Virtual Modem]]
 +
   * [[Guides:​Connecting Windows 3.1 to the Internet]]   * [[Guides:​Connecting Windows 3.1 to the Internet]]
-  * [[Guides:​Connecting Windows ​95/98 to the Internet]] +  * [[Guides:​Connecting Windows ​9x to the Internet]] 
-  * [[Guides:​Connecting ​a Digital VT100 compatible terminal ​to the Internet]]+  * [[Guides:​Connecting ​Windows 2000 to the Internet]] 
  
 ---- ----
 +==== Get In Touch With Us! ====
 +Share your thoughts and report bugs on Discord. \\
 +[[https://​discord.gg/​4w6CpZ8|{{:​images:​social-discord.png?​nolink|}}]] ​
  
-Questions? Comments? [[:Contact Information|Contact Me!]]+{{tag>​Guides Guides:Networking}}
  
guides/virtual_modem/section_3.1537674978.txt.gz · Last modified: 2018-09-23 03:56 by omolini