# Piaware 3 wifi problem

**URL:** <https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890>\
**Category:** ADS-B Flight Tracking\
**Created:** [August 20, 2016, 11:39am UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890 "2016-08-20T11:39:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimrm](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimrm/32/127021_2.png) [@jimrm](https://discussions.flightaware.com/u/jimrm)\
**Post date:** [August 20, 2016, 11:39am UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/1 "2016-08-20T11:39:45Z")

</div>

Tried three different wifi dongles and cannot establish a connection. Can connect to my network with ethernet and ssh into the pi2. My wireless access point is open, so no password. The reason I mention this is I wonder if it could be the problem. With this new piaware image I don’t know where to look as it is not using the normal wifi setup. I know this is kind of vague, but maybe someone can help me figure it out.

---

<div class="post-metadata">

**Author:** ![obj](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/obj/32/118984_2.png) [@obj](https://discussions.flightaware.com/u/obj)\
**Post date:** [August 20, 2016, 2:09pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/2 "2016-08-20T14:09:47Z")

</div>

Try the 3.0.4 image: [piaware.flightcdn.com/piaware-sd … .4.img.zip](http://piaware.flightcdn.com/piaware-sd-card-3.0.4.img.zip)

When configuring wireless in piaware-config.txt, set wireless-network to yes, set wireless-ssid to your wifi SSID (network name), comment out wireless-password entirely (put a # at the start of that line)

---

<div class="post-metadata">

**Author:** ![abcd567](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/abcd567/32/113769_2.png) [@abcd567](https://discussions.flightaware.com/u/abcd567)\
**Post date:** [August 20, 2016, 2:24pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/3 "2016-08-20T14:24:30Z")

</div>

Today morning I burned my microSD card with Piaware 3.0.4 img.

I plugged in a $2 unbranded wifi dongle RTL8188CUS from eBay/China, and it works very good.

![](https://us1.discourse-cdn.com/flex019/uploads/flightaware/original/3X/c/b/cbcb0a8e40ff3d094287024f68e5a110ecf36af3.jpeg)  
I made the wifi settings (enable yes, ssid, password) in the file /boot/piaware-config.txt.

---

<div class="post-metadata">

**Author:** ![jimrm](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimrm/32/127021_2.png) [@jimrm](https://discussions.flightaware.com/u/jimrm)\
**Post date:** [August 20, 2016, 2:47pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/4 "2016-08-20T14:47:37Z")

</div>

Commented out the password line and still no connection. Tried all three wifi radios again. Here is a copy of my config file. Maybe someone can spot a blunder in it. I’m using 3.03 image.

# 

# 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 no

# 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 dd-wrt  
#wireless-password

# 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

# 

# RECEIVER CONFIGURATION

# 

# Type of ADS-B receiver to use with piaware.

# This is used when configuring dump1090-fa and piaware.

# Supported types are:

# 

# rtlsdr: a USB-connected RTL2832U DVB-T dongle using librtlsdr/dump1090.

# beast: a USB-connected Mode-S Beast.

# radarcape: a network-connected Radarcape.

# other: a network-connected receiver that produces Beast binary output.

# relay: like “other”, but will use a local relay so that only one

# connection to the receiver is needed, and also forwards output

# to the local dump1090 for map display.

# 

receiver-type beast

# For a receiver type of ‘rtlsdr’, these control dongle settings

rtlsdr-device-index 0  
rtlsdr-gain -10  
rtlsdr-ppm 0

# For a receiver type of ‘radarcape’, radarcape-host should be set to

# the IP or hostname of the Radarcape

radarcape-host your-radarcape-hostname

# For a receiver type of ‘other’ or ‘relay’, receiver-host and receiver-port

# should set to the IP/hostname and port to connect to for data.

receiver-host your-receiver-hostname  
receiver-port 30005

# 

# OTHER CONFIGURATION

# 

# Should automatic system updates (initiated by FlightAware) be allowed?

allow-auto-updates yes

# Should manual system updates (initiated by you from the website control

# panel) be allowed?

allow-manual-updates yes

# Should rfkill (“airplane mode”) be set on all wireless/bluetooth

# devices on boot? This can reduce interference if you are using a Pi 3

# but not using wireless and the receiver is in close proximity to the Pi.

# For obvious reasons, this won’t work if you are using a wireless network

# configuration.

rfkill no

---

<div class="post-metadata">

**Author:** ![bidgee](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/bidgee/32/127344_2.png) [@bidgee](https://discussions.flightaware.com/u/bidgee)\
**Post date:** [August 20, 2016, 3:04pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/5 "2016-08-20T15:04:34Z")

</div>

I’d comment out the wireless settings and give that a go, since you’ve gone with dhcp and not static.

So it should look like this. I’ve done it with my Pi since it is using dhcp and not static, no issues.

```auto

# 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

```

Also you’re using Beast as the receiver so comment out the other stuff.

```auto

# For a receiver type of 'radarcape', radarcape-host should be set to
# the IP or hostname of the Radarcape
#radarcape-host your-radarcape-hostname

# For a receiver type of 'other' or 'relay', receiver-host and receiver-port
# should set to the IP/hostname and port to connect to for data.
#receiver-host your-receiver-hostname
#receiver-port 30005

```

---

<div class="post-metadata">

**Author:** ![jimrm](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimrm/32/127021_2.png) [@jimrm](https://discussions.flightaware.com/u/jimrm)\
**Post date:** [August 20, 2016, 3:20pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/6 "2016-08-20T15:20:06Z")

</div>

commented out the other stuff and still not connecting. Downloading 3.0.4 image now.

---

<div class="post-metadata">

**Author:** ![bidgee](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/bidgee/32/127344_2.png) [@bidgee](https://discussions.flightaware.com/u/bidgee)\
**Post date:** [August 20, 2016, 3:28pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/7 "2016-08-20T15:28:11Z")

</div>

Yeah, give 3.0.4 ago. It may fix it. Also is your SSID all in lower case on the router? I ask this since I’ve copied like for like (ie: my bridged router’s SSID is Kooringal and has been entered in the same way [capital K and not lower case], though my network isn’t open).

---

<div class="post-metadata">

**Author:** ![jimrm](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimrm/32/127021_2.png) [@jimrm](https://discussions.flightaware.com/u/jimrm)\
**Post date:** [August 20, 2016, 6:26pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/8 "2016-08-20T18:26:02Z")

</div>

My SSID is all lower case as it should be. Loaded 3.0.4 and same thing. No wifi with any of my three dongles. It seems odd, because one of the wifi radios is an alfa and it has a comm. led which is flickering as if it is trying to connect. Inserted the 2.1.5 sd card and wifi still works with it. I hope someone has some more ideas, because I am running out of things to try. Considering going back to 2.1.5 and trying to configure it to work with the Beast radio.

---

<div class="post-metadata">

**Author:** ![edgy](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/edgy/32/93751_2.png) [@edgy](https://discussions.flightaware.com/u/edgy)\
**Post date:** [August 20, 2016, 7:12pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/9 "2016-08-20T19:12:21Z")

</div>

> [@jimrm](#):
>
> I hope someone has some more ideas, because I am running out of things to try.

How old is that router? Maybe try a different router.

Maybe try a different router wifi modes.

---

<div class="post-metadata">

**Author:** ![jimrm](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimrm/32/127021_2.png) [@jimrm](https://discussions.flightaware.com/u/jimrm)\
**Post date:** [August 20, 2016, 7:51pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/10 "2016-08-20T19:51:51Z")

</div>

Router isn’t very old. Linksys E1200. Since it works with the old image, it points to a driver problem or something in the piaware 3.0.4 image. If someone could give me some ssh commands to look at the wifi settings/status might be helpful. For that I can plug an ethernet cable into the router.

---

<div class="post-metadata">

**Author:** ![edgy](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/edgy/32/93751_2.png) [@edgy](https://discussions.flightaware.com/u/edgy)\
**Post date:** [August 20, 2016, 9:36pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/11 "2016-08-20T21:36:06Z")

</div>

> [@jimrm](#):
>
> Router isn’t very old. Linksys E1200. Since it works with the old image, it points to a driver problem or something in the piaware 3.0.4 image. If someone could give me some ssh commands to look at the wifi settings/status might be helpful. For that I can plug an ethernet cable into the router.

sudo ifconfig wlan0

See if you have one

sudo iwlist scan

See if you can see your wireless router

Compare ESSID to what your using. If no ESSID, maybe install one in the router and PI and reboot both after editing the piaware config file.

Check the contents printed by: sudo iwconfig

---

<div class="post-metadata">

**Author:** ![jimrm](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimrm/32/127021_2.png) [@jimrm](https://discussions.flightaware.com/u/jimrm)\
**Post date:** [August 20, 2016, 11:57pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/12 "2016-08-20T23:57:50Z")

</div>

This looks about right to me. Of course there is a lot there that I know nothing about too. Here are the results:

WAIT. something doesn’t look right in the scan, it shows essid of “dd-wrt” and on same channel down farther it shows an essid  
of “dd-wrt\_vap” which is a repeater bridge I have setup in a different building. Not sure if it should be listed?

Never mind. It’s just showing available access points in the scan results.

pi@piaware:~$ sudo ifconfig wlan0  
wlan0 Link encap:Ethernet HWaddr 00:e0:4c:81:98:69  
UP BROADCAST MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

pi@piaware:~$ sudo lsusb  
Bus 001 Device 005: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapte r  
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT 232 USB-Serial (UART) IC  
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

pi@piaware:~$ sudo iwlist scan  
wlan0 Scan completed :  
Cell 01 - Address: 00:18:39:D1:1E:AD  
Channel:11  
Frequency:2.462 GHz (Channel 11)  
Quality=15/70 Signal level=-95 dBm  
Encryption key:off  
ESSID:“dd-wrt\_vap”  
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s  
24 Mb/s; 36 Mb/s; 54 Mb/s  
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s  
Mode:Master  
Extra:tsf=0000004557b6be59  
Extra: Last beacon: 40ms ago  
IE: Unknown: 000A64642D7772745F766170  
IE: Unknown: 010882848B962430486C  
IE: Unknown: 03010B  
IE: Unknown: 2A0100  
IE: Unknown: 2F0100  
IE: Unknown: 32040C121860  
IE: Unknown: DD090010180202F0000000  
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00  
Cell 02 - Address: C8:B3:73:2C:89:62  
Channel:11  
Frequency:2.462 GHz (Channel 11)  
Quality=67/70 Signal level=-43 dBm  
Encryption key:off  
ESSID:“dd-wrt”  
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s  
24 Mb/s; 36 Mb/s; 54 Mb/s  
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s  
Mode:Master  
Extra:tsf=0000001bf89e1b31  
Extra: Last beacon: 40ms ago  
IE: Unknown: 000664642D777274  
IE: Unknown: 010882848B962430486C  
IE: Unknown: 03010B  
IE: Unknown: 2A0104  
IE: Unknown: 2F0104  
IE: Unknown: 32040C121860  
IE: Unknown: 2D1A7E181BFFFF000001000000000000000000000000000000000000  
IE: Unknown: 3D160B0F1600000000000000000000000000000000000000  
IE: Unknown: 4A0E14000A002C01C800140005001900  
IE: Unknown: 7F0101  
IE: Unknown: DD760050F204104A0001101044000102103B000103104700106CF9C9A4F3E9C410C7155A7B2B4526E0102100074C696E6B7379731023000545313230301024000776322E302E30361042000234321054000800060050F2040001101100054531323030100800022688103C0001011049000600372A000120  
IE: Unknown: DD090010180206F02C0000  
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00

lo Interface doesn’t support scanning.

eth0 Interface doesn’t support scanning.

pi@piaware:~$

---

<div class="post-metadata">

**Author:** ![edgy](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/edgy/32/93751_2.png) [@edgy](https://discussions.flightaware.com/u/edgy)\
**Post date:** [August 21, 2016, 1:58am UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/13 "2016-08-21T01:58:59Z")

</div>

…and you don’t have any MAC filters in the router, or any other reason DHCP would be denied?

---

<div class="post-metadata">

**Author:** ![jimrm](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimrm/32/127021_2.png) [@jimrm](https://discussions.flightaware.com/u/jimrm)\
**Post date:** [August 21, 2016, 2:11am UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/14 "2016-08-21T02:11:56Z")

</div>

No mac filters in router. DHCP has always worked on this router setup. Here is the result from /etc/network/interfaces

Generated automatically by fa\_config\_generator

# This file will be overwritten on reboot.

auto lo  
iface lo inet loopback

iface eth0 inet dhcp  
metric 1

auto wlan0  
allow-hotplug wlan0  
iface wlan0 inet manual  
wireless-power off  
wpa-roam /etc/wpa\_supplicant/wpa-roam.conf

iface wireless inet dhcp  
metric 2

---

<div class="post-metadata">

**Author:** ![edgy](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/edgy/32/93751_2.png) [@edgy](https://discussions.flightaware.com/u/edgy)\
**Post date:** [August 21, 2016, 4:21am UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/15 "2016-08-21T04:21:16Z")

</div>

Curious what your

/etc/wpa\_supplicant/wpa-roam.conf

file looks like, since you have no security enabled. Mine shows:

```auto

# Generated automatically by fa_config_generator
# This file will be overwritten on reboot.
network={
  ssid="Helipad"
  id_str="wireless"
  scan_ssid=1
  key_mgmt=WPA-PSK
  psk="secretstring"
}

```

---

<div class="post-metadata">

**Author:** ![jimrm](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimrm/32/127021_2.png) [@jimrm](https://discussions.flightaware.com/u/jimrm)\
**Post date:** [August 21, 2016, 10:44am UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/16 "2016-08-21T10:44:00Z")

</div>

Here is what that looks like:

Generated automatically by fa\_config\_generator

# This file will be overwritten on reboot.

network={  
ssid=“dd-wrt”  
id\_str=“wireless”  
scan\_ssid=1  
}

---

<div class="post-metadata">

**Author:** ![obj](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/obj/32/118984_2.png) [@obj](https://discussions.flightaware.com/u/obj)\
**Post date:** [August 21, 2016, 11:07am UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/17 "2016-08-21T11:07:54Z")

</div>

I wonder if it needs key\_mgmt=NONE. I don’t have an open AP to test against so you may have to mess with the generated config to get it working and let me know what is needed so I can roll it into the config generator for next time. Kinda amazed that open APs are still a thing for anything other than public hotspots, I guess next someone will be asking for WEP support 😉

---

<div class="post-metadata">

**Author:** ![jimrm](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimrm/32/127021_2.png) [@jimrm](https://discussions.flightaware.com/u/jimrm)\
**Post date:** [August 21, 2016, 11:24am UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/18 "2016-08-21T11:24:04Z")

</div>

Obj,  
Well, we live out in the “sticks” far enough that our wifi can’t be picked up from the road or the neighbors so we have always operated open.

Changed that file as you suggested then hotplugged the wifi dongle and don’t see it on the network. If I reboot, it will overwrite my change, right?

---

<div class="post-metadata">

**Author:** ![edgy](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/edgy/32/93751_2.png) [@edgy](https://discussions.flightaware.com/u/edgy)\
**Post date:** [August 21, 2016, 12:12pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/19 "2016-08-21T12:12:42Z")

</div>

> [@obj](#):
>
> I wonder if it needs key\_mgmt=NONE

That’s a good idea, I just read the note:

“If not set, this defaults to: WPA-PSK WPA-EAP”

So, it looks like if no PSK, then the config file generator should use NONE.

---

<div class="post-metadata">

**Author:** ![jimrm](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/jimrm/32/127021_2.png) [@jimrm](https://discussions.flightaware.com/u/jimrm)\
**Post date:** [August 21, 2016, 1:14pm UTC](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890/20 "2016-08-21T13:14:06Z")

</div>

AH! yes that works. "key\_mgmt=none

So, how can I get that to stay that way upon reboot?

The way I got it to work was to change the file /etc/wpa\_supplicant/wpa-roam.conf  
then hotplug the wifi dongle.

[Next page](https://discussions.flightaware.com/t/piaware-3-wifi-problem/18890.md?page=2)
