I recently bought the TP-Link TL-WDR3600, a router I thought would be very fine as it has two USB ports to attach printers, scanners, external disks, whatever. My officemate told me of routers like this so I got curious.
I installed it first lika any simple router which worked quite well of course, but for some reason I did this within Windows 7. There I installed some special tool which seemed to be intended for helping getting a USB printer to work. Again this was quite easy and soon after, the first page came out of the printer.
A bit later I rebooted into Linux (Ubuntu 12.04 at that moment). I just tried to attach the printer as a network printer thinking this was the way to go. But it wasn’t. On the net I found no howto or something similar, the TP-Link webpage also was quiet about that and their support hasn’t answered me yet (it’s six days ago, that I wrote them).
What I found on their webpage was some GPL section where you can download the operating system of the router or at the least all the GPL parts of it. I chose the one for my router, unpacked it, and looked through the folder. See what I found: usbip. Promising, isn’t it?
Googling for ‘usbip ubuntu’ is much more fun than googling for ‘linux wdr3600′.
Let’s directly go to the result I started with:
The usbip project’s homepage is
Actually page 2 is the interesting one with instructions for the client installation as the server was already setup. The steps I chose from the tutorial were the following:
Install usbip (rather simple):
sudo apt-get install usbip
I went on with loading the Virtual Host Controller Interface
sudo modprobe vhci-hcd
And checking the module loading:
lsmod | grep vhci
vhci_hcd 22542 0
usbip_core 15904 1 vhci_hcd
My router’s ip is 192.168.1.1, so the important step should be:
sudo usbip -l 192.168.1.1
which results in:
- 192.168.1.1 failed
WTF. I have to draw breath and rethink. Maybe I have one more look at the sources…
Ok, started with this one more look. Still a lot to learn about Linux and its available tools. THis is one of the main conclusions of this moment. But ok, I got to know busybox, this is fine, ok
ifconfig is outdated,
ip addr is the way to go… I mean, I am something like a linux sysadmin for the members of my chair. Fortunately they never come with serious problems and I’m not involved in problems relevant for security.
But enough self-doubt. What did I find? Someone, who is able to read, clearly has an advantage. There is one more usb-related app. It’s called kcodes_usbip. So there exist several ones. Fine. Who is kcodes? This should be the corresponding webpage.
As soon as the update of my Linux distribution is finished I will go on with this topic.