From Hentschel
Jump to: navigation, search
(Stratux)
(/etc/network/interfaces)
Line 29: Line 29:
 
# iface name_of_other_WPA_Config inet dhcp
 
# iface name_of_other_WPA_Config inet dhcp
 
## End of interfaces
 
## End of interfaces
 +
</pre>
 +
 +
==== /etc/wpa_supplicant/wpa_supplicant.conf ====
 +
<pre>
 +
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
 +
}
 
</pre>
 
</pre>
  
 
=== PiAware ===
 
=== PiAware ===
 
* build instructions [https://flightaware.com/adsb/piaware/install at this link]
 
* build instructions [https://flightaware.com/adsb/piaware/install at this link]

Revision as of 02:37, 19 May 2019

Stratux

/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