Editing USB to ethernet networking

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
With [[USB host mode]] it's possible to setup and utilize a wired network connection for times when you don't have access to WiFi (e.g., hotel rooms). Although it's possible to carry around a small WiFi router, it's frequently more cost effective and convenient to connect the tablet to the wired connection directly.
+
Thanks to the USB Host mode it's possible to setup and utilize a wired network connection for those times when you want to use your IT but don't have access to wifi (or there just isn't any wifi around to use). A good example of this type of scenario is in hotel rooms while traveling around; most have wired high speed connections in the rooms but don't offer any kind of wifi connectivity. Although it's possible to carry around a small wifi router, it can be a bit more cost effective and convenient to connect the tablet to the wired connection directly.
-
== Pre-requisites ==
+
In order to do this you need to make sure that you have USB Host mode up and working properly (whether via cable or software switch; see the [[HOWTO: USB Host mode on the N800 using OS 2008]] entry for details). OS 2008 natively supports USB adapters based upon the RTL8150 chipset such as the Linksys USB100M; however it's possible to find other devices that are supported by custom compiled modules.
-
In order to do use a USB ethernet adaptor, you'll need to make sure that you have [[USB host mode]] up and working properly (with an OTG cable or a software switch). OS2008 natively supports USB adapters based upon the RTL8150 chipset such as the [http://i.i.com.com/cnwk.1d/sc/7767395-2-200-0.gif Linksys USB100M]; however it's possible to find other devices that are supported by custom compiled modules.
+
If you're looking for a "ready to go" solution simply pick up a supported USB100M along with your USB OTG adapter from [http://www.electronicproductonline.com/catalog/product_info.php?cPath=35_67&products_id=2043 here].
-
If you're looking for a "ready to go" solution  simply  pick up a supported USB100M along with your [http://www.electronicproductonline.com/catalog/product_info.php?cPath=35_67&products_id=2043 USB OTG adapter].
+
Once you've got some compatible hardware ready to go, the easiest step is to next install the USB LAN Package. <del>Simply open the following link on the tablet's web browser to install the package into the Application Manager:
 +
[http://www.electronicproductonline.com/~electron/catalog/supportFiles/usbLAN_0.1_armel.deb]</del>
 +
<ins style="font-weight:bold">The USB LAN Package has been updated to overcome the OTG removal problem. You can get a copy of the updated package to install into the Application Manager[http://www.electronicproductonline.com/~electron/catalog/supportFiles/usbLAN_0.4.6_armel.deb].
 +
The updated version of the package utilizes the dbus-scripts package, which can also be easily installed by following this link[http://www.electronicproductonline.com/~electron/catalog/supportFiles/dbus-scripts_1.0.3_armel.deb]  on your tablet.</ins>
-
== Setup ==
+
'''The USB LAN Package has been updated to support the latest version of Diablo as of 08/21/08; if you're having problems make sure that you have version 0.4.6 installed.'''
-
 
+
-
Once you've got some compatible hardware ready to go, the easiest step is to next install the [http://www.electronicproductonline.com/~electron/catalog/supportFiles/usbLAN_0.4.6_armel.deb USB LAN package]. The updated version of the package utilizes the [http://www.electronicproductonline.com/~electron/catalog/supportFiles/dbus-scripts_1.0.3_armel.deb dbus-scripts package], which can also be easily installed by following this.
+
The package will setup a few scripts and install all of the additional USB LAN drivers that are available for the OS:
The package will setup a few scripts and install all of the additional USB LAN drivers that are available for the OS:
 +
<ul>
 +
<li>catc.ko</li>
 +
<li>dm9601.ko</li>
 +
<li>kaweth.ko</li>
 +
<li>mcs7830.ko</li>
 +
<li>pegasus.ko</li>
 +
<li>rt73.ko (Added in 0.4.6 for external USB Wifi adapters)</li>
 +
</ul>
-
catc.ko
+
(Anyone who knows other commonly supported and tested working devices using these drivers, please add them to the end of this entry).
-
dm9601.ko
+
-
kaweth.ko
+
-
mcs7830.ko
+
-
pegasus.ko
+
-
rt73.ko ''(Added in 0.4.6 for external USB Wifi adapters)''
+
-
 
+
-
<small>''Note: anyone who knows of other commonly supported and tested working devices using these drivers, please add them to the end of this entry.''</small>
+
-
 
+
-
=== Step by step ===
+
-
<ol>
+
-
<li>Install the [http://www.electronicproductonline.com/~electron/catalog/supportFiles/dbus-scripts_1.0.3_armel.deb dbus-scripts package].</li>
+
-
<li>Install the [http://www.electronicproductonline.com/~electron/catalog/supportFiles/usbLAN_0.4.6_armel.deb USB LAN package].</li>
+
-
</ol>
+
 +
<h3>Step by Step</h3>
<ol>
<ol>
 +
<li>Install Dbus-scripts by clicking [http://www.electronicproductonline.com/~electron/catalog/supportFiles/dbus-scripts_1.0.3_armel.deb here]
 +
</li>
 +
<li>Install USB LAN Package by clicking [http://www.electronicproductonline.com/~electron/catalog/supportFiles/usbLAN_0.4.6_armel.deb here]
 +
</li>
</ol>
</ol>
Once the packages are installed any RTL8150 device will operate as follows:
Once the packages are installed any RTL8150 device will operate as follows:
-
 
<ol>
<ol>
<li>Connect USB device to LAN cabling.</li>
<li>Connect USB device to LAN cabling.</li>
-
<li>Connect USB device to the tablet.</li>
+
<li>Connect USB device to ITT.</li>
-
<li>Wait for the USB messages to popup ("USB Device Not Supported", "No Filesystem Found").</li>
+
<li>Wait for USB messages to popup ("USB Device Not Supported", "No Filesystem Found").</li>
<li>Launch your web browser or whatever application you want to use.</li>
<li>Launch your web browser or whatever application you want to use.</li>
 +
<li><del>The "choose connection" dialog box should appear; select "WIRED" from the list. (If you don't have any bluetooth connections and there isn't any wifi around it will be the only one on the list).</del><ins>As of Version 0.4.6 this step is no longer needed; as soon as you connect the adapter the "WIRED" connection will automatically be selected.</ins></li>
<li>Surf and enjoy.</li>
<li>Surf and enjoy.</li>
</ol>
</ol>
-
<ol>
+
For devices other than those based on the RTL8150 you'll manually need to call "usbEthUp.sh" after you connect your device, and "usbEthDown.sh" after you remove it to get the network settings in place. These scrips can be found at /usr/sbin
-
</ol>
+
-
''For devices other than those based on the RTL8150 you'll manually need to call <code>'''usbEthUp.sh'''</code> after you connect your device, and <code>'''usbEthDown.sh'''</code> after you remove it to get the network settings in place. These scrips can be found in <code>/usr/sbin</code>.
+
When you're done with your wired connection simply unplug the network adapter from the USB host cable (this lets the tablet recognize that the adapter has been unplugged), then disconnect your host cable from the tablet (and manually set it out of host mode if required).
-
''
+
Also, don't forget to choose "Disconnect" from the connection window (click on the little wifi icon), or your tablet will try to stay connected to "WIRED" until you restart or manually force a new connection.
-
<ol>
+
-
</ol>
+
-
When you're done with your wired connection simply unplug the network adapter from the USB host cable (this lets the tablet recognize that the adapter has been unplugged), then disconnect your host cable from the tablet (and manually set it out of host mode if required). Also, don't forget to choose "Disconnect" from the connection window (click on the little WiFi icon), or your tablet will try to stay connected to "'''WIRED'''" until you restart or manually force a new connection.
+
-
== Performance ==
+
----
-
Do not expect a wired connection to help you gain faster transfer speeds. In testing, it has been found that the CPU on the tablet maxes out at approximate 5-7Mbps, well beneath the threshold of wired networks or USB connectivity.
+
<h3>Performance</h3>
 +
Do not expect a wired connection to help you gain faster transfer speeds. In testing I've found that the CPU on the tablet maxes out at approximate 5-7 Mbps, well beneath the threshold of Wired networks or USB connectivity. (Can others support to debunk this?)
-
There is also an important consideration regarding the type of network adapter you select to use. The Linksys USB100M for example is only listed as USB 1.1, not USB 2.0, but still functions above the maximum sustainable speed of the tablet. Conversely, while the USB 2.0 version of the same device should work, it required additional drivers and actually requests more power than the USB OTG bus on the tablet is willing to provide, so you'd end up needing an externally powered USB hub to use it. Thus while the USB 2.0 adapter might seem better, in actually for the tablets it's actually a worse choice.
+
This is also an important consideration regarding the type of network adapter you select to use. The Linksys USB100M for example is only listed as USB 1.1, not 2.0, but still functions above the maximum sustainable speed of the tablet. Conversely, while the 2.0 version of the same device should work, it required additional drivers and actually requests more power than the USB OTG chip in the Tablet is willing to provide, so you'd end up needing an externally powered USB hub to use it. Thus while the USB 2.0 adapter might seem better, in actually for the ITs it's a worse choice.
-
== Tested Devices ==
+
(Information about setting up static IPs/etc coming in the near future).
-
How to test:
+
----
-
# Make sure you have the latest driver and scripts installed as noted above. You will also need [[root access]] installed.
+
<h3>Tested Devices</h3>
-
# Open XTerm.
+
-
# Connect your USB adapters (including OTG adapter if you are using that product).
+
-
# Connect your USB ethernet device.
+
-
#You will see error messages that can be ignored.
+
-
# Run <code>sudo becomeroot</code> in XTerm.
+
-
# Run <code>/usr/sbin/usbEthUp.sh</code>.
+
-
# Note messages.  A successful connection will be indicated by an acquired IP address (<cod>Lease ''xxx''.''xxx''.''xxx''.''xxx'' obtained</code>, where <code>''xxx''</code> represents parts of an IP address).
+
-
# Run <code>dmesg</code>.
+
-
# Scroll up through messages until you discover text describing the ethernet adapter, containing codes prefixed by v (vendor code) and p (product code). The characters following v and p will be entered into the appropriate fields as shown below.
+
-
# Any unknown information should be added after the corresponding field as ''Unknown''.
+
-
The following USB ethernet devices have been tested:
+
How to test:
-
 
+
-
==== Crystal Blue USB to Ethernet 10/100 LAN Adapter ====
+
-
 
+
-
* '''Ethernet chipset:''' [http://www.davicom.com.tw/page1.aspx?no=143762 Davicom DM9601 USB Ethernet]
+
-
* '''Vendor ID:''' 0a46
+
-
* '''Product ID:''' 9601
+
-
* '''External power required:''' No
+
-
* '''Functionality:''' Success is sporadic with these; they are technically okay, but lacking in reliability.  Out of 4 tested by me, only 2 worked.
+
-
* '''Cost:''' Low to very low
+
-
* '''Status:''' <span style="color: red">Not recommended</span>
+
-
* '''Notes:''' This adapter is seen all over eBay, usually in translucent blue but variants are also found in clear, white and black.  FYI, there is a [http://readlist.com/lists/freebsd.org/freebsd-current/10/52177.html FreeBSD patch] to get it to work on that OS.
+
-
* '''Tested by:''' Texrat
+
-
 
+
-
==== SMC EZ Connect USB 2202USB/ETH ====
+
-
 
+
-
* '''Ethernet chipset:''' ADMtek ADM8511
+
-
* '''Vendor ID:''' 0707
+
-
* '''Product ID:''' 0200
+
-
* '''External power required:''' No
+
-
* '''Functionality:''' Works very well, very quick internet access
+
-
* '''Cost:''' Moderate to low
+
-
* '''Status:''' <font color=green>Highly recommended</font>
+
-
* '''Notes:''' Adapter did not work with earlier releases of tablet driver.  Uses detachable USB pigtail.
+
-
* '''Tested by:''' Texrat
+
-
 
+
-
==== Targus ACP50 universal notebook hub ====
+
-
 
+
-
* '''Ethernet chipset:''' ADMtek 8515
+
-
* '''Vendor ID:''' 0451 (hub)
+
-
* '''Product ID:''' 2036 (hub)
+
-
* '''Vendor ID:''' 07a6 (ethernet)
+
-
* '''Product ID:''' 8515 (ethernet)
+
-
* '''External power required:''' Yes
+
-
* '''Functionality:''' Works well, very stable
+
-
* '''Cost:''' High to moderately high
+
-
* '''Status:''' <span style="color: green">Recommended</span>
+
-
* '''Notes:''' Hub loses ethernet and USB functionality if it is simultaneously used as USB charging solution for the tablet.
+
-
* '''Tested by:''' Texrat
+
-
 
+
-
==== Trendnet TU-ET100C ====
+
-
* '''Ethernet chipset:''' ADMtek ADM8511 "Pegasus II"
+
1. Make sure you have the latest driver and scripts installed as noted above.  You will also need becomeroot installed<br>
-
* '''Vendor ID:''' 07a6
+
2. Open xterm on your internet tablet<br>
-
* '''Product ID:''' 8511
+
3. Connect your usb adapters (including OTG adapter if you are using that product)<br>
-
* '''External power required:''' No
+
4. Connect your usb ethernet device<br>
-
* '''Functionality:''' Works well, very stable
+
5. You will see error messages that can be ignored<br>
-
* '''Cost:''' US$15-25 as of October 2008
+
6. Type <b>sudo becomeroot</b> into xterm and press Enter<br>
-
* '''Status:''' <span style="color: green">Recommended</span>
+
7. Type <b>/usr/sbin/usbEthUp.sh</b> into xterm and press Enter<br>
-
* '''Notes:''' Non-detachable tail, approximately 3 feet long. Only one lightAddendum by Texrat: [http://talk.maemo.org/forums/showpost.php?p=242053&postcount=88 noted by one tester] as drawing an unusually high amount of current ("more than N810's 192 mA limit").
+
8. Note messagesA successful connection will be indicated by an acquired IP address (<b>Lease xxx.xxx.xxx.xxx obtained</b>, where xxx. represents parts of an IP address)<br>
-
* '''Tested by:''' SKarp
+
9. Type <b>dmesg</b> into xterm and press Enter<br>
 +
10. Scroll up through messages until you discover text describing the ethernet adapter, containing codes prefixed by v (vendor code) and p (product code). The characters following v and p will be entered into the appropriate fields as shown below<br>
 +
11. Any unknown information should be added after the corresponding field as <b>Unknown</b><br>
-
==== Netgear EA101 USB Ethernet ====
+
The following usb ethernet devices have been tested with this solution:
-
* '''Ethernet chipset:''' Kawasaki LSI KL5KLUSB101B
+
<b>Model:</b> Crystal Blue USB to Ethernet 10/100 LAN Adapter<br>
-
* '''Vendor ID:''' 0846
+
<b>Ethernet chipset:</b> Davicom DM9601 USB Ethernet http://www.davicom.com.tw/page1.aspx?no=143762<br>
-
* '''Product ID:''' 1001
+
<b>Vendor ID:</b> 0a46<br>
-
* '''External power required:''' No
+
<b>Product ID:</b> 9601<br>
-
* '''Functionality:''' Works well, quick internet access
+
<b>External power required:</b> No<br>
-
* '''Cost:''' Moderate to low
+
<b>Functionality:</b> Success is sporadic with these; they are technically okay, but lacking in reliability.  Out of 4 tested by me, 2 worked<br>
-
* '''Status:''' <span style="color: green">Recommended</span>
+
<b>Cost:</b> Low to very low<br>
-
* '''Notes:''' Form factor is a bit bulky, but it has indicator lights for power, link/activity and packet collisionsUses detachable USB pigtail.  [http://www.mavetju.org/mail/view_message.php?list=freebsd-doc&id=1493000 Other adapters] that use this chipset are the LinkSys USB10T, the 3Com 3c19250, the ADS Technologies USB-10BT, the Peracom USB Ethernet Adapter, the Entrega NET-USB-E45 and NET-HUB-3U1E, the ATen UC10T, the D-Link DSB-650, Corega USB-T and the SMC 2102USB and 2104USB.
+
<b>Status:</b> <font color=red>Not recommended</font><br>
-
* '''Tested by:''' Texrat
+
<b>Notes:</b> This adapter is seen all over ebay, usually in translucent blue but variants are also found in clear, white and blackFYI, a freebsd patch to get it to work on that OS is posted at http://readlist.com/lists/freebsd.org/freebsd-current/10/52177.html<br>
 +
<b>Tested by:</b> Texrat<br><br>
-
==== DIGITUS 10/100 Mbps Fast Ethernet USB adapter DN-3015 ====
+
<b>Model:</b> SMC EZ Connect USB 2202USB/ETH<br>
 +
<b>Ethernet chipset:</b> ADMtek ADM8511<br>
 +
<b>Vendor ID:</b> 0707<br>
 +
<b>Product ID:</b> 0200<br>
 +
<b>External power required:</b> No<br>
 +
<b>Functionality:</b> Works very well, very quick internet access<br>
 +
<b>Cost:</b> Moderate to low<br>
 +
<b>Status:</b> <font color=green>Highly recommended</font><br>
 +
<b>Notes:</b> Adapter did not work with earlier releases of tablet driver.  Uses detachable usb pigtail<br>
 +
<b>Tested by:</b> Texrat<br><br>
-
* '''Ethernet chipset:''' RTL8150 Fast Ethernet Adapter
+
<b>Model:</b> Targus ACP50 universal notebook hub (various ports; US and European versions available)<br>
-
* '''Vendor ID:''' 0x0bda Realtek Semiconductor Corp
+
<b>Ethernet chipset:</b> ADMtek 8515<br>
-
* '''Product ID:''' 0x8150 RTL8150 Fast Ethernet Adapter
+
<b>Vendor ID:</b> 0451 (hub)<br>
-
* '''External power required:''' No
+
<b>Product ID:</b> 2036 (hub)<br>
-
* '''Functionality:''' Works well
+
<b>Vendor ID:</b> 07a6 (ethernet)<br>
-
* '''Cost:''' 13€ (Feb. 2009)
+
<b>Product ID:</b> 8515 (ethernet)<br>
-
* '''Status:''' <span style="color: green">Recommended</span>
+
<b>External power required:</b> Yes<br>
-
* '''Tested by:''' walto
+
<b>Functionality:</b> Works well, very stable<br>
 +
<b>Cost:</b> High to moderately high<br>
 +
<b>Status:</b> <font color=green>Recommended</font><br>
 +
<b>Notes:</b> Hub loses ethernet and usb functionality if it is simultaneously used as USB charging solution for tablet<br>
 +
<b>Tested by:</b> Texrat<br><br>
-
==== Apple USB Ethernet Adapter: Model No. A1277 EMC No. 2147, 825-7098-A ====
+
<b>Model:</b> Trendnet TU-ET100C<br>
 +
<b>Ethernet chipset:</b> ADMtek ADM8511 "Pegasus II"<br>
 +
<b>Vendor ID:</b> 07a6<br>
 +
<b>Product ID:</b> 8511<br>
 +
<b>External power required:</b> No<br>
 +
<b>Functionality:</b> Works well, very stable<br>
 +
<b>Cost:</b> US$15-25 as of October 2008<br>
 +
<b>Status:</b> <font color=green>Recommended</font><br>
 +
<b>Notes:</b> Non-detachable tail, approximately 3 feet long.  Only one light.  Addendum by Texrat: noted by one tester as drawing an unusually high amount of current ("more than N810's 192 mA limit").  See http://internettablettalk.com/forums/showpost.php?p=242053&postcount=88<br>
 +
<b>Tested by:</b> SKarp<br><br>
-
* '''Ethernet chipset:'''  ASIX AX88772 USB 2.0 Ethernet
+
<b>Model:</b> Netgear EA101 USB Ethernet<br>
-
* '''Vendor ID:''' 0x05ac Apple, Inc.
+
<b>Ethernet chipset:</b> Kawasaki LSI KL5KLUSB101B <br>
-
* '''Product ID:''' 0x1402 Ethernet Adapter [A1277]
+
<b>Vendor ID:</b> 0846<br>
-
* '''External power required:''' No (works for 3 hours starting a full battery with h-e-n)
+
<b>Product ID:</b> 1001<br>
-
* '''Functionality:''' Works well [[USB Ethernet and Host Mode]]
+
<b>External power required:</b> No<br>
-
* '''Status:''' <span style="color: green">Recommended</span>
+
<b>Functionality:</b> Works well, quick internet access<br>
-
* '''Tested by:''' [[Users:stuart23]]
+
<b>Cost:</b> Moderate to low<br>
 +
<b>Status:</b> <font color=green>Recommended</font><br>
 +
<b>Notes:</b> Form factor is a bit bulky, but it has indicator lights for power, link/activity and packet collisions.  Uses detachable usb pigtail.  Other adapters that use this chipset are the LinkSys USB10T, the 3Com 3c19250, the ADS Technologies USB-10BT, the Peracom USB Ethernet Adapter, the Entrega NET-USB-E45 and NET-HUB-3U1E, the ATen UC10T, the D-Link DSB-650, Corega USB-T and the SMC 2102USB and 2104USB (from http://www.mavetju.org/mail/view_message.php?list=freebsd-doc&id=1493000)<br>
 +
<b>Tested by:</b> Texrat<br><br>
-
== Wishlist ==
+
<b>Model:</b> DIGITUS 10/100 Mbps Fast Ethernet USB adapter DN-3015<br>
 +
<b>Ethernet chipset:</b> RTL8150 Fast Ethernet Adapter<br>
 +
<b>Vendor ID:</b> 0x0bda Realtek Semiconductor Corp<br>
 +
<b>Product ID:</b> 0x8150 RTL8150 Fast Ethernet Adapter<br>
 +
<b>External power required:</b> No<br>
 +
<b>Functionality:</b> Works well<br>
 +
<b>Cost:</b> EUR 13.- (Feb. 2009)<br>
 +
<b>Status:</b> <font color=green>Recommended</font><br>
 +
<b>Tested by:</b> walto<br><br>
 +
----
-
* Automatic detection and activation of all devices passing functionality test (i.e., plug and play).
+
<h3>Wishlist</h3>
-
* advanced control panel configuration (helpful for static IP, etc).
+
-
*Working links and specific instructions for H-E-N, N900 scripts, and kernel modules.
+
-
[[Category:USB]]
+
<ul>
-
[[Category:Connectivity]]
+
<li>automatic detection and activation of all devices passing functionality test (i.e., plug and play)</li>
-
[[Category:OS2008]]
+
<li>advanced control panel configuration (helpful for static IP, etc)</li>
-
[[Category:Power users]]
+
</ul>

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)