{"id":1073,"date":"2013-01-04T00:20:24","date_gmt":"2013-01-03T13:20:24","guid":{"rendered":"http:\/\/www.madox.net\/blog\/?p=1073"},"modified":"2013-02-24T08:52:13","modified_gmt":"2013-02-23T21:52:13","slug":"tl-wr703n-example-project-3-wireless-3d-printing-or-2d-printing-or-just-simply-wireless-usb","status":"publish","type":"post","link":"http:\/\/www.madox.net\/blog\/2013\/01\/04\/tl-wr703n-example-project-3-wireless-3d-printing-or-2d-printing-or-just-simply-wireless-usb\/","title":{"rendered":"TL-WR703N Example Project 3 : Wireless 3D printing (or 2D printing or just simply wireless USB)"},"content":{"rendered":"<p>So it has taken me over three months of procrastination of building a USBIP image that will let me connect to my 3D printer wirelessly to actually writing up a tutorial to share it with the world. \u00a0This tutorial provides the basics of setting up a fresh <a href=\"http:\/\/www.madox.net\/blog\/projects\/tp-link-tl-wr703n\/\" target=\"_blank\">TP-Link TL-WR703N<\/a> image to wirelessly connect a Windows machine to a USB device attached to the router. \u00a0I am using primarily using this to connect to my pp3dp Up! printer (only reason this is for Windows&#8230;), but I have also tested this method on a USB Logitech webcam and a USB flash disk.<\/p>\n<p>Again, a disclosure is that I am an\u00a0<em><a href=\"http:\/\/store.3dprintingsystems.com\/index.php?route=product\/product&amp;product_id=42&amp;tracking=4f6ba0ffd6ee1\">affiliate<\/a>\u00a0to 3D printing systems and that if you&#8217;re interested in buying an Up! Plus or Up! Mini and you&#8217;re in Australia\/New Zealand you should do it via this\u00a0<em><a href=\"http:\/\/store.3dprintingsystems.com\/index.php?route=product\/product&amp;product_id=42&amp;tracking=4f6ba0ffd6ee1\">link<\/a>\u00a0\ud83d\ude1b<\/em><\/em><\/p>\n<p><!--more--><\/p>\n<h2>Setting up the router<\/h2>\n<ol>\n<li>Download and install the USBIP image as per my <a href=\"http:\/\/www.madox.net\/blog\/projects\/tp-link-tl-wr703n\/\" target=\"_blank\">TP-Link TL-WR703N<\/a>\u00a0page.<\/li>\n<li>Connect a wired Ethernet cable to router and browse to <a href=\"http:\/\/192.168.1.1\/\"><em>http:\/\/192.168.1.1\/<\/em><\/a>\n<p><figure id=\"attachment_1082\" aria-describedby=\"caption-attachment-1082\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1082\" alt=\"Fresh USBIP image\" src=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP1-450x292.png\" width=\"450\" height=\"292\" srcset=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP1-450x292.png 450w, http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP1.png 888w\" sizes=\"auto, (max-width: 450px) 85vw, 450px\" \/><\/a><figcaption id=\"caption-attachment-1082\" class=\"wp-caption-text\">Fresh USBIP image<\/figcaption><\/figure><\/li>\n<li>Press &#8220;Login&#8221;, then select the &#8220;Network&#8221; tab at the top, then select &#8220;Wifi&#8221;\n<p><figure id=\"attachment_1083\" aria-describedby=\"caption-attachment-1083\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1083\" alt=\"Configuring the WiFi of the router 1\" src=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP2-450x292.png\" width=\"450\" height=\"292\" srcset=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP2-450x292.png 450w, http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP2.png 888w\" sizes=\"auto, (max-width: 450px) 85vw, 450px\" \/><\/a><figcaption id=\"caption-attachment-1083\" class=\"wp-caption-text\">Configuring the WiFi of the router 1<\/figcaption><\/figure><\/li>\n<li>Click &#8220;Scan&#8221;.\n<p><figure id=\"attachment_1081\" aria-describedby=\"caption-attachment-1081\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1081\" alt=\"Configuring the WiFi of the router 2\" src=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP3-450x292.png\" width=\"450\" height=\"292\" srcset=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP3-450x292.png 450w, http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP3.png 888w\" sizes=\"auto, (max-width: 450px) 85vw, 450px\" \/><\/a><figcaption id=\"caption-attachment-1081\" class=\"wp-caption-text\">Configuring the WiFi of the router 2<\/figcaption><\/figure><\/li>\n<li>Find your Wifi AP and click &#8220;Join Network&#8221;\n<p><figure id=\"attachment_1080\" aria-describedby=\"caption-attachment-1080\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1080\" alt=\"Configuring the WiFi of the router 3\" src=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP4-450x292.png\" width=\"450\" height=\"292\" srcset=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP4-450x292.png 450w, http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP4.png 888w\" sizes=\"auto, (max-width: 450px) 85vw, 450px\" \/><\/a><figcaption id=\"caption-attachment-1080\" class=\"wp-caption-text\">Configuring the WiFi of the router 3<\/figcaption><\/figure><\/li>\n<li>Enter your WPA passphrase(assume you&#8217;re using WPA\/WPA2), and under &#8220;Create \/ Assign firewall-zone&#8221; &#8211; select &#8220;lan&#8221; then click submit.\n<p><figure id=\"attachment_1079\" aria-describedby=\"caption-attachment-1079\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1079\" alt=\"Configuring the WiFi of the router 4\" src=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP5-450x292.png\" width=\"450\" height=\"292\" srcset=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP5-450x292.png 450w, http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP5.png 888w\" sizes=\"auto, (max-width: 450px) 85vw, 450px\" \/><\/a><figcaption id=\"caption-attachment-1079\" class=\"wp-caption-text\">Configuring the WiFi of the router 4<\/figcaption><\/figure><\/li>\n<li>Click &#8220;Save &amp; Apply&#8221; and then wait for changes to be applied.<\/li>\n<li>Under the &#8220;Network&#8221; tab at the top, select &#8220;Interfaces&#8221;Note the IP address of the WWAN connection. In my example below, it is <em><strong>192.168.0.11<\/strong><\/em>.<br \/>\n<em>NOTE : Recommended, if you can set up your WiFi to assign a static IP to the WR703N router based on MAC address &#8211; do it. \u00a0It makes life easier \ud83d\ude42<\/em><\/p>\n<p><figure id=\"attachment_1078\" aria-describedby=\"caption-attachment-1078\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1078\" alt=\"Checking the IP address of the router\" src=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP6-450x292.png\" width=\"450\" height=\"292\" srcset=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP6-450x292.png 450w, http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP6.png 888w\" sizes=\"auto, (max-width: 450px) 85vw, 450px\" \/><\/a><figcaption id=\"caption-attachment-1078\" class=\"wp-caption-text\">Checking the IP address of the router<\/figcaption><\/figure><\/li>\n<li>Select the &#8220;System&#8221; tab at the top,then select &#8220;Startup&#8221;\n<p><figure id=\"attachment_1077\" aria-describedby=\"caption-attachment-1077\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1077\" alt=\"Getting ready to edit startup files\" src=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP7-450x292.png\" width=\"450\" height=\"292\" srcset=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP7-450x292.png 450w, http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP7.png 888w\" sizes=\"auto, (max-width: 450px) 85vw, 450px\" \/><\/a><figcaption id=\"caption-attachment-1077\" class=\"wp-caption-text\">Getting ready to edit startup files<\/figcaption><\/figure><\/li>\n<li>Scroll down to the bottom to see a section titled &#8220;Local Startup&#8221;<\/li>\n<li>Add the following lines to the file as pictured\n<p><em>usbipd -D<\/em><br \/>\n<em>usbip bind -b 1-1<\/em><\/p>\n<p><figure id=\"attachment_1076\" aria-describedby=\"caption-attachment-1076\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1076\" alt=\"Inserting the USBIP startup code\" src=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP8-450x292.png\" width=\"450\" height=\"292\" srcset=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP8-450x292.png 450w, http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP8.png 888w\" sizes=\"auto, (max-width: 450px) 85vw, 450px\" \/><\/a><figcaption id=\"caption-attachment-1076\" class=\"wp-caption-text\">Inserting the USBIP startup code<\/figcaption><\/figure><\/li>\n<li>Click submit<\/li>\n<li><em>NOTE : (Optional but recommended)\u00a0<\/em>Remember to set the password for the router&#8217;s web interface, follow the on-screen prompts!<\/li>\n<li>Ensure the Up! printer [Or other USB device] is powered on and connected to the router&#8217;s USB port.<\/li>\n<li>Power cycle the router<\/li>\n<\/ol>\n<h2>Setting up the Windows PC<\/h2>\n<ol>\n<li>On the Windows PC, download the USBIP client from<br \/>\n<a href=\"http:\/\/sourceforge.net\/projects\/usbip\/files\/usbip_windows\/usbip_windows_v0.2.0.0_signed.zip\/download\" target=\"_blank\">http:\/\/sourceforge.net\/projects\/usbip\/files\/usbip_windows\/usbip_windows_v0.2.0.0_signed.zip\/download<\/a><\/li>\n<li>Unzip the file and follow the instructions in USAGE\u00a0for your particular version of windows<br \/>\n<em>NOTE : It is recommended you unzip to a nice short path, I used\u00a0d:\\usbip_windows_v0.2.0.0_signed<\/em><\/li>\n<li>Open up a command window (Click the Start Button, Run, type in &#8220;cmd&#8221; then press enter)<\/li>\n<li>Navigate the the nice short path you&#8217;ve unzipped the USBIP client to \ud83d\ude1b e.g.\n<p><em>d:<br \/>\n<\/em><em>cd\u00a0d:\\usbip_windows_v0.2.0.0_signed<\/em><\/li>\n<li>Run the command\n<p><em><em>usbip -a <strong>192.168.0.11<\/strong> 1-1<\/em><\/em>Of course, replace the IP address with your own one noted in Step 8 of the router section above.<strong><em>NOTE : This is where firewall dialog screens might pop up, allow it (USBIP) through!<br \/>\n<em>NOTE : Recommended, set up a batch script to run this command&#8230; again it makes life easier \ud83d\ude42<\/em><br \/>\n<\/em><\/strong><\/li>\n<li>If successful you should hear the Windows sound for the USB device connection and your dialog should look like the following with a &#8220;Receive sequence: &#8230;&#8221; number that increases when the USB device is in use.\n<p><figure id=\"attachment_1075\" aria-describedby=\"caption-attachment-1075\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1075\" alt=\"Connect to the router's IP address using USBIP\" src=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP9-450x222.png\" width=\"450\" height=\"222\" srcset=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP9-450x222.png 450w, http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP9.png 668w\" sizes=\"auto, (max-width: 450px) 85vw, 450px\" \/><\/a><figcaption id=\"caption-attachment-1075\" class=\"wp-caption-text\">Connect to the router&#8217;s IP address using USBIP<\/figcaption><\/figure><\/li>\n<li>Test your device\/printer. \u00a0Yup, my printer is visible from downstairs (printer is upstairs). \u00a0Oh yes I&#8217;m using an old Up! software&#8230;if it aint broke I aint upgrading it!\n<p><figure id=\"attachment_1074\" aria-describedby=\"caption-attachment-1074\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1074\" alt=\"All good! Wireless USB working!\" src=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP10-450x298.png\" width=\"450\" height=\"298\" srcset=\"http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP10-450x298.png 450w, http:\/\/www.madox.net\/blog\/wp-content\/uploads\/2013\/01\/USBIP10.png 883w\" sizes=\"auto, (max-width: 450px) 85vw, 450px\" \/><\/a><figcaption id=\"caption-attachment-1074\" class=\"wp-caption-text\">All good! Wireless USB working<\/figcaption><\/figure><\/li>\n<\/ol>\n<h2>Short Explanations&#8230;<\/h2>\n<p>Hope you managed to get it all working. \u00a0Most of the instructions in the router section is basic WiFi configuration, feel free to adapt it to your own needs. \u00a0The main component is steps 9 through 11 where adding the two lines starts up the USBIP daemon, and binds the first USB device to USBIP. \u00a0Yup, the above only works for a single device connected to the USB port. \u00a0Since the TL-WR703N only has one port, this shouldn&#8217;t be a problem in most cases. \u00a0However if you&#8217;re using a USB hub, then you might need to change some stuff&#8230;<\/p>\n<p>If you connect to the router via telnet\/ssh after the daemon has been loaded (&#8220;<em>usbipd -D&#8221;)<\/em>\u00a0then you can run &#8220;<em>usbip list -l<\/em>&#8220;. \u00a0This lists out all the connected devices on the USB bus and their handles. \u00a0e.g. If I only had my Up! printer connected, then I would see\u00a0(0475:0001) on bus 1-1. \u00a0The codes\u00a00475:0001 is the vendor ID and product ID of the Up! printer. \u00a0So if you have multiple items on the router USB (not recommended) you&#8217;ll have to tweak the &#8216;bind&#8217; line in the start-up file.<\/p>\n<p>Also on my main project page, someone has suggested using the 0.1.0.0 version of the Windows client if the 0.2.0.0 fails to behave. \u00a0Your mileage may vary with this one, I&#8217;ve only tried the 0.2.0.0 version.<\/p>\n<p>Have fun! Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So it has taken me over three months of procrastination of building a USBIP image that will let me connect to my 3D printer wirelessly to actually writing up a tutorial to share it with the world. \u00a0This tutorial provides the basics of setting up a fresh TP-Link TL-WR703N image to wirelessly connect a Windows &hellip; <a href=\"http:\/\/www.madox.net\/blog\/2013\/01\/04\/tl-wr703n-example-project-3-wireless-3d-printing-or-2d-printing-or-just-simply-wireless-usb\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;TL-WR703N Example Project 3 : Wireless 3D printing (or 2D printing or just simply wireless USB)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[53],"class_list":["post-1073","post","type-post","status-publish","format-standard","hentry","category-engineering","tag-tl-wr703n"],"_links":{"self":[{"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/posts\/1073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/comments?post=1073"}],"version-history":[{"count":9,"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/posts\/1073\/revisions"}],"predecessor-version":[{"id":1115,"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/posts\/1073\/revisions\/1115"}],"wp:attachment":[{"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/media?parent=1073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/categories?post=1073"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.madox.net\/blog\/wp-json\/wp\/v2\/tags?post=1073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}