From Hentschel
Jump to: navigation, search
(/etc/network/interfaces)
 
(7 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* Stratux build page [http://stratux.me this link]
 
* Stratux build page [http://stratux.me this link]
 
* Status info at http://stratux/getStatus
 
* Status info at http://stratux/getStatus
 +
* radios:
 +
** 978 UAT: NESDR Nano2 978, 29ppm (stx:978:29)
 +
** 1090 ES: NESDR Nano2 1090, 28ppm (stx:1090:28)
 +
* change SDR id string for use with stratux:
 +
** stop stratux service
 +
  systemctl stop stratux
 +
:* find radio device number
 +
  sdrs
 +
:* write eeprom in radio
 +
  rtl_eeprom -d 0 -s <String>:<Freq>:<PPM>
 +
:: string format see above
 +
 +
==== AHRS board ====
 +
* schematics here: https://github.com/stratux/ahrs/blob/master/AHRS.pdf
  
 
==== /etc/network/interfaces ====
 
==== /etc/network/interfaces ====
Line 47: Line 61:
 
=== 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
 +
* get status
 +
  sudo piaware-status
 +
* restart service
 +
  sudo systemctl restart piaware

Latest revision as of 01:00, 29 May 2019

Stratux

  • Stratux build page this link
  • Status info at http://stratux/getStatus
  • radios:
    • 978 UAT: NESDR Nano2 978, 29ppm (stx:978:29)
    • 1090 ES: NESDR Nano2 1090, 28ppm (stx:1090:28)
  • change SDR id string for use with stratux:
    • stop stratux service
 systemctl stop stratux
  • find radio device number
 sdrs
  • write eeprom in radio
 rtl_eeprom -d 0 -s <String>:<Freq>:<PPM>
string format see above

AHRS board

/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

# 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
  • get status
 sudo piaware-status
  • restart service
 sudo systemctl restart piaware