IPv6 on Galaxy S - Galaxy S I9000 Android Development

Hi All,
I've downloaded the Eclair kernel source from opensource.samsung.com
Looking at the supplied .config - IPv6 support is already switched on in the kernel but userland doesn't seem to know anything about it.
Is the .config supplied a default - or is it actually what Samsung ship in their phones? Seeing as there's no /proc/config(.gz) in the running phone, it's not easy to tell.
I'm really interested in getting IPv6 working on my Galaxy S.
Thanks,
Charlie

Idle thread for a couple weeks, but wanted to post some sort of answer since this thread pops up for 'android ipv6' searches.
I've got Samsung Vibrant (t-mo) with Eclair and ipv6 support is there out-of-the-box. With 'ip' ('busybox ip a') I can see ipv6 addresses on my native-ipv6-supporting wifi at home and at work. I've 'applied' to participate in the t-mobile ipv6 testing, will see what happens.
Meanwhile it is there and in the presence of a properly-functioning ipv6 router advertising ipv6 it will autoconfigure correctly on wifi. Unfortunately not everything at the user level supports ipv6, but the support is there and active at the networking level.
j

Related

[Q] Very odd SSL issue

I'm experiencing a very odd issue with my Galaxy S3 on the Virgin Network. For some reason I can't go on any SSL enabled site no matter what browser I use and which website I go to. The most descriptive error message comes from firefox which says SSL received a record which exceeded the maximum permissible length. Oddly if I enable wifi or otherwise bypass the regular network (VPN etc.) everything works properly. SSL enabled apps like banking sites work with no issue.
I'm currently on the latest nightly of the Carbon Rom, though I've experienced it when I was on Cyanogenmod as well so I don't believe that it has anything to do with the rom itself. Any idea on what might be going on?
Ensure your APN settings are correct.
valunthar said:
I'm experiencing a very odd issue with my Galaxy S3 on the Virgin Network. For some reason I can't go on any SSL enabled site no matter what browser I use and which website I go to. The most descriptive error message comes from firefox which says SSL received a record which exceeded the maximum permissible length. Oddly if I enable wifi or otherwise bypass the regular network (VPN etc.) everything works properly. SSL enabled apps like banking sites work with no issue.
I'm currently on the latest nightly of the Carbon Rom, though I've experienced it when I was on Cyanogenmod as well so I don't believe that it has anything to do with the rom itself. Any idea on what might be going on?
Click to expand...
Click to collapse
Is your time and date set to automatic?
My APN settings are correct and my time and date are set to automatic.
After doing some more testing only certain SSL sites don't work which makes the whole situation even more murky. startpage.com doesn't work, but the login of tdcanadatrust does. This is really weird.
Are you in a public WiFi network or in an area with a lot of WiFi networks?
If in public WiFi: Someone may be trying to hack you by SSL strip or redirect you.( Which can be why a VPN works)
If there are many WiFi networks in range : Download WiFi Analyzer from Google play to check WiFi channels, and switch your WiFi router to a cleaner channel if needed.
(If there are a lot of WiFi networks all on the same "channel", it can cause common data loss,lag and congestion. )
Sometimes a VPN can fix the problems with congested wifi channels, but I'm not sure.
If none of these ideas apply, clear cookies and cache.
If that still doesn't work:
Settings > Security > Clear Stored Credentials.
This will clear your SLL certificates and VPN info saved on your device. It might help with your browser.
While the SSL strip idea is a valid point that I hadn't considered initially I don't think that's the issue because I rarely connect to unknown wifi networks when traveling, and I think that all certificates would come back invalid if somoene was pulling that instead of the hit and miss situation I'm currently experiencing.
The Wifi bit is what really gets me though since the sites that don't work on the cell network work perfectly when I'm on wifi with no other changes needed other than the change in the way the phone connects. I have tried clearing the browser's cache with no luck and I'm not able to clear the stored credentials as described as the option is greyed out for me.
I thought that it might have something to do with the cerficates themselves, something about the way the browser/phone accepts certs depending on connection method but I can't see any difference between working sites and non working sites other than a difference in certifying authority (GoDaddy vs Verisign for example)
Problem Solved
I'm bumping up this thread to bring attention to the fact that I've found the solution to the problem. The issue is not with the rom itself, but the proxy that Bell/Virgin insists on its users using. Clearing the proxy and port settings for the Bell APN found under mobile device settings fixes the issue nicely. Special thanks to Dream_Team over at this thread for finding the solution.
Makes me wonder why there's an HTTP only (port 80) proxy set by default in the APN settings when it's not needed to access the network..

