The issue with the WiFi dongle on a Pi B+ or Pi2 is if it has the chip set driver that the configuration is setup to work with.  There is a config file on the PiGate at /etc/hostapd/hostapd.conf

It will look like this:


interface=wlan0
driver=rtl871xdrv
ssid=PiGate
hw_mode=g
channel=1
wpa=2
wpa_passphrase=raspberry
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0

If you can edit this file, you might try changing the driver to:

driver=nl80211

You should be able to see what type of WiFi device it is by running the command:

lsusb

It will output something like this:

Bus 001 Device 005: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


The first entry (Bus 001) is the WiFi dongle on my Pi2.  You'll have to search the internet for the chipset or driver you should use for that device.


In this case, searching for the WiFi device on Google:

edimax ew-7811un driver raspberry pi

Shows me that there are a number of articles that specify a few different drivers.  

You just have to try different driver names until you find one that will work.  In this case the rtl871xdrv driver worked.

I wish it was more scientific than that. If you find a better way, please let me know.

RMS Station Not Appearing in RMS Station List

If you enter an RMS station on your local list that is not in the list that is downloaded from Winlink, you'll get an error saying there is no data.  There are a couple things you can do:


1. Download a new list by plugging your PiGate into a local network that has internet access, using an ethernet cable, the rebooting.  When it starts up, the PiGate will look to see if it has access to the internet, and then automatically download a new list.

2. You can force the download by plugging into a network, and then logging in on the command line and running the command:

"sudo /root/get_stns.sh"

You can also run another script that will update the individual station data as new stations appear in the list:

"sudo /root/update_rms_data.sh"

Of course, if your RMS station is not published by Winlink, it won't be in the list.  Mine is not because it is not up all the time, so it only shows up in the list when it is active and reporting.  RMS stations disappear after 6 hours of not reporting.

3. You can manually add your RMS station info to the station list by editing the file:

"sudo nano /var/www/html/rms_stations"

You'll have to enter the data EXACTLY like the rest, like so:

CALLSIGN,MADIENHEAD_GRID,FREQUENCY_TO_9_DIGITS,0,1200  (if this is a VHF packet station)


This situation will be fixed in a future release.


Pi 2 and B+ WiFi Dongles

emergency email gateway