Galaxy S7 Edge problem with USB 3.0 to Gigabit Ethernet Adapter - Android Q&A, Help & Troubleshooting

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>

Related

[Q] USB Ethernet OTG missing eth0

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

[Q] [Tasker] Ethernet Control

Hi, I have a MK808 which I have connected to a usb to ethernet converter. I boot directly into XBMC, but the ethernet connection can be a little flakey. Sometimes on boot it connects to the ethernet fine but other times it doesn't and I need to go into setting and switch the ethernet off and back on and that works.
My idea is to have tasker switch the ethernet off and on just after booting so that I can be assured it would work every time, but I can't see any ethernet option in tasker does anyone know a way of doing this.
Thanks
BW

[Request] Ethernet Support from Note 10.1 pro, wirh the Adapter ( Usb, Ethernet)...

Hi People......i search a long time for an adapter, that can charge and use Usb on the Note 10.1 2014 (p600) at the same time.....no docking station do this, and all other adapters don't, cause the pins are channeled otherwise than on other devices......don't know why....but the adpater from Note Pro 10.1 with ethernet does.....but if i connect an ethernet Cable to it, nothing happens, cause (i think), Android has no Protocol to give a dhcp Adress to an ethernet device, and set the wifi Adapter off....
l found a tool for Nok 3, but I'm not sure, that will work on a P600. But on a mobile , it will not be needed as on a tablet ...
Anyone got an Idea to convert the ethernet drivers from Note Pro to the P600 kitKat ?
Sony for my ugly English
If you're rooted, this app should work: https://play.google.com/store/apps/details?id=xda.usbhost.test
I've never tried it with the Samsung branded ethernet adapter from the PRO series tablets, but I've used it in combination with an OTG cable and a generic USB to ethernet adapter, so it should work.
Thx a lot man......by the way, this is the same app, i wrote in the OP, i read about in the Note 3 Forum......i try and report
Result. ...is really strange.......the app accept the adapter, and get an ip adress...... ( it's a network Connection, coming from a router)....status gets to enabled, but i get no Internet Connection. ...strange.....i guess, Wifi have to be off. I also try to set the ip adress manually, also Router and Subnet Mask, but the same result, if i open a browser, no connection to the internet. Super SU Version is 2.02 .....any ideas?

S6 Edge- Assign a static ip for ethernet over otg

Pls someone explain me how to assign static IP for ethernet adapter connected via usb otg. And i just a noob in terminal emulator (programming);
Ethernet Adapter - eth0
Phone- S6 edge
For me "netcfg" doesnt work, but "ifconfig" works.
I have seen this answer is stackoverflow but didnt understand and it shows syntax error. So someone pls help me.

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.

Categories

Resources