Is it safe to remove l4tbr0 Bridge network on Jetson Xavier? (Solved)

After flashing the Jetson Xavier, a bridge network has been created with the name: l4tbr0
What is the purpose of this bridge network and is it safe to remove it? If so, what is the right way for removing it?

This is part of the demo of the gadget framework. You will find a symbolic link:

/etc/systemd/system/nv-l4t-usb-device-mode.sh

…this link points at:

/opt/nvidia/l4t-usb-device-mode/nv-l4t-usb-device-mode.sh

By not running this script on boot the bridge should go away and no harm will be done. The correct method to disable this is to remove the symbolic link itself and leave the original script (remove “/etc/systemd/system/nv-l4t-usb-device-mode.sh”).

EDIT: Looks like the system wants to put this back in place…checking to see what else needs to be deleted.

Ok, looks like there is a second sym link needing removal:

/etc/systemd/system/multi-user.target.wants/nv-l4t-usb-device-mode.service

(adding the sym links back in restores the service)

1 Like

Thanks, worked perfectly!

Typically, you shouldn’t remove symlinks by hand, but system the systemctl command to do that.

The command you want for this link is:

sudo systemctl disable nv-l4t-usb-device-mode.service
sudo systemctl stop nv-l4t-usb-device-mode.service

The first (disable) makes sure it doesn’t get run on next boot.
The second (stop) makes sure the device gets removed right now (assuming the demo script was written correctly as a systemd unit)

2 Likes