Last active
August 29, 2015 14:02
-
-
Save 7171u/9517de3df9c30b0f3bff to your computer and use it in GitHub Desktop.
Random Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Requires a linux kernel higher than 3.2.0-22.25 | |
Server Side: | |
1. sudo apt-get install linux-source-3.2.0 | |
2. mkdir ~/build | |
3. tar xvf /usr/src/linux-source-3.2.0.tar.bz2 -C ~/build | |
4. cd ~/build | |
5. sudo apt-get install libwrap0-dev gcc libglib2.0-dev libtool automake autoconf pkg-config libsysfs-dev | |
6. cd drivers/staging/usbip/userspace/ | |
7. ./autogen.sh | |
8. ./configure --with-usbids-dir=/usr/share/misc/ | |
9. sudo make install | |
10. sudo ln -s /usr/local/lib/libusbip.so.0 /usr/lib/libusbip.so.0.0.1 | |
11. sudo apt-get install libusbip0 | |
12. sudo modprobe vhci-hcd | |
13. sudo modprobe usbip-core | |
14. sudo modprobe usbip-host | |
Client Side: | |
1. sudo apt-get install linux-source-3.2.0 | |
2. mkdir ~/build | |
3. tar xvf /usr/src/linux-source-3.2.0.tar.bz2 -C ~/build | |
4. cd ~/build | |
5. sudo apt-get install libwrap0-dev gcc libglib2.0-dev libtool automake autoconf pkg-config libsysfs-dev | |
6. cd drivers/staging/usbip/userspace/ | |
7. ./autogen.sh | |
8. ./configure --with-usbids-dir=/usr/share/misc/ | |
9. sudo make install | |
10. sudo ln -s /usr/local/lib/libusbip.so.0 /usr/lib/libusbip.so.0.0.1 | |
11. sudo apt-get install libusbip0 | |
12. sudo modprobe vhci-hcd | |
13. sudo modprobe usbip-core | |
Ref: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/900384 | |
http://wiki.openwrt.org/doc/howto/usb.iptunnel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment