-
Notifications
You must be signed in to change notification settings - Fork 0
sanrab/SignalK-server-on-RaspberryPi-ZeroW
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Installare RaspiOS Buster
Rimuovere repository VS Microsoft (sudo rm -f /etc/apt/sources.list.d/vscode.list /etc/apt/trusted.gpg.d/microsoft.gpg)
sudo apt update
sudo apt install nodejs npm
sudo npm install -g npm@latest # aggiornamento npm
sudo apt install libnss-mdns avahi-utils libavahi-compat-libdnssd-dev
Installazione SignalK server
sudo npm install -g --unsafe-perm signalk-server
Setup server
sudo signalk-server-setup
INSTALLAZIONE SOFTWARE PER ACCESS POINT
sudo apt install hostapd
sudo systemctl unmask hostapd
sudo systemctl enable hostapd
sudo apt install dnsmasq
sudo DEBIAN_FRONTEND=noninteractive apt install -y netfilter-persistent iptables-persistent
sudo nano /etc/dhcpcd.conf
Go to the end of the file and add the following:
interface wlan0
static ip_address=192.168.4.1/24
nohook wpa_supplicant
sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
sudo nano /etc/dnsmasq.conf
Add the following to the file and save it:
interface=wlan0 # Listening interface
dhcp-range=192.168.4.2,192.168.4.20,255.255.255.0,24h # Pool of IP addresses served via DHCP
domain=wlan # Local wireless DNS domain
address=/gw.wlan/192.168.4.1 # Alias for this router
sudo rfkill unblock wlan
sudo nano /etc/hostapd/hostapd.conf
country_code=IT
interface=wlan0
ssid=polarisnet
hw_mode=g
channel=7
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=XXXXXXXXXXX
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
sudo systemctl reboot
About
SignalK server on RaspberryPi ZeroW
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published