[Q] settings for faster gps A gps rules

Folks,
This might amuse you, but I'm learning. Still. As always. While my GPS is already working quite fast most of the time, I still think I did not figure out how to use cell broadcast for location. I'm not sure, though. Hope someone here may be able to look into that. FasterGPS is my point of interest atm. It sets an ntp server - so far, so good. I just had a look at the advanced settings: nothing set there. This bugs me. I found several threads on XDA dev posting various settings, but also this on rootzwiki telling us, quite convincingly, why most of the settings found on the web (and on XDA) are crap: http : / / rootzwiki .com/topic/28989-the-end-all-be-all-guide-to-your-gps/ (kick out the blanks, I assume I can't post links, yet).
I already mentioned (here: http:// forum.xda-developers .com/showthread.php?t=2643201 ) that WiFi location is not workin' on my device. Now, I found the key ENABLE_WIPER is not set. I also can see that SUPL_HOST is not set, which seems to be the cell broadcast providing server. Now, has anybody else checked that sub-menu and has some opinion on that? I'm quite willing to copyedit it into the wiki for the greater good of everybody, but I need some more experienced guys here.
I will just play with the settings now, hoping that I don't cause any harm. (Yay, fasterGPS has created a backup...) Some Q I would like to see answered:
1) SUPL_HOST is for cell broadcast location, and also including WiFi SSID location, right?
2) Does cell (not: wifi) broadcast triangulation work if you have only wifi data connection?
3) Is there some auto-updating list of geolocation servers somewhere? Including ports and cert location for DL? I'd like to have a choice beyond Nokia and Google, and _definetly_ a server using TLS/SSL. Hell, this is GEOLOCATION! I don't want to scream it openly at the whole of the interwebz. Why are there even servers WITHOUT TLS/SSL? (Really sorry to ask, me searchengine-fu is so b0rken, I haz founds none listz... ^_^ )
4) Just to clarify: we can use any provider for SUPL AGPS, right? That is to say, neither use our 'native' providers NOR supl.google.com or supl.nokia.com? Say you're on Telefonica (Germany: O2, mostly 1800 mHz), would it be possible to use use network cell broadcasts even on another GSM baseband frequency (like Telekom, mostly 900 mHz)? (Think also the the other way round, since 1800 mHz (if available) has the advantage of having smaller cells.) To specify: would our FP check these frequencies if onyl one SIM module is active/installed, using the 'other' frequencies?
Hope to hear all of your 2cts!
Quoting myself. Answering myself. Meh.
Could it be that the initial boost of interest is ebbing?
And that everyone (except some people complaining in the fairphone.com forum) are already happy with their phone?
boondiordna said:
I already mentioned (here: http:// forum.xda-developers .com/showthread.php?t=2643201 ) that WiFi location is not workin' on my device.
Click to expand...
Click to collapse
FTR: It works now. Oeffi (which is otherwise quite unstable and basically every other time I load a new network map) can now access my position. OSM~And is working great even without GPS, just using SSID triangulations.
boondiordna said:
1) SUPL_HOST is for cell broadcast location, and also including WiFi SSID location, right?
2) Does cell (not: wifi) broadcast triangulation work if you have only wifi data connection?
Click to expand...
Click to collapse
It's definitely using WiFi SSID to locate the position. I haven't tried it yet (with cell data connection) in an are where there are no WiFi SSIDs.
boondiordna said:
3) Is there some auto-updating list of geolocation servers somewhere?
Click to expand...
Click to collapse
Using Nokia's server right now:
Supl_HOST: subl.nokia.com
SUPL_SECURE_PORT=7275
(No other settings set - I assume to be using TLS only at the moment. Works great.)
I wonder if I should add this steps to the wiki.
If nobody objects here, I will.

VPN issues?

