Hello everybody, I am quite new in BBB’s world and I feel stuck in a ridiculous way as I am not able to connect BBB by WIFI, by editing /etc/network/interfaces and as I am trying to connect with and WPA WIFI, I ought to edit the file /etc/wpa_supplicant/wpa_supplicant.conf .
I want to have BBB WIFI and able to change SSID, PSK, IP, NETMASK… and so on, just using node js which modifies the interfaces and wpa_supplicant.conf files and restarting the wlan0 interface, so tools like wicd or connman (I used them and worked perfectly) are not the best way as them limit the way to change settings.
I’ve been trying almost everything I found over Internet, with no results.
STARTING POINT:
- Beaglebone Black Rev C
- Distributions used:
- Debian GNU/Linux 8.3 Jessie (I rather prefer to use this)
- Kernel 4.1.15-ti-rt-r43- Debian 8.2 Jessie (is a tester distribution so I prefer not to use this one)
- Debian 7.9 Wheezy (If anything goes well, I wont reject using this)- USB WIFI Adapter TL-WN722N & AWUS036H
- WIFI with WPA2-Personal
The most common issue I get is … after writing interfaces… I try to connect and:
root@beaglebone:/etc/network# ifup wlan0
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/d8:5d:4c:87:68:6c
Sending on LPF/wlan0/d8:5d:4c:87:68:6c
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
I hope someone could help me !!! Thank you so much for you attention and help!!