[Q] USB Ethernet OTG missing eth0 - Galaxy S III Q&A, Help & Troubleshooting

From the other threads I have read, other android devices have had USB ethernet working, but they didn't go into details, as it should 'just work'. My end goal is to allow my phone to access the internet at work using a wired connection to my windows workstation running internet connection sharing.
I have a working Monoprice 100mbit USB adapter (id = 6150) using the well known linux compatible asix AX88772 chip
I have tried connecting the adapter directly, and with a powered USB hub. Same result. USB thumbdrive with hub works, so the cables all work.
I get the following dmesg pastebin.com/mdttaDmq which looks hopeful, as it detects the ASIX chipset no problem.
I ran adb netcfg while adapter connected, but there is nothing new there... pastebin.com/7nN5MY08 (shouldn't an eth0 or usb0 show up?)
I have a Galaxy S3 i747M stock 4.0.4 ICS rooted, any help would be greatly appreciated

one of the articles mentioning it just working,
http://forum.xda-developers.com/showthread.php?t=1792245

Solved my own problem since I got no hits.
http://forum.xda-developers.com/showthread.php?p=37548841#post37548841

Related

[Q] How to reverse tether with 3G Modem

Huawei E3131 modem is working as a router which has an IP address 192.168.1.1 and as the DHCP server, it gives an IP automatically to the PC and connects to 3G internet without installing any drivers or any software.
How to use this 3G modem on an Android tablet or phone?
Depending on the android version of your devices, i'm pretty sure this 3g adapter should work properly with an OTG cable.
I own a Samsung galaxy s plus. With the stock android which was 2.3.5 i think i couldn't do much if anything with an OTG cable.
When i installed a modded 4.2 rom everything worked smooth. I tried a mouse, keyboard and a cheap cheap Joypad. Worked as a charm.
Any android ICS and above can do miracles with those cables!
There is a video in the xda developers youtube channel about on-the-go cables. look it up
Yeah I know about the OTG cables since I already resell them. But it didn't work with the mentioned modem and an Android tablet which has 4.0.4 version on it.
This 3G modem is a lot different from others; because nearly all of the 3G USB stick modems require a USB interface driver to be managed through. But this stick acts like a router; thus it has its own IP (192.168.1.1) and as soon as its plugged into a USB port, it assigns an IP to the computer (192.168.1.2) and connects to 3G in a matter of seconds; no driver needed, no software installed. It's like connecting an ethernet cable to PC.
That's why I also tried configuring USB-ethernet on the tablet, but it didn't work either.

USB Ethernet confirmed working

Just received my Nexus Player today, and I can confirm that there is some level of driver/hardware support for USB Ethernet adapters over OTG. Hardware-wise, I have an OTG cable attached to a D-Link USB 2.0 hub, and a Cisco 10/100 USB Ethernet adapter attached to the hub.
Some notes about the behavior:
The IP address configuration happens automatically if you're using DHCP on your network, but there are no options in the initial configuration to enter static IP addressing. If you're unboxing and setting up your Player for the first time, just make sure to have your USB Ethernet adapter plugged in before plugging in power.
Aside from lacking configuration options, everything appears to work flawlessly, and the Player automatically downloaded an update from Google on first boot.
Hope this helps.
Good to know... thanks!
I bet you can figure out the MAC address, and assign an IP address through the router. It's better that way anyway.
Sent from my Oneplus One with Tapatalk Pro.
Wondering if a USB 3.0 hub with gigabit Ethernet will work on Nexus player.
The specs of Nexus player is USB 2.0, by connecting a USB 3.0 hub with gigabit Ethernet, will it work by capping at 480mb/s USB 2.0 transfer rate?
I doubt you would get the full 480mbps but you should be able to do better than 100mbps.
Sent from my Nexus 5
dongdong said:
Wondering if a USB 3.0 hub with gigabit Ethernet will work on Nexus player.
The specs of Nexus player is USB 2.0, by connecting a USB 3.0 hub with gigabit Ethernet, will it work by capping at 480mb/s USB 2.0 transfer rate?
Click to expand...
Click to collapse
i dont think it would make a difference, besides 10/100 is way enough to stream even 4k media

[Q] MK809III TV Stick and usb hub

Hi all, I have a MK809III tv stick with Android 4.4.2 running. I use it as a mini PC with a LCD screen. I have attached to its USB OTG ports a quadrate 2.0 4 ports USB HUB (google for this and you can see it) , and connected to it, a PS/2 keyboard (using an usbtoPs2 adapter), an usb mouse, a usb ethernet dongle, and a usb sound card dongle. When I use this combo, all works fine, the mouse can drag and select, also wheel works, the keyboard works fine, the ethernet run smooth, and the sound works as player and mic recorder, the only thing not works is to reboot the tv stick, and launch android again (with other MK89III tv stick this also works flawlessly), to get this, I must to unplug RJ45 or usb ethernet. But this last question is not my main problem. The main problem is that I can not make the combo work anyway if I change usb hub model, If I use a 2.0 usb square hub (no name brand) with a little blue led installed, all works fine, but using other hub (I have tested two others), thare is no way to work. The main situation is that the hub stops work, and all item connected not works at all. But commonly, mouse works with a bad behaviour in button response, usb sound disconnects suddenly, or usb ethernet lagg or not works at all. My question is about this behaviour with usb hubs, if there is a special requirements in hardware to match an usb hub with this kind of android devices, or if thare are some drivers that can solve this.
Thank in advance.
Solved
I have solved the two main problems in order to use my MK809III RK3188 as a mini pc with usb hub and rj45 ethernet. The hub must to be a chip on board one, no an all-in-one glued ultra-cheap type, this is a mark of better quality and response, then you can conect keyboard/mouse, usb or ps2 with usb converters, usb sound, and usb pendrives. The ethernet must be an ASIX AX88772C, this a true usb ethernet 100mbps (7MB/s real) device, since I use it there is no lag, no boot errors, no delays or shorts in Tx/Rx. That´s all.

SCRCPY - Connection Help.

i recently discovered scrcpy which imo is an excellent, and superior, alternative to vysor, teamviewer and the like (for my needs, i.e. simple remote control of android).
here's the thing tho, it works beautifully when i connect my pc and android directly using a usb type-c (android) to usb type-a (pc) cable, but it won't work when i connect an otg usb hub to the android and, from there, use a usb type-a cable to connect to my pc.
is this a well known limitation of otg hubs? or should this work? the usb type-a cable i'm using between the otg hub and pc is 2.0, do i need 3.0? or is there a special type-a otg cable i'm unfamiliar with?
i see that these is a way to use scrcpy via wifi using adb tcpip command, but i can't get it to work, and the github scrcpy thread doesn't seem to be very active.... perhaps there's a way to get it to work over ethernet as opposed to wifi? anyway, any help re the otg hub question would be greatly appreciated!
EDIT - problem solved: adb over ethernet instead of usb or wifi.
connected my android (galaxy view) to my network (ethernet) using the otg usb port and now, combined with the "adb over ethernet" app from the play store that i just discovered, the adb connection between my android and pc functions just as if they were connected by a usb cable, no more having to first connect the usb to get wifi to kick in, only to have to repeat this process again and again.
fwiw i finally got the samsung sidesync to work by installing the apk, which i thought would be a satisfactory alternative to scrcpy, and it was ok, but it's very intrusive on the pc side and the mirrored android display isn't that great, distorted, plus it has a chunky blue frame... but now i can use scrcpy, it's so lightweight, and the mirrored display is excellent, both snappy and scalable.
Can i use a type-c (android)to type-c (laptop) to use scrcpy
aeneas1 said:
i see that these is a way to use scrcpy via wifi using adb tcpip command
Click to expand...
Click to collapse
For others who find this in a search, you can get scrcpy to open up (and then kill the console to get it out of the way) on Android up to Android 11 using the "--tcpip=192.168.0.2:5555" option, but there's new capabilities in Android 12 now that eliminate totally the need for the initial USB connection.
In Android 12 you can also use scrcpy completely over Wi-Fi without first establishing the adb connection over USB like you need to do with Android 11.
There are new commands in the Android 12 Developer options to enable everything to be done over Wi-Fi which I've been using since May.

Galaxy S7 Edge problem with USB 3.0 to Gigabit Ethernet Adapter

Hi guys,
i hope some of you can help me.
I want to connect an OBDII cable to my phone. Its a ENET Cable, so I need an OTG/Ethernet Adapter. I have ordered the Rankie USB 3.0 Netzwerkadapter in black. I cant post links, but if you put this in the search in amazon its the first.
But the S7 Edge doesnt support ethernet, or? I cant find ethernet settings. So I flashed the kali nethunter kernel and opened the terminal emulator. With lsusb my ethernet adapter doesnt appear. Can someone help me? I think if the ethernet adapter appear, I can connect it to my car.
edit: Now I used an other third otg micro-usb to usb adapter and now my ethernet adapter appears, its a RTL8153 from Realtek. But how can I use it? I have no ethernet settings.
thanks in advance
Does nobody know an ethernet app or the shell command to get the ethernet working?
Ok, I dont think that here aren't users who know a solution. What I have done yet:
I got the adapter working, but only in terminal emulator. When I type lsusb it recognizes my adapter. Its a realtek RTL8153.
Then I connect my network cable and type: dhclient eth0
for test: ping -n 3 <address>
I get answers, e.g. from google. So the connection built up. But when I go to the browser or google play, it says no connection? I think, the phone and apps depends on 4G or wlan0. How can I force eth0? I need the decisive command.
For the static ip I would use: ifconfig eth0 <ip> netmask 255.255.255.0 gw <gw_ip>

Categories

Resources