Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    USB Doungle booting a custom kernel

    Scheduled Pinned Locked Moved Hardware
    4 Posts 4 Posters 673 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BGCA_TECH
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        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.)

        1 Reply Last reply Reply Quote 0
        • dotdashD
          dotdash
          last edited by

          Wouldn't it be easier to dig up a supported USB Ethernet adapter? The ASIX ones can be found pretty cheap.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Or just run that command from a script at boot.
            https://doc.pfsense.org/index.php/Executing_commands_at_boot_time

            Steve

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.