It’s been quite a while since I was last around these parts. Moved halfway around the globe a couple of times, and I’ve just found my RPi 2, and wanted to get the PiAware setup again.
I grabbed the updated card instance, and installed it in my Pi.
I changed the config file on the SD Card to affect the SSID and Password of my WiFi setup here at the house.
Unfortunately, I can’t get it to connect! The USB WiFi dongle just flashes 4-6 times every few seconds like it’s “trying,” but no luck.
To troubleshoot, I unplugged the WiFi Dongle and the powered USB hub (don’t need it if I’m just running the receiver dongle w/o the WiFi), and connected the RPi to my router via network cable. Works well and lasts long time… I’m back up and running, but this isn’t where I want to leave the hardware, and I’ll have no ability to think about a better (and outdoor) antenna as-is.
I’ve done some searching through old threads in hopes of finding some sort of silver bullet for this issue, but I’ve had no dice.
Can one of you please kick me in the right direction?
What is the make/model of the WiFi dongle? Give command “lsusb” and post output
pi@piaware:~$ lsusb
Bus 001 Device 004: ID 0bda:2832 Realtek Semiconductor Corp. RTL2832U DVB-T
Bus 001 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
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
Can you paste the parts of the config file you changed (obscure the password)
What is your wifi dongle?
You should be able to have both wifi and wired network connected simultaneously; this can make it easier to diagnose since you can ssh in even while the wifi is down.
Look in /var/log/syslog for anything unusual.
Try “iwconfig” and “sudo iwlist scan”.
# Should piaware use the wired ethernet port
# for network access?
wired-network no
# change this to "yes" to enable wifi
wireless-network yes
wireless-ssid "Ecalevol Network"
wireless-password "XXXXXXX" (my password isn't just letters and numbers, but special characters, too)
I’m using a small WiFi dongle that looks just like the “suggested” version from the Build A PiAware page, but without the lettering on the end. I can no longer find the exact manufacturer on Amazon from my order in 2015.
I’ll reconnect it all and run some commands here in a minute.
Bus 001 Device 006: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 004: ID 2109:2811
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
Additionally, I ran a “sudo iwlist scan” command, and here are the results:
Possibly something is going wrong there. Can you check the contents of /etc/wpa_supplicant/wpa-roam.conf and see if it got the PSK and the other details right?
What editor did you use? Some software likes to do strange things like using “smart quotes” which are probably being encoded as UTF-8 and won’t be recognized as ASCII quote characters (")
Hah! Ok, so this is actually a problem in the comment text in the standard config file, just in that comment. Not sure where it leaked in from, not from my editors but IIRC the wording of that comment got cut+pasted from email so it may have been introduced at that point. And the problem is not obvious if you just view the file in a UTF-8-aware terminal…
“ ”
HTML named character entity references: “, ”
HTML numeric (decimal) character entities for standard values: “, ”
HTML numeric (hexadecimal) character entities for standard values: “, ”
Embedded UTF-8 Encoding
" U+0022 QUOTATION MARK
“ U+201C LEFT DOUBLE QUOTATION MARK
” U+201D RIGHT DOUBLE QUOTATION MARK