I'm not so sure its just my VPN provider anymore. I've tried a few different apps and I get the same issues.
I'm currently with Private Internet Access (PIA) and I've tried both their app and OpenVPN and sometimes it will connect on LTE but I get no active data transfer.
I have reason to believe its because g3 doesn't do ipv4 anymore? But that doesn't make much sense as OpenVPN works over ipv6 supposedly. Is this an issue with my provider or the g3? I can't seem to figure it out. Anybody else having VPN issues? Please post results.
I am aware I can use native VPN feature but I don't like that I can't use a knock code for credentials.
This thread might be of help for you in regards to getting VPN to work: T-Mobile D851 IPV4 Support
The two main posters in there are trying to get IPV4 to work on the G3, as one of them, The Pagel, was trying to get it to work for their own VPN apps.
Naturesretard said:
I'm not so sure its just my VPN provider anymore. I've tried a few different apps and I get the same issues.
I'm currently with Private Internet Access (PIA) and I've tried both their app and OpenVPN and sometimes it will connect on LTE but I get no active data transfer.
I have reason to believe its because g3 doesn't do ipv4 anymore? But that doesn't make much sense as OpenVPN works over ipv6 supposedly. Is this an issue with my provider or the g3? I can't seem to figure it out. Anybody else having VPN issues? Please post results.
I am aware I can use native VPN feature but I don't like that I can't use a knock code for credentials.
Click to expand...
Click to collapse
The issue is probably that you are getting a private IPv4 address from the provider, as well as a public IPv6 address (LTE areas only).
Most companies are still running VPNs on IPv4, and some VPNs won't play well with certain NAT implementations, which is used when you have a private IP address.
When you disable 4G and eHRPD, you will start getting a public IPv4 address again.
As you may have heard, we are running out of IPv4 addresses, and provider using NAT and Private IP addresses is a work around until more people deploy IPv6. Once your company deploys a VPN on IPv6, things should improve. However, this could take a while as this is a major transition and in some cases will require software/firmware updates on network equipment. Also, some very old operating systems don't always support IPv6, so all of that has to be retired as well.
Anyone know of a VPN service that runs IPv6 that would work on android? PIA doesn't work at all
I ran that patch from the other post, and no luck. Not a single VPN connection works on this phone. I am debating if I should take it back, as a VPN is a necessity to me
Did you mess around with your vpn settings at all maybe you should uninstall then re install? Pia is working fine for me with ipv4 in fact I am posting right now from my g3 on the vpn.
ThePagel said:
Did you mess around with your vpn settings at all maybe you should uninstall then re install? Pia is working fine for me with ipv4 in fact I am posting right now from my g3 on the vpn.
Click to expand...
Click to collapse
Using the VPN script?
Naturesretard said:
Using the VPN script?
Click to expand...
Click to collapse
No script just make sure your on ipv4 not ipv4/ipv6 I think the script your referring to is for tether unless there is a script I haven't seen yet.
ThePagel said:
No script just make sure your on ipv4 not ipv4/ipv6 I think the script your referring to is for tether unless there is a script I haven't seen yet.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2838484
This is the only thing I've found relating to vpns and trying to get ipv4 on the g3.
How did you get it working?
Naturesretard said:
http://forum.xda-developers.com/showthread.php?t=2838484
This is the only thing I've found relating to vpns and trying to get ipv4 on the g3.
How did you get it working?
Click to expand...
Click to collapse
Its not a script and I made that :silly:
ThePagel said:
Its not a script and I made that :silly:
Click to expand...
Click to collapse
Anything one flashes I consider a script. Wrong terminology I suppose. Also didn't notice you were posting in my thread....hai!
I take it you're mod works fine now?
I've thought of flashing it as I now live in an area where 3g and hspa could come it handy as I get either LTE, edge, or nothing now, mainly nothing.
I'm doing a bit of traveling atm so I can't peruse the pages, but how's it coming along? I could care less about native tether, there's apps to do it. As long as i t doesnt mess up my xposed tweaks I'm 3 seconds from flashing it....
Naturesretard said:
Anything one flashes I consider a script. Wrong terminology I suppose. Also didn't notice you were posting in my thread....hai!
I take it you're mod works fine now?
I've thought of flashing it as I now live in an area where 3g and hspa could come it handy as I get either LTE, edge, or nothing now, mainly nothing.
I'm doing a bit of traveling atm so I can't peruse the pages, but how's it coming along? I could care less about native tether, there's apps to do it. As long as i t doesnt mess up my xposed tweaks I'm 3 seconds from flashing it....
Click to expand...
Click to collapse
Yeah native tether still doesn't work but everything else does. A few people have had problems but not many. I would suggest you make a backup before you do it because xposed is kind of a jealous lover and hates when you eye other modifications. But on the other hand it really depends on what xposed modules your using.
ThePagel said:
Yeah native tether still doesn't work but everything else does. A few people have had problems but not many. I would suggest you make a backup before you do it because xposed is kind of a jealous lover and hates when you eye other modifications. But on the other hand it really depends on what xposed modules your using.
Click to expand...
Click to collapse
Just g3 tweaks. I wasn't sure if I could use normal xposed tweaks. I'll have to make a new backup with my xposed and I'll give it a shot. PIA working on WiFi still with the mod?
Naturesretard said:
Just g3 tweaks. I wasn't sure if I could use normal xposed tweaks. I'll have to make a new backup with my xposed and I'll give it a shot. PIA working on WiFi still with the mod?
Click to expand...
Click to collapse
Probably not but I will check
*edit
Wait still? Does it work now? Haven't tried to find out.
I think it's something with LG's android build. When i had my Moto X I could use PIA on LTE. I did not check to see if it kicked itself to IPv4 but that seems to be the problem. It works if you have the EPC T-Mobile APN set to IPv4 and connect through HSPA+.
derpyderps said:
I think it's something with LG's android build. When i had my Moto X I could use PIA on LTE. I did not check to see if it kicked itself to IPv4 but that seems to be the problem. It works if you have the EPC T-Mobile APN set to IPv4 and connect through HSPA+.
Click to expand...
Click to collapse
ipv4 is definitely locked down for fast on this tmobile version but it is luckily a easy work around if you don't mind loosing built in tether. I have confidence that built in tether will be fixed for that mod soon but I am currently using my phone tinkering time (limited atm) on a korean port that wont require any modifications. Before I stop caring about tmobile builds ill fix it. Something I am sure a lot of people might find interesting is after my first boot on the korean port it is looking like I might be able to bring voice over lte to our phone before it officially happens.
Unsure if related to the mod, but attempting to access tmo account via tmo app yields a server error
Since applying the mod
Naturesretard said:
Unsure if related to the mod, but attempting to access tmo account via tmo app yields a server error
Since applying the mod
Click to expand...
Click to collapse
ooooo that's something I didn't check gimme a couple minutes.
Update: works for me

