WiFi problem


#1

Hello, I am using Zynthian for 3 days now. Maybe a stupid question, but I am lost… I tried to setup and activate WiFi following user manual and using web interface… I put SSID, password etc., then I started WiFi from the user menu. And… no success. Did I miss something? Thank you, martin


#2

If you have an aluminum case, you need a very strong Wifi signal (router close to the zynthian box) for using the internal Wifi device. You can also use an external USB Wifi dongle …

Regards,


#3

Are you using the lates B+ raspberry?


#4

no, the older one, delivered by zynthian.org


#5

I tried to move Zynthian 0,5m distance from the WiFi AP, but it did not help. Any magic that I have to do except a configuration through the web interface and setting WiFi on at the Zynthian screen?


#6

log in via ssh and show us the response of
ifconfig

look in /etc/network/interfaces and comment the wlan lines that are not matching the result in ifconfig.

If you don’t understand, what I mean, show us the result of that file.


#7

this?

Last login: Tue Apr 17 20:03:37 2018 from 192.168.0.24
root@zynthian:~# ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:a0:d8:06
inet addr:192.168.0.32 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::6542:9481:fa03:11f0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:798 errors:0 dropped:2 overruns:0 frame:0
TX packets:323 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:97004 (94.7 KiB) TX bytes:52726 (51.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:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1216 (1.1 KiB) TX bytes:1216 (1.1 KiB)

wlan0 Link encap:Ethernet HWaddr b8:27:eb:f5:8d:53
inet6 addr: fe80::1eab:4615:2877:2738/64 Scope:Link
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)


#8

and this:

root@zynthian:/etc/network# cat interfaces

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp

allow-hotplug eth1
iface eth1 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp

allow-hotplug wlan1
iface wlan1 inet dhcp

wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


RPi 2 Wifi Connection Issues
#9

and finally this:

root@zynthian:/etc/wpa_supplicant# cat wpa_supplicant.conf
country=SK
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid=“here_is_a_real_SSID”
scan_ssid=1
key_mgmt=WPA-PSK
psk=“here_is_a_real_password”
priority=10
}root@zynthian:/etc/wpa_supplicant#


#10

Add # before those lines


#11

Thank you. I did it (added # before indicated lines) and WiFi works now like a charm! Thanks for pointing me there. SOLVED.


#12

OK! I will address this problem in the next release.

Thanks!


#13

I believed that the problem is solved, but I had tried to add another (different) WiFi network, and it is not working (means that there is no connection if there is more than 1 WiFi added). Maybe it is “priority” paramenter? Or something else?


#14

Does this help?


#15

Hello guys!

I’m having trouble with Zynthian Wi-Fi. After installing the new system image, i can’t connect to wi-fi networks.

/etc/network/interfaces file:

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp

allow-hotplug eth1
iface eth1 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp

#allow-hotplug wlan1
#iface wlan1 inet dhcp

wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

And ifconfig:

root@zynthian:~# ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:96:5f:6e
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::51f9:39da:d9b5:16b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:315 errors:0 dropped:0 overruns:0 frame:0
TX packets:585 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42614 (41.6 KiB) TX bytes:526544 (514.2 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:668 errors:0 dropped:0 overruns:0 frame:0
TX packets:668 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1004851 (981.2 KiB) TX bytes:1004851 (981.2 KiB)

wlan0 Link encap:Ethernet HWaddr b8:27:eb:c3:0a:3b
inet addr:169.254.139.53 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::3d13:d6d4:fc56:9ace/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6639 (6.4 KiB) TX bytes:8611 (8.4 KiB)

Any suggestion?


#16

Take a look to this post:

Next update will fix the problem …

Regards,


#17

Hi! I’m also trying to activate WiFi on my fresh (first) Zynthian Pi.
ifconfig doesn’t show the wlan0 interface.
I reach the web-configuration by connecting the eth0 to the router and added SSID and passphrase

root@zynthian:~# ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:c8:65:46
inet addr:192.168.0.190 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::5ed3:deb1:e465:dd57/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:881 errors:0 dropped:3 overruns:0 frame:0
TX packets:578 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:108898 (106.3 KiB) TX bytes:139926 (136.6 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:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1216 (1.1 KiB) TX bytes:1216 (1.1 KiB)

Also, ifup wlan0 doesn’t help.

Any ideas?


#18

I’ll add that I have tried with both the v1 kit and the v2 kit image files, and the result is the same.
Just reinstalled Raspbian OS, and wlan0 is working perfectly, so hardware seems OK.


#19

So, I finally found the answer in an old thread. Posting the link here in case someone comes here looking for help with the wireless interface.