Hello everyone, above is a simple diagram of project. I use several Raspberry Pi 3s as mesh nodes for this project. I have made each of them connected to each other with OLSR protocol using this tutorial https://justingoetz.net/display/PB/2019/04/10/Comprehensive+guide+to+running+OLSR+over+WPA2+on+OpenWRT. Below is a Wireless Configuration Overview of one RPi that is connected to internet via ethernet port.
config fi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001
option htmode 'HT20'
option disabled '0'
option legacy_rates '1'
option country 'KR'
config wifi-iface
option device 'radio0'
option mode 'adhoc'
option ssid 'MeshBackhaul'
option network 'mesh meshnetw'
option encryption 'psk2'
option key 'meshnetw'
What I want to do next is how to make all those interconnected RPis provide internet access to client devices in their coverage. I have tried to create a regular access point, so the /etc/config/wireless became as below
config fi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001
option htmode 'HT20'
option disabled '0'
option legacy_rates '1'
option country 'KR'
config wifi-iface
option device 'radio0'
option mode 'adhoc'
option ssid 'MeshBackhaul'
option network 'mesh meshnetw'
option encryption 'psk2'
option key 'meshnetw'
config wifi-iface
option device 'radio0'
option mode 'ap'
option encryption 'none'
option ssid 'SimpleWIFI'
option network 'lan'
But, when I connect my phone to that "SimpleWIFI" wifi, my phone detected no internet connection.
When the access point was created, in LuCI, the mesh network mode changed from AdHoc to Client, but from SSH it was still AdHoc, which is weird. What should I do to get my phone internet connection through "SimpleWIFI"?