===== Sharing Internet over Long Range Wireless Serial Connection 433Mhz =====
[[http://emmanuelgranatello.blogspot.de/2017/06/sharing-internet-over-long-range.html?m=1|Originalartikel]]
[[https://www.qgelm.de/wb2html/wb120.html|Backup]]
I needed to connect a Raspberry Pi Zero to a Linux Server hosted at my house (1km away). I couldn't use WiFi for problems of signal range, for this reason I opted to connect 2 stations with a Wireless Serial Connection by a cheap SiK Telemetry Radio V2 433Mhz (20$).
To create a Peer to Peer TCP/IP connection I used SLIP (Serial Line Internet Protocol).
Server-Side:
- Connect a USB Telemetry Radio, with dmesg we check the serial port name
$ dmesg | grep now attached
- Load a SLIP module
$ sudo modprobe slip
- Install net-tools for slattach tool
$ sudo apt install net-tools
- Configure SLIP and attach to a serial port
$ sudo slattach -L -s 57600 -p slip /dev/####Serial_Port_Name
- On another console create a network interface
$ sudo ifconfig sl0 192.168.5.1 dstaddr 192.168.5.2
- [OPT] Sharing internet connection, follow this link.
On Raspberry Pi Zero:
- Connect a Telemetry Radio on Raspberry Pi Zero Board
- Load a SLIP module
$ sudo modprobe slip
- Configure SLIP and attach to a serial port
$ sudo slattach -L -s 57600 -p slip /dev/ttyAMA0
- On another console create a network interface
$ sudo ifconfig sl0 192.168.5.2 dstaddr 192.168.5.1
- Test TCP/IP connection
$ ping 192.168.5.1