From Hentschel
Revision as of 01:02, 21 May 2019 by Thomas (Talk | contribs)

Jump to: navigation, search

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, 26ppm (stx:1090:26)
  • 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

/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