Disable RNDIS so I can use an WIFI USB Adapter

  • jockm wrote: 2024-05-24 13:44 Using the Ubuntu image, how do I disable RNDIS from running at startup. I tried

    Code: Select all

    systemctl disable usb-gadget-rndis
    but got the message:

    Code: Select all

    Failed to disable unit: Unit file usb-gadget-rndis.service does not exist.
    so clearly RNDIS is being enabled in a way I am not familiar with, since I couldn't see anything obvious doing

    Code: Select all

     systemctl list-units --type=service
    . So I am at a bit of a loss how to disable RNDIS.
    Hello, if you need to disable RNDIS, please modify RNDIS_EN=on to RNDIS_EN=off in /etc/init.d/S50usbdevice on the Luckfox Pico, and reboot the system to apply the settings.

    If you need to use a WIFI USB Adapter, you also need to change the USB mode. The system sets the USB mode to peripheral by default, and you need to modify the device tree to switch the USB to Host mode. For details, please refer to the wiki: https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-USB/.
  • Thank you so much! Could this please be documented in the wiki?