yes, that's correct. There is no access point functionality enabled by default.
Someone gave me some instructions on how to do that, here are the details (but I have not tested them myself):
For this first part you need internet access on the board *
:
NOTE: this is not needed for images >= v0.3.3
apt-get upgrade
apt-get update
apt-get install hostapd
# - press Y when prompted. This will install the service which will turn Bela into a WiFi access point.
nano /etc/default/hostapd # open text editor
Then the actual configuration (for all images).
Find the line that starts with DAEMON_CONF
in /etc/default/hostapd
, uncomment it and change it so it looks like this:
DAEMON_CONF="/etc/hostapd/hostapd.conf"
Now we've told hostapd to look for a configuration file, so we need to create it:
nano /etc/hostapd/hostapd.conf
Put the following into this file:
interface=wlan0
hw_mode=g
channel=1
wmm_enabled=1
ssid=MyBelaAccessPoint
auth_algs=1
wpa=2
wpa_passphrase=wifipassword
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
ieee80211d=1
country_code=DK
ieee80211n=1
Remember to change the ssid= and wpa_passphrase= lines.
nano /etc/network/interfaces
Now we need to change the network configuration so that Bela advertises its network instead of trying to connect to one (the internet connection that was initially set up). To do that, replace the wlan0
configuration with the following:
allow-hotplug wlan0
iface wlan0 inet static
hostapd /etc/hostapd/hostapd.conf
address 192.168.30.1
netmask 255.255.255.0
Now, restart Bela by typing shutdown -r now
. Once Bela reboots, you should be able to see a network called MyBelaAccessPoint
. You would need static IP configuration (usually IP addresses from 192.168.30.2 to 192.168.30.254) and a subnet mask of 255.255.255.0 on each connecting client. Ideally, a DHCP server using dnsmasq would be needed so that you don't worry about IP configuration, but I haven't tried that yet.
Once you have connected and set up the client device's IP configuration, you are able to access Bela IDE in the browser at 192.168.30.1, as well as connect to it via SSH.
*
if you don't have internet access on the board, you can download the package on your computer from [here](
http://httpredir.debian.org/debian/pool/main/w/wpa/hostapd_2.4-1+deb9u1_armhf.deb), scp
it over and install it with dpkg -i hostapd_2.4-1+deb9u1_armhf.deb)