prototype-cjdns-pi icon indicating copy to clipboard operation
prototype-cjdns-pi copied to clipboard

Hostapd with non-onboard party wifi card

Open darkdrgn2k opened this issue 6 years ago • 1 comments

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

darkdrgn2k avatar Mar 02 '19 15:03 darkdrgn2k

Could be solved with config variables #319

darkdrgn2k avatar Mar 04 '19 21:03 darkdrgn2k