Skip to content

Wi‐Fi Connection for ToF

naitiknakrani-eic edited this page Sep 20, 2023 · 1 revision
  1. Enable Wi-Fi inside i.MX8 board and connect it with local router.

    • We can generate Wifi Connection by two methods but first make these common changes mentioned below:

    $ cd Workspace/Tools/
    $ vi adi-enable-wifi.sh 
    

    • Open adi-enable-wifi.sh file inside it make following changes:

    1. comment "sudo reboot"
    2. above "sudo reboot" line add “sudo systemctl restart wpa_supplicant@wlan0”.

    • After changes it will look like below:

    image

    • To Apply these changes permanently, make the changes in extlinux.conf. Write "rw" instead of "ro = init/...." in whole file where you see "ro =init/..." as seen in below image.

    image

    • Execute following command:

    $ ./adi-enable-wifi.sh <SSID> <password> 
    

    For example, ( i.e. ./adi-enable-wifi.sh TP-Link abcd#*999)

    • Your connection breaks after running the above command so reconnect ToF camera.

    image

    • Run "ip addr" command after connecting and see in wlan0 connection established.

    image

    Note: In case of troubleshooting, try “sh adi-enable-wifi.sh

  2. If there is not Wi-FI available that one can enable network over ethernet. Connect host machine with ethernet cable and your i.MX8 board will access network from host device.

Clone this wiki locally