Because of increasing interesting in USB over IP topic I decided to refresh my
old post.
I will focus on doing the same thing with more recent version of Raspabian.
If you need more information please read my previous post.
Setup SD card
First get recent version of
Raspbian, then unzip and dd
it to SD card:
Information is even more accurate then on RPi. Of course 192.168.0.105 have to
be replaced with you IP address.
Quickly check if client support correct modules:
1
2
3
4
5
[13:18:36] pietrushnic:~ $ grep USBIP /boot/config-`uname -r`CONFIG_USBIP_CORE=m
CONFIG_USBIP_VHCI_HCD=m
CONFIG_USBIP_HOST=m
# CONFIG_USBIP_DEBUG is not set
Everything looks ok. Let’s load hos module:
1
sudo modprobe vhci-hcd
Now we can attach remote storage:
1
sudo usbip attach -r 192.168.0.105 -b 1-1.3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[13:29:15] pietrushnic:~ $ sudo fdisk -l /dev/sdd
GPT PMBR size mismatch (13695 != 3911615) will be corrected by w(rite).
Disk /dev/sdd: 1.9 GiB, 2002747392 bytes, 3911616 sectors
Units: sectors of 1 * 512=512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2164228A-0AD4-43A8-9478-0E94701363B1
Device Start End Sectors Size Type
/dev/sdd1 20481366211615 5.7M EFI System
[13:29:27] pietrushnic:~ $ sudo mount /dev/sdd1 tmp
[13:29:39] pietrushnic:~ $ ls tmp
EFI shellia32.efi shellx64.efi shellx64-refind-signed.efi
This is quick refresh for those struggling with running usbip. There many
topics to cover in this area I think about writing posts related to below
topics:
usbip on Raspberry Pi 2
passing frames for RS232 to USB converter using usbip
A20-OLinuXino-MICRO/Cubietruck and usbip
If you any other preference or topics that would like to see on this blog please
let me know in comments. If you think this post can be useful for others please
share.
Founder of 3mdeb, a passionate advocate for open-source firmware solutions, driven by a belief in transparency, innovation, and trustworthiness. Every day is a new opportunity to embody the company's vision, emphasizing user liberty, simplicity, and privacy. Beyond business, a casual chess and bridge player, finding peace in nature and nourishment in theology, philosophy, and psychology. A person striving to foster a healthy community, grounded in collaboration and shared growth, while nurturing a lifelong curiosity and a desire to deeply understand the world.