OTG LAN cable not working for android but works on windows - Android Q&A, Help & Troubleshooting

Hi,
I have a X98 air 3g (c5j6) dual boot tablet and i bought an OTG cable with a LAN port.
When running windows the ETH port is recognized and working but on Android it is not.
I tried it on both stock rom(4.4.4) and mirek190 5.0 V7.
Connecting the OTG cable, i can see eth0 interface added as down.
After running netcfg eth0 dhcp, the interface is up and has ip address.
However, no Internet access.
I tried to configure the dns using: setprop net.eth0.dns1 8.8.8.8
That didn't work.
What else can i do?
Also how can i get this configuration to run automatically when connecting the OTG cable?

Anyone?

Related

[Q] USB to ETHERNET

Hello, can I use a USB Ethernet adapter in the folio?
lorisf said:
Hello, can I use a USB Ethernet adapter in the folio?
Click to expand...
Click to collapse
our folio is hardcoded to use wlan0 device which will then "conflict" with you usb ethernet adapter, which normally by new kernel (DerArtem edition) will be assigned eth0 and all dhcp scripts are also pointing to wlan0 .
so it is not really supported unless you manually configure the new ethernet device. which is not easy if you don't have linux experience.
ok thanks and thanks for your mod
I am a happy Folio 100 user .
I have this system CM10.1 (4.2.2) Beta 1 - 3.1 kernel on my tablet .
I would to use an usb ethernet ( rj45 plug ) adapter on it instead of wifi .
Is there a list of compliant devices for this couple Toshiba Folio 100 / CM10.1 (4.2.2) Beta 1 - 3.1 kernel ?
Could I try ASIX chipset ?
Is there linux 3.1.10 support already included for it ?
I have just to desactivate wifi interface and after plugging the usb adapter to use on my Folio ?
Is that right ?
Thank you for work .

[Q] Reverse USB Tethering on HD2

Guys,
I have HD2. Installed Win 6.5 Energy ROM. Yesterday I installed Android on SD Card method. I insytalled Nexus HD ROM.
Android Version : 2.3.4
Baseband : 15.42.50.11U_2.15.50.14
Builder Number: GRJ22 (NexusHD2-Gingerbread V2.7 SD)
All I want is "Reverse USB Tethering" i.e. Share my Laptop's internet connection on my phone via a USB Connection ( not via WiFi .. tha i can do my making my Laptop a Hotspot)
I have tried the following link:
http://forum.xda-developers.com/showthread.php?t=941227
but it is not working somehow, is there something i'm missing ?
Has anyone tried doing this or some different method to make it work.
Please let me know. any help in this regard would be highly appreciated.
Regards
Hello, I'm using RAFDROID HD 4.2 on SD with my HD2 and I just have to connect my phone to my computer via USB and choose Internet relay ("Relais internet" in French, I don't know what are the exact words in english) in the pop-up menu.
It's working great...
thivi said:
Hello, I'm using RAFDROID HD 4.2 on SD with my HD2 and I just have to connect my phone to my computer via USB and choose Internet relay ("Relais internet" in French, I don't know what are the exact words in english) in the pop-up menu.
It's working great...
Click to expand...
Click to collapse
Its Internet Pass Through on English.
Sent from my HTC Incredible S using XDA Premium App
Dude, this is not the Q&A forum, you should not be posting topic in here unless your re a dev and posting your work.
mohitsheoran said:
Guys,
I have HD2. Installed Win 6.5 Energy ROM. Yesterday I installed Android on SD Card method. I insytalled Nexus HD ROM.
Android Version : 2.3.4
Baseband : 15.42.50.11U_2.15.50.14
Builder Number: GRJ22 (NexusHD2-Gingerbread V2.7 SD)
All I want is "Reverse USB Tethering" i.e. Share my Laptop's internet connection on my phone via a USB Connection ( not via WiFi .. tha i can do my making my Laptop a Hotspot)
I have tried the following link:
http://forum.xda-developers.com/showthread.php?t=941227
but it is not working somehow, is there something i'm missing ?
Has anyone tried doing this or some different method to make it work.
Please let me know. any help in this regard would be highly appreciated.
Regards
Click to expand...
Click to collapse
http://www.connectify.me/
you search this
it has usb support too
or try this :
Rugga said...
I'm using Windows 7. I shared my ethernet internet connection to the USB tether device.
In console emulator on the phone I typed:
ifconfig usb1 192.168.2.2 netmask 255.255.255.0 up
route add default gw 192.168.2.1 dev usb1
I can ping the gateway, I can also ping the web by IP address, eg 64.233.181.104 for google.com
What I can't do is use the browser or ping by domain name. I tried:
setprop net.usb1.dns1 192.168.2.1; and
setprop net.dns1 192.168.2.1
But with no luck, any ideas?
July 28, 2010 2:00 AM
Rugga said...
OK it is working now. After setting up ICS type in console emulator on your phone:
ifconfig usb1 192.168.2.2 netmask 255.255.255.0 up
route add default gw 192.168.2.1 dev usb1
iptables -F
iptables -F -t nat
setprop net.dns1 8.8.8.8
setprop "net.gprs.http-proxy" ""
Hope it works for everyone else. GL HF.
July 28, 2010 2:09 AM

