- Edited
Hello all,
I am looking for some help while trying to setup my Bela to act as a wifi hotspot. I have followed the tutorial in its entirety and everything seems to be properly setup: the wifi access that I have defined does appear to computers around and we can connect to it via the password that I have setup. Furthermore, I can verify that wlan0 has the correct ip address with "ip a" command when I'm connected to 192.168.6.2 via ssh.
The problem is that even when connected to the Bela wifi access point, neither ssh nor browser can actually reach it via the wifi. When I try to access 192.168.30.1 (the address I used, same as in the tutorial) either via browser or ssh, I only ever get a connection timed out message.
I wonder if this may be related to the fact that the following output I get from ifup wlan0 is slightly different from the one in the tutorial:
root@bela:~# ifdown wlan0; ifup wlan0 --verbose
ifup: configuring interface wlan0=wlan0 (inet)
/bin/run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/hostapd
hostapd: /usr/sbin/hostapd -B -P /run/hostapd.wlan0.pid /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
/sbin/ip addr add 192.168.30.1/255.255.255.0 broadcast 192.168.30.255 dev wlan0 label wlan0
/sbin/ip link set dev wlan0 up
/bin/run-parts --exit-on-error --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/wpasupplicant
It seems to me that two run-parts are missing, compared to the tutorial: openssh and upstart. Upon verification via ls commands no files with those names are present in /etc/network/if-up.d/. Am I simply missing those files (for some obscure reason) or do you think there might be another reason why I can't actually connect to the Bela via the wifi access point?
Thank you for your help.