modprobe usbip - modprobe: FATAL: Module usbip not found

Discussion in 'UDOO NEO' started by JackSilb, Mar 14, 2017.

  1. JackSilb

    JackSilb Active Member

    Joined:
    Nov 3, 2015
    Messages:
    100
    Likes Received:
    32
    Hello,

    It has been a while since my last post here.
    I am giving a try on Neo again. Just got the latest image. It is up and running.

    I would like to use my Neo Full for USB to IP.
    More specifically, use usbip that is available for linux.
    http://askubuntu.com/questions/612355/share-usb-drive-over-network

    Long story short, I am trying to make some microcontroller(s) connected to the NEO USB show-up as a USB device to a PC (Linux/Mac/Windows) using WiFi.

    There is a way to do that using usbip in Linux. But the Kernel on the NEO does not seem to support it.
    I may be have missed it in this Forum and on the net search. Could not find an image for NEO with the kernel supporting usbip.
    Anyone know if there an OS image for NEO with it?

    Thank you,
    -Jack

    [dooer@udooneo1:~$ sudo apt-get install usbip
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    libusbip0
    The following NEW packages will be installed:
    libusbip0 usbip
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 48.0 kB of archives.
    After this operation, 163 kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe libusbip0 armhf 0.1.7-3 [20.6 kB]
    Get:2 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe usbip armhf 0.1.7-3 [27.5 kB]
    Fetched 48.0 kB in 0s (53.6 kB/s)
    Selecting previously unselected package libusbip0.
    (Reading database ... 85888 files and directories currently installed.)
    Preparing to unpack .../libusbip0_0.1.7-3_armhf.deb ...
    Unpacking libusbip0 (0.1.7-3) ...
    Selecting previously unselected package usbip.
    Preparing to unpack .../usbip_0.1.7-3_armhf.deb ...
    Unpacking usbip (0.1.7-3) ...
    Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
    Setting up libusbip0 (0.1.7-3) ...
    Setting up usbip (0.1.7-3) ...
    Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
    udooer@udooneo1:~$ sudo modprobe usbip
    modprobe: FATAL: Module usbip not found
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    You can check it yourself in the file /boot/config -'uname -r` if the option has been set originally (I don't know the specific setting). If not set, you have to recompile the kernel by yourself.
     
  3. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Activating usbip has changed since Ubuntu 10 you have to use for example sudo modprobe usbip-host

    For more info, also the kernel config parameters see for example http://blog.3mdeb.com/2015/10/27/linux/
     
    Last edited: Mar 14, 2017
  4. JackSilb

    JackSilb Active Member

    Joined:
    Nov 3, 2015
    Messages:
    100
    Likes Received:
    32
    Hi Waltervl, thanks for the reply. It does not seem to be installed. It will take me a while to learn how to compile the Kernel with it. I rather use my time with other learning needs.

    I was trying my NEO until my RPI Zero-W arrives. For US$10, if I manage to make it work, I think I have what I need in a smaller foot print and less expensive to replicate with students. It seems that the RPI folks have it in the Kernel already. We will see.

    As always, we appreciate the support we get from people like you.

    Thank you,
    -Jack
     
    Last edited: Mar 15, 2017
    waltervl likes this.

Share This Page