From Hentschel
(→/etc/network/interfaces) |
(→PiAware) |
||
| Line 47: | Line 47: | ||
=== PiAware === | === PiAware === | ||
* build instructions [https://flightaware.com/adsb/piaware/install at this link] | * build instructions [https://flightaware.com/adsb/piaware/install at this link] | ||
| + | * config file in boot: | ||
| + | <pre> | ||
| + | # Should piaware use the wired ethernet port | ||
| + | # for network access? | ||
| + | |||
| + | wired-network yes | ||
| + | # Wired network configuration: | ||
| + | wired-type static | ||
| + | wired-address 192.168.1.97 | ||
| + | wired-netmask 255.255.255.0 | ||
| + | wired-broadcast 192.168.1.255 | ||
| + | wired-gateway 192.168.1.1 | ||
| + | wired-nameservers 192.168.1.2 | ||
| + | |||
| + | # Should piaware use a wifi adaptor for network access? | ||
| + | # If you are using a Pi 3, this will use the built-in wifi. | ||
| + | # Otherwise, you will need to attach a supported USB wifi adaptor. | ||
| + | |||
| + | wireless-network yes | ||
| + | # To include quotation marks (") in a quoted value, use \" | ||
| + | # To include a backslash (\) in a quoted value, use \\ | ||
| + | wireless-ssid h**l | ||
| + | wireless-password ****** | ||
| + | wireless-type dhcp | ||
| + | </pre> | ||
| + | * add empty file named 'ssh' to boot partition to enable ssh | ||
Revision as of 16:06, 19 May 2019
Contents
Stratux
- Stratux build page this link
- Status info at http://stratux/getStatus
/etc/network/interfaces
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.10.1
netmask 255.255.255.0
post-up /usr/sbin/stratux-wifi.sh
wireless-power off
allow-hotplug wlan1
iface wlan1 inet static
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
address 192.168.1.98
netmask 255.255.255.0
gateway 192.168.1.1
# iface name_of_WPA_Config inet dhcp
# iface name_of_other_WPA_Config inet dhcp
## End of interfaces
/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="h**l"
scan_ssid=1
key_mgmt=WPA-PSK
psk="**********"
priority=1
}
PiAware
- build instructions at this link
- config file in boot:
# Should piaware use the wired ethernet port
# for network access?
wired-network yes
# Wired network configuration:
wired-type static
wired-address 192.168.1.97
wired-netmask 255.255.255.0
wired-broadcast 192.168.1.255
wired-gateway 192.168.1.1
wired-nameservers 192.168.1.2
# Should piaware use a wifi adaptor for network access?
# If you are using a Pi 3, this will use the built-in wifi.
# Otherwise, you will need to attach a supported USB wifi adaptor.
wireless-network yes
# To include quotation marks (") in a quoted value, use \"
# To include a backslash (\) in a quoted value, use \\
wireless-ssid h**l
wireless-password ******
wireless-type dhcp
- add empty file named 'ssh' to boot partition to enable ssh