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
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?
I have rooted my Nexus 7. Currently, the only way to change my MAC address is the following:
Code:
$ echo -n <MAC> > /persist/wifi/.macaddr
Using busybox ifconfig seems to work because new HWaddr is shown but in fact it doesn't - Settings->About tablet->Status shows old Wi-Fi Mac address. Additionally I cannot connect to AP any more. OpenWRT says:
deauthenticated due to local deauth request
Click to expand...
Click to collapse
I can write a script to automatically write new MAC to /persist/wifi/.macaddr and reboot, no problem, but I would prefer to avoid rebooting.
Kernel version 3.4.0-g03485a6, Android 4.4.4, Nexus 7 2013 Wi-Fi only.
Is this possible?
Has anyone ever got this to work? I'm searching on a way to have my MAC address changed upon booting the device and keeping it that way. Using ifconfig/busybox just allows you to change the MAC on that "boot session" and reverts back when you disconnect from an AP. I want to change my "stock MAC" from the get-go so that if I disconnect from an AP, it wont go back to the actual one. There is no /persist/wifi dir on my Nexus 7. Anyone who has done this before who can tell me how to do it?
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.
Hi,
I just had the problem of being behind a Http/Https proxy and there is currently no option available to set this on the fire TV Stick.
Android offers this option at least since version 4 by default but they must have deactivatetd this feature intenionaly (region rights and such things).
But it is still possible.
1. Setup your AFTVS on a normal Wifi with internet connection ( if not already done)
2. Activate Apps from unkown sources and ADB
Settings --> System --> Developersoptions
3. Make sure your are connected to the same network as your pc.
4. Sideload following app:
Code:
AndroidProxySetter:
github.com/jpkrause/AndroidProxySetter/releases
How To sideload:
aftvnews.com/sideload/#more-7959
5. Start the App over adb on your pc:
Code:
//connect to device
adb connect 192.168.1.184:5555
//check the connection
adb -s 192.168.1.184:5555 get-state
//start app
adb -s 192.168.1.184:5555 shell am start -n tk.elevenk.proxysetter/.MainActivity -e host 192.168.56.1 -e port 8080 -e ssid PrivateWifi -e key Passw0rd
Where u would replace the device ip, host, port, ssid and key with the settings of your network.
Please mind that ur on a linux based system and everything is case sensitiv.
For more options look here:
Code:
github.com/jpkrause/AndroidProxySetter
5. Now, if everything is fine some little popups will be displayed and at last it should say connected.
6. Going back to the home screen and Done.
Known issues: After some major updates you will need to set the proxy again, so just repeat step 4
It should also run on the normal AFTV but i got none so i can't test it.
All Credit goes to JPKrause who wrote that little app, I just happend to find it
Update 21.06.2016:
With Fire Os 5.2.1.0 it seems like you cant start adb on the device itself so you have to start the proxysetter over adb on your pc.
This "new" way doesnt require to install the terminal emulator anymore and its actually more comfortable.
best regards N4b0
how to setting up proxy using pac file?
N4b0 said:
Update 21.06.2016:
With Fire Os 5.2.1.0 it seems like you cant start adb on the device itself so you have to start the proxysetter over adb on your pc.
This "new" way doesnt require to install the terminal emulator anymore and its actually more comfortable.
best regards N4b0
Click to expand...
Click to collapse
how to setting up proxy using pac file?
zcrself said:
how to setting up proxy using pac file?
Click to expand...
Click to collapse
Hi,
well I guess the AndroidProxySetter doesn't cover any way to use PAC files.
But you can actually open your pac file with an editor of your choise and extract your proxy settings from the containing functions.
bg N4b0
Hello, I have this working on a Fire Stick, I ran the commands on a Fire TV and is not working. Anyone has this working on a AFT (no stick)?
Any help is appreciated.
Thanks.
edit: it not working anymore on my fire tv stick, I see the connection going to the proxy but in the screen it says invalid_geo_ip, somehow they manage to get my original ip. My gf is american, and we are abroad, this was the only way to watch amazon content. Sad. I'll try to get a vpn instead, but this proxy setting was easy configuration.
Hi mastodonian,
in my case it still works like a charm on the AFTVS. I just tried it over a vpn that my home server provides, but the tv stick then says something about geo restriction even though its a german vpn. I suppose they are doing some kind of deep packet inspection or they got an ip blacklist.
Can't say but eventually the proxy you are tring to connect uses internally a vpn or is on a blacklist.
Cheers n4b0
can someone help me with this one im a bit slow on following instructions especially codes like these
gjhech said:
can someone help me with this one im a bit slow on following instructions especially codes like these
Click to expand...
Click to collapse
its pretty simple just do the following
Download adblock plus and install it on your firestick - use the power of google or an app store on your fire stick to get it
Download this app to your pc - https://github.com/jpkrause/Android...d/v0.1.3-alpha/proxy-setter-release-0.1.3.apk
Adb this app to your firestick by (assuming you have adb installed if not google howto)
enable adb on the fire stick in dev options if not already done so
adb connect 192.168.1.1 (change the ip address to your firesticks)
adb devices (you should see a list of devices connected if adb is working with your firestick ip address and port number)
adb install (then drag and drop the apk file into the command window - This will auto complete the path of the apk to save you entering it manually)
once the apk is installed
Code:
adb -s 192.168.1.1:5555 shell am start -n tk.elevenk.proxysetter/.MainActivity -e host localhost -e port 2020 -e ssid MyWifiName -e key MyWifiKey
Starting: Intent { cmp=tk.elevenk.proxysetter/.MainActivity (has extras) }
Change the ip address in the above code to your firestick ip address - the numbers after the : is the port address - it should match what you saw when you typed adb devices
Change the ssid to your wifi name and key to your wifi password
you will get some pop up windows on the firestick telling you if it has succeeded or you have errors
next open adblock plus and enable adblocking
restart the firestick
open adblock plus again and you shouldnt see the warning about it cannot manually set the proxy at the top of the screen
load up an adblock test website to test its working
Thank you for making this method clear and easy. However, even though I get the successful messages and the proxy chnages to localhost and the Port to 2020, Ad Block Plus still shows the "please configure manually" message after reboot.
Testing on some apps, the ads are most definitely not blocked!
Any suggestions?
Thanks for malking this app , I just have a problem , netflix connects directly and not through the proxy , any idea how to force connecting through proxy ,
It works perfect
I bought FireStick today and it wouldn't let me connect to Amazon as my ISP has made mandatory to use HTTP proxy.
I followed your step wise instructions and it worked. Thanks a ton
Hello,
Thank you for this! One issue: I'm unable to disable to proxy via adb... is there a specific way to do this? I've attempted to uninstall the apk file and clear data, but it still remains connected to the host.
Any assistance would be greatly appreciated!
pdesai91 said:
Hello,
Thank you for this! One issue: I'm unable to disable to proxy via adb... is there a specific way to do this? I've attempted to uninstall the apk file and clear data, but it still remains connected to the host.
Any assistance would be greatly appreciated!
Click to expand...
Click to collapse
Hi,
I actually had to do this myslef recently so what i did was just remove the network via the GUI and add the network again.
If you have to do this over ADB you should try to remove the network and add it without proxy flag
Cheers N4b0
xbarsasy said:
Thanks for malking this app , I just have a problem , netflix connects directly and not through the proxy , any idea how to force connecting through proxy ,
Click to expand...
Click to collapse
Well I have to clarify i did not make this app i just found it and put it to good use
On the issue i cant really say how to force him using the proxy. This method just configures the android intigrated Wifi network stack that supports proxys since 2.X is suppose. If an app like Netflix detects this, then u need an other method.
For windows i got an app called Proxifier, but until now i didnt find anything similar for android.
Only alternativ solution for your problem I can think of would be to configure your Accesspoint with a VPN on a second virtual network (well that's how i would do it).
Cheers N4b0
Hi All,
-I posted as a guest but didnt see my message, so posting again. sorry if it will be duplicate-
After Fire OS 6.2.1.3 upgrade, this wonderful proxysetter app doesn't seem to work anymore. I tried both 0.1.3 and 0.2 versions and it can not set the proxy.
Poareq said:
Hi All,
-I posted as a guest but didnt see my message, so posting again. sorry if it will be duplicate-
After Fire OS 6.2.1.3 upgrade, this wonderful proxysetter app doesn't seem to work anymore. I tried both 0.1.3 and 0.2 versions and it can not set the proxy.
Click to expand...
Click to collapse
Facing the same issue, unable to connect to Amazon after October update.
Any workaround available?
Not working for me too
uj812 said:
Facing the same issue, unable to connect to Amazon after October update.
Any workaround available?
Click to expand...
Click to collapse
I recently bought a fire tv stick. But unfortunately unable to make http proxy work. Kindly advice.
Solved... I think
phildani7 said:
I recently bought a fire tv stick. But unfortunately unable to make http proxy work. Kindly advice.
Click to expand...
Click to collapse
Not sure if anybody is still interested in this, but I recently uninstalled the apk and was unable to install it again getting the following error: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
The solution is simple! The latest version of the FIreTV OS includes a proxy setting!
Just follow Step 1. in the instructions here: Blocked
The original instructions are posted on the Amazon appstore -> Appstore Blogs -> Viewing Secure (SSL/HTTPS) Traffic From Your App on Fire TVs Running Fire OS 6 on November 02, 2018
Since I've been blocked from posting a URL, here are the slightly modified instructions:
Setting a proxy on Fire TV
Bring up the Developer Tools Menu by one of the following two ways:
Remote: 1) Press and hold the Select and Down buttons for five seconds release and then 2) Press the menu button
ADB: adb shell am start -n com.amazon.ssm/.ControlPanel
Select Network Proxy
Select Manual
Enter your proxy IP address
Enter your proxy port
Click Save
Enjoy!
Hi All,
These proxy setting were working for me until the last update on OS 6.x and OS 7.x. The Developer setting app crashes on selecting save on the Network settings and the IP/port info is not saved.
Is someone else facing same issue.. Any work arounds?
Try this. It worked for me.
Use this .apk AndroidProxySetter. Install and follow the commands. It will route Network traffic to Charles proxy.
https://github.com/manadream/AndroidProxySetter