WiFi problem [SOLVED]


#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


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