Showing posts with label Ethernet. Show all posts
Showing posts with label Ethernet. Show all posts

Friday, 16 October 2015

How to connect at&t note3 to internet using ethernet cable and usb to lan adapter



I HAVE A USB TO LAN ADAPTER AND A OTG CABLE. I HAVE SEEN IN YOUTUBE THIS TYPE OF CONNECTION AND IT WORKED WELL IN THE VIDEO. BUT IAM UNABLE TO USE INTERNET WITH THIS. I AM USING ANDROID 4.4.4.
PLEASE HELP ME REGARDING THIS ISSUE
I AM ATTACHING THE IMAGE OF OTG AND ADAPTER. PLEASE HELP
https://drive.google.com/open?id=0B_...zFwS29lUjZSRTQ



Thursday, 15 October 2015

USB HUB (No Ethernet)



Does anyone know of any USB Hubs without ethernet that work with the Nexus Player. I'm currently connected with the nexus player 5ghz AC and get 150megabits , so no need for ethernet. Do you guys chain a micro usb to usb cable to a hub to get this working? Products, tips and info here please. Thanks in advance :)

Has anyone tried this: http://www.amazon.com/gp/product/B00..._1&s=pc&sr=1-1



Monday, 12 October 2015

Simultaneous Wifi and Ethernet Connection on AMLogicS802 powered device



Dear experts,

I have an issue with my Android multimedia device Orbsmart S82 which is powered by an AMLogic S802 chip. All my devices (phone, tablet, pc, NAS, orbsmart s82) are connected to the internet via Wifi.

To view HD-content on my TV, my plan was to connect my Orbsmart via ethernet cable to my NAS to receive stutter free video output. This works seamlessly. BUT: I cannot turn on Wifi and Ethernet at the same time. So each time I want to view content from my NAS, I have to go to the system settings and enable Ethernet. As Wifi gets disabled automatically by that action, I have to activate Wifi in the system settings in order to be able to view online content. But then, the ethernet interface is turned off again.

No matter what I try, only Wifi or Ethernet can be active.
Does anyone have a similar setup? What is your solution?

Thanks in advance!



Friday, 9 October 2015

Ethernet support



I´m trying to conect to the Internet through a ethernet/giganet USB to RJ45. It allows direct conection from the router to the phone.

You need root, and OTG support (RMN2 ok), ethernet apk from google play.

I´ve used with MotoG (qualcom SD400, android 5.0.2), MiPad (nvidia tegra K1, android 4.4.4), and Pipo P1 (rockchip, android 4.4.2) and perfect.

But I can´t used it with this Mediatek Helio X10, android miui 5.02....?¿?¿

I installed busybox, mediatek uncle tools, etc. but It still doesn´t worx....

Any idea, suggestion?¿?¿?

Thanks!



Thursday, 8 October 2015

Enabling Ethernet over USB OTG



I found a way to enable Ethernet over USB OTG on a Samsung S6 Edge (SM-G925I, International Edition). The phone needs to be rooted because the method requires enabling the interface and editing routing tables.

The method has a "high" level of difficult, because it requires to enter commands on the phone using a terminal. By sharing this method, I hope experts will be able to automate this process, e.g., via an app.

While the description is for the Samsung S6 Edge, I suspect that this method may also be used on other phones.

Pre-requisites:
  • Tested on Samsung S6 Edge, SM-G925I, with Android v5.0.2 (Build LRX22G.G925IDVU1AOE3).

  • Phone must be rooted. This is necessary because you will be editing IP routing information which is only available with superuser access. Instructions for rooting the phone may be found elsewhere in XDA.

  • Set phone to "Airplane Mode" with Wi-Fi disabled. This simplifies the setup, but it is possible to lift this restriction. Left as an exercise to the reader. :D

  • Connect the phone to a micro USB OTG adapter. Then, connect the USB OTG adapter to a USB to RJ45 Ethernet adapter. Then, connect the Ethernet adapter to a router. (I have had good luck with BobjGear connectors and adapters. Sold by major online merchants.)


Setup
Your setup should look like this:

Samsung S6 Edge <-> Micro USB OTG connector <-> USB to RJ45 Ethernet adapter <-> Router <-> Internet

Enabling USB OTG interface
Using an app such as "Terminal Emulator" (by Jack Pavlevich) enter the following commands:

Check whether phone can reach router (that is, the gateway). Note: use the IP address of your router. Output shows that phone does not have access to any network.

Code:


$ ping -c 3 192.168.1.1
connect: Network is unreachable