[Q] 2 questions usb 2.0 hub / bluetooth -android 4.0.3

Hi,
I have cheap tablet with Android 4.0.3 (cpu arm cortex a8).
Unfortunately I have only one host mini usb port + adapter (mini usb - usb with host usb). I'm trying to connect devices by :
hama usb 2.0 hub (bus-powered)
unfortunately only first connected device is working properly next devices are not visible for the system. Is there any way to add drivers/software to use usb hub on android?
2nd question is that i'm trying tu run usb bluetooth v2.0 class 2.0 with BlueTerm software installed - but nothing works.
Which software/drivers are compatibile with usb bluetooth v2.0?
or chich usb bluetooth version I can use with BlueTerm??
Thanks
Now I'm in the situation that hub is working - I mean that when I connect external keyboard, pendrive - it's ok.
But.. when I want to connect 3G modem it works like that:
- if other devices are connected to hub before 3g modem, they are working correctly, usb modem receive power but cannot log in to the network.
- if 3g modem is connected as a first device (rest of the ports are empty) 3g modem connects with the network but if I try to connect any device more, those devices are not working..
Also still I didn't found sollution no my BT problem
vvviii said:
Now I'm in the situation that hub is working - I mean that when I connect external keyboard, pendrive - it's ok.
But.. when I want to connect 3G modem it works like that:
- if other devices are connected to hub before 3g modem, they are working correctly, usb modem receive power but cannot log in to the network.
- if 3g modem is connected as a first device (rest of the ports are empty) 3g modem connects with the network but if I try to connect any device more, those devices are not working..
Also still I didn't found sollution no my BT problem
Click to expand...
Click to collapse
How did you get the hub to work? I bought one, but is not working...

Android TV 6.0 Ethernet issue

Hi, I have xiami mi box 3 with android TV v6.0.1 (not rooted)
The default system:
if I go to settings there's only WiFi connection
if plug cable to usb-rj45 the default launcher will show connection at the bottom then if I go to WiFi I can see Ethernet is connected
My issue:
I wanted to change the default launcher without rooting the device, I was able to do that by using
HTML:
adb shell pm uninstall --user 0 com.google.android.leanbacklauncher
Now my custom made launcher is taking place of the default one. However, I cannot connect to ethernet as it is not shown in the system settings so I cannot connect manually.
I believe, after days of searching, that I need to do this in my code. One way is using commands execution; something like
HTML:
ifconfig eth0 ......
but this seems need a rooted device?
I need help by directing me to the right path to accomplish Android OTG Ethernet Pragmatically Connection.
Thanks
AB

NOT WORKING RJ45 adapter chipset AX88179, how to install driver?

I have a kate SD with resurection remix on android 7.1.
I have
-a cable micro USB-USB female
-this RJ45 adapter + USB 3.0 ports
https://www.amazon.com/UGREEN-Ethernet-1000Mbps-Nintendo-Chromebook/dp/B00LLUEJFU
[in the comments, people make it work on android TV but a guy with samsung tabalet has no rj45]
=>WHen I plug a wifi mouse in the cable micro USB-USB female, the mouse is detected
=>When I plug the USB Hub+rj45 adpater+cable, I do not get a ethernet connection, but I do get the wifi mouse. I tried with PLANE MODE and without. WIFI is OFF.
THe USB hub+rj45 works well on windows. How do I get it to work on android ?
THe driver for android+linux is here http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112 How can I install it on my phone?
blue whale said:
I have a kate SD with resurection remix on android 7.1.
I have
-a cable micro USB-USB female
-this RJ45 adapter + USB 3.0 ports
https://www.amazon.com/UGREEN-Ethernet-1000Mbps-Nintendo-Chromebook/dp/B00LLUEJFU
[in the comments, people make it work on android TV but a guy with samsung tabalet has no rj45]
=>WHen I plug a wifi mouse in the cable micro USB-USB female, the mouse is detected
=>When I plug the USB Hub+rj45 adpater+cable, I do not get a ethernet connection, but I do get the wifi mouse. I tried with PLANE MODE and without. WIFI is OFF.
THe USB hub+rj45 works well on windows. How do I get it to work on android ?
THe driver for android+linux is here http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112 How can I install it on my phone?
Click to expand...
Click to collapse
You will need to include this in android kernel and then flash that kernel. First learn how to compile kernel, then learn adding additional drivers and then compile your own kernel.

Categories

Resources