note 4 wifi issue

ok so i searched everywhere for this and couldn't find a solution. i have a note 4 and it will connect to my home wifi just fine. i can search the internet on it, but facebook doesn't load and neither do certain games and the app market loads very very slowly. when i had my S4, it would do everything just fine. i was at my friends house and connected to his wifi and everything loaded lightning fast. so i know it's a problem with my wifi, i just don't know what.
my modem is netgear and my router is belkin AC 1200
any ideas on what to check so i can fix it? i suck up a lot of data lol
Do a speed test on your wifi with another device to determine if it is your phone or your wifi. How does your phone perform on 4g? Does it do the same thing?
the wifi is fine. i can browse the internet, watch netflix, etc. When i'm on my data, everything loads like it normally would.
bump for some help
-Torres- said:
bump for some help
Click to expand...
Click to collapse
Try hard resetting you router and before customizing it(changing SSID, encryption, etc...), test it with your phone to see if its any better.
it didn't seem to help. it's dual band and i tried on both. it wouldn't even load the google play until i switched bands.
any other ideas of a possible fix?
-Torres- said:
any other ideas of a possible fix?
Click to expand...
Click to collapse
Yes.
I just got my VZW Note 4 yesterday and noticed almost the exact same problem. There is a little bit of info out there talking about things like power saving mode and stuff, but I noticed that my speedtest.net throughput was excellent. My next thoughts were DNS resolution or an IPv6 problem. Turns out my wireless router had a default setting with IPv6 routing enabled, but my ISP does not serve IPv6. You may notice the same kind of initial lag on Ubuntu installs (especially with certain VPS providers) where every single command you issue seems to take ages to start, but then completes quickly. I know how to deal with Ubuntu to force a preference for IPv4, but a locked down Samsung phone is a different matter entirely. Thankfully, I was able to just turn it off in the router.
For my specific router (Belkin AC1200 DB), the user interface has an IPv6 settings page, but the options they present to end users isn't intuitive. I changed my 'connection type' on this page to "Local Pass-Through Only", and my problem immediately went away. Have a look and see if you find anything similar.
Thanks, and good luck!
Aggraxis
Aggraxis said:
Yes.
I just got my VZW Note 4 yesterday and noticed almost the exact same problem. There is a little bit of info out there talking about things like power saving mode and stuff, but I noticed that my speedtest.net throughput was excellent. My next thoughts were DNS resolution or an IPv6 problem. Turns out my wireless router had a default setting with IPv6 routing enabled, but my ISP does not serve IPv6. You may notice the same kind of initial lag on Ubuntu installs (especially with certain VPS providers) where every single command you issue seems to take ages to start, but then completes quickly. I know how to deal with Ubuntu to force a preference for IPv4, but a locked down Samsung phone is a different matter entirely. Thankfully, I was able to just turn it off in the router.
For my specific router (Belkin AC1200 DB), the user interface has an IPv6 settings page, but the options they present to end users isn't intuitive. I changed my 'connection type' on this page to "Local Pass-Through Only", and my problem immediately went away. Have a look and see if you find anything similar.
Thanks, and good luck!
Aggraxis
Click to expand...
Click to collapse
DUDE!! this is exactly what i was looking for. i think this fixed my issue. surfed facebook briefly and it loaded everything instantly. i'll check more as the day goes on. thanks so much man
Fixed My Issue too!
Hey Guys
Newbie here! I just wanted to say that this fixed my problem as well. I don't usually post as you can tell by my info but this was worth coming out of the dark to reply to.
Now to clarify, I too have a Belkin router AC1200 so it may be specific to those. Anyway thanks for the help and enjoy the fish!
someone sticky this! i have the same wifi issue , i am at work right now but i will try it when i get home! , i hope this works!
I am having this same issue bUT Comcast here uses ipv6 as well,I have a Belkin n1 router what do I do?
---------- Post added at 07:39 PM ---------- Previous post was at 06:50 PM ----------
never mind i disable ipv6 in my comcast modem and it seen to do the trick, any idea why this is happening?
I've been having the exact same issue on my Note 4. for the past week or so. Our router/modem is a DPC3941T from Comcast, and I can't seem to find how to turn off IPv6. This setting was under Connections > Local IP Network. If anyone could help instruct me further, you would be a great help. I'm pushing my data cap for the month as it is because of this >.<
I'm having the same problem too. The funny thing is that I went to the Verizon store to see if they could trouble shoot it and the phone did not work on their wifi network either! I realize now how to access my IPv6 settings in my router and that does seem to fix the issue. Unfortunately I cant imagine very many businesses with wifi networks will allow me to reconfigure their router everytime I want to use wifi.....
I started having this issue when I upgraded to lollipop. My Netgear C6300 AC1750 doesn't seem to have an option to disable ipv6 though. Any suggestions?