(Optional) Check existing routing setup, useful for comparing after setup is completed.

Code:


# ip route  // Should not show anything
# ip rule    // Shows default rules (in my case, there are eight)


Confirm that the interface is visible to the phone.

Code:


$ netcfg
eth0  DOWN  0.0.0.0/0


The "eth0" interface corresponds to Ethernet over USB OTG. "DOWN" means that "eth0" is not active, resulting in the "Network is unreachable" message when pinging the router.

Now, gain superuser access:

Code:


$ su

Enable "eth0" interface. Router must be setup for DHCP.

Code:


# netcfg eth0 dhcp

If above command times out, try again. Otherwise try:

Code:


# netcfg eth0 down
# netcfg eth0 dhcp


Confirm that the interface is up and it has been assigned an IP address by the router. (IP address assigned to "eth0" will vary depending on your router setup.)

Code:


# netcfg
eth0  UP  192.168.1.21/24


Now, ping the router. (Note: Use your router's IP address.)

Code:


# ping -c 3 192.168.1.1
Network is unreachable


While interface is active and it has an IP address, phone still does not have access to any network. :confused:

Let's examine existing IP routing settings:

Code:


# ip route

The above command does not show any output, indicating that no IP routing is set up. In devices that support Ethernet over USB OTG off-the-shelf (e.g., Nexus 5, Sony Xperia Z1 phone and Z2 tablet), IP routing is setup "automatically". But in devices such as Samsung S6 Edge, IP routing settings need to be enabled manually using the commands below. (My guess is that Google, OEMs or carriers do not want you to use Ethernet over USB OTG.)

Configure IP routings

Configure IP routing in the "eth0" interface. The settings are similar to the ones used by the phone when the Wi-Fi interface is enabled. If the settings below do not work for you, check the IP routing settings on your phone when Wi-Fi is enabled and "eth0" is disabled, and adjust accordingly.

Code:


# ip rule add from all fwmark 0x101f9/0x1ffff lookup 1024 pref 13000
# ip rule add from all oif eth0 lookup 1024 pref 14000
# ip rule add from all fwmark 0x1f9/0x1ffff lookup 1024 pref 19000
# ip rule add from all fwmark 0x0/0xffff lookup 1024 pref 22000
# ip route add table 1024 192.168.1.0/24 dev eth0
# ip route add table 1024 default via 192.168.1.1 dev eth0


Exit superuser mode and (optionally) confirm IP routing settings.

Code:


# exit
$ ip rule // Command should show new entries 13000, 14000, 19000 and 22000


(Optional) Examine new IP routing settings and and newly created routing table entry.

Code:


$ ip route show table 1024
$ ip route


Both commands should output something like this:

Code:


default via 192.168.1.1 dev eth0 proto static
192.168.1.0/24 dev eth0 proto static scope link


Finally, confirm router is reachable from phone. (Note: use your router's IP address.)

Code:


$ ping -c 3 192.168.1.1

That's it! Your phone should now have Ethernet access over USB OTG. :cool: Enjoy!

Ps. Please hit 'Thanks' if this info was useful.



Wednesday, 7 October 2015

Wifi Hardcoded - Fire 7 not expecting OTG Ethernet to bypass for other tasks



I have had a suspicion that the Fire 7 is hardcoded to recognise WiFi only for OTA updates and account registration etc. So I reset the device, set Amazon registration for later and did not join my local WiFi network. Plugged in my OTG Ethernet, opened a browser in Silk and went to BBC to confirm connectivity.

Since my device updated automatically the other day, even after a reset for this exercise the build is still FIRE OS 5.0.1 which is to be expected. I am unable to test if OTA updates will still kick in automatically when using OTG Ethernet?

Amazon account Registration is hardcoded to look for a WiFi connection only. Attempting to register with Ethernet does not work, the device simply prompts to join a WiFi network. [A Network Connection is required to complete this task. Please connect to a WiFi network].

System Updates button when pressed searches for an update - as there are currently no new updates again I am unable to test if this would automatically kick in via OTG Ethernet.

OK in the long run it is not feasible for the device to stay tethered via an ethernet cable, but it shows that the Fire 7 is expecting specific network tasks to automatically and manually to be carried by WiFi. Even though OTG Ethernet is working the device is simply not expecting it to be there!

As it currently stands I not going to join my device to my Amazon account again. Will leave it as standalone and install Google via the APKs that sd_Shadow so kindly pointed everyone in the right direction. Would be interesting to see if the next System Update is ignored if connected via OTG Ethernet.