chootka / subnodes

Subnodes is an open source project that configures your Raspberry Pi as a wireless AP, Node.js server, and BATMAN ADV mesh point.
Other
205 stars 39 forks source link

Mesh Network and AP from the single built-in wifi (RaspberryPi 3) (?) #20

Closed suiluj closed 5 years ago

suiluj commented 6 years ago

I was able to run the Raspberry Pi 3 as a Wifi client (station) and access point (ap) from the single built-in wifi. See this instruction: https://github.com/peebles/rpi3-wifi-station-ap-stretch

Do you think it is possible to use the single built in wifi for the ap and b.a.t.m.a.n. mesh network? So the wlan0 would change from client network to the b.a.t.m.a.n. mesh network.

Perhaps it is possible to use the additional uap0 interface (which uses the same internal wifi):

/etc/udev/rules.d/90-wireless.rules

ACTION=="add", SUBSYSTEM=="ieee80211", KERNEL=="phy0", \
    RUN+="/sbin/iw phy %k interface add uap0 type __ap"
chootka commented 6 years ago

Unfortunately it's not possible. The on-board radio is not capable of going into mesh or ad hoc mode. I always use a second USB wifi radio plugged into the RPi, which is capable of supporting mesh.

samuk commented 5 years ago

This list helped me find Mesh compatible USB's https://github.com/phillymesh/802.11s-adapters/blob/master/README.md

Would it be worth linking to it from the Submesh readme where you say "running the nl80211 driver"

chootka commented 5 years ago

Hi @samuk

Sure, that's a good suggestion. I'll add it in.

Thanks!