PiRogue without ethernet connection
This is the translation in English of a tutorial originally written by Thomas Fourmeux, a French librarian. Follow him on Twitter!
Context
This tutorial is for using the PiRogue in a situation where you don’t have a wired connection to the Internet (such as in a car). Thanks to a travel router, you will be able to share (via USB) your smartphone’s LTE/4G connection with the PiRogue.
Requirements
In this situation, you need the following hardware:
- a PiRogue (obviously)
- a smartphone with a LTE/4G connection to the Internet
- a travel router GL-AR750 available on Amazon
- a laptop
Setup
Follow these steps to connect all the pieces together:
- connect your PiRogue to your travel router with an ethernet cable
- power on both the travel router and the PiRogue
- connect your smartphone (the one sharing its Internet connection) with a USB cable to the travel router
- connect your laptop to the travel router’s Wi-Fi network named
GL-AR750S-XXX
, the password isgoodlife
(it is also written on the back of the travel router) - on your laptop, open the travel router’s administration panel in a Web browser, it is usually accessible at
http://192.168.8.1
Note
Note that you have to enable the USB tethering in the settings of your smartphone.
Configure the travel router
When you first connect, you must set the language and administrator password to secure access to the router.
![Travel router administration panel](/docs/recipes/pirogue-without-ethernet-connection/img/router-1_hu4bb67a62354ac2ee347df0627607de05_17613_400x0_resize_q85_lanczos.jpg)
In the Internet tab, enable connection sharing as follows:
We can connect the router in LAN via a cable, use the router in repeater mode, connect a 4G dongle or in connection sharing mode with a smartphone. It is this last option that interests us. After connecting the smartphone via USB, the router interface detects the device in the Sharing section with the usb0
device and proposes to connect the two devices. We establish the connection by clicking on Connect.
![Share the smartphone Internet connection](/docs/recipes/pirogue-without-ethernet-connection/img/router-2_hu61191d5a61552c597a3600bf45c9b369_22820_400x0_resize_q85_lanczos.jpg)
Once the connection is established, the router shows the network configuration with its IP address, the netmask, the default gateway and the default DNS server.
![Connection details](/docs/recipes/pirogue-without-ethernet-connection/img/router-3_hud06ed388b01b464065479c267642e6be_57103_400x0_resize_q85_lanczos.jpg)
Get the PiRogue’s IP address
To be able to connect to your PiRogue dashboard, you need its IP address. To find it, just go to the Clients tab of the router’s administration panel to list all the devices connected to it. The PiRogue is indicated in the column Wired device with the name raspberrypi
.
![PiRogue's IP address](/docs/recipes/pirogue-without-ethernet-connection/img/router-4_hudff09fd8e96aac1ac8d4a0fcbae86dc2_22445_400x0_resize_q85_lanczos.jpg)
Finally, the PiRogue network is operational. You can connect to the PiRogue’s dashboard as you usually do just by browsing its IP address on port 3000 in your Web browser. The IP address is listed on the Clients page of the router, it should look like 192.168.8.xxx