Add kernel module at boot

Discussion in 'UDOO DUAL' started by Justyn Bell, Nov 15, 2016.

  1. Justyn Bell

    Justyn Bell New Member

    Joined:
    Nov 15, 2016
    Messages:
    9
    Likes Received:
    3
    Hi,
    I need g_ether to be loaded at boot in order to ssh to the device via USB, however, when I add g_ether to /etc/modules, it isn't loaded at boot.

    How do I load kernel modules at boot on the Udoo?

    UDOObuntu 2.1

    --
    Justyn
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  3. Justyn Bell

    Justyn Bell New Member

    Joined:
    Nov 15, 2016
    Messages:
    9
    Likes Received:
    3
  4. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    I just adviced what is in the documentation. Perhaps you missed this, I saw no reference that you already tried it. If it is not implemented the Udoo team should remove this page for the Udoo Dual.
    I know from the Neo topics that especially on Macs it can be troublesome to use the USB-direct, see also the troubleshoot section on that manual page.

    For your original question about adding kernels modules I have no idea.. I suppose you already took a look at this: http://www.udoo.org/docs/Advanced_Topics/Compile_Linux_Kernel.html
     
  5. Justyn Bell

    Justyn Bell New Member

    Joined:
    Nov 15, 2016
    Messages:
    9
    Likes Received:
    3
    Rebuilding the entire kernel with g_ether built in instead of a module isn't really a satisfactory answer.
    Loading modules at boot is a simple task in other Linux platforms, there's probably something I'm missing that a Udoo developer can clue me in on.
     
  6. Justyn Bell

    Justyn Bell New Member

    Joined:
    Nov 15, 2016
    Messages:
    9
    Likes Received:
    3
    I just added `modprobe g_ether` to /etc/rc.local and called it a day.
     
    waltervl likes this.

Share This Page