laimison / eranet-remote

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eraNET Remote

This is the solution to control computer remotely which includes keyboard, mouse and screen access.

Prerequisites

Equipment

## Flashing

Flash Lenkeng

nc lenkeng-ip 9999
list
factory_reset
  • You can uncheck multicast through web GUI, to not flood all devices on your LAN with multicast

Installation

Install OS to Raspberry Pi Zero

The image used 2018-11-13-raspbian-stretch-lite.img

Steps from Mac OS, but should be similar for any other OS

  • Install OS to SD card (I used Etcher app)

  • When the image is flashed successfully, modify Raspbian configuration files:

diskutil list
sudo diskutil mountDisk /dev/disk1

wifi_ssid=your_ssid
wifi_password=your_password

echo "
dtoverlay=dwc2
enable_uart=1' >> /Volumes/boot/config.txt

touch /Volumes/boot/ssh

echo 'ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US

network={
    ssid=\"$wifi_ssid\"
    psk=\"$wifi_password\"
    key_mgmt=WPA-PSK
}" > /Volumes/boot/wpa_supplicant.conf
  • Insert SD to Raspberry Pi Zero

  • ssh pi@raspberry-ip where username is pi and password is raspberry

  • Run the scripts on Raspberry

cd ~
sudo apt update && sudo apt install git -y
git clone https://github.com/laimison/eranet-remote.git
cd eranet-remote
git config user.name laimison
./install.sh

Use keyboard, power button and setup video stream, please run:

cd ~/eranet-remote && ./control.sh

Troubleshooting

Check whether you are receiving video stream

On Raspberry

sudo tcpdump -i wlan0 port 5004

About


Languages

Language:C 52.0%Language:Shell 45.1%Language:Python 2.9%