I have a micro USB to USB adapter which works great with stick mount and storage on stock root but also have a Plugable USB 2.0 to RJ-45 adapter which I would like to be able and use to connect directly to a router/ modem for internet connection. Being in IT, this would be a very handy tool for me to test connections and cables and diagnose some network issues without needing a computer. On that note, it would also be really awesome to know if it is possible to connect a modem to the Nexus 7 and use it as a wireless router if I need a temporary fix.
I have done some searching on the Plugable USB adapter and from the sound of it, it is possible to add the drivers to a kernel, they do support android 3.2+, including one of Toshiba's android tablets. When I tried to connect my Nexus 7 to my router, both lights lit up on the adapter showing that there was some kind of connection being made between the devices, beyond that I could not get internet with wireless disabled.
If anybody has the time to look into something like this, I would really appreciate it! Even the same capability for my GNexus would be awesome.
Adapter:
http://www.amazon.com/Plugable-Gigabit-Ethernet-Network-Adapter/dp/B003VSTDFG
Thanks for reading!
The OG Transformer had a thread dedicated to adding driver support for various USB Ethernet adapters. The problem is that it doesn't work with the majority of apps because wired Ethernet is not built into the OS. Unless you're comfortable doing all of your network tests via command line, it's going to be a while before you can do anything useful with a wired connection on Android.
would anyone tell me if any of the 2 will work with HTC Desire HD android revolution 7.0?
Plugable USB 2.0 to 10/100 Fast Ethernet LAN Network RJ45 Adapter (ASIX AX88772 chipset)
or
Plugable USB 2.0 to 10/100/1000 Gigabit Ethernet LAN Network Adapter (ASIX AX88178 Chipset)
The 10/100 should work. Don't think Gigabit is compatible as far as I can tell.
Sent from my Nexus 7 using Tapatalk 2
brycetrem said:
The 10/100 should work. Don't think Gigabit is compatible as far as I can tell.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
thanks for your reply, how do you know this? you tried?
I saw someone get an USB-ethernet working in pictures and poosibly a video in another OTG thread, but I'd like to know if there was an app or special programming involved. About to go back to a dorm with 250 ppl using the wifi, and if I can plug my upcoming tablet or even my phone into the room's ethernet, it'd be huge. We do know it's supposed to be covered somehow in the OTG support of the device. -Ara
Sent from my SAMSUNG-SGH-I927 using xda app-developers app
I'm using a rooted N7 with the stock kernel.
The Apple USB-to-Ethernet adapter works out of the box with an OTG cable, if you need a recommendation.
Cheers,
Kermee
P.S. It's a 10/100 adapter but using the new CIFS module for the stock kernel with the back-ported async support, I get on average 9.5MB/s transfers over SMB which is basically full 100Mbps.
Kermee said:
I'm using a rooted N7 with the stock kernel.
The Apple USB-to-Ethernet adapter works out of the box with an OTG cable, if you need a recommendation.
Cheers,
Kermee
P.S. It's a 10/100 adapter but using the new CIFS module for the stock kernel with the back-ported async support, I get on average 9.5MB/s transfers over SMB which is basically full 100Mbps.
Click to expand...
Click to collapse
So you just plug it in and it works? No set up or anything needed?
Hello,
I have a USB OTG cable and dell keyboard that I have tested and work in OTG mode on a Nexus 7, however i cannot get them to function with my HP Touchpad 32gb, running CM9 2.6.35, built on Sun Oct 28.
The device recognizes when I plug in anything via USB, but only as a generic Linux USB hub, and not as any particular device. Are there any steps to take to debug this? Has anyone had experience with this type of an issue?
Thanks for your help,
Cory
I don't know if this is the issue, but I know the touchpad doesn't support OTG like the the Nexus does. I think you need a Y-adapter + OTG to provide power since the micro usb port doesn't give any power to the device you connect. Someone correct me if I'm wrong though.
Apparently even a powered USB requires a powered Y cable to be properly recognized. I hacked together a quick Y cable manually, by splicing in another USB cable's power and ground (Red and black) to the respective locations on a female USB cable. Works as expected.
I am now communicating with an Arduino over Serial
Thanks!
Read this thread, should give you all the info you need:
http://forum.xda-developers.com/showthread.php?t=1582771
Basically the Touchpad has OTG but it provides no power.
wcdolphin said:
Apparently even a powered USB requires a powered Y cable to be properly recognized. I hacked together a quick Y cable manually, by splicing in another USB cable's power and ground (Red and black) to the respective locations on a female USB cable. Works as expected.
I am now communicating with an Arduino over Serial
Thanks!
Click to expand...
Click to collapse
I'm curious if you are able to charge with this cable hack while using usb devices?
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
ZedZardoz said:
I'm curious if you are able to charge with this cable hack while using usb devices?
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
Click to expand...
Click to collapse
if so , he is the first of the many many many who has used this cable..HPTP just is not set up for charge + usb data at the same time
amkaos said:
if so , he is the first of the many many many who has used this cable..HPTP just is not set up for charge + usb data at the same time
Click to expand...
Click to collapse
Agreed. I think people just are not stating reality regarding the ability to charge and use OTG Hosting to USB devices at the same time.
My goal here has been to attach a flash drive with video/audio media and play & charge on long flights. It looks like play, charge are mutually exclusive on my beloved TouchPad.
I've asked for the specific confirmation of this from this YouTube but have never had the poster reply:
https://www.youtube.com/watch?v=p10LgZFIawo&feature=BFa&list=PLCED27D4A23068E04&index=7
There are devices out there that have very advanced micro USB device implementations. Sadly the HP is only superficially supportive.
I for one cannot wait to get my SGN2 smart dock which offers:
Charging
OTG (x3 USB)
Audio out
HML HDMI out
Docked Profile
I just tried an experiment, and much to my surprise and delight, it worked.
I hooked up an Apple USB to Ethernet adapter (which I use with my original MacBook Air) to the N10 via a micro USB to OTG USB adapter, turned off the N10's WiFi, and the N10 connected just fine via the adapter to my wired Ethernet.
There is no extra software or driver needed on the N10. There are no N10 settings whatsoever for wired Ethernet that I could find, and my DHCP server on the wired Ethernet just gave the N10 its IP and gateway and DNS automatically. Turn off the N10 WiFi and connect the wired Ethernet, and it works just as expected. Unplug the wired connection and turn on the N10 WiFi, and the WiFi connection works just as expected.
No interference at all with StickMountPro which I have installed, (though StickMount isn't working reliably for me at all on the N10).
For those of you who don't happen to have an extra Apple USB to Ethernet adapter hanging around, there is a MUCH MUCH cheaper adapter available from BobjGear which is reported to work great with the Nexus10 (and many other Android tablets as well). The BobjGear store on Amazon has it here for about $17. The main BobjGear web site mentions that it works with the N10, as does a message BobJ left on another forum, even though the Amazon ad doesn't appear to be updated to reflect that it works with the N10 yet. If you don't already have a micro USB to OTG adapter, BobjGear sells them too, also cheaply, along with hdmi adapters, and you can get them for a buck off if you buy at the same time as the Ethernet adapter. Note that not only am I not a BobjGear shill, I haven't even purchased any BobjGear stuff since I already had everything I needed, but $17 is less than (Apple's) $29...
Wow very cool find, definitely a niche use case but something I would certainly throw in my bag of tricks.
I see what you did.... Edit: cool to have when places don't have WiFi.
Sent from my Nexus 10 using xda premium
leyvatron said:
I see what you did.... Edit: cool to have when places don't have WiFi.
Click to expand...
Click to collapse
Not sure what I did , but that's exactly when I plan on using it (and why I was investigating it in the first place). I have a need to run a shell terminal into a device that's on the LAN, but the LAN isn't available wirelessly. Not sure I can think of any other time I'm going to need it, but as was mentioned by punzada, it's nice to have in your bag of tricks. (And since I already had the Apple adapter and OTG adapter, it didn't cost me a dime).
I have yet to check out how well things go when I set my Galaxy Nexus phone to wireless tether and connect to it from the N10. I expect to use this mode way more than direct Ethernet connect. My GN has been providing me 35Mb/s downloads via NYC Verizon LTE, and I expect it to work the same for my N10 as it does for my AirBook. The N10 has much better WiFi than the AirBook.
Next I need to figure out why my NFC doesn't seem to work properly...
Has anyone tried using the Startech usb -> ethernet adapter with their N10?
http://ca.startech.com/Networking-I...gabit-Ethernet-NIC-Network-Adapter~USB21000S2
I'm using SentinelRom 4.00 (CyanogenMod 10.1, 4.2.2 base ) and well, I get nothing, no network connection at all.
I've tested the adapter on an actual computer ( both Mac & Win ) so I know it's not the adapter itself that isn't working.
What I don't understand is why some brands of this type of adapter would work over the others - I would think that they'd be more or less identical.
However, I know this post is from half a year ago practically so I'm not sure if it's the OS itself that has changed or if it's something with the particular custom ROM I'm using.
Astriaal,
If you have access to the router logs, I would check if that device is even seeing your N 10.
Possiblities to investigate:
1) The router may have MAC filtering turned on where it will only issue an IP through DHCP for devices on a list. In most cases a device has different MAC values for WiFi versus their Ethernet connection.
2) Your N10/Router may not have compatible DHCP settings so you are not getting an IP address from the router
3) You forgot to turn off the N10 WiFi before trying to connect through the Ethernet adapter as described in the first post.
4) You require an OTG microUSB to USB cable rather than a regular microUSB to USB cable. OTG cables have circuitry in their connection plugs. Your N10 charging cable does not have the OTG circuitry. See this quote "Works with all tablets and docking stations having a full-sized USB port. Also works with Micro-USB-OTG and Mini-USB-OTG by adding BobjGear OTG Adapter cable. Also Ultrabooks, Macbook, Windows, Linux, Mac, ChromeOS." From a compatible Android Ethernet adapter: http://www.amazon.com/BobjGear-Ethernet-Ultrabooks-ChromeOS-Included/dp/B007RTACDM
Good Luck
tvBilly said:
There is no extra software or driver needed on the N10. There are no N10 settings whatsoever for wired Ethernet that I could find
Click to expand...
Click to collapse
What ROM are you running? This is extremely interesting if you are completely stock/locked, slightly less helpful (in my case) if unlocked, rooted and custom ROM...
Couldn't see this info mentioned...
Stock ROM. Unlocked and rooted.
chaosdefinesorder said:
What ROM are you running? This is extremely interesting if you are completely stock/locked, slightly less helpful (in my case) if unlocked, rooted and custom ROM...
Couldn't see this info mentioned...
Click to expand...
Click to collapse
I used this function on my stock/locked Xoom. I would expect the same from my N10. It seems not all adapters work though. I was using an old Netgear USB adapter.
just found this thread via search
nice to hear that usb -> ethernet adapteres seem to work on the n10.
do you guys have any experience with battery usage with those adapters.
or is there any (custom made) solution for charging and using an adapter at the same time? This would be awesome as some kind of dock.
could using a powered usb hub work? i guess not since usb hubs do not power the host.
edit:
little more searching lead to this: http://www.amazon.com/dp/B009YPYORM/?tag=stackoverfl08-20
people in the comments say that custom kernel with enabled otg charging mode has to be used ? are there any experiences ?
jmueck said:
... is there any (custom made) solution for charging and using an adapter at the same time? ...
Click to expand...
Click to collapse
Although my USB Ethernet adapter has not arrived yet, I intend to use my pogo plug charger and the OTG cable/Ethernet adapter at the same time. I have tested Pogo plug charging while using an OTG/SD card reader. Concurrent Pogo charging while accessing OTG attached storage was a non issue, so I do not expect the Ethernet adapter to be any differently.
I did take a chance on which USB Ethernet adapter to purchase, going with the only Gigabit Ethernet USB adapter I could find. The ones on Amazon are only "Fast" Ethernet (100 Mbit/s). Anpou USB 2.0 Gigabit Ethernet Adapter
The one thing I've noticed is that removing an OTG connected device has caused the N10 to reboot. I attribute that issue to not unmounting the USB SD Card reader before detaching (Settings->Storage->Unmount USB. Scroll to the bottom for that setting). Although I have had one instance of a reboot just by attaching the USB SD card reader.
Considering I just received the OTG cable I am not ready to blame the custom ROM. I need to investigate further including asking questions in the ROM's thread. Right now I am using the custom ROM SentinelROM v4.10 and the KTManta kernel.
I suspect that all OTG ready ROM's can do what this one can. When my Ethernet adapter arrives I will post on how things worked out.
3DSammy said:
When my Ethernet adapter arrives I will post on how things worked out.
Click to expand...
Click to collapse
thanks a lot. would be awesome if that works out. using usb tethering as a virtual network connection kind of sucks
1st round TKO
Well that was a bust. My Ethernet adapter arrived yesterday but they did not ship what was advertised. As in my post above I ordered a Gigabit USB adapter and I received a Fast Ethernet adapter. The invoice says one thing and the adapter and its packaging another. The SKU number on the invoice, their web site and the packaging all matched so it is likely they do not have a Gigabit Ethernet adapter. Obviously I have contacted the retailer asking for a full refund.
The adapter could be easily taken out of the packaging so I gave it a try and here is what I found (All tablet testing was performed with a proven OTG microUSB to USB connector):
1) It works as a 100Mbps Ethernet adapter with my laptop. Interesting that it was not recognized by Win8 but it would auto-connect under Ubuntu 13.04. Speeds were what you would expect. As I was only trying to prove that the adapter functioned, I did not try to install the MS-Windows software that came with the adapter (mini-CD).
2) When connected to my Nexus 10 the router's front panel light turned on for the port it was attached to but it did not flash in anyway which usually shows network traffic or obtaining a DHCP IP address. At no time did the router show the adapters MAC as a connected device or was there any related log activity to show a DHCP request. This was consistent for all test with all ROM combinations including stock. I obtained the MAC address during the initial laptop funtionality test.
3) I eventually tried three ROMS (rooted Stock, SentinelROM with KTManta and finally rasbeanjelly). Then after much goggling I found this comment on XDA: A Chinese device Model No:KY-RD9700 doesn't work, which of course is what I was shipped.
I have not given up on a USB Gigabit Ethernet Adapter:
1) I contacted the supplier about this order and ask for a refund based on false advertising. Results are pending
2) After checking around I found the main issue is that the stock kernel only supports Ethernet for specific chip sets. If you have an unsupported chip set you can try to add support to a custom ROM assuming your have the skills. This whole thread is interesting but this post is good for how someone added support for their unsupported adapter.
3) I found that the chip "ASIX AX88178 Controller" is supported out-of-the-box for "Driverless operation with all Chromebooks, some Android Tablets (including ASUS Transformer Prime / Infinity tablets), and Linux 3.3+". Of course JellyBean has a Linux 3.4.x Kernel.
There are two popular out of the box supported USB Ethernet adapters:
1) 10/100Mbps "BobjGear USB to RJ45 Compact Fast Ethernet Adapter made for Android Tablets". This products success has been mentioned by a number of people.
2) 10/100/1000Mbps "Plugable USB 2.0 to 10/100/1000 Gigabit Ethernet LAN Network Adapter (ASIX AX88178 Chipset)". This one was mainly mentioned as working by Asus Transformer users.
I just ordered #2 above.
Should arrive late next week and will write an update at that time.
One last piece of advise which may be of value:
"Make sure you plug everything into the adapter/OTG cable BEFORE plugging it into your N7. While using a mouse/keyboard/hub I noticed if you plug the OTG cable in first and then a peripheral, the N7 won't recognize it."
Outstanding detective work; it'll be interesting to see if any of the gigabit ethernet adapters will work, and if one does, what kind of data rates you get. I get 100Mb/s out of my Apple (10/100) adapter, but who knows how close to the USB 480Mb/s limit a gigabit adapter can get.
One thing I never figured out was how to manually set the N10's IP/Netmask/Gateway. A DHCP server on the LAN does the trick, but there's one place I work that doesn't have a DHCP server, and relies on manually set IP info. There's probably some Linux command or .conf file that can do it, but I don't know it...
3DSammy said:
Well that was a bust. My Ethernet adapter arrived yesterday but they did not ship what was advertised. As in my post above I ordered a Gigabit USB adapter and I received a Fast Ethernet adapter. The invoice says one thing and the adapter and its packaging another. The SKU number on the invoice, their web site and the packaging all matched so it is likely they do not have a Gigabit Ethernet adapter. Obviously I have contacted the retailer asking for a full refund.
The adapter could be easily taken out of the packaging so I gave it a try and here is what I found (All tablet testing was performed with a proven OTG microUSB to USB connector):
1) It works as a 100Mbps Ethernet adapter with my laptop. Interesting that it was not recognized by Win8 but it would auto-connect under Ubuntu 13.04. Speeds were what you would expect. As I was only trying to prove that the adapter functioned, I did not try to install the MS-Windows software that came with the adapter (mini-CD).
2) When connected to my Nexus 10 the router's front panel light turned on for the port it was attached to but it did not flash in anyway which usually shows network traffic or obtaining a DHCP IP address. At no time did the router show the adapters MAC as a connected device or was there any related log activity to show a DHCP request. This was consistent for all test with all ROM combinations including stock. I obtained the MAC address during the initial laptop funtionality test.
3) I eventually tried three ROMS (rooted Stock, SentinelROM with KTManta and finally rasbeanjelly). Then after much goggling I found this comment on XDA: A Chinese device Model No:KY-RD9700 doesn't work, which of course is what I was shipped.
I have not given up on a USB Gigabit Ethernet Adapter:
1) I contacted the supplier about this order and ask for a refund based on false advertising. Results are pending
2) After checking around I found the main issue is that the stock kernel only supports Ethernet for specific chip sets. If you have an unsupported chip set you can try to add support to a custom ROM assuming your have the skills. This whole thread is interesting but this post is good for how someone added support for their unsupported adapter.
3) I found that the chip "ASIX AX88178 Controller" is supported out-of-the-box for "Driverless operation with all Chromebooks, some Android Tablets (including ASUS Transformer Prime / Infinity tablets), and Linux 3.3+". Of course JellyBean has a Linux 3.4.x Kernel.
There are two popular out of the box supported USB Ethernet adapters:
1) 10/100Mbps "BobjGear USB to RJ45 Compact Fast Ethernet Adapter made for Android Tablets". This products success has been mentioned by a number of people.
2) 10/100/1000Mbps "Plugable USB 2.0 to 10/100/1000 Gigabit Ethernet LAN Network Adapter (ASIX AX88178 Chipset)". This one was mainly mentioned as working by Asus Transformer users.
I just ordered #2 above.
Should arrive late next week and will write an update at that time.
One last piece of advise which may be of value:
"Make sure you plug everything into the adapter/OTG cable BEFORE plugging it into your N7. While using a mouse/keyboard/hub I noticed if you plug the OTG cable in first and then a peripheral, the N7 won't recognize it."
Click to expand...
Click to collapse
This post just got me to subscribe to a thread that I was otherwise just casually checking in on... Great job! Thanks for the legwork!
Sent from my Galaxy Nexus using xda premium
Manually setting static IP/netmask/gateway commands
tvBilly said:
... One thing I never figured out was how to manually set the N10's IP/Netmask/Gateway. ...
Click to expand...
Click to collapse
Well here is what I read during my investigations. You will need to be rooted and have busybox installed. Using Script Manager (no ads) paid version you can execute scripts from widgets without opening the console. I suspect there other other ways to get bash scripts run from the home screen without buying Script Manager.
Command lines all run in a terminal/console session.
Setting the IP/netmask/Gateway:
> ifconfig eth0 <IP address> netmask <IP mask>
> route add default gw <gateway address> eth0
These next two commands can also be done through the settings panel or at least in theory.
Turn Ethernet on:
> ifconfig eth0 up
Turn Ethernet off:
> ifconfig eth0 down
Check the Ethernet assigned IP:
> ifconfig eth0
List network devices:
> ls /sys/class/net
Note: wlan0 is WiFi just like on every Linux WiFi capable computer. During my failed attempts with the bad Ethernet adapter this command never listed a "eth0" no matter which ROM I used. Hopefully "eth0" auto-magically appears when a working OTG/Ethernet adapter is attached.
You may need to have previously set up your router with a static IP that is assigned to your Ethernet adapter's MAC value or know an unused IP for that network. Be aware that I have not tried this myself. I also do not know if you need to connect the OTG/Ethernet adapter before issuing any of the commands. I suspect that "eth0" is only available AFTER you make the physical connection.
One thing I did not mention in my last post was that when you see someone that found a working cheap Ethernet adapter from China, be cautious. The reason is that the manufacturers do not consistently use the same chip set in every production run. So a specific brand works for one person but not another. It can be a crap shoot.
The exception is the "BobjGear" adapter where that manufacturer guarantees that they use Android compliant chip sets in their Ethernet Adapters. Other than that you need to be able to verify which chip set is used against those that stock Android supports out-of-the-box OR have the talent to add the right drivers to a custom ROM. I have no idea just yet if JellyBean (4.2.2) custom ROM developers remove or alter the stock Ethernet adapter support for any reason.
I hope the commands work for you.
Thanks for the info, and the pointers to the Nexus 7 thread about it; I'll try the static commands out next week when I get to a LAN that doesn't have a DHCP server. I already have the paid script manager app.
Did you (or anyone) ever find out if the gigabit ethernet adapter here works? It uses the ASIX AX88178 Controller.
tvBilly said:
... Did you (or anyone) ever find out if the gigabit ethernet adapter here works? It uses the ASIX AX88178 Controller.
Click to expand...
Click to collapse
That's the one I just ordered and have not received yet. Likely get it next Friday or so.
Finally a working Gigabit Ethernet USB Adapter
Just a quick note, my "Plugable USB 2.0 to 10/100/1000 Gigabit Ethernet LAN Network Adapter (ASIX AX88178 Chipset)" arrived two days early and it worked without issue with a rooted Stock v4.2.2. ROM. I do not think you even have to be rooted but I never tested that.
DHCP was automatic AFTER you turn off WiFi through the Settings panel. At no time was there any indication in either Notifications or the Settings panel that the Ethernet cable was even attached. But all the same it worked like a champ and resolved my CIFS share, HD video playback issues (720p, 1080i and 1080p).
The custom ROM I was using did not work at all, even the adapter lights did not turned on. I had to restore my rooted stock nanadroid backup to get it to work. I will write a more thorough commentary after a lot more testing but if you wanted a Gigabit Ethernet adapter for your Nexus 10 then at least it works for me.
Sounds like it's working exactly the same as my 10/100 adapter. I'm using a stock rooted (4.2.2) ROM as well, and have never tried a 3rd party ROM on my N10, just on my GN (running the current version of "Shiny"). I still haven't had a chance to try the linux commands to manually set the IP/MASK/GATEWAY yet (thanks again for the info).
Interested to hear what throughput you get. Hopefully it's closer to the USB 2.0 limit (480Mb/s) than the 100Mb/s I get from my current adapter.
Phone happily charges through usb otg hub. No drives show up in xplore. How I get this to function correctly?
Also not functioning is my n64-usb adaptor.
I look forward to the day my xt894 (and an eventual, worthy, successor) can replace desktop computers for more tasks
Sent from my XT894 using Tapatalk
It seems to be a common belief that the Droid 4 supports USB OTG. And it's fair, really, given how many sources say that it does.
It doesn't. It supports USB Host; it can serve as a device host, but can't actually supply power itself. You'll need a powered USB hub between your devices and the phone for it to work. On top of that, you'll need an OTG adapter that the phone wants to work with (apparently it's fairly picky and won't work with all of them). And, it may or may not work under Lollipop, if you're using that.
I'd expect an OTG hub to work, since one would assume it's just a miniaturized hub made to run off a microUSB charger, but apparently not. Probably wired differently than a USB hub.
Why does the phone support Host but not OTG? I would imagine because they wanted to encourage sales of their Lapdock, which itself has one or two USB ports.
Hi,
Dont know if this question has been asked before,
Does Moto G 2014 supports Ethernet via OTG?
i.e Connecting a Lan Cable to the USB to ethernet and finally to OTG Cable
Sent from my titan using XDA-Developers mobile app
puma7dragon said:
Hi,
Dont know if this question has been asked before,
Does Moto G 2014 supports Ethernet via OTG?
i.e Connecting a Lan Cable to the USB to ethernet and finally to OTG Cable
Click to expand...
Click to collapse
For ethernet you just need to buy a plugable usb 2.0 ethernet usb...which may b available to you on any online retailer...you just need to connect otg nd ethernet to you device nd it starts working