USB Doungle booting a custom kernel
-
I have Pfsense loaded and configured on a Gigabyte GBBX-BT-2807 mini computer. This device only has one network interface, I therefore have to use a USB Ethernet adapter to add the LAN interface. I have done so. I have to added the network interface each time the unit reboots. It is a very simple task, using "usbconfig -d X.X set_config 1" from the main menu selection 8 shell commands.
What I want to do is configure a custom kernel that will configure this device on initial boot.
ANY help would be most welcome.
-
No idea what you mean by custom kernel… if it's not a pfSense-patched one, you'll have just heavily broken system. Why don't you install shellcmd package and run this as earlyshellcmd? (Frankly, I'd rather get usable HW.)
-
Wouldn't it be easier to dig up a supported USB Ethernet adapter? The ASIX ones can be found pretty cheap.
-
Or just run that command from a script at boot.
https://doc.pfsense.org/index.php/Executing_commands_at_boot_timeSteve