Skip to content

Commit

Permalink
adding info about rpi imager
Browse files Browse the repository at this point in the history
  • Loading branch information
JAlcocerT committed May 11, 2024
1 parent dbbcaaf commit 2db6643
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
9 changes: 7 additions & 2 deletions _posts/2021-07-21-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,19 @@ All of the services/projects that we can make the RPi to run, can be easily port

First I would recommend you to install Raspbian to the RPi.

Raspbian is based on Debian, a Linux distribution. But you dont have to be worried about this as I have created to onboard anyone to Linux and particularly to [Debian based distros here](https://jalcocert.github.io/Linux/debian/).
Raspbian/Raspberry Pi OS is based on Debian, a Linux distribution.

Under the **RPi Setup** section on this page, I will be including an extra explanation here where some specifics apply to the RPi.
But you dont have to be worried about this as I have created to onboard anyone to Linux and particularly to [Debian based distros here](https://jalcocert.github.io/Linux/docs/debian/).

If you are doing the **RPi Setup**, 99% of that information is applicable to our SBC.

Install Raspbian from any computer with RPi Imager:

```sh
apt update
apt upgrade

sudo snap install rpi-imager
```

> There are [other Single Board Computers](https://fossengineer.com/testing-performance-orange-pi5-versus-raspberry-pi4/) out there that you can use to do similar projects.
Expand Down
10 changes: 7 additions & 3 deletions _posts/2023-04-17-rpi-wifi-ethernet-bridge.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@ render_with_liquid: false
I was inspired by the awsome work of **[William Halley in his blog](https://www.willhaley.com/blog/raspberry-pi-wifi-ethernet-bridge/)**, where I was able to follow succesfully the option 2 that it is proposed: *to share Wifi through Ethernet on a separated subnet*.

- [ ] What do we need? 🎯
+ [x] A Raspberry Pi (Im using a Pi4 2gb, ARM32)
+ [x] A Raspberry Pi (Im using a Pi4 2gb, ARM32) with [Raspberry Pi OS installed](https://jalcocert.github.io/RPi/posts/getting-started/#how-to-get-started-with-a-rpi)
+ [x] A [custom script](#rpi-bridge-wifi-to-eth-with-vpn) to route our RPi Wifi connectivity to Ethernet and pass its VPN connectivity
+ [ ] A Wireguard Server: You can use any provider like [Mullvad VPN](https://fossengineer.com/selfhosting-qBittorrent-with-docker-and-VPN/), [Proton VPN](https://fossengineer.com/transmission-with-vpn-torrent/), NordVPN...or **create your own VPN Server**
+ [ ] An Ethernet Cable - Most likely you Router brought some
+ [ ] (Optional) USB-C to Ethernet or some HUB with multiple ports if your device does not have Ethernet

### Initial Setup: Option 2 - Separate Subnet

This original approach does not require any VPN, as we are just providing the same internet connection that our RPi receives via Wifi, to our laptop/any other device, via ethernet.

The Raspberry and your device will have the same connection details ☝️

The script that is provided is this one (again, [credits to](#aknowledgments) William):

```sh
Expand Down Expand Up @@ -89,7 +94,7 @@ ifconfig
The end result is that **the Raspberry Pi will act as a bridge between the WiFi connection and the Ethernet connection**, providing Internet access to devices connected via Ethernet- to the RPi.


## Raspberry Pi Bridge: Wifi to Ethernet (With wireguard)
### RPi Bridge: Wifi to Eth (With VPN)

That was really great and I was really impressed and happy that it worked perfectly the first time I tried.

Expand All @@ -112,7 +117,6 @@ This will make your wireguard client to be connected to the server. Do you want

```sh
curl -sS https://ipinfo.io/json #the command to use

```

And if you need, to disconnect from Wireguard, just:
Expand Down

0 comments on commit 2db6643

Please sign in to comment.