RPi 2 Wifi Connection Issues

Hi,

After many weeks of work, I finally have an operating Zynthian device built (mostly) from scratch.

All basic functions work perfectly, however, I am having some issues using the WiFi feature. As I am using a Raspberry Pi 2, I have connected an external Edimax WiFi dongle. I connected an Ethernet cable to access the WebUI, added my WiFi network (the SSID was visible when I clicked the “Add Network”), and entered the password. I then proceeded to press the “Start WiFi” button on the Zynthian box. The light on the dongle remained a solid blue, rather than the normal flashing it shows which I believed to be a bit odd.

I then accessed the Zynthian over SSH (still using ethernet) and attempted to ping using the WiFi adapter. The result I got was this:
root@zynthian:~# ping www.google.com -I wlan0
ping: Warning: source address might be selected on device other than wlan0.
PING www.google.com (216.58.199.36) from 192.168.0.132 wlan0: 56(84) bytes of data.
From zynthian.lan (192.168.0.132) icmp_seq=1 Destination Host Unreachable
From zynthian.lan (192.168.0.132) icmp_seq=2 Destination Host Unreachable
From zynthian.lan (192.168.0.132) icmp_seq=3 Destination Host Unreachable
^C
www.google.com ping statistics —
3 packets transmitted, 0 received, +2 errors, 100% packet loss, time 4485ms
pipe 4

The output of ifconfig was this:
eth0 Link encap:Ethernet HWaddr b8:27:eb:8b:53:38
inet addr:192.168.0.132 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::f5c3:52b6:4b6:8bc7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1012 errors:0 dropped:0 overruns:0 frame:0
TX packets:929 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:197959 (193.3 KiB) TX bytes:221626 (216.4 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:82 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6732 (6.5 KiB) TX bytes:6732 (6.5 KiB)

wlan0 Link encap:Ethernet HWaddr 80:1f:02:da:b2:50
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)

The WiFi dongle has been tested to work on a different Pi, so presumably this is not a hardware issue.

What have I done wrong here?

edit: Apologies for the formatting, can’t seem to make the code blocks work properly

Pls search the forum. You can find many threads about this issues.
You have to comment a line in the wpa-supplicant file.

1 Like

actually it’s f.e. here

and my response two posts later