Related
Guys, apologies if this has been posted before but couldn't find it.
I've rooted my phone with JF RC9, but for some reason I can't use the wifi tether (one of my main reasons for rooting in the first place). So far as I can tell, I have root (in that I can su in a terminal) and my pc can see the ssid of the phone and connects quite happily but I don't get internet access for some reason - am I missing something really obvious or have others encountered this before?
Hi!
I assume you are using "Wifi Tether for Root Users" ...
If yes please make sure that you are using the lastest Version (0.97.1) which is available here:
http://code.google.com/p/android-wifi-tether/downloads/list
(0.97.1 fixes some cupcake-related issues)
You say that you see that your client is able to connect ... right?
Please check the following:
1) What ip-address do you got from the phone?
(For Windows): Open command-prompt and type "ipconfig"
You should got an ip-address like: 192.168.2.100 (maybe 101, 102, ... at the end).
2) Are you abel to ping the standard-gateway?
type: ping 192.168.2.254
You client must support ad-hoc mode - otherwise it won't work.
Please check and report back.
Man, have I been dense. After spending a couple of weeks, scouring forums, taking the classic I.T. approach of 'turn off, wait, turn on again', I've figured it out...
I'd set up a static i.p. on my pc a long time ago so was still trying to make it through the router...
doh!
Thanks for your reply though harry_m, it was your comment around pinging the i.p. address tat jogged my memory! works like a charm now
I have been trying to spoof my mac address on my phone. I am a pen tester so please don't lecture me on the ethics behind this because I know. It is very simple to do on linux, so I thought it would be possible on Android.
I installed busybox and terminal emulator and ran the su command. So far, i can run 'busybox ip link set eth0 address XX:XX:XX:XX:XX:XX' 'busybox ip link set eth0 broadcast XX:XX:XX:XX:XX:XX'. Everytime I do this, it changes the mac address, but breaks the wifi functionality. The only way to fix the wifi was to disable, then re-enable it, but that resets the wifi. I was wondering if we could colaborate on this and maybe get somewhere.
I have also seen this somewhere, but am not sure if it will work.
ip link set address NEWMAC dev eth0
Sorry for digging out this old thread, but I was trying the same and failing in the same way as you were.
The only difference is, I do not change the broadcast address, because imo this should remain on "all FF" (please tell me, why the broadcast should be set to the new MAC).
If I change it and fire up 'ip link show eth0', it shows the changed MAC.
The settings menu still shows the real MAC.
As in your case, the WiFi-connection (naturally) terminates (the router (access point) cannot know about the change). If I try to reconnect to the router, I get the error that my password is wrong. When checking the router's log, I see an entry about a failed connection attempt from the changed MAC address.
The only explanation I have is that the WPA2 encryption somehow incorporates the actual "real" MAC address so the encryption fails and as a consequence the connection is refused.
So-far, I haven't tried it without encryption.
Another question would be, what exactly is executed, when you activate WIFI on the phone? Which script?
I know that the network device (in my case "eth0") is created at this point.
If WIFI is down, no such device exists.
I would suspect some script that creates the interface, activates it and starts a demon that handles the connection stuff.
Maybe it would help to inject the spoof code after the interface was created, but before it is activated? So-far, I couldn't identify the correct script/command. Does anyone know?
Knowing the command that creates the network interfaces would also help when searching for the script.
For anyone interested in playing with it, I have built the ppp_mppe.ko module that is missing to make the PPTP with encryption work. My initial testing shows that it connects and passes traffic. Unfortunately, after a few minutes it stops passing traffic but remains connected. I need to investigate the logs...
To try it, open a terminal, cd to the folder where you stored it, su (YOU NEED ROOT), "insmod ppp_mppe.ko", and then go try an encrypted VPN PPTP connection. Mine failed the first time, and then worked on subsequent connections.
e081820061574b1ab1188294e62e1cff ppp_mppe.ko
I'm curious to see if anyone here cares about this and how it works for you.
Shayne
I'm really interested in make my VPN work. I'm using CM7 on Galaxy Tab. I don't think your module was made for my kernel.
Is this ever going to be fixed? I'm able to connect to my PPTP VPN provider, and it requires encryption. I can ping out for a while... but as soon as I open the browser or other app the actually uses the net the pings stop and connection stops transmitting, although still connected. So frustrating...
Yeah, the module isn't going to work on other devices.
I get the same result as you when I do a PPTP connection. Actually when I posted this I hadn't dug deep enough to find that this was a long standing problem, and I just figured that getting the module loaded in would fix it.
Seems like this module should be where the bug is, but I haven't had time to look at it more closely. Apparently there aren't enough people that care about this feature.
Looks like this problem is related to the MTU. I can send/rcv 1380 byte pings, but anything bigger causes the connection to quit working. I'm thinking that rebuilding pppd with a lower MTU might be interesting, but I need to get set up to do that. pppd does not pay attention to config files, and mtpd, akaik, doesn't pass an mtu/mru arg to it.
velocityfactor said:
Looks like this problem is related to the MTU. I can send/rcv 1380 byte pings, but anything bigger causes the connection to quit working. I'm thinking that rebuilding pppd with a lower MTU might be interesting, but I need to get set up to do that. pppd does not pay attention to config files, and mtpd, akaik, doesn't pass an mtu/mru arg to it.
Click to expand...
Click to collapse
I have come across this blog with some mtpd command line examples, see if it helps on manually connecting with custom MTUs.
I also tried a couple suggestions of changing MTU on the eth0 to 1480 and 1380 before and after connecting to the VPN, without any success. Also tried different MTUs on ppp0 after connection also with no success.
I just wanted to say that even though this stuff is far too above my head for me to contribute, thanks for working on this!
Now I can keep daydreaming about turning my phone into a PPTP server...
I understand that this thread hasn't been active for a while, however, I do want to say thanks for this! With the provided module, I was finally able to connect to our VPN server using PPTP with encryption. In fact, I was able to do so as well over 4G. I read through several threads on various sites regarding the commonality of this issue and possible firewall NAT restrictions on Verizon's behalf. It seems it was just a module needed that fixed all this.
On a side note, I haven't had the connection dropped so far. I'm about 1000 ping sequence in and connectivity is still up and running. Not sure if this is an effective means of validation it.
If it helps others looking into this issue as well, note, that I've tried virtually all available kernels as of date to this posting. Nothing worked. This module was the only thing that granted access to our VPN server.
Update: Spoke to soon. After attempting to log into a server, data was no longer able to pass through.
I'm glad to hear it has helped you. It didn't turn out to help me.
To test it further, I suggest you pass some real traffic over it. Regular ping traffic doesn't cause the loss of connection that I'm familiar with. If it continues to work, count yourself lucky, and you might want to convince your favorite kernel builder (imnuts, maybe) to include that module.
I spent some time looking into the dropped connection issue and was not successful at finding a solution. What I think I learned is that when the pptp server handles a packet larger than the mru and fragments the packet, the first fragment decrypts ok, but the second fragment decrypts to junk. It's supposed to be stateless encryption, but all subsequent packets silently fail to decrypt. Thus, all traffic stops moving and the link eventually times out.
This problem only seems to affect the reception of packets. The outgoing traffic seems to be unaffected.
The PPP and MPPE code in the froyo kernel is unchanged from that in the mainstream Linux kernel. My Ubuntu desktop can do PPTP with MPPE no problem. So why can't froyo?
This was absorbing too much of my time, so I finally gave in and set up L2TP.
velocityfactor said:
The PPP and MPPE code in the froyo kernel is unchanged from that in the mainstream Linux kernel. My Ubuntu desktop can do PPTP with MPPE no problem. So why can't froyo?
Click to expand...
Click to collapse
I'm not entirely sure if froyo's at fault as I was able to confirm with a few of my colleagues that they were able to VPN with PPTP just fine on their non-charge device that's on froyo. Additionally, I even tried the GB leak but ended up with the same results.
velocityfactor said:
This was absorbing too much of my time, so I finally gave in and set up L2TP.
Click to expand...
Click to collapse
Thanks for taking a stab at this though. It does seem that there isn't a big call for this feature within the community; a huge bummer for those that does need it.
Problem details
I have this problem with my HTC Inspire 4G and I've been researching it a lot.
The error reported on PPTP server side suggests that Android PPTP client tries to negotiate unsupported protocol:
pppd: Protocol-Reject for unsupported protocol 0xxx
but it is a misleading message since initially the protocol is negotiated correctly and the connection is established. Only after several dozens of frames are transmitted the error appears and it repeats with different value of unsupported protocol in the message.
Since then the PPTP tunnel is out of sync and Android client sends effectively random octets from the MPPE encryption module.
I will include links here to Web pages with details FYI if you are interested in more details about it.
http://www.securitykiss.com/resources/articles/android_vpn_bug/index.php
http://code.google.com/p/android/issues/detail?id=10901
http://code.google.com/p/android/issues/detail?id=4706
velocityfactor said:
This was absorbing too much of my time, so I finally gave in and set up L2TP.
Click to expand...
Click to collapse
Interesting that PPTP failed you, but L2TP worked. I had the opposite experience. A stock unrooted Android 2.2.2 connected to a debian pptpd just fine, mostly with default settings. (although I didn't go as far as to route traffic, just confirmed that there's an encrypted connection)
But it's ipsec that doesn't work for me. Would you please post the L2TP server configuration that works for you?
I'll post the PPTP server settings if anyone is interested.
The PPTP doesn't fail until you send traffic. Specifically, it works ok until you send a large packet that get fragmented. Then it seems the encryption becomes out of sync and things go downhill from there.
My L2TP is running on Windows Server just using default settings, so nothing to post really.
This thread should probably be closed since it doesn't really relate to the Charge specifically and the fix isn't "getting close" afaik.
Shayne
At this point, I essentially gave up on PPTP on the Charge (more specifically, Froyo and Gingerbread), but I did some testing on ICS the Galaxy Nexus. The Galaxy Nexus works fine with my DD-WRT PPTP server. I didn't notice any issues with it.
But yeah, on both Froyo and Gingerbread I could get a PPTP connection to link up, but no traffic would pass.
Thankfully it seems that Google got it right with ICS, now I just have to spend more money on an ICS phone to get the features they advertise
Perhaps ICS will roll out to the Charge, but I'm not going to bet the farm on it. It would be interesting to try PPTP connectivity on JT's ICS build, but I do need the cellular radios to work so I haven't gotten around to trying it yet.
xdadevnube said:
At this point, I essentially gave up on PPTP on the Charge (more specifically, Froyo and Gingerbread), but I did some testing on ICS the Galaxy Nexus. The Galaxy Nexus works fine with my DD-WRT PPTP server. I didn't notice any issues with it.
But yeah, on both Froyo and Gingerbread I could get a PPTP connection to link up, but no traffic would pass.
Thankfully it seems that Google got it right with ICS, now I just have to spend more money on an ICS phone to get the features they advertise
Perhaps ICS will roll out to the Charge, but I'm not going to bet the farm on it. It would be interesting to try PPTP connectivity on JT's ICS build, but I do need the cellular radios to work so I haven't gotten around to trying it yet.
Click to expand...
Click to collapse
I think samsung screwed it up more than the OS.
xdadevnube said:
At this point, I essentially gave up on PPTP on the Charge (more specifically, Froyo and Gingerbread), but I did some testing on ICS the Galaxy Nexus. The Galaxy Nexus works fine with my DD-WRT PPTP server. I didn't notice any issues with it.
But yeah, on both Froyo and Gingerbread I could get a PPTP connection to link up, but no traffic would pass.
Thankfully it seems that Google got it right with ICS, now I just have to spend more money on an ICS phone to get the features they advertise
Perhaps ICS will roll out to the Charge, but I'm not going to bet the farm on it. It would be interesting to try PPTP connectivity on JT's ICS build, but I do need the cellular radios to work so I haven't gotten around to trying it yet.
Click to expand...
Click to collapse
Interesting, as my galaxy nexus on 4.0.4 is unable to effectively access my ddwrt based pptp Vpn server. With mppe encryption enabled, it won't connect at all. With encryption disabled, it connects but incoming traffic stalls like many people above mentioned. Nothing on the remote wan or remote LAN seem to be accessible from the phone as best as I can tell.
Ddwrt vpn server is configured correctly as my windows 7 PC can connect to it without a problem.
Haadkoe said:
Interesting, as my galaxy nexus on 4.0.4 is unable to effectively access my ddwrt based pptp Vpn server. With mppe encryption enabled, it won't connect at all. With encryption disabled, it connects but incoming traffic stalls like many people above mentioned. Nothing on the remote wan or remote LAN seem to be accessible from the phone as best as I can tell.
Ddwrt vpn server is configured correctly as my windows 7 PC can connect to it without a problem.
Click to expand...
Click to collapse
I dunno, but I just got it working on ICS 4.03 CleanROM Kang Tapped Edition for the HTC Rezound.
MPPE enabled.
It passes traffic, can browse the web, copy files from a network share. Connectivity does not get lost.
It does use the remote gateway.
I didn't check on if it was possible to set a local gateway.
Anyways, I've been waiting for this damned feature for quite some time.
If all you want to do is access your PC's files, I suggest PocketCloud Explore.
It is pretty tight.
Haadkoe said:
Interesting, as my galaxy nexus on 4.0.4 is unable to effectively access my ddwrt based pptp Vpn server. With mppe encryption enabled, it won't connect at all. With encryption disabled, it connects but incoming traffic stalls like many people above mentioned. Nothing on the remote wan or remote LAN seem to be accessible from the phone as best as I can tell.
Ddwrt vpn server is configured correctly as my windows 7 PC can connect to it without a problem.
Click to expand...
Click to collapse
there is a specific way to force Encryption on the PPTP server on ddwrt
More info.
http://www.dd-wrt.com/wiki/index.php/PPTP_Server_Configuration
Okay, for anybody interested, I did get successful VPN with encryption working on the Droid Charge with an app called VPNRoot:
https://play.google.com/store/apps/details?id=com.did.vpnroot&hl=en
Plus, this allows one to have no pin or pattern unlock, no lock screen at all actually.
It worked for me on both the Droid Charge with Tweakstock 2.0 and the HTC Rezound with an ICS ROM.
I paid for the pro version of the VPNRoot app by donating to the dev. Now I finally have the feature I wanted over a year ago when I got my Charge.
ICS works with VPN, but you have to have a pin or pattern lockscreen on your phone. If you disable the lockscreen with NoLock or via a tweak, you still have to enter your pin or pattern every time you click a notification....
VPNRoot does exactly what I want. For some reason at first I had trouble with it, but the latest version seemed to fix all the issues.
I haven't done thorough testing on speed yet, but hopefully will soon.
xdadevnube said:
Okay, for anybody interested, I did get successful VPN with encryption working on the Droid Charge with an app called VPNRoot:
https://play.google.com/store/apps/details?id=com.did.vpnroot&hl=en
Plus, this allows one to have no pin or pattern unlock, no lock screen at all actually.
It worked for me on both the Droid Charge with Tweakstock 2.0 and the HTC Rezound with an ICS ROM.
I paid for the pro version of the VPNRoot app by donating to the dev. Now I finally have the feature I wanted over a year ago when I got my Charge.
ICS works with VPN, but you have to have a pin or pattern lockscreen on your phone. If you disable the lockscreen with NoLock or via a tweak, you still have to enter your pin or pattern every time you click a notification....
VPNRoot does exactly what I want. For some reason at first I had trouble with it, but the latest version seemed to fix all the issues.
I haven't done thorough testing on speed yet, but hopefully will soon.
Click to expand...
Click to collapse
VPNRoot works great, thanks! I have the same issue on my Hyundai T7 with android 4.0.4, times out connecting to my VPN, but this app solves that problem.
I'm using vpn root on a s4 with stock ics firmware.
it can connect but times out all the time.
I can do google searches fine but trying to load any Web page just hangs.
have a pptp vpn on dd-wrt.
is there any settings I need to change?
My problem again is that i cant connect to a second wireless router(no password needed for second router), the 1sth router its password protected (@ my work) ,then i come home and i cant connect because the IP from my work its not gone and theres no way to release/renew
I want to know if theres an app to emulate CMD like in windows (and not a computer needed to do it),i want to do it on my tf instead (dont tell me "turn off/on your router " please, i wont be asking on mcdonalds or burguer king if they can turn off/on their router )or any other place if they can do that so i can release my ip and get a new one
Thats what i want to avoid , so if theres some way to release /renew my ip (and no computer needed) then that will be great
I have revolver rom installed , but this PROBLEM was even on the stock rom ,so is not the rom or the 2 routers, my wifes ipod 4th gen connects right away and always renews ip at any place
Please help me
Thanks in advanced
jesesystem said:
I want to know if theres an app to emulate CMD like in windows (and not a computer needed to do it),i want to do it on my tf instead (dont tell me "turn off/on your router " please, i wont be asking on mcdonalds or burguer king if they can turn off/on their router )or any other place if they can do that so i can release my ip and get a new one
Click to expand...
Click to collapse
You can use terminal emulator for "CMD" window.
Just turning off your tablet will reset the wifi and it will scan for a new access point. Leaving the area of the AP at work should cause it to scan for a new one too. If you have hard coded a static IP address in your advanced wireless settings, pick up an app like WiFi Manager from the market to allow you to have multiple profiles and switch between them.
---------- Post added at 01:15 PM ---------- Previous post was at 01:13 PM ----------
gls9 said:
You can use terminal emulator.
Click to expand...
Click to collapse
Network settings require root to perform and there are nice apps that do point and tap to set it.
gls9 said:
You can use terminal emulator for "CMD" window.
Click to expand...
Click to collapse
Do you know how to release / renew ip with that program?
drowe said:
Just turning off your tablet will reset the wifi and it will scan for a new access point. Leaving the area of the AP at work should cause it to scan for a new one too. If you have hard coded a static IP address in your advanced wireless settings, pick up an app like WiFi Manager from the market to allow you to have multiple profiles and switch between them.
---------- Post added at 01:15 PM ---------- Previous post was at 01:13 PM ----------
Network settings require root to perform and there are nice apps that do point and tap to set it.
Click to expand...
Click to collapse
Both are DHCP enabled, so i dont know why it wont release it from previous routers , ive tried turning off/on both routers and tablet aswell and the problem persist.
With wifi manager i can make my TF to "release", or forget the las ip ?
Maybe I don't understand the problem, but can't you change wireless connections in the settings/wireless menu? Tap on the new connection?
sent from my cyanogen(mod) vision
gee one said:
Maybe I don't understand the problem, but can't you change wireless connections in the settings/wireless menu? Tap on the new connection?
sent from my cyanogen(mod) vision
Click to expand...
Click to collapse
i cant release the previous ip (my work , protected with password, dhcp enabled)
when i get home i have the last IP (from work), si i try to connect at my home router but i can see i have the ip form work, and theres no way i can release it to get a new onw from my home router.
i can acces my tf options to see what connections are on range and i can connect aswell, but the old ip form work wont dissapear and i cant acces internet or any other web content because i dont have a valid IP and there no way i can get rid of it
so i was asking if theres some way/app/etc etc to get the new ip working from my home router(not password protected)
but i think thats not the problem(open router), mi wifes ipod can connect everytime she gets home, its TF problem
If you need to get a new IP, turn on airplane mode, then turn it off. Simple as that. You're seriously overcomplicating this.
a.mcdear said:
If you need to get a new IP, turn on airplane mode, then turn it off. Simple as that. You're seriously overcomplicating this.
Click to expand...
Click to collapse
i have not tried that, i will take the TF to work today and se if that works
on a side note; im not overcomplicating anything, im trying to get help for something i dont know, im just a new TF user
thank you for the advice and i hope it works
Also, just in case, you may want to check that you don't accidentally have a static IP set on your device. Sometimes its easiest to avoid problems by simply deleting the network profile from your Transformer (or "forget" the network in Wifi Settings), and then attempt to re-connect again fresh.
a.mcdear said:
Also, just in case, you may want to check that you don't accidentally have a static IP set on your device. Sometimes its easiest to avoid problems by simply deleting the network profile from your Transformer (or "forget" the network in Wifi Settings), and then attempt to re-connect again fresh.
Click to expand...
Click to collapse
Its set to DHCP so i know thats not the problem, i guess the problem rely on the routers, maybe i need to add password to my home router and see if keep getting the same problem, but as i said before i will have problems on every open wireless network maybe
As alluded to, the work IP falls out of range and hunts for a new AP.
Do you have MAC filtering?
OT: Why do you have an open home net?
GasGuzz said:
As alluded to, the work IP falls out of range and hunts for a new AP.
Do you have MAC filtering?
OT: Why do you have an open home net?
Click to expand...
Click to collapse
i know it have to look for a new ip, but no its not doing it on my home network, thats why im having problems
as i said before, what am i gonna do when i try to connect to another open network ?? (ask them to turn off/on their routers , ask them to put password)
i dont know if this only happens with my router, i will try all the advices when i get home tonigth and see what happens
It’s (most probably) not the TF.
My work has both Open/Secured APs. It connects to the Secured as soon as it’s in range/awake, unless I manually hook it up to the Open. Same at Secured home, it connects no-mess/no-fuss.
How many Open nets do you ‘see’ at home?
GasGuzz said:
It’s (most probably) not the TF.
My work has both Open/Secured APs. It connects to the Secured as soon as it’s in range/awake, unless I manually hook it up to the Open. Same at Secured home, it connects no-mess/no-fuss.
How many Open nets do you ‘see’ at home?
Click to expand...
Click to collapse
just my network it's open, but my wifes ipod can connect/disconect as fast as you say with you network, it's just the TF not getting the new IP everytime i get home from work.
i was so freaking mad 2 days ago so i did a full wipe, that did the trick , i didnt have lot of apps that's why i did it , but i dont want to do it again and get all my apps lost one more time
nop !!!
none of the above advices worked , im so sorry for the guy saying i was overcomplicating this, and no , the airplane mode dindt solve it either
so i dont know wth can i do , the problem again is that i cant get a new IP, my last ip it's still not released (not even with airplane mode) , turnit off/on the device and tablet wont solve it either
i did the test with my wifes ipod (took it work then comeback)and it works as it should, just the TF doesnt work
so if i can do it with with terminal emulator (to release/renew IP) i will appreciate the step by step guyz
thanks in advanced
If you're using DHCP, under GNU/Linux the way is to launch the terminal emulator and run
Code:
dhclient -r
and then either restart the network interfaces (different between distros) or to run the DHCP client on the interface (in my tablets case, probably 'dhclient wlan0' without the quotes).
BUT!!! This being an Android tablet rather than a standard GNU/Linux system, has no dhclient program as far as I know. I have access to ifconfig, dhclient, etc by way of having Debian stable programs running in a chroot.
You might try disabling WiFi, forgetting the network, and reconnecting to it. The last router I had also had a way of getting rid of leases manually, either by telling it to tell the client to FO or deleting them all.
EDIT: Give or take specifics, I think the TF101 (or at least Prime) has dhcpcd. Try
Code:
dhcpcd -k wlan0
dhcpcd -n wlan0
to release and then renew. No promises if that will do jack though. You might also just try running 'dhcpcd wlan0' (without quotes).
For terminal emulators, go to the market or check if your ROM has one (Prime does).
Sent from my Transformer TF101 using Tapatalk
You really shouldn't have to go through any of this stuff. I'd say the system is borked, maybe the hardware, maybe the software. You could try flashing a new version or just take it back, show them you can't connect to their network and get a replacement. It really works as easily as we say and as easy as the wife's ipod. I would take it back or send it in for repair, I think you have a broken system.
Spidey01 said:
If you're using DHCP, under GNU/Linux the way is to launch the terminal emulator and run
Code:
dhclient -r
and then either restart the network interfaces (different between distros) or to run the DHCP client on the interface (in my tablets case, probably 'dhclient wlan0' without the quotes).
BUT!!! This being an Android tablet rather than a standard GNU/Linux system, has no dhclient program as far as I know. I have access to ifconfig, dhclient, etc by way of having Debian stable programs running in a chroot.
You might try disabling WiFi, forgetting the network, and reconnecting to it. The last router I had also had a way of getting rid of leases manually, either by telling it to tell the client to FO or deleting them all.
EDIT: Give or take specifics, I think the TF101 (or at least Prime) has dhcpcd. Try
Code:
dhcpcd -k wlan0
dhcpcd -n wlan0
to release and then renew. No promises if that will do jack though. You might also just try running 'dhcpcd wlan0' (without quotes).
For terminal emulators, go to the market or check if your ROM has one (Prime does).
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
with that code i get this
open_control : Permision denied
with dhclient -r i get this
dhclient : permision denied
im already rooted, my TF its the tf101
drowe said:
You really shouldn't have to go through any of this stuff. I'd say the system is borked, maybe the hardware, maybe the software. You could try flashing a new version or just take it back, show them you can't connect to their network and get a replacement. It really works as easily as we say and as easy as the wife's ipod. I would take it back or send it in for repair, I think you have a broken system.
Click to expand...
Click to collapse
well i cant do that , i bougth it from ebay , i dont think its the TF itself, maybe the router (but the ipod works :S )
i will try and see if it happens on some other open network, or just replace the modem
when I connect to a captive wifi, I want to use the connection as is (maybe I want to login without telling google - since the builtin authenticator uses their gstatic domain, or maybe I want to probe the network as it is being redirected, or maybe I just want firefox to manage my password to the portal, etc)
but after I select "use wifi as is" on the android webview builtin auth screen, android starts to route all and every traffic to my 3g/4g data connection instead, until I disable and re-enable wifi.
it will only ever redirect traffic to wifi after it successfully got the correct 204 from gstatic.com
is there anyway to work around this?
I am on android6, but I think I has always been like that.
gcbxda said:
when I connect to a captive wifi, I want to use the connection as is (maybe I want to login without telling google - since the builtin authenticator uses their gstatic domain, or maybe I want to probe the network as it is being redirected, or maybe I just want firefox to manage my password to the portal, etc)
but after I select "use wifi as is" on the android webview builtin auth screen, android starts to route all and every traffic to my 3g/4g data connection instead, until I disable and re-enable wifi.
it will only ever redirect traffic to wifi after it successfully got the correct 204 from gstatic.com
is there anyway to work around this?
I am on android6, but I think I has always been like that.
Click to expand...
Click to collapse
Do you have any kind of Linux ide? Have you tried making a tunnel?
Or is that what your looking for. I'm not 100% sure what your looking for. If your trying to skip Hotspot authentication? Or anything like that Then a tunnel would work fine.
Sorry I can't be of much else help
If your phone is rooted or has a custom ROM (Which would obviously indicate that the phone is rooted), there is a solution that you can try using a terminal (Or ADB shell).
Issue the command: "settings put global captive_portal_detection_enabled 0" That should prevent captive portal detection and gstatic confirmation. This should work, I haven't tried it personally though.
Additionally, you can setup a captive server.
Issue the command: "settings put global captive_portal_server g.cn"
Restart your phone, and you should have access to the pages.
Basically, connecting as is, requires you to reach a site that does not require 204 confirmation and afterward other sites should be accessible. Let me know if this helps.
Josh Ross said:
If your phone is rooted or has a custom ROM (Which would obviously indicate that the phone is rooted), there is a solution that you can try using a terminal (Or ADB shell).
Issue the command: "settings put global captive_portal_detection_enabled 0" That should prevent captive portal detection and gstatic confirmation. This should work, I haven't tried it personally though.
Additionally, you can setup a captive server.
Issue the command: "settings put global captive_portal_server g.cn"
Restart your phone, and you should have access to the pages.
Basically, connecting as is, requires you to reach a site that does not require 204 confirmation and afterward other sites should be accessible. Let me know if this helps.
Click to expand...
Click to collapse
no root on the phone (damn blackberry priv) and no control of the portal.
this is so infuriating. This is trivial, banal even, on any device i control. Feel like a kid on training wheels every time i touch my phone.