wiki/translated_sandbox/translated_note-nvr-tab-ap.md

1.8 KiB

Connecting the tablet to the recorder via wifi through the tablet's AP

The scheme is simple: a TL-725n or a similar adapter on rtp8188eu, or an adapter for which is the driver in the OpenIPC firmware; the tablet turns on the access point; the recorder connects to this access point; when restarting, the wfb service detects the specified wlan and Sets up broadcasting and telemetry on the tablet.

Let's raise the network

  • Download the driver 8188eu to /lib/modules/4.9.37/extra/
  • Let's set up network raising on the adapter in /etc/network/interfaces, specifying your ssid and password:
      auto wlan1
      iface wlan1 inet dhcp
          pre-up if ! lsmod | grep 8188eu; then insmod /lib/modules/4.9.37/extra/8188eu.ko; fi
          pre-up sleep 1
          pre-up wpa_passphrase "ssid" "password" >/tmp/wpa_supplicant.conf
          pre-up sed -i '2i \\tscan_ssid=1' /tmp/wpa_supplicant.conf
          pre-up sleep 3
          pre-up wpa_supplicant -B -D nl80211 -i wlan1 -c/tmp/wpa_supplicant.conf
          post-down killall wpa_supplicant

We will correct the service configs

tab_wlan=wlan1
  • If we do not use sending a stream to a PC, we can comment out the udp_addr parameter, this will unload the registrar a little.
  • Turn on the access point on the tablet and reboot the recorder, or press the button on the front panel.