Lego EV3 - ASTROINGENIERIA/ASTROUFRO GitHub Wiki
Instalación de ev3dev
Para MacOS
Cuando no se ve el servicio cdc-gadget en la configuración de la red del Mac
First, ssh to the EV3 using the Bluetooth connection instructions. Then, complete the rest of the steps from the command prompt on the EV3. Create the cdc-gadget service:
sudo vi /lib/systemd/system/cdc-gadget.service
Copy and paste the content of the file from below. Note: if you don't know how to use 'vi', press 'i' to begin insert mode, then paste the content, then press ESC, type ":wq" (without the quotes) and hit RETURN.
sudo systemctl stop ev3-usb
sudo systemctl disable ev3-usb
sudo systemctl enable cdc-gadget
sudo systemctl start cdc-gadget
File contents of /lib/systemd/system/cdc-gadget.service:
# This file is part of the ev3-systemd package
[Unit]
Description=CDC Ethernet USB gadget service
Conflicts=rndis-gadget.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/modprobe g_cdc
ExecStop=/sbin/rmmod g_cdc
[Install]
WantedBy=network.target