FORUMS

[Q] Micro USB to Ethernet Port Adapter for Galaxy note 2

4 posts
Thanks Meter: 1
 
By bigjim, Junior Member on 12th October 2012, 01:03 PM
Post Reply Email Thread
9th March 2014, 08:38 PM |#31  
Senior Member
Thanks Meter: 34
 
More
There are times where I need to configure my Internet router/ethernet switch for the first time; which needs a wired connection. It would be nice to just plug my phone into the router via Ethernet without any hassle; at least for rooted stock ROMs.

Its too bad there isn't an app (for rooted stock ROMs) that add the necessary drivers and automatically configure TCPIP for it.
13th July 2014, 08:00 PM |#32  
Junior Member
Flag Seattle, WA
Thanks Meter: 2
 
More
Note 3 revisited
Quote:
Originally Posted by ralphsims

If someone has a rooted Note 2 (or 3) would you please put an Ethernet adapter on the USB port (probably need an OTG adapter) and run 'netcfg'? It will tell you if there's an Ethernet port recognized (probably would show up as eth0). If so, there are netcfg commands that can be run to put the device in DHCP mode (or even static IP addressing). If so, someone might be able to write a couple of shell scripts to assist in addressing.

I got an ethernet adapter to work on the Note 3. Remember to put the device in airplane mode so as not to conflict with already-assigned addresses. I'm having a problem getting DNS to work, but I can ping out via IP. You need to root the device (I used towelroot--easy and does not trip the knox counter).

netcfg eth0 up
netcfg eth0 dhcp
ip route add 0.0.0.0/0 via <your router's IP here>
setprop net.dns1 4.2.2.2 (doesn't work)

My Tab 2 7.0 won't see an adapter. I'll have to work on that one some more.
18th April 2015, 05:05 AM |#33  
Junior Member
Thanks Meter: 0
 
More
This are the ports I got
Quote:
Originally Posted by scvjohnny

DeBoX, your post motivated me enough to take a half an hour to sit down and solve this SGN2 ethernet-thru-USB issue. I use my SGN2 as my desktop PC using Nova Launcher to set up my android desktop icons and Tasker to auto configure the phone to "desktop mode" when docked. I generally use Windows7 on my SGN2 using bVNC into a Proxmox VM and it all works very well.

These are the simple steps I took to achieve a full Ethernet connection to my SGN2 when docked:

3) Launch terminal and type netcfg.
4) See if eth0 shows up in the list and it will be DOWN. Thats normal and expected.

scvjohnny

Hi, I just get this when I type netcfg:

lo UP 127.0.0.1/8 0x00000049
00:00:00:00:00:00
sit0 DOWN 0.0.0.0/0
0X00000080 00:00:00:00:00:00
ip6tnl0 DOWN 0.0.0.0/0
0X00000080 00:00:00:00:00:00
rmnet0 DOWN 0.0.0.0/0
0X00001090 00:00:00:00:00:00
rmnet1 DOWN 0.0.0.0/0
0X00001090 00:00:00:00:00:00
rmnet2 DOWN 0.0.0.0/0
0X00001090 00:00:00:00:00:00
p2p0 UP 0.0.0.0/0 0x00001003
(A MAC ADDRESS)
wlan0 UP 192.168.0.8/24
(A MAC ADDRESS)

How can I accomplish the ethernet recognition...

Thank you.
16th May 2015, 02:48 AM |#34  
Junior Member
Thanks Meter: 0
 
More
Unhappy Same DNS problem
Quote:
Originally Posted by ralphsims

I got an ethernet adapter to work on the Note 3. Remember to put the device in airplane mode so as not to conflict with already-assigned addresses. I'm having a problem getting DNS to work, but I can ping out via IP. You need to root the device (I used towelroot--easy and does not trip the knox counter).