Ipv6 wifi issues

I recently moved and got new internet service and ever since I've been having issues with the Wi-Fi on my phone. I have 300 mpbs internet service and so I expect my phone to scream through updates in seconds... But ever since the move apps like play store and google drive are slow as hell. So after trying everything I could find online I figure I'll ask for help.
I've narrowed the problem to IPv6 issues. At my old place I had Ipv6 working so I never had any issues. But now when I go to test my Ipv6 It's not working. I'm renting a modem/router from my isp. I know buying my equipment would probably be the easiest fix but that's not an option right now.
There is an option in the router configuration to disable dhcpv6 but that's not solving the issue. The test says I have an Ipv6 address but the dns does not resolve. I found an app on playstore called Ipv6 tool that disables it and my phones works after doing that but I'd love to figure out how to just get my Ipv6 to work. I'm going to exchange the router today to see if it's just the equipment. If anyone knows how to remedy my issue I'm all ears. If anyone is having issues like mine Ipv6 tool is a great temporary fix.
EDIT- SOLVED---- It was a network issue. In my router configuration I had to disable dhcpv6 and then after that renew WAN lease.
I noticed WiFi issues the other day and then noticed my sky box had updated and had lots of ipv6 settings. So I assumed it was to do with that.
I think it can be disabled but haven't looked into yet. But my device sometimes flies through some tasks but then grinds to a halt on others.
Glad I'm not the only one
The Ipv6 tool pro works pretty good after you do some configuring. But I'm leaning towards its a network configuration issue not necessarily an issue with our phones..
You can just disable Ipv6 by entering “echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6" according to these guys. But I saw the app before I learned of the command.
I'm back to updating 30+ apps in less than 10 minutes. I was getting mad because it was taking about two hours to do this. And being a flashaholic that seriously cuts into my flashing..lol
EDIT- SOLVED---- It was a network issue. In my router configuration I had to disable dhcpv6 and then after that renew WAN lease.

Categories

Resources