root@opnsense-host:~ # usbconfig ugen0.2 show_ifdrvugen0.2: <Realtek USB 10/100/1000 LAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (350mA)ugen0.2.0: ure0: <Realtek USB 10/100/1000 LAN, class 0/0, rev 2.10/31.00, addr 1>
$ ifconfig ue0 down && ifocnfig ue0 up
$ usbconfig -d 0.2 set_config 1
hw.usb.quirk.0="0x0bda 0x8153 0 0xffff UQ_CFG_INDEX_1"
For permanently setting the device into this mode usb_quirks helps out. The following line needs to be added to configuration file /boot/loader.conf.local:Code: [Select]hw.usb.quirk.0="0x0bda 0x8153 0 0xffff UQ_CFG_INDEX_1"Details of the configuration string can be found in the manpage of "usb_quirk"
Don't manipulate configuration files. If you use the tunables section in the UI, your settings will be saved to a configuration backup whenever you create one and will survive an update.
Tunables added in the UI are added to /boot/loader.conf - so that will work.