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:
If you can edit this file, you might try changing the driver to:
You should be able to see what type of WiFi device it is by running the command:
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.
Pi 2 and B+ WiFi Dongles
Battery Power Options
There are a number of battery options for the PiGate and PiGate RMS. AA batteries will work for a few minutes. 7AH or better AGM batteries work well. I have tested a PiGate running for at least 10 hours on a 7AH AGM battery. Using two in parallel and a solar panel or two should give you 24x7 capability. Here's a link to a converter I use and recommend:
The PiGate RMS, if it has a GUI display, uses more power than this device can produce. With a display, it will need about 5.2 volts instead of 5 because the display will drop the voltage down to a level that is barely functional for the Pi using a standard 5v supply. I use these converters and they work pretty well:
You can also get these from eBay pretty cheap.
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:
You can also run another script that will update the individual station data as new stations appear in the list:
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 has been fixed in the ver. 1.4 release of the PiGate software.