s5 ethernet question
If i were to buy an ethernet adapter would, wired ethernet work with this phone? i cant find anything online about the s5
dhk1267 said:
If i were to buy an ethernet adapter would, wired ethernet work with this phone? i cant find anything online about the s5
Click to expand...
Click to collapse
YES, some USB->LAN adapters made by ASIX (for example ASIX AX88772B) are working if you have a kernel with an ASIX kernel module (for example boeffla kernel + boeffla config v2 app in order to enable the module).
If you can access/ping websites only by internet IP-addresses but not domain-name you need dnsproxy2. I guess this is not needed anymore with a recent boeffla kernel.
Further requirements:
- Android 4.4.4 (Cyanogenmod 11) or lower (CM 12 or 12.1 does not work, see comment below)
- Ethernet-2.XX.apk in order to switch between wlan0 and eth0
- xposed framework for the following xposed modules:
- HACK CONNECTIVITY SERVICE 1.4 or Fake Wifi Connection xposed framework module if you have an app that insists of an wlan0 interface
good luck and success!
COMMENT relating to ethernet incompatibility of CM12 and CM12.1
Until CM11 (Android 4.4.4) I could use my eth0 interface as normal user for everything.
BUT since CM12 I have the following problem:
BUG/missing permissions? eth0 (USB->LAN) interface only usable as root user in terminal since CM12
When I try to ping my router ping 192.168.1.1 or any internet IP I get a android connect network is unreachable.
The only IP-adrress I can ping as normal user is my own IP-adress of the eth0 interface (for expample 192.168.1.XX).
After login as root with the su command in the terminal I can ping the router IP and every internet IP.
Even disabling the iptables filters/firewall did not help.
When I switch to the wlan0 interface I can ping everything with my normal user and the internet connection is available for every app.
Just wanted to bump this thread to see if anyone else knows of a way doing this withOUT going to CM11 or lower?
I'd really like to stay on lollipop.
Alternatively, do we think an AOSP Marshmallow ROM with boeffla's kernel might also do the trick?
Thanks, and cheers.
Following commands in the Terminal Emulator resolved this issue for me. I am using Galaxy S4 with Android 5.0.1 (Lollipop) with BobJGear OTG Ethernet (ASIX AX88772A Chipset). The commands needs to be run every time when switching from Wifi to Ethernet.
Code:
su
netcfg eth0 dhcp
ip rule add from all lookup main pref 99
ndc resolver setnetdns eth0 "" 8.8.8.8 8.8.4.4
exit
Then I can ping to my router and external websites in the Terminal Emulator without using superuser (SU). The Internet also works with LAN on my Smartphone. I do have to enable "Hack Connectivity Service".
Before using above "ip rule" commands, I could only ping using Superuser.
Also previously it was not recognizing website names while pinging. the "ndc resolver" command resolved that issue.
Related
After compiling and installing kernel 3.4.39 on SM-P600 (Galaxy note 10.1 2014), I can use my Ethernet over USB dongle, chip AX88772 (Asix).
It works normally, I can download iso files with the wget command on a console.
But, I CAN'T use browser (chrome and internet browser included in Android) to navigate on the internet.
eth0 is configured normally by ifconfig or dhcpcd.
I can see rmn0 and rmn1 also which have 0.0.0.0 address.
How to give access to eth0 to net applications?
I have no firewall installed on my device and the same dongle with the same ifconfig, linked to the same router work normally.
Most probable you will find the reason in http://forum.xda-developers.com/showthread.php?t=2112478
Chopac said:
After compiling and installing kernel 3.4.39 on SM-P600 (Galaxy note 10.1 2014), I can use my Ethernet over USB dongle, chip AX88772 (Asix).
It works normally, I can download iso files with the wget command on a console.
But, I CAN'T use browser (chrome and internet browser included in Android) to navigate on the internet.
eth0 is configured normally by ifconfig or dhcpcd.
I can see rmn0 and rmn1 also which have 0.0.0.0 address.
How to give access to eth0 to net applications?
I have no firewall installed on my device and the same dongle with the same ifconfig, linked to the same router work normally.
Click to expand...
Click to collapse
Dear Forum,
Wired Ethernet on a tablett HOWTO.
Tested on a P5110
Get ready to build CyanogenMod for Your Device
http : / wiki.cyanogenmod.org/w/Build_for_p5110
but before you build:
cd android/system/kernel/samsung/espresso10
make menuconfig
[Navigate using arrow keys and enter]
Load an Alternate Configuration File:
./arch/arm/configs/cyanogenmod_p5110_defconfig
then
Device Drivers ->
Network device support ->
USB Network Adapters ->
Multi-Purpose USB Networking Framework ->
[PRESS y so that the module will be built into the kernel]
[*] Multi-purpose USB Networking Framework
find the Chipset Your Adapter is using
[PRESS y]
[*] ASIX AX88xxx Based USB 2.0 Ethernet Adapters
or whatever Chipset your Adapter is using
exit and save
build the ROM
Flash it
open terminal
su
netcfg
Your eth0 should now show up to get an IP Address
netcfg eth0 dhcp
The grapevine says not all apps are supported as Android has a sketchy implementation apps written in c or c++ should work
martburg said:
Dear Forum,
Wired Ethernet on a tablett HOWTO.
Tested on a P5110
.....
The grapevine says not all apps are supported as Android has a sketchy implementation apps written in c or c++ should work
Click to expand...
Click to collapse
What would ./arch/arm/configs/cyanogenmod_p5110_defconfig be on a p3110?
Easier will be to flash Agni kernel and install this app from store. Is using a little hack so every app works with the wired connection https://play.google.com/store/apps/details?id=xda.usbhost.test
I"ve been scratching my head for a while on this one. Here's what I did to get ethernet access with the help from above. Thanks iamashwin and blueseeker.
1) From TWRP v2.8.4.0 in boot recovery, flash the following:
- Recent version of OmniRom 4.4.4 nightly. I used the 2/12/15 nightly.
- Flash PA Gapps Micro for 4.4.4
- Flash SuperUser
- Flash AGNi kernel for 4.4.4
- Reboot
2) Load this android app.
2) Make sure wifi is turned off.
3) Plug in your USB-OTG adapter with USB-Ethernet adapter. I bought this USB-OTG adapter and this USB-Ethernet adapter.
4) Run ethernet app that you downloaded from 2) above. Hit "Enable".
You should be good to go from here.....
Samsung Galaxy Tab 3 10.1" P5200.
Hello I want to get a similar configuration setup on my Samsung Galaxy Tab 3. Is there any way that modifications can be made to what's been used here to support it.
Hey guys, I'm trying to set up my phone as a StreetPass relay for my 3DS. I can't seem to change the MAC Address, however.
I'm running a stock SM-G900W8, rooted, SIM Unlocked, with BusyBox installed.
I've tried a handful of MAC Changing/Spoofing apps, and I've tried using the terminal to change it with BusyBox, but I've had zero success. It simply won't change...
Any suggestions or information would be great, thanks!
stickmanmeyhem said:
I've tried a handful of MAC Changing/Spoofing apps, and I've tried using the terminal to change it with BusyBox, but I've had zero success. It simply won't change...
Click to expand...
Click to collapse
Can't change your MAC address with busybox? That is rather unlikely. But you didn't describe what busybox commands you used, what apps you tried, how you checked your MAC address or much else. Making it impossible to tell what went wrong for you. It certainly works on my S5.
Note that the the Android settings menu about device is only reporting the native hardware MAC address. That isn't necessarily what the WAN network actually sees. Discerning your real outward facing MAC address is best done by from your router menu, ethereal, et cetera.
List your interfaces and identify your WAN route, e.g.
Code:
$ su
# busybox ifconfig
Your WAN interface will probably be wlan0. Once you identify the correct interface, note the active MAC address i.e. HWaddr. At this point, it probably agrees with the default settings menu information.
Change your session MAC address
Code:
# busybox ifconfig wlan0 hw ether 00:05:1A:25:55:02
Confirm the change
Code:
# busybox ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:05:1A:25:55:02
Done
.
fffft said:
Can't change your MAC address with busybox? That is rather unlikely. But you didn't describe what busybox commands you used, what apps you tried, how you checked your MAC address or much else. Making it impossible to tell what went wrong for you. It certainly works on my S5.
Note that the the Android settings menu about device is only reporting the native hardware MAC address. That isn't necessarily what the WAN network actually sees. Discerning your real outward facing MAC address is best done by from your router menu, ethereal, et cetera.
List your interfaces and identify your WAN route, e.g.
Code:
$ su
# busybox ifconfig
Your WAN interface will probably be wlan0. Once you identify the correct interface, note the active MAC address i.e. HWaddr. At this point, it probably agrees with the default settings menu information.
Change your session MAC address
Code:
# busybox ifconfig wlan0 hw ether 00:05:1A:25:55:02
Confirm the change
Code:
# busybox ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:05:1A:25:55:02
Done
.
Click to expand...
Click to collapse
Hi, Thank you. Using your method i changed the Mac address, but im unable to Connect my Wifi internet.
Can you guide me how to use my wifi internet in spoofed mac address ?
Mac
how to solve the problem with the change mac
grigaraz said:
how to solve the problem with the change mac
Click to expand...
Click to collapse
Can't used secured with a spoofed mac, no way around it afaik
Sent from my SAMSUNG-SM-G900A using Tapatalk
Mac
on cyanogen 12/13 mac address changes almost without problems, why did not officially change?
Hello everyone,
I am trying to connect my microusb to ethernet adapter to my G2 running Mahdi ROM, but even after installing and running (using lsmod ) its drivers (VK-RD9700), I am unable to get it to work, as there's no interface showing for an ethernet port (usually named eth0). lsmod des not return any message, which I believe is good as it should mean that no error has been encountered. The red LED flashes on the adapter, but no internet connection is reached. netcfg shows no sign of the ethernet adapter (images attached), neither does busybox ifconfig -a. Tried using rmnet_usb0 instead of eth0 with no success. dmesg does detect the USB, and gives some strange message (attached as well) which are of no help (at least to me ).
Than you in advance for any help you are able to provide.
Hi
I have the 16gb ShieldTV Pro running the latest Shield Experience and I cannot get the custom DNS to save. It claims to have save successfully, but in reality always reverts to google's dns servers. The setiings I'm applying work on other devices (AppleTV, laptop, etc). Is there something I'm missing?
Thanks
I have this serious issue too :'(
adb shell ping 8.8.8.8 works but ping the google.com does not works! firmware v8.2\
The nstv firmware is buggy build :\
Where even is the custom DNS setting?