Hi!
It is a while I am struggling with connecting my BELA to my home WiFi network through a Wifi dongle (from tp-link).
I followed the instructions at https://learn.bela.io/using-bela/bela-techniques/connecting-to-wifi/#setting-up-your-network-connection-with-wifi but after running ifdown wlan0; ifup wlan0 I get the following:
root@bela:~# ifdown wlan0; ifup wlan0
Killed old client process
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/d0:37:45:89:72:63
Sending on LPF/wlan0/d0:37:45:89:72:63
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.1.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
dhclient.c:2733: Failed to send 300 byte long packet over fallback interface.
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/d0:37:45:89:72:63
Sending on LPF/wlan0/d0:37:45:89:72:63
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
and then no ip address is shown aftern running ip a.
I have checked the paths and network password, and they are correct.
Running iwlist wlan0 scanning it correctly list my home network.
Running ifup wlan0 it ends with "No DHCPOFFERS received."; if I run it again it sayd "ifup: interface wlan0 already configured".
Running idown wlan0 I get:
root@bela:~# ifdown wlan0
Killed old client process
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/d0:37:45:89:72:63
Sending on LPF/wlan0/d0:37:45:89:72:63
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.1.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
dhclient.c:2733: Failed to send 300 byte long packet over fallback interface.
I am quite a beginner with BELA so I don't get what I am doing wrong (I have already checked other wifi related threads without success).
Thank you in advance!