prototype-cjdns-pi
prototype-cjdns-pi copied to clipboard
Hostapd with non-onboard party wifi card
TODO: migrate the script into a FAQ question or some how allow the option in the install to use a non-onboard access point.
If the driver is different following steps can be used to use a non-onboard wifi as access point
- Plug in device
- Check to see what the driver is for it
(Copy paste this, it should output driver names)
for wlanfile in /sys/class/net/wlan*; do
wlan="$(basename "$wlanfile")"
driverPath=$(readlink "/sys/class/net/$wlan/device/driver")
driver=$(basename "$driverPath")
echo $wlan $driver
done
-
Edit scripts/hostapd/install
-
Fine line
if [[ "$driver" == "xradio_wlan" || "$driver" == "brcm80211" || "$driver" == "brcmfmac" || "$driver" == "rtl8189fs" ]]; then -
replace it with just your driver
if [[ "$driver" == "MY-DRIVER" ]]; then -
cd into the scripts dirctory
-
set the mesh name
export MESH_NAME='MYMYESH' -
execute
bash hostapd/install
Could be solved with config variables #319