netcfg eth0 up
netcfg eth0 dhcp
ip route add 0.0.0.0/0 via <your router's IP here>
setprop net.dns1 4.2.2.2 (doesn't work)

My Tab 2 7.0 won't see an adapter. I'll have to work on that one some more.


Hello
I have exactly the same problem
I have installed ethernet droid to ON/OFF the eth0 connection.
It works, I get IP, mask, gateway and DNS (8.8.8.8).
I have forced the DNS to 192.168.1.1 (my internet box)
But the problem is same: I can't ping google but I can ping the google IP.
I can even ping 8.8.8.8
Very strange.
The only way to make it works is to turn on the wifi and then turn it off.
This action seems like the wifi provides the good DNS activation then after turned it OFF, ethernet cable works fine.
Have you found a solution for this ?
Thanks in advance
11th July 2015, 03:53 PM |#35  
Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by scvjohnny

DeBoX, your post motivated me enough to take a half an hour to sit down and solve this SGN2 ethernet-thru-USB issue. I use my SGN2 as my desktop PC using Nova Launcher to set up my android desktop icons and Tasker to auto configure the phone to "desktop mode" when docked. I generally use Windows7 on my SGN2 using bVNC into a Proxmox VM and it all works very well.

These are the simple steps I took to achieve a full Ethernet connection to my SGN2 when docked:

1) Connect your Ethernet cable into a Ethernet USB adapter.
2) Connect the Ethernet USB adapter into one of the USB port in your dock.
3) Launch terminal and type netcfg.
4) See if eth0 shows up in the list and it will be DOWN. Thats normal and expected.
5) Create a script as follows:

#!/system/bin/sh
echo "Initializing eth0 LAN"
Sleep 10
ifconfig eth0 192.168.XXX.XXX netmask 255.255.XXX.XXX
route add default gw 192.168.XXX.XXX dev eth0
setprop net.dns1 192.168.XXX.XXX
echo "eth0 LAN to SGN2 compete"

6) Run the script.
7) Enjoy the speed of an Ethernet connection.

Option: I launch this script from Tasker when docked so it happens automatically.

I hope this helps you and everyone else who wants to realize the full capacity of a docked SGN2.

Thanks,

scvjohnny

could you please explain this once more - i am trying to replicate this on my Galaxy note 3. I just have a Micro-Usb-to Ethernet Adapter.

Do i need a Powered USB Hub or what do i need exactly to make this happen?


thanks, ricci
21st July 2015, 09:00 PM |#36  
Junior Member
Flag Cali
Thanks Meter: 2
 
More
Try this : https://play.google.com/store/apps/d...a.usbhost.test
6th May 2017, 05:43 PM |#37  
Member
Thanks Meter: 8
 
More
I had not been able to make it work on my GN2.
But for those who moved to Lollipop, it seems system properties (like those one we configure through setprop net.dns1 ...) had been depreciated as mentionned here.
It seems those commands are ignored and that dns properties must be set using ndc resolver setnetdns commands, like:
Code:
ndc resolver setnetdns eth0 "" 8.8.8.8 8.8.4.4
11th May 2017, 06:18 PM |#38  
Senior Member
Flag goa
Thanks Meter: 183
 
More
Quote:
Originally Posted by scvjohnny

DeBoX, your post motivated me enough to take a half an hour to sit down and solve this SGN2 ethernet-thru-USB issue. I use my SGN2 as my desktop PC using Nova Launcher to set up my android desktop icons and Tasker to auto configure the phone to "desktop mode" when docked. I generally use Windows7 on my SGN2 using bVNC into a Proxmox VM and it all works very well.

These are the simple steps I took to achieve a full Ethernet connection to my SGN2 when docked:

1) Connect your Ethernet cable into a Ethernet USB adapter.
2) Connect the Ethernet USB adapter into one of the USB port in your dock.
3) Launch terminal and type netcfg.
4) See if eth0 shows up in the list and it will be DOWN. Thats normal and expected.
5) Create a script as follows:

#!/system/bin/sh
echo "Initializing eth0 LAN"
Sleep 10
ifconfig eth0 192.168.XXX.XXX netmask 255.255.XXX.XXX
route add default gw 192.168.XXX.XXX dev eth0
setprop net.dns1 192.168.XXX.XXX
echo "eth0 LAN to SGN2 compete"

6) Run the script.
7) Enjoy the speed of an Ethernet connection.

Option: I launch this script from Tasker when docked so it happens automatically.

I hope this helps you and everyone else who wants to realize the full capacity of a docked SGN2.

Thanks,

scvjohnny

By "dock" you mean the USB port on the phone right for some other device
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes