如要使用板面Wi-Fi或USB介面卡連接到網際網路,您將需要編輯設定檔。格式化完成以後,Etcher將自動退出Micro SD卡;取出Micro SD卡或USB介面卡,並將其插回電腦以編輯設定檔。
設定檔便於使用者設定以下
- 有線網路
- 無線(WiFi)網路
- PiAware支持未加密的網路或WPA/WPA2加密網路,不支持WEP
- 自動或手動更新*
- 多點定位(MLAT)輸出*
- 接收器類型(RTL-SDR、Beast、Radarcape或其他Mode S/ADS-B源)
- RTL-SDR增益、PPM和裝置索引
* 表示可在站點的統計資訊頁面上進行設定的設定值。
有關完整設定選項,請參閱 進階設定
設定檔格式
The configuration file is a simple plain text format file.
以“#”開頭的行為註解行,將自動忽略。空白行也將被忽略。所有其他行均表示組態設定。
Windows
- 開啟檔案總管程式
- 選擇標示為piaware的Micro SD卡裝置
- 開啟piaware-config.txt檔案
- 檔案將在記事本中開啟
Mac OS X
- 開啟Finder程式
- 選擇標示為piaware的Micro SD卡裝置
- 開啟piaware-config.txt檔案
- 檔案將在TextEdit中開啟
以下是開啟的文字檔,啟用Wi-Fi的指示以粗體顯示。
#
# This file configures the Piaware sdcard image
# configuration. Whenever the system boots, this
# file is read and its contents are used to
# configure the system.
#
# Lines beginning with a '#' are comment lines
# and are ignored. Blank lines are also ignored.
# All other lines specify configuration settings.
#
#
# WIRED NETWORK CONFIGURATION
#
# Should piaware use the wired ethernet port
# for network access?
wired-network yes
# Wired network configuration:
# Most networks will use DHCP
wired-type dhcp
# Alternatively, a static address configuration
# can be provided; set "wired-type" to static to use this.
wired-address 192.168.1.10
wired-netmask 255.255.255.0
wired-broadcast 192.168.1.255
wired-gateway 192.168.1.254
wired-nameservers 8.8.8.8 8.8.4.4
#
# WIRELESS NETWORK CONFIGURATION
#
# Should piaware use a wifi adaptor
# for network access? You will need to attach
# a supported USB wifi adaptor for this to work.
# change this to "yes" to enable wifi
wireless-network yes
# Wifi SSID and password.
# This should be changed to match your wireless
# network SSID and, for networks that require
# a passphrase, the passphrase.
wireless-ssid MyWifiNetwork <-----replace MyWifiNetwork with the name of your WiFi (aka the SSID of your local network)
wireless-password s3cr3t <-----replace s3cr3t with the password to your WiFi
# Wifi network configuration:
# Most networks will use DHCP
wireless-type dhcp
# Alternatively, a static address configuration
# can be provided; set "wireless-type" to static to use this.
wireless-address 192.168.1.10
wireless-netmask 255.255.255.0
wireless-broadcast 192.168.1.255
wireless-gateway 192.168.1.254
wireless-nameservers 8.8.8.8 8.8.4.4
Windows
- 檔案編輯完成後,儲存並關閉記事本
- 在我的電腦或系統匣裏按一下右鍵並選擇退出,以退出Micro SD卡
- 此時應該出現一個彈出視窗,提示可以取出SD卡
Mac OS X
- 檔案編輯完成後,請儲存並關閉TextEdit
- 在Finder中或使用彈出圖示彈出Micro SD卡