PDA

View Full Version : IPv6 T-Mobile US Beta Test


Pages : [1] 2

mail_e36
08-13-2010, 07:38 PM
Ran across this site...

http://groups.google.com/group/tmoipv6beta

Any thoughts on this, has anyone tried using IPv6 on the N900 over GPRS?

Requirements:

# Be a T-Mobile USA subscriber with an unlimited data plan

# Have T-Mobile coverage, not roaming or WiFi

# Have a Nokia 5230 Nuron or the Nokia E73 Mode phone. The N900 also works, but it's IPv6 support is much less mature.

# Be willing to help T-Mobile improve the service, forgive us as we grow and refine the service, and accept that this beta service is not supported within any T-Mobile support channel, including Customer Care or any T-Mobile store or reseller. This Google groups forum is the only channel for IPv6 support during the beta friendly user trial.

# Accept that the service is still evolving and that many services like Visual Voice Mail, MyAccount, MMS (picture messages), and several other services do not yet work. Web and Email both work well, but many other data services are still coming online with IPv6.

PathFinder@9GS
08-13-2010, 07:54 PM
probably with the enhanced kernel.. I dunt think that the nokia native kernel has support for ipv6..
As far as I remember, <Enhanced kernel for power users > has the capability to support ipv6

mail_e36
08-13-2010, 08:19 PM
http://n900-ipv6.garage.maemo.org/

You do need the advanced Titan Kernel

probably with the enhanced kernel.. I dunt think that the nokia native kernel has support for ipv6..
As far as I remember, <Enhanced kernel for power users > has the capability to support ipv6

tmojoe
08-18-2010, 05:28 PM
I have used the N900 on the T-Mobile USA IPv6 service mentioned above and it works very well. It is great to have IPv6 access in Maemo.

chrget
08-19-2010, 03:54 AM
It is great to have IPv6 access in Maemo.

No thanks to Nokia, though. :rolleyes: Hooray for Titan! :D

Regards,
Chris.

m0da
08-19-2010, 04:12 AM
I have used the N900 on the T-Mobile USA IPv6 service mentioned above and it works very well. It is great to have IPv6 access in Maemo.

Can i ask which tutorial you used to get ipv6 working on the n900? thanks :)

asking because i tried one tutorial with an enabler and disabler file, but i couldn't get it to work. if you used the same one, i'll have to have another look.

tmojoe
08-19-2010, 11:25 PM
Can i ask which tutorial you used to get ipv6 working on the n900? thanks :)

asking because i tried one tutorial with an enabler and disabler file, but i couldn't get it to work. if you used the same one, i'll have to have another look.


I used this http://n900-ipv6.garage.maemo.org/

With ccinternet2.t-mobile.com as my APN, but you first have to be enabled by your service provider, in my case T-Mobile USA at http://groups.google.com/group/tmoipv6beta

m0da
08-19-2010, 11:29 PM
I used this http://n900-ipv6.garage.maemo.org/

With ccinternet2.t-mobile.com as my APN, but you first have to be enabled by your service provider, in my case T-Mobile USA at http://groups.google.com/group/tmoipv6beta

Hmm, same here. I've been enabled as well, and I enabled ipv6 in the browser. Also added the static DNS server in the "enable" file.

Do you see the dancing turtle at the top of www.kame.net? My turtle never danced. And I couldn't ever access ipv6.whatismyipv6.com either. Do these work for you?

tmojoe
08-20-2010, 01:22 AM
Yep, they all work for me fine. Assuming you did the full instructions for IPv6 on garage link including updating the browser and setting the permissions for the files, it should work. What do you see when you do an ifconfig in xterm? I have a gprs0 which is IPv4 and a gprs1 which is IPv6. If you dont have those, there is likely something wrong with how you installed the scripts. You might want to manually run the IPv6 enable script to see what pops out. if you have an address, you may want to try a ping6 ipv6.google.com, 2001:4860:b006::63 ... it should work. You may also want to ask for help on the Google Groups page for T-Mobile IPv6 beta.

tmojoe
08-20-2010, 10:25 AM
One other important point, if you are on WiFi, the N900 does not connect to the GPRS network with IPv4 or IPv6. So, as long as you are on WiFi that is IPv4 only, you will not connect to the IPv6 cellular network. So, when testing IPv6 on cellular, turn off wifi.

lemmyslender
08-20-2010, 10:30 AM
Would this work if you are on the $10 internet plan or only on the more expensive plan?

tmojoe
08-20-2010, 01:50 PM
Would this work if you are on the $10 internet plan or only on the more expensive plan?

If you have unlimited data today working on the N900, ipv6 will work. I don't know prices.

quipper8
08-20-2010, 02:05 PM
wow, i was just googling and see that nokia was testing a ipv6 handset way back in 2003!

http://www.infoworld.com/t/hardware/nokia-shows-ipv6-phone-548

lemmyslender
08-20-2010, 03:09 PM
If you have unlimited data today working on the N900, ipv6 will work. I don't know prices.

I'm on the cheaper "dumbphone" unlimited plan, not on the smartphone internet plan. While I'd like to test this, I'm worried that they will recognize that I'm not on the smartphone plan and require an upgrade, and the corresponding cost increase.

tmojoe
08-20-2010, 03:12 PM
I'm on the cheaper "dumbphone" unlimited plan, not on the smartphone internet plan. While I'd like to test this, I'm worried that they will recognize that I'm not on the smartphone plan and require an upgrade, and the corresponding cost increase.

I would not be concerned, at all.

martycollinsesq
08-20-2010, 03:45 PM
I have been approved by tmobile to participate in the program. I have not fully implemented the necessary setup yet. I am on the even more talk plus with web2go ($10). Didn't seem to affect my acceptance. I get 2.5 to 3.5 mbps with tmo. Faster that att dsl at home most times.

lemmyslender
08-20-2010, 09:36 PM
OK submitted form for testing. I'll see how it goes.

kopele
08-20-2010, 10:22 PM
I ran into some problems with the setup as well, so here are a couple of tips:

Enter the actual APN name in the script, example:
MY_IPv4_APN="internet2.voicestream.com"
MY_IPv6_APN="ccinternet2.t-mobile.com"

EDIT: ICD_CONNECTION_TYPE will be unset in the terminal, use the steps below only for manual testing.

The script checks the $ICD_CONNECTION_TYPE environment variable, once connected to your normal APN make sure the variable is set (mine wasn't):
echo $ICD_CONNECTION_TYPE

If you get a blank line, set the variable:
export ICD_CONNECTION_TYPE=GPRS

Rerun the script:
/etc/network/if-up.d/00_enable_apn_ipv6

Hope this helps

tmojoe
08-21-2010, 08:36 AM
I ran into some problems with the setup as well, so here are a couple of tips:

Enter the actual APN name in the script, example:
MY_IPv4_APN="internet2.voicestream.com"
MY_IPv6_APN="ccinternet2.t-mobile.com"

The script checks the $ICD_CONNECTION_TYPE environment variable, once connected to your normal APN make sure the variable is set (mine wasn't):
echo $ICD_CONNECTION_TYPE

If you get a blank line, set the variable:
export ICD_CONNECTION_TYPE=GPRS

Rerun the script:
/etc/network/if-up.d/00_enable_apn_ipv6

Hope this helps

Kopele -- just to be clear, you are up and running correctly with IPv6 now?

kopele
08-21-2010, 10:19 AM
Kopele -- just to be clear, you are up and running correctly with IPv6 now?

Yes, it's working great :)

tsavo
08-21-2010, 12:46 PM
The script is only meant to be automatically executed by the system from if-up.d directory. When automatically executed the ICD_CONNECTION_TYPE ought to be correctly set.

When run manually from terminal... you need to know what you are doing and set preconditions correctly yourself:) Maybe a manual execution option should be added to the script? Improvement suggestions are welcome, we are still working on the feature:)

japes
08-21-2010, 01:20 PM
Anyone get this ipv6 only connection up and running?
http://code.google.com/p/n900ipv6/wiki/README

I can't get the "register-connection-type" script to run. Keep getting "Permision denied" error message on the script. Probably it's my lack of Linux/N900 knowledge, but I still managed to get the dual stack setup working without too much trouble, so maybe it's not just me :).

kopele
08-21-2010, 03:17 PM
The script is only meant to be automatically executed by the system from if-up.d directory. When automatically executed the ICD_CONNECTION_TYPE ought to be correctly set.

When run manually from terminal... you need to know what you are doing and set preconditions correctly yourself:) Maybe a manual execution option should be added to the script? Improvement suggestions are welcome, we are still working on the feature:)

It looks like ICD_CONNECTION_TYPE is unset for the current terminal session. I assumed that was the reason it didn't work, but it seems my problem was incorrect APNs in the script. Otherwise the script seems to work well, I should have done more testing before posting :D

lemmyslender
08-23-2010, 01:01 PM
Got my confirmation this morning. Everything appears to be working well. Used the directions from here (http://n900-ipv6.garage.maemo.org/) as suggested above.

Got the email, switched over to 3g and everything connected right up. Seems to take slightly longer than normal, but not bad.

So far so good.

*edit* slightly longer to establish a connection to 3g, download speed seems faster.

tmojoe
08-23-2010, 01:35 PM
Another neat part about this service is that T-Mobile has signed up for Google's IPv6 content, so all the Google stuff comes over IPv6 natively (if you are using the T-Mobile USA DNS server 2607:FB90:BEEF:A::1)

More info at http://www.google.com/intl/en/ipv6/

frostbyte
08-23-2010, 09:30 PM
I signed up for the beta test and followed the instructions in n900-ipv6.garage.maemo.org.; i'm using the latest titan-kernel, edited 00_enable_apn_ipv6 file to reflect the ipv4 APN (using internet3.voicestream.com) and ipv6 APN.
'ifconfig' shows only "gprs0" and obviously no swimming turtles for me.

any suggestions where to begin the troubleshooting?

Uxi
08-23-2010, 09:42 PM
Any downside to this? Anyone on the $5 loyalty unlimited data plan using it with an N900?

tmojoe
08-24-2010, 09:23 AM
Any downside to this? Anyone on the $5 loyalty unlimited data plan using it with an N900?

I don't know of any downside, if you dont like it you can always delete the scripts and roll back to the old kernel. My understanding is that you need the unlimited data plan, how much you pay for it not relevant.

leviathan3k
08-24-2010, 11:07 AM
Another confirmed ipv6 user using these scripts:

http://n900-ipv6.garage.maemo.org/

Also, I'm using the $40/mo data-only account.

tirtawn
08-24-2010, 11:18 AM
Any downside to this? Anyone on the $5 loyalty unlimited data plan using it with an N900?

Hmm how do you get this $5 ?
is this the grandfather t-zone plan?

slyname
08-24-2010, 02:09 PM
I signed up for the beta test and followed the instructions in n900-ipv6.garage.maemo.org.; i'm using the latest titan-kernel, edited 00_enable_apn_ipv6 file to reflect the ipv4 APN (using internet3.voicestream.com) and ipv6 APN.
'ifconfig' shows only "gprs0" and obviously no swimming turtles for me.

any suggestions where to begin the troubleshooting?


Hi,
Have you disabled WiFI, which must be disabled for ipv4 or ipv6 to work on tmo network. Are the scripts executable / did you set the correct permissions on the enable/disable scripts?

frostbyte
08-25-2010, 01:55 AM
Hi,
Have you disabled WiFI, which must be disabled for ipv4 or ipv6 to work on tmo network. Are the scripts executable / did you set the correct permissions on the enable/disable scripts?

1) disabled WIFI

2) rechecked the scripts are executable
-rwxrwxrwx 1 root root 3030 Aug 24 22:52 00_enable_apn_ipv6
-rwxrwxrwx 1 root root 1221 Aug 24 21:41 00_disable_apn_ipv6

3) but I find myself lost in the permissions:

# Only enter the script if the opening connection type is GPRS
if [ $ICD_CONNECTION_TYPE ]; then
if [ $ICD_CONNECTION_TYPE == "GPRS" ]; then

### IPv4 APN value to hook up when activating IPv6 APN ###
MY_IPv4_APN="internet3.voicestream.com"

### IPv6 APN value ###
MY_IPv6_APN="ccinternet2.t-mobile.com"

### IPv6 APN username ###
MY_IPv6_USERNAME=

### IPv6 APN password ###
MY_IPv6_PASSWORD=


Yes, I feel kinda stoopid...Thanks again for your patience!

ddrown
08-25-2010, 03:36 AM
I have a package to make v6 setup a little easier at:
http://code.google.com/p/n900ipv6/wiki/README

This will give you a v6-only connection option (and leaves your v4-only connection alone). I've been using it for a week now, and the only thing I've run into is MSN is broken (known problem with the MSN protocol).

Please let me know if you have any questions.

lemmyslender
08-25-2010, 08:26 AM
1)
### IPv4 APN value to hook up when activating IPv6 APN ###
MY_IPv4_APN="internet3.voicestream.com"

Check your normal connection, mine is internet2.voicestream.com. Is yours really internet3?

frostbyte
08-25-2010, 10:25 AM
internet2.voicestream did it (d'oh!). swimming turtle, yay!

thanks for the help guys!

lemmyslender
08-25-2010, 12:37 PM
@ddrown

Any advantage to using a ipv6 only connection vs the ipv4/ipv6 connection?

frostbyte
08-25-2010, 01:05 PM
Quoting blurtit.com

Following are some of the advantage of IPv6 over IPv4;
1. Larger Address Space: address filed in IPv6 is 128 bits long while the address filed of IPv4 is only 32 bits in length. IPv6 offers very large, i.e.296 address space as compared to IPv4.

2. Better header format: the header of IPv6 has been designed in a way to speed-up the routing process. In header of IPv6 options are separated from the base header. Options are inserted into base header only when required by the upper-layer data.

3. Provision for extension: IPv6 has been designed in a way that a protocol can be extended easily to meet the requirements of emerging technologies or new applications.

4. Resource Allocation support in IPv6: IPv6 provides a mechanism called Flow Label for resource allocation. Flow label enables source to send request for the special handling of a packet. This mechanism is really helpful in real-time audio and video transmission.

5. Security Features: to ensure confidentiality and packet's integrity encryption and authentication options are included in IPv6."

edit: oops, re-read your question, ipv6 only vs ipv4/ipv6; maybe i should start paying more attention to detail...

lemmyslender
08-25-2010, 02:27 PM
Thanks for the info, although not quite what I was looking for, but interesting anyway.

lma
08-25-2010, 02:29 PM
If anyone feels like testing your IPv6 knowledge, have a go at http://ipv6.he.net/certification/, it's quite fun :-)

Currently stuck at guru level because my registrar doesn't support IPv6 glue records yet...

ddrown
08-25-2010, 02:55 PM
@ddrown

Any advantage to using a ipv6 only connection vs the ipv4/ipv6 connection?

Using v4+v6 actually opens two PDP contexts through the provider's network. Since they pay for their equipment on a per-context basis, they would rather you have only one at a time. I was getting kicked off regularly when I had v4+v6 setup, but I'm not sure if it was some automated process on tmobile's side or something else. I'd be interested to hear how everyone else's connection reliability fairs when using v4+v6.

japes
08-25-2010, 04:19 PM
The one thing I did notice is that if I didn't keep using the ipv6 connection/address, I would lose it and end up with a ipv4 only address. Of course a quick disconnect/reconnect get's it right back. That's probably T-Mobile's doing, but it could be the phone's.

I'd be interested to hear how everyone else's connection reliability fairs when using v4+v6.

lemmyslender
08-25-2010, 04:29 PM
I'd be interested to hear how everyone else's connection reliability fairs when using v4+v6.

I will try to check this out tonight (won't get on wifi at home).

I did install your ipv6 only connection. Works fine, can access the web, etc. However, it appears that it gives me problems with my sip connection (Gizmo5) and TOR (theonering - google voice access). Both end up with network errors.

Is there anything I should add to /etc/resolv.conf
I added nameserver 2607:FB09:BEEF:A::1 above nameserver 127.0.0.1
commented it out later. Either way ipv6 only give network error for SIP and TOR, ipv4+ipv6 they work fine.

Thanks

ddrown
08-25-2010, 04:40 PM
I will try to check this out tonight (won't get on wifi at home).

I did install your ipv6 only connection. Works fine, can access the web, etc. However, it appears that it gives me problems with my sip connection (Gizmo5) and TOR (theonering - google voice access). Both end up with network errors.

Is there anything I should add to /etc/resolv.conf
I added nameserver 2607:FB09:BEEF:A::1 above nameserver 127.0.0.1
commented it out later. Either way ipv6 only give network error for SIP and TOR, ipv4+ipv6 they work fine.

Thanks

You shouldn't need to modify /etc/resolv.conf. The plugin gets the DNS servers from the connection setup and puts them in /var/run/resolv.conf.gprs (which is where dnsmasq looks for them).

I expect the problem with SIP and TOR to be the same as with MSN, having an IPv4 address embedded in the data. This means that DNS64 doesn't have a chance to rewrite the IPv4 address into a IPv6 one. So it probably won't be fixed without an update to that application.

tmojoe
08-25-2010, 04:51 PM
You shouldn't need to modify /etc/resolv.conf. The plugin gets the DNS servers from the connection setup and puts them in /var/run/resolv.conf.gprs (which is where dnsmasq looks for them).

I expect the problem with SIP and TOR to be the same as with MSN, having an IPv4 address embedded in the data. This means that DNS64 doesn't have a chance to rewrite the IPv4 address into a IPv6 one. So it probably won't be fixed without an update to that application.

My guess is that if your SIP server was IPv6 this would work especially well :) If the SIP server is IPv4, there is some ALG wrangling that needs to happen since in the IPv6-only scenario the NAT64 must protocol translate the SIP and related RTP packets from IPv6 on your handset to IPv4 on the server. This protocol translation generally works well for web and email, but applications with seperate control and media channels like SIP and RTSP tend to be challenge.

lemmyslender
08-25-2010, 05:46 PM
OK, thanks. Based on reading here, I thought that might be the case.

Don't think SIP will get fixed, but Ed may be able to do something for TOR.

Uxi
08-25-2010, 05:56 PM
Hmm how do you get this $5 ?
is this the grandfather t-zone plan?


call them, ask for Retensions and ask if you can have the $5 loyalty unlimited Internet

scribbles
08-25-2010, 06:18 PM
Form has been sent.... For those who have this, did you have to actually wait a week to get confirmation??

lemmyslender
08-25-2010, 06:23 PM
I'll third that the ipv6 connection is dropped after some time, ipv4 remains connected.

edit
Form has been sent.... For those who have this, did you have to actually wait a week to get confirmation??

Sent form Friday night, got email late Monday morning.

scribbles
08-25-2010, 06:34 PM
Sent form Friday night, got email late Monday morning.

Sweet!! So hopefully by this weekend maybe...

geneven
08-25-2010, 07:00 PM
I have a package to make v6 setup a little easier at:
http://code.google.com/p/n900ipv6/wiki/README

This will give you a v6-only connection option (and leaves your v4-only connection alone). I've been using it for a week now, and the only thing I've run into is MSN is broken (known problem with the MSN protocol).

Please let me know if you have any questions.

This worked for me, got the swimming turtle!

geneven
08-25-2010, 07:26 PM
Form has been sent.... For those who have this, did you have to actually wait a week to get confirmation??

I got mine in about 12 hours.

scribbles
08-25-2010, 07:31 PM
I got mine in about 12 hours.

Nice!! How is your speeds?? Do you notice a difference in web browsing??

ceroberts75
08-25-2010, 08:25 PM
i recieved my access in about 4 hours.


i noticed a difference that the youtube ran much smoother and loaded quicker, also that when you go to google.com, instead of being given the mobile site and have the option at the bottom for the desktop version, it is just the version that i was given...dunno if it was desktop or not. but it worked with thier auto-drops almost as quick as on my pc.


what else should i be looking for?

ceroberts75
08-25-2010, 08:27 PM
i have also noticed that since i changed my ip6v settings, that i can no longer log into the nokia support discussions blog. and this has affected even while i am on a wifi....not sure how, but it did. i was fine this morning until i changed that setting.

lemmyslender
08-25-2010, 08:32 PM
After looking at TOR logs, it appears I can't connect to google.com. Microb won't connect to google.com either. I can ping google though. Typing this via ipv6 only. Any suggestions on what to look for?

geneven
08-25-2010, 08:43 PM
Nice!! How is your speeds?? Do you notice a difference in web browsing??

Well, yes, I noticed a significant difference to the good. It seems almost as fast as my normal WiFi connection. At the moment, I am using a $15 prepaid Tmobile account. Normally I have to use Tor to get the Internet. I don't have to use Tor now; in fact, Tor didn't work for me when I tried it.

lemmyslender
08-25-2010, 08:58 PM
OK, I can reach google again, although it seems slow to resolve it compared to other sites. TOR and SIP are still showing network errors.

Probably try again in the morning.

ceroberts75
08-25-2010, 09:04 PM
this site http://n900-ipv6.garage.maemo.org/ is such an eyesore.


i thought i had it going just changing the access point to ccinternet2.t-mobile.com as it did make a difference, and even made the microb browser ipv6 capable....but i only saw a dancing turtle when i clicked on the link below the still turtle.

can someone please just give the simple step-to-step instructions, and not the engineering powerpoint to enable your n900 on this?

i have already been set up by tmo.

thank you.

lemmyslender
08-25-2010, 09:45 PM
1) Is your N900 stock or are you using Titan's power kernel?
2) Did you download the scripts and copy them to the correct folders?
3) Did you make the scripts executable?
4a) Did you modify the enable script in the if_up.d folder?
4b) Did you edit the APN to either epc.tmobile.com or internet2.voicestream.com?
4c) Are the username and password blank?

ceroberts75
08-25-2010, 09:57 PM
1) Is your N900 stock or are you using Titan's power kernel?
2) Did you download the scripts and copy them to the correct folders?
3) Did you make the scripts executable?
4a) Did you modify the enable script in the if_up.d folder?
4b) Did you edit the APN to either epc.tmobile.com or internet2.voicestream.com?
4c) Are the username and password blank?

1-yes
2-not sure of the scripts.the dialog was like rudimentry practice after 8 hours in.
3-see 2
4a-see 2
4b-yes i did. using ccinternet2.t-mobile.com as was in the email.
4c-yes they are.

ceroberts75
08-25-2010, 11:25 PM
1) Is your N900 stock or are you using Titan's power kernel?
2) Did you download the scripts and copy them to the correct folders?
3) Did you make the scripts executable?
4a) Did you modify the enable script in the if_up.d folder?
4b) Did you edit the APN to either epc.tmobile.com or internet2.voicestream.com?
4c) Are the username and password blank?

actually, this is about 1/2 of exactly how it should be explained. just like your steps, only have the appropriate links and xterm codes with each.

tmojoe
08-25-2010, 11:52 PM
this site http://n900-ipv6.garage.maemo.org/ is such an eyesore.


i thought i had it going just changing the access point to ccinternet2.t-mobile.com as it did make a difference, and even made the microb browser ipv6 capable....but i only saw a dancing turtle when i clicked on the link below the still turtle.

can someone please just give the simple step-to-step instructions, and not the engineering powerpoint to enable your n900 on this?

i have already been set up by tmo.

thank you.

FYI, the dancing turtle is not a very good test for IPv6 connectivity.

I would not really believe that IPv6 is working unless you can see your IPv6 address echo'd back to you in http://whatismyv6.com

tmojoe
08-26-2010, 12:07 AM
I'll third that the ipv6 connection is dropped after some time, ipv4 remains connected.

edit


Sent form Friday night, got email late Monday morning.

This should not be. The standard idle tear down timer for the connection for both IPv4 and IPv6 is 60 minutes. When i was using the N900, i had to hardcode the T-Mobile IPv6 DNS server into the /etc/resolv.conf since the using nameserver 127.0.0.1 would result in some DNS queries going over IPv4 .... and only the IPv6 sourced DNS queries result in IPv6 google content ... if you are not actively pulling IPv6 content like Google over IPv6, the idle timer will kick in and the connection will drop.

So, my suggestion is hard code "nameserver 2607:FB90:BEEF:A::1" in /etc/resolv.conf to make sure all your DNS queries go over IPv6, which will keep your IDLE timer in check, .... it will also ensure the Google content including youtube comes over IPv6 ... DNS queries over IPv4 will not result in Google AAAA IPv6 DNS records.

If you are especially curious, tcpdump gprs1 to see what traffic goes over that interface.

Ps. this was when using the dual-stack method from garage. The new package that one of the folks put out for IPv6-only sounds very promising.

tmojoe
08-26-2010, 12:15 AM
this site http://n900-ipv6.garage.maemo.org/ is such an eyesore.


i thought i had it going just changing the access point to ccinternet2.t-mobile.com as it did make a difference, and even made the microb browser ipv6 capable....but i only saw a dancing turtle when i clicked on the link below the still turtle.

can someone please just give the simple step-to-step instructions, and not the engineering powerpoint to enable your n900 on this?

i have already been set up by tmo.

thank you.

I understand what you are saying about an eyesore, but it does work if each step is followed precisely .... N900's IPv6 is definitely a work in progress. The Symbians really have mature IPv6.

That said, if the garage instruction are a pain, you may want to try this process http://code.google.com/p/n900ipv6/wiki/README

Some other folks on this board have had good success with it.

lemmyslender
08-26-2010, 09:15 AM
actually, this is about 1/2 of exactly how it should be explained. just like your steps, only have the appropriate links and xterm codes with each.

OK - since you are using Titian's power kernel, you are off to a good start.

1) Download disable script (https://garage.maemo.org/frs/download.php/8220/00_disable_apn_ipv6) and enable script (https://garage.maemo.org/frs/download.php/8219/00_enable_apn_ipv) and save in MyDocs
2)Open Xterm, and gain root, and switch to MyDocs directory sudo gainroot
cd MyDocs
3a) copy the disable script to /etc/network/if-down.dcp 00_disable_apn_ipv6 /etc/network/if-down.d
3b) copy the enable script to /etc/network/if-up.dcp 00_enable_apn_ipv /etc/network/if-up.d
4a) Modify the enable script to reflect your normal APN (epc.tmobile.com for higher priced plan or internet2.voicestream.com for $10 plan) check in setup - internet connections - connections - T-Mobile Internet - Edit -Next, to see which one you are using. Use your favorite editor, I use leafpadleafpad /etc/network/if-up.d/00_enable_apn_ipv6
4b) Change sip.intdt.intra to your ipv4 APN value (epc.tmobile.com or internet2.voicestream.com)### IPv4 APN value to hook up when activating IPv6 APN ###
MY_IPv4_APN="sip.indt.intra"
4c) Change ipv6.indt.intra to ccinternet2.t-mobile.com### IPv6 APN value ###
MY_IPv6_APN="ipv6.indt.intra"
4d) Make sure name and password are blank, not indt### IPv6 APN username ###
MY_IPv6_USERNAME="indt"

### IPv6 APN password ###
MY_IPv6_PASSWORD="indt"
4e) Change no to yes### Add prioritary IPv6-specific DNS server? ###
ADD_IPv6_DNS="no"
4f)Check to verify newer DNS server is used, this should be 2607:FB90:BEEF:A::1, if not change it.
### Prioritary IPv6-specific DNS server ###
IPv6_DNS="2607:FB90:beef:3::2"
4g) Save and exit.
5) Make sure the scripts are executablechmod ugo+x /etc/network/if-up.d/00_enable_apn_ipv6
chmod ugo+x /etc/network/if-down.d/00_disable_apn_ipv6
6) You should now be set to run ipv4+ipv6. Disconnect from your 3g connection, then reconnect. Alternately, you could just reboot. Make sure you are on a 3g connection and not a wifi connection.

lemmyslender
08-26-2010, 09:34 AM
This should not be. ... hard code "nameserver 2607:FB90:BEEF:A::1" in /etc/resolv.conf to make sure all your DNS queries go over IPv6, which will keep your IDLE timer in check, .... it will also ensure the Google content including youtube comes over IPv6 ... DNS queries over IPv4 will not result in Google AAAA IPv6 DNS records.
...

When connecting to ipv4+ipv6 per the instructions, checking /var/run/resolv.conf.gprs, it shows namserver 66.94.25.120 and nameserver 66.94.9.120

changing ### Add prioritary IPv6-specific DNS server? ###
ADD_IPv6_DNS="no"
to yes adds nameserver 2607:FB90:beef:3::2 as the first line in resolv.conf.gprs.

I'll leave this up for a while add see if it disconnects. *edit* just noticed this was at the very end of one paragraph in the directions, missed it when I set it up originally.

geneven
08-26-2010, 10:07 AM
### IPv6 APN username ###
MY_IPv6_USERNAME="indt"

### IPv6 APN password ###
MY_IPv6_PASSWORD="indt"[/CODE]


This helped me get the IPv4 and IPv6 connection. I hadn't changed "indt" to "" twice.

tmojoe
08-26-2010, 11:33 AM
[QUOTE=tmojoe;798615]This should not be. ... hard code "nameserver 2607:FB90:BEEF:A::1" in /etc/resolv.conf to make sure all your DNS queries go over IPv6, which will keep your IDLE timer in check, .... it will also ensure the Google content including youtube comes over IPv6 ... DNS queries over IPv4 will not result in Google AAAA IPv6 DNS records.
.../QUOTE]

When connecting to ipv4+ipv6 per the instructions, checking /var/run/resolv.conf.gprs, it shows namserver 66.94.25.120 and nameserver 66.94.9.120

changing ### Add prioritary IPv6-specific DNS server? ###
ADD_IPv6_DNS="no"
to yes adds nameserver 2607:FB90:beef:3::2 as the first line in resolv.conf.gprs.

I'll leave this up for a while add see if it disconnects. *edit* just noticed this was at the very end of one paragraph in the directions, missed it when I set it up originally.

Very strange. That is an old DNS server that will not work well for a variety of reason.

I just checked the script from garage and the DNS server is hard coded in the enable script. So, you can change the enable script to have the new DNS server and that will work correctly.

Ideally, the DNS server would be pushed from the network to the handset dynamically ... this is how it works in Symbian ....

I will follow-up with the author of the garage script to have the new DNS server updated into the script.

lemmyslender
08-26-2010, 12:55 PM
Using the old nameserver that was in the script, I have had a steady connection for 2+ hours. I will change the script on my N900 and reconnect and see how that goes (2607:FB90:BEEF:A::1).

I believe that is what the ipv6 only setup uses. I was having difficultly last night connecting to google while on ipv6 (most other sites worked fine). As I mentioned TOR (google voice) indicates the network is unreachable (it is using python) and my SIP account is with Gizmo5, which is also a google product. SIP would occasionally connect, but not reliably.

PathFinder@9GS
08-26-2010, 01:05 PM
OK - since you are using Titian's power kernel, you are off to a good start.

1) Download disable script (https://garage.maemo.org/frs/download.php/8220/00_disable_apn_ipv6) and enable script (https://garage.maemo.org/frs/download.php/8219/00_enable_apn_ipv) and save in MyDocs
2)Open Xterm, and gain root, and switch to MyDocs directory sudo gainroot
cd MyDocs
3a) copy the disable script to /etc/network/if-down.dcp 00_disable_apn_ipv6 /etc/network/if-down.d
3b) copy the enable script to /etc/network/if-up.dcp 00_enable_apn_ipv /etc/network/if-up.d
4a) Modify the enable script to reflect your normal APN (epc.tmobile.com for higher priced plan or internet2.voicestream.com for $10 plan) check in setup - internet connections - connections - T-Mobile Internet - Edit -Next, to see which one you are using. Use your favorite editor, I use leafpadleafpad /etc/network/if-up.d/00_enable_apn_ipv
4b) Change sip.intdt.intra to your ipv4 APN value (epc.tmobile.com or internet2.voicestream.com)### IPv4 APN value to hook up when activating IPv6 APN ###
MY_IPv4_APN="sip.indt.intra"
4c) Change ipv6.indt.intra to ccinternet2.t-mobile.com### IPv6 APN value ###
MY_IPv6_APN="ipv6.indt.intra"
4d) Make sure name and password are blank, not indt### IPv6 APN username ###
MY_IPv6_USERNAME="indt"

### IPv6 APN password ###
MY_IPv6_PASSWORD="indt"
4e) Change no to yes### Add prioritary IPv6-specific DNS server? ###
ADD_IPv6_DNS="no"
4f) Save and exit.
5) Make sure the scripts are executablechmod ugo+x /etc/network/if-up.d/00_enable_apn_ipv6
chmod ugo+x /etc/network/if-down.d/00_disable_apn_ipv6
6) You should now be set to run ipv4+ipv6. Disconnect from your 3g connection, then reconnect. Alternately, you could just reboot. Make sure you are on a 3g connection and not a wifi connection.

Thanks for the tutorial :)
But isn't there any way to run only ipv6?

ceroberts75
08-26-2010, 01:09 PM
OK - since you are using Titian's power kernel, you are off to a good start.

1) Download disable script (https://garage.maemo.org/frs/download.php/8220/00_disable_apn_ipv6) and enable script (https://garage.maemo.org/frs/download.php/8219/00_enable_apn_ipv) and save in MyDocs
2)Open Xterm, and gain root, and switch to MyDocs directory sudo gainroot
cd MyDocs
3a) copy the disable script to /etc/network/if-down.dcp 00_disable_apn_ipv6 /etc/network/if-down.d
3b) copy the enable script to /etc/network/if-up.dcp 00_enable_apn_ipv /etc/network/if-up.d
4a) Modify the enable script to reflect your normal APN (epc.tmobile.com for higher priced plan or internet2.voicestream.com for $10 plan) check in setup - internet connections - connections - T-Mobile Internet - Edit -Next, to see which one you are using. Use your favorite editor, I use leafpadleafpad /etc/network/if-up.d/00_enable_apn_ipv
4b) Change sip.intdt.intra to your ipv4 APN value (epc.tmobile.com or internet2.voicestream.com)### IPv4 APN value to hook up when activating IPv6 APN ###
MY_IPv4_APN="sip.indt.intra"
4c) Change ipv6.indt.intra to ccinternet2.t-mobile.com### IPv6 APN value ###
MY_IPv6_APN="ipv6.indt.intra"
4d) Make sure name and password are blank, not indt### IPv6 APN username ###
MY_IPv6_USERNAME="indt"

### IPv6 APN password ###
MY_IPv6_PASSWORD="indt"
4e) Change no to yes### Add prioritary IPv6-specific DNS server? ###
ADD_IPv6_DNS="no"
4f) Save and exit.
5) Make sure the scripts are executablechmod ugo+x /etc/network/if-up.d/00_enable_apn_ipv6
chmod ugo+x /etc/network/if-down.d/00_disable_apn_ipv6
6) You should now be set to run ipv4+ipv6. Disconnect from your 3g connection, then reconnect. Alternately, you could just reboot. Make sure you are on a 3g connection and not a wifi connection.

THANK YOU for this!!!!

if the ip6v doesnt work the way we need it to, do you know how we would go about getting back to the original configuration?

frostbyte
08-26-2010, 01:11 PM
ipv6 only: http://code.google.com/p/n900ipv6/wiki/README

had problems with ipv4/ipv6 while using JoikuSpot. the ipv6-only setup leaves the ipv4 alone allowing two independent connections. works well!

lemmyslender
08-26-2010, 01:32 PM
Just for completeness I am going to add a step to check for the proper DNS server

Check to verify newer DNS server is used, this should be 2607:FB90:BEEF:A::1, if not change it.
### Prioritary IPv6-specific DNS server ###
IPv6_DNS="2607:FB90:beef:3::2"

ddrown
08-26-2010, 07:45 PM
THANK YOU for this!!!!

if the ip6v doesnt work the way we need it to, do you know how we would go about getting back to the original configuration?

To disable the dual v4+v6, just do:

mv /etc/network/if-*.d/*apn_ipv6 /home/user

This prevents the scripts from being run by putting them in your home directory

geneven
08-26-2010, 08:08 PM
So, dumb question here. What happens when the beta testing ends? Do they roll ipv6 into their regular offerings? And, btw, was there a statement of how long the beta period is projected to be?

ddrown
08-26-2010, 08:17 PM
So, dumb question here. What happens when the beta testing ends? Do they roll ipv6 into their regular offerings? And, btw, was there a statement of how long the beta period is projected to be?

I have no knowledge of tmobile's plans, but I expect they will add v6 into their regular offerings. It's cheaper for their network, and should make it easier for developers targeting mobiles.

ceroberts75
08-26-2010, 08:46 PM
4a) Modify the enable script to reflect your normal APN (epc.tmobile.com for higher priced plan or internet2.voicestream.com for $10 plan) check in setup - internet connections - connections - T-Mobile Internet - Edit -Next, to see which one you are using. Use your favorite editor, I use leafpad
Code:
leafpad /etc/network/if-up.d/00_enable_apn_ipv4b) Change sip.intdt.intra to your ipv4 APN value (epc.tmobile.com or internet2.voicestream.com)
Code:
### IPv4 APN value to hook up when activating IPv6 APN ###
MY_IPv4_APN="sip.indt.intra"4c) Change ipv6.indt.intra to ccinternet2.t-mobile.com
Code:
### IPv6 APN value ###
MY_IPv6_APN="ipv6.indt.intra"4d) Make sure name and password are blank, not indt
Code:
### IPv6 APN username ###
MY_IPv6_USERNAME="indt"

### IPv6 APN password ###
MY_IPv6_PASSWORD="indt"4e) Change no to yes
Code:
### Add prioritary IPv6-specific DNS server? ###
ADD_IPv6_DNS="no"4f) Save and exit.

im a bit confused by this. was fine until i got to 5. where it said save and exit.

so do all those codes get typed in order to the leafpad?

how are they spaced and where do the get save to and what should they be named?

i was entering them in the cd MyDocs in xterm...didnt get any errors and wasnt directed to do differently.

when it said leafpad, i installed it then used your code. just pasted the ccinternet2.t-mobile.com and taped save, then went on.

thank you.

lemmyslender
08-26-2010, 09:07 PM
im a bit confused by this. was fine until i got to 5. where it said save and exit.

so do all those codes get typed in order to the leafpad?

how are they spaced and where do the get save to and what should they be named?

i was entering them in the cd MyDocs in xterm...didnt get any errors and wasnt directed to do differently.

when it said leafpad, i installed it then used your code. just pasted the ccinternet2.t-mobile.com and taped save, then went on.

thank you.

Dang! sorry looks like cut'n'paste failed me. the command in 4a should beleafpad /etc/network/if-up.d/00_enable_apn_ipv6
I dropped a "6" at the end of the line.

That should open up the script in leafpad. Scroll through to find the sections I posted and replace the appropriate parts.

*EDIT* fixed in original post. You guys should probably go back and re-quote me or edit your posts to remove most of the quote to avoid confusion.

Upon further testing, I can normally get SIP working on ipv6 only. TOR still errors with "network unreachable". In the meantime, ipv4+ipv6 works just fine, will hold connection for several hours.

Anyone else out there using TOR?

lemmyslender
08-26-2010, 09:19 PM
So, dumb question here. What happens when the beta testing ends? Do they roll ipv6 into their regular offerings? And, btw, was there a statement of how long the beta period is projected to be?

I imagine that at some point more and more mobiles will be programed to use ipv6 exclusively. Those mobiles that can will be able to take advantage of the ipv6 connection. Those that can't will use the "old" ipv4 network.

The beta is just to help tmo iron out the wrinkles. Think gmail or google voice. beta first, then free to everyone later.

If I were tmo, I'd offer a cheaper rate to ipv6 uses to encourage adoption.

ceroberts75
08-26-2010, 10:17 PM
i am sorry for asking....

i think my eyes are just hurting from this ...lol.

but i believe it is almost there thanks to that.


i remember reading somewhere a url to type into microb that would allow me into the settings to enable the ipv6 in the browswer.


after going through all the steps. and looking like it was all in ok...it still is giving me an ipv4 from the www.whatismyipv6.com website.

ddrown
08-26-2010, 10:24 PM
i remember reading somewhere a url to type into microb that would allow me into the settings to enable the ipv6 in the browswer.

after going through all the steps. and looking like it was all in ok...it still is giving me an ipv4 from the www.whatismyipv6.com website.

Yup, that's documented at http://n900-ipv6.garage.maemo.org under "Setting up IPv6 Connectivity on built-in Web browser":

about:config -> disableIPv6 -> change from true to false

geneven
08-26-2010, 10:24 PM
Anyone else out there using TOR?

Well, I tried it, with the same bad results as you.

geneven
08-26-2010, 10:26 PM
Yup, that's documented at http://n900-ipv6.garage.maemo.org under "Setting up IPv6 Connectivity on built-in Web browser":

about:config -> disableIPv6 -> change from true to false

What about for Opera Mobile?

m0da
08-26-2010, 10:30 PM
i am sorry for asking....

i think my eyes are just hurting from this ...lol.

but i believe it is almost there thanks to that.


i remember reading somewhere a url to type into microb that would allow me into the settings to enable the ipv6 in the browswer.


after going through all the steps. and looking like it was all in ok...it still is giving me an ipv4 from the www.whatismyipv6.com website.

remove the two files you placed in /etc/network
go here: http://code.google.com/p/n900ipv6/wiki/README
follow the instructions.

ceroberts75
08-26-2010, 10:34 PM
how do i remove them?

ddrown
08-26-2010, 10:38 PM
What about for Opera Mobile?

Opera Mobile worked with ipv6 for me without any changes

ceroberts75
08-26-2010, 10:49 PM
after i sudo gainroot then:'

dpkg -i libicd-network-3g-ipv6_1.1_armel.deb

i get error processing.

cannot access archive: no such file or directory.



after i "root"

i get the same.

i have the file in my MyDocs folder.


it installed it...a bunch of script...then i tried:


•run /usr/bin/register_3g_ipv6 install


but got an error again.


what am i adoing?

ddrown
08-26-2010, 10:53 PM
after i sudo gainroot then:'

dpkg -i libicd-network-3g-ipv6_1.1_armel.deb

i get error processing.

cannot access archive: no such file or directory.



after i "root"

i get the same.

i have the file in my MyDocs folder.


it installed it...a bunch of script...then i tried:


•run /usr/bin/register_3g_ipv6 install


but got an error again.


what am i adoing?

When you open a shell, you are in /home/user by default. If the libicd file is in MyDocs, that's /home/user/MyDocs so "cd MyDocs" first. And it needs to be run as root.

ceroberts75
08-26-2010, 11:04 PM
yes. i cd MyDocs, then the dpkg worked.


but the next command


run /usr/bin/register_3g_ipv6 install


didnt work. it get


"/bin/sh: usr/bin/register_3g_ipv6: not found"

m0da
08-26-2010, 11:10 PM
don't type "run"
just use "/usr/bin/register_3g_ipv6 install"

lemmyslender
08-26-2010, 11:25 PM
More testing: SIP (Gizmo5), GTalk, Ovi all work on ipv6 only. TOR and skype don't.

@ddrown nice icon like it

ddrown
08-26-2010, 11:35 PM
"/bin/sh: usr/bin/register_3g_ipv6: not found"

Ok, this just sounds like you missed the first / before usr

@ddrown nice icon like it

Thanks, I figured I should have a different icon so you can see at a glance how you're connected

tmojoe
08-26-2010, 11:58 PM
More testing: SIP (Gizmo5), GTalk, Ovi all work on ipv6 only. TOR and skype don't.

@ddrown nice icon like it

TOR and Skype as applications do not support IPv6, i do not believe there is anything you can do to make it work, short of patching the TOR source code to allow bindings to IPv6 addresses as well as IPv4 addresses.

More info here:
https://trac.torproject.org/projects/tor/wiki/TheOnionRouter/TorFAQ

Similar issue with Skype, IPv6 is just not supported yet ... But, i am told Skype is working on it.

Here is pointer:
http://forum.skype.com/index.php?showtopic=632023

Here is a general pointer to the expected experience in the IPv6-only world ... it's not too bad, but as you are discovering some apps have really dragged their feet, and IMHO opinion they will punished as people choose IPv6 capable options

http://www.ietf.org/proceedings/78/slides/behave-6.pdf


Regarding TOR, i know it has its benefits but it also has some cost ... for example people snooping your unencrypted traffic on the exit node.... if you have unencrypted end-to-end data.

From an IPv6 perspective, some anonymity is baked into IPv6 protocol features like privacy extensions

http://tools.ietf.org/html/rfc4941

tmojoe
08-27-2010, 12:24 AM
Few more pointers on applications IPv6 status today

http://www.deepspace6.net/docs/ipv6_status_page_apps.html

And, here are 2 pointers on the issues of porting legacy applications to IPv6

http://www.nanog.org/meetings/nanog47/presentations/Sunday/Delong_PortMeth_Dual_N47_Sun.pdf

https://4356064921763573647-a-1802744773732722657-s-sites.googlegroups.com/site/ipv6implementors/2010/agenda/12_Gunderson_ipv6-porting.pdf?attachauth=ANoY7coqdD7Z67R94FZUcPzSu_H M6SKSGe8avSxs7mc4PCLeOa4snOS8dYzjBLYXj8l8ZpoIzTanc xtEk0sTUebidsMqWGNrCVqUJowYZoGeJ7K5YEWaw-DT-vdpWaXLdsBpPw8oJjoiSISzZIHHx7jj1ko2FsYegu_tK8_M-B3GFd3jPyVEOwglaqcysW_8VVaP5QaV9sKH1KWojfWAbFhwAkr ywWwObXPLS7FGltonxP1tb-9twtHTJS0iwaCYZBcqAKgIJ1pz&attredirects=0

ceroberts75
08-27-2010, 12:40 AM
Ok, this just sounds like you missed the first / before usr

youre right...just needed the /



edit: AAAwwwwk! now i lost my internet connection.

i went in and now you can see the new gprs connections. when i tapped edit, the apn just says internet.


also, i cannot change my internet setting at all! i tap menu, and then intenet connection and then it just crashes the menu. it says "not connected" and it wont cconnect to wifi now either. :/


eh-hem...lol...help?!?

ceroberts75
08-27-2010, 01:58 AM
its strange.


if i change my settings to wifi only, then i can connect to my wifi.

but if i choose any, then it wont connect to ANY connection at all. and when i try to change the connection from the desktop menu, it says there are no connections available.

ceroberts75
08-27-2010, 02:06 AM
ok....looks like while it may not show me the circle as connected, that so long as i have tmo coverage i am connected to the network, though it will not take my wifi connections.


also, i went to the www.whatismyipv6.com site. i am still only able to ipv4.

when i go to the ipv6.whatismyipv6.com to force the ipv6, i get the "failed to connect" page. :(

lemmyslender
08-27-2010, 07:34 AM
@tmojoe

by TOR I mean The One Ring - an application for the N900 to integrate Google Voice into phone and messaging on the N900 (see this long thread (http://talk.maemo.org/showthread.php?t=41817) for more info). Not the TOR network for anonymous browsing.

I don't use skype much at all, so not worried about that one, I was just checking to see which accounts I have would connect and which wouldn't.

Thanks for the info though that should be some interesting reading.

ddrown
08-27-2010, 10:19 AM
youre right...just needed the /



edit: AAAwwwwk! now i lost my internet connection.

i went in and now you can see the new gprs connections. when i tapped edit, the apn just says internet.


also, i cannot change my internet setting at all! i tap menu, and then intenet connection and then it just crashes the menu. it says "not connected" and it wont cconnect to wifi now either. :/


eh-hem...lol...help?!?

That sounds like icd2 isn't running. What does: "ps | grep icd2" say?

If that command does not show a line that includes "/usr/sbin/icd2" then try restarting it (as root) with "initctl start icd2".

The APN is hardcoded in this module to tmobile's ipv6, so you don't need to set it.

Edit: oh, and if /usr/bin/eapd is running while you aren't connected to wireless, it's possible icd2 didn't clean up your old connection properly. This can prevent you from connecting to wifi. The easiest way to fix that is to reboot your n900. I'll change my install instructions to recommend a reboot instead of restarting icd2.

geneven
08-27-2010, 10:26 AM
@tmojoe

by TOR I mean The One Ring - an application for the N900 to integrate Google Voice into phone and messaging on the N900 (see this long thread (http://talk.maemo.org/showthread.php?t=41817) for more info). Not the TOR network for anonymous browsing.

I don't use skype much at all, so not worried about that one, I was just checking to see which accounts I have would connect and which wouldn't.

Thanks for the info though that should be some interesting reading.

I think both TOR's are the same, just specific uses. I use Tor because it's an easy way to run a proxy, not because of its anonymizing features.

lemmyslender
08-27-2010, 01:15 PM
I think we're just talking circles. The One Ring is a more integrated DialCentral equivalent. It lets me make calls via Google Voice and send/receive SMS as well.

At any rate (to keep somewhat on topic) it is written in python. After a couple of quick google searches, it appears to me that while python supports ipv6, it must be explicitly setup. So most python apps wouldn't necessarily work with ipv6 unless the author intends them to.

I'll guess it's possible for The One Ring to work with ipv6, if the maintainer adds the necessary python code/support. Don't know how easy that will work out to be though.

tmojoe
08-27-2010, 01:39 PM
I think we're just talking circles. The One Ring is a more integrated DialCentral equivalent. It lets me make calls via Google Voice and send/receive SMS as well.

At any rate (to keep somewhat on topic) it is written in python. After a couple of quick google searches, it appears to me that while python supports ipv6, it must be explicitly setup. So most python apps wouldn't necessarily work with ipv6 unless the author intends them to.

I'll guess it's possible for The One Ring to work with ipv6, if the maintainer adds the necessary python code/support. Don't know how easy that will work out to be though.

Probably worth asking the maintainer.

stlpaul
08-27-2010, 03:31 PM
I used the package here:

https://code.google.com/p/n900ipv6/wiki/README

dead simple and everything seems to be working fine so far. Thanks to whoever made that.

I was able to SSH to my phone over 3G from my work PC. Nice.

ddrown
08-27-2010, 03:39 PM
I used the package here:

https://code.google.com/p/n900ipv6/wiki/README

dead simple and everything seems to be working fine so far. Thanks to whoever made that.

You're welcome. Let me know if you run into any problems.

I was able to SSH to my phone over 3G from my work PC. Nice.

:) That was the first thing I did too

lemmyslender
08-27-2010, 03:44 PM
Probably worth asking the maintainer.


I have, he's going to do a little research and look into it. No promises though.

ddrown
08-27-2010, 03:50 PM
I have, he's going to do a little research and look into it. No promises though.

Since tmobile is using DNS64+NAT64 there are two things the maintainer can do:

1. if they're trying to connect to a hostname, just do a AAAA lookup and connect to that (DNS64 takes care of routing the connection through NAT64)

2. if they just have an IPv4 address to connect to, try to figure out the NAT64 prefix: http://www.ietf.org/mail-archive/web/behave/current/msg08666.html (specifically, option 6)

ceroberts75
08-27-2010, 07:53 PM
@ddrown

when i installed your way, i was not able to use wifi. so does it autolock to that connection only?


when i am at home, i have lietteally no coverage, so i use wifi for everything...but was unable to unless i put my phone into wifi only.


is there another setup you can create that will not "hard code" it but update our currently installe tmobile installation, or at least allow us to choose that connection seperately?

ddrown
08-27-2010, 08:00 PM
@ddrown

when i installed your way, i was not able to use wifi. so does it autolock to that connection only?

when i am at home, i have lietteally no coverage, so i use wifi for everything...but was unable to unless i put my phone into wifi only.

I believe you ran into an install bug. I updated the install instructions to include rebooting the n900 after installing the new connection. I have no trouble using wifi with the ipv6 module installed.

If you are still having trouble using wifi with the module installed and after rebooting, could you tell me more about what your phone is doing? Is it just the automatic switching to wifi that's broken? Does it work if you choose to switch to a wifi access point by hand?

frostbyte
08-28-2010, 04:59 PM
I used the package here:

https://code.google.com/p/n900ipv6/wiki/README

dead simple and everything seems to be working fine so far. Thanks to whoever made that.

I was able to SSH to my phone over 3G from my work PC. Nice.

i'm familiar with ssh @user-ip-address, how does ssh'ing work over 3G (terminal command)?

tmojoe
08-29-2010, 11:11 PM
i'm familiar with ssh @user-ip-address, how does ssh'ing work over 3G (terminal command)?

It's the same.

You can find the IPv6 address of your phone with either an ifconfig in the terminal or by going to www.whatismyv6.com. Once you have that address, you can ssh user@xxxxx, where xxxxx is your IPv6 address on the phone.

I am not sure what the default user is on the n900, but i assume you can create a user account with any valid name and password, or use root to SSH into the phone ... i have not done it myself.

Now, for this to work you have to have downloaded and installed the SSH sever and have it running. Same goes for FTP, HTTP, ... or whatever service you want to run on the phone.

geohsia
09-02-2010, 11:44 AM
Hi,
When I got to whatismyipv6 I get an ipv6 address but still no dancing turtle at kame.net. Do I have IPV6?

stlpaul
09-02-2010, 12:31 PM
It's the same.

You can find the IPv6 address of your phone with either an ifconfig in the terminal or by going to www.whatismyv6.com. Once you have that address, you can ssh user@xxxxx, where xxxxx is your IPv6 address on the phone.

I am not sure what the default user is on the n900, but i assume you can create a user account with any valid name and password, or use root to SSH into the phone ... i have not done it myself.

Now, for this to work you have to have downloaded and installed the SSH sever and have it running. Same goes for FTP, HTTP, ... or whatever service you want to run on the phone.

default user is named "user" :) but yes you can create users just like any other linux system. N900 GUI does not necessarily support it but for terminal/ssh purposes it should work normally.

ssjtoma
09-02-2010, 12:37 PM
I didn't get dancing turtle either but was able to SSH into my phone using the IPv6 address so it works. Facebook, gchat, browsing and email works - skype doesn't but it sucks my battery dry anyway so I don't mint having that turned off.

I also observed having IPv6 working on EDGE =)

stlpaul
09-02-2010, 02:41 PM
I do get the dancing turtle, using microb.

tmojoe
09-02-2010, 04:20 PM
Hi,
When I got to whatismyipv6 I get an ipv6 address but still no dancing turtle at kame.net. Do I have IPV6?

Yeah, the turtle is more a historical thing than a good test. www.whatismyv6.com i think is the gold standard, the page loads fast and shows the address clearly. You can also go to sites like www.comcast6.net and www.arin.net and several other sites will reflect back the IPv6 address that their server received you on. Another good hint is that the address they reflect to you is from the T-Mobile USA IPv6 range which starts with 2607:FB90:..... If you see that you, know you are doing the right thing for sure.

geohsia
09-02-2010, 11:22 PM
Yeah, the turtle is more a historical thing than a good test. www.whatismyv6.com i think is the gold standard, the page loads fast and shows the address clearly. You can also go to sites like www.comcast6.net and www.arin.net and several other sites will reflect back the IPv6 address that their server received you on. Another good hint is that the address they reflect to you is from the T-Mobile USA IPv6 range which starts with 2607:FB90:..... If you see that you, know you are doing the right thing for sure.

Thanks. BTW, found another site that seems pretty useful. It's just like whtaismyv6 but a bit more info.

http://wattcher.015.info/check-ipv6-refresh.html

Found this on an Android forum.

-- Edit--

The odd thing is that my laptop is tethered via Joikuspot and the first time I hit the link via laptop it says that my laptop is not using IPv6 which I didn't think it would be and then I clicked the link I just posted above to make sure I didn't make a typo and now it says I'm on IPV6 but it says I'm using the 2001:0:... address. In microb my address is 2607:FB90... I didn't know it would be possible to tether IPV6.

I have IPV6 running in 2 methods. First is via the Google method so is IPV6 only. Joikupspot won't even startup. Next is the IPV4/IPV6 with the scripts and Joikuspot works apparently but I thought only through IPV4. Is the 2001:0:... address specific to mys system? I'm slightly confused.

-- Edit --

Never mind. Apparently the phone is doing 6to4 teredo tunneling? Must be something in the Titan kernel. I don't think Joikuspot does any tunneling. It's interesting that whatismyipv6 doesn't detect the teredo tunneling but the link above does. Still don't understand.

scribbles
09-04-2010, 07:27 PM
I'm having issues...:mad: This seemed so simple. I didn't have this much trouble OC'ing a few months back. Anyway, I have a couple of questions:



4d) Make sure name and password are blank, not indt
### IPv6 APN username ###
MY_IPv6_USERNAME="indt"
### IPv6 APN password ###
MY_IPv6_PASSWORD="indt"


Do I actually leave just the " " or type in the words "blank"? My second question is how can I verify the scripts are executable? I type in chmod ugo+x....etc, etc and hit enter for both and nothing happens. You guys have done a good job explaining most of this but I think I may have a few things mixed up...

Oh, almost forgot.... In the /etc/resolv.conf file for wi-fi, in what order should the nameserver be? 127.0.0.1 first or should 2001:470:b:c8::1 be by itself. Your help is appreciated.

geneven
09-04-2010, 08:01 PM
When you ask questions, try to be as precise as possible. "I have issues" is very vague. I suppose it means "this still isn't working," so you should say so.

When you ask if the word "blank" should be in the quotes instead of "indt" you might as well tell us if you tried it that way.

No, indt should go away and "" should remain.

To confirm that the files are executable you could type

ls -l

Those are ls as in lemon and they stand for long, meaning give us lots of information.

They should show us some xs for executable in some places.

You could show us what you have rather than just asking questions.

scribbles
09-04-2010, 08:48 PM
Maybe saying "I'm having issues" was a bit vague. My apologies... Yes, I have tried both in regards to the quotations. I actually typed it but erased it trying to condense. I am able to get IPv6 via 3G but I am unable to log into any of my services (Googletalk, YM, Skype). I was just hoping someone would share their settings. I'm trying to use ipv4+ipv6 setup. I just have a couple of scripts or missing scripts in the wrong place. I do still retain some Linux skills (very rusty from 2004) so I can perform some rudimentary tasks, just needed a bit of guidance.

geneven
09-04-2010, 09:00 PM
My resolv.conf is

nameserver 127.0.0.1
nameserver 2001:470:b:c8::1

tmojoe
09-05-2010, 11:09 AM
@scribbles you may want to try again. The T-Mobile IPv6 DNS64 server failed last night but seems to be fixed now.

tmojoe
09-05-2010, 11:14 AM
My resolv.conf is

nameserver 127.0.0.1
nameserver 2001:470:b:c8::1

Looks like you are using the HE DNS which will by-pass the T-Mobile DSN64 service, and since 127.0.0.1 is first, i think you will just use the T-Mobile IPv4 DNS most of the time, which does not serve the Google IPv6 DNS records.

My suggestion is that your /etc/resolv.conf look like this to best use the local T-Mobile DNS64 as well as receive the native IPv6 content

namerserver 2607:FB90:BEEF:A::1

This name server should have the lowest latency since it is on the T-Mobile network and also serves the native google / youtube IPv6 content

scribbles
09-05-2010, 12:20 PM
To disable the dual v4+v6, just do:

mv /etc/network/if-*.d/*apn_ipv6 /home/user

This prevents the scripts from being run by putting them in your home directory

I think I figured out what my problem is. It seems I have followed two sets of instructions---->IPv4+IPv6 (http://n900-ipv6.garage.maemo.org/)and the other is a pkg installed for IPv6 only (https://code.google.com/p/n900ipv6/wiki/README)

What is the command for removing the IPv6 only pkg (libicd-network-3g-ipv6_1.2_armel.deb) as I believe this is what's giving me problems?? I just need the dual-stack ipv4+ipv6.

archebyte
09-05-2010, 01:19 PM
What is the command for removing the IPv6 only pkg (libicd-network-3g-ipv6_1.2_armel.deb)

as root:
apt-get remove libicd-network-3g-ipv6

scribbles
09-05-2010, 01:32 PM
Thank you sir...

geneven
09-06-2010, 03:16 PM
Looks like you are using the HE DNS which will by-pass the T-Mobile DSN64 service, and since 127.0.0.1 is first, i think you will just use the T-Mobile IPv4 DNS most of the time, which does not serve the Google IPv6 DNS records.

My suggestion is that your /etc/resolv.conf look like this to best use the local T-Mobile DNS64 as well as receive the native IPv6 content

namerserver 2607:FB90:BEEF:A::1

This name server should have the lowest latency since it is on the T-Mobile network and also serves the native google / youtube IPv6 content

Thanks. I will try your suggestion. The way I have it set up now gives me as much speed as I want, though more is always welcome...I was suspicious that namerserver was correct, but it works just fine.

akurtz
09-07-2010, 07:09 PM
I've setup IPv6-only on my N900 and it's working well enough that I've left it as the default. Web, email, and Google Talk work just fine. Dialcentral, The One Ring and Mail for Exchange do not work over IPv6, unfortunately.

IPv6 doesn't seem to work on my private network, however. I'm running radvd and my other PCs and laptops pick up a global IPv6 address automatically, but the N900 only sets up the local link one. Even if I manually add in an IP in my subnet using iproute, I'm not able to ping6 anything, local or outside.

Does anyone have their N900 working on the LAN?

bunanson
09-11-2010, 10:49 PM
I am late to the party, but I also want to jot down something so that I can follow myself in case I have to redo this.

I went thru the nitdroid 0.0.7 installation, later upgraded to 0.0.8, http://talk.maemo.org/showthread.php?t=61338, and that is the status of my N900.

A) I started by following this, http://n900-ipv6.garage.maemo.org/, "enabling IPv6 thru linux kernel", and nothing happened. I proceeded to "Setting IPv6 Connectivity with builit-in web server", go about:config and flip the disabling ipv6 filter.

B) I then tried this, http://code.google.com/p/n900ipv6/wiki/README,
I followed the Steps to install
========================================
* grab the kernel-power package from extras
* put the 3g_ipv6 package on your n900: libicd-network-3g-ipv6_1.2_armel.deb
* install the package as root (dpkg -i libicd-network-3g-ipv6_1.2_armel.deb)
* run /usr/bin/register_3g_ipv6 install
* (Did not do) If you still have the "3G ipv6" connection from the non-packaged version, delete it with: /usr/bin/register_3g_ipv6 remove-old
* reboot
============================================

C) And followed this, http://groups.google.com/group/tmoipv6beta/web/setting-up-ipv6-on-your-nokia

On N900, Settings>Internet Connections>Connect automatically> Always ask.
Connections>Edit>IPv6 (Red in color, wont miss it)
=======================
3 Enter the name ccinternet2.t-mobile.com and tap OK.
4 Select the new Internet access point you just made, ccinternet2.t-mobile.com
=======================
Done>Save>Save.

reboot N900

Now on your status bar, you should see a big big large, lovely sweet, red "v 6"
Use any editor, modify /etc/resolv.conf
===========================
nameserver 2607:FB90:BEEF:A::1
# nameserver 127.0.0.1
===========================

when using wifi, have to change back to 127.0.0.1

check: go webserver, www.whatismyv6.com

What is the advantage of this exercise, FAST, as fast as wifi!

Useful links:
http://www.maemonokian900.com/maemo-news/ipv6-on-the-nokia-n900-and-facebook/
http://myn900.wordpress.com/2010/09/04/t-mobiles-ipv6-beta-service/

website support ipv6 so far:
google chrome, firefox, ipv6.google.com

No pic, no story, here are the pics, see the big (white) 6 on top of the green dot, and notice, I am online, but the homeip was read (no IP found) :-)

Enjoy,

bun

geneven
10-27-2010, 10:34 AM
FYI, anyone: Installing the firmware PR1.3 disabled my ipv6 connection, but I just reinstalled and all is well again.

geneven
10-27-2010, 12:07 PM
I found bunanson's comment above to be true:

Use any editor, modify /etc/resolv.conf
===========================
nameserver 2607:FB90:BEEF:A::1
# nameserver 127.0.0.1
===========================

when using wifi, have to change back to 127.0.0.1


Does anyone know how to make this change in resolv.conf automatically when switching from wireless to an ipv6 connection? I don't know anything about Linux scripting.

ddrown
10-27-2010, 12:13 PM
I found bunanson's comment above to be true:

Use any editor, modify /etc/resolv.conf
===========================
nameserver 2607:FB90:BEEF:A::1
# nameserver 127.0.0.1
===========================

when using wifi, have to change back to 127.0.0.1


Does anyone know how to make this change in resolv.conf automatically when switching from wireless to an ipv6 connection? I don't know anything about Linux scripting.

You should not need to edit /etc/resolv.conf. Using 127.0.0.1 means use the local program "dnsmasq". dnsmasq gets the nameserver to query from /var/run/resolv.conf.gprs (among other files named resolv.conf* in /var/run). My libicd-network-3g-ipv6 package creates this file when you connect.

Are you using libicd-network-3g-ipv6? What happens when you use 127.0.0.1 in /etc/resolv.conf and you're on ipv6?

edit: it just occured to me that you could be using meego instead of maemo. If that's the case, then disregard this message.

geneven
10-28-2010, 05:36 PM
You should not need to edit /etc/resolv.conf. Using 127.0.0.1 means use the local program "dnsmasq". dnsmasq gets the nameserver to query from /var/run/resolv.conf.gprs (among other files named resolv.conf* in /var/run). My libicd-network-3g-ipv6 package creates this file when you connect.

Are you using libicd-network-3g-ipv6? What happens when you use 127.0.0.1 in /etc/resolv.conf and you're on ipv6?

edit: it just occured to me that you could be using meego instead of maemo. If that's the case, then disregard this message.

I'm not using Meego.

127.0.0.1 works fine in /etc/resolv.conf when I'm using ipv6.

Yes, I'm using libicd-network-3g-ipv6.

If I shouldn't edit resolv.conf that's fine.

What exactly should I do with the suggestion that

"My suggestion is that your /etc/resolv.conf look like this to best use the local T-Mobile DNS64 as well as receive the native IPv6 content

namerserver 2607:FB90:BEEF:A::1

This name server should have the lowest latency since it is on the T-Mobile network and also serves the native google / youtube IPv6 content"

as is posted above?

ddrown
10-28-2010, 05:42 PM
What exactly should I do with the suggestion that

"My suggestion is that your /etc/resolv.conf look like this to best use the local T-Mobile DNS64 as well as receive the native IPv6 content

namerserver 2607:FB90:BEEF:A::1


Long answer: That's automatically done for you by libicd-network-3g-ipv6. It just puts the dns server in /var/run/resolv.conf.gprs (where dnsmasq looks for it) instead of /etc/resolv.conf (which disables dnsmasq's cache)

Short answer: you don't have to do anything

tmojoe
10-29-2010, 11:46 AM
Long answer: That's automatically done for you by libicd-network-3g-ipv6. It just puts the dns server in /var/run/resolv.conf.gprs (where dnsmasq looks for it) instead of /etc/resolv.conf (which disables dnsmasq's cache)

Short answer: you don't have to do anything

manually editting /etc/resolv.conf is more for this method, http://n900-ipv6.garage.maemo.org/

It is not needed for the y libicd-network-3g-ipv6 method.

delaroca
11-02-2010, 05:07 PM
manually editting /etc/resolv.conf is more for this method, http://n900-ipv6.garage.maemo.org/

It is not needed for the y libicd-network-3g-ipv6 method.

Is ipv6 access using the libicd method currently working? Used to work for me way back in September but now I get an "Internet Connection Failed" popup when trying it.

ddrown
11-02-2010, 07:33 PM
Is ipv6 access using the libicd method currently working? Used to work for me way back in September but now I get an "Internet Connection Failed" popup when trying it.

I had to reinstall the power kernel after updating to PR1.3. I'll have to make the error message clearer for my next update to libicd-network-3g-ipv6.

You can check to see if this is the problem by running "uname -r". If it says something like "2.6.28.10power40", that's the power kernel. If it says something like "2.6.28-omap1", that's the nokia kernel and you have to reinstall the power kernel.

If that's not the problem, let me know.

delaroca
11-02-2010, 11:18 PM
If that's not the problem, let me know.

The problem was simpler... the authorization to use ipv6 on my T-mobile account had dropped out... I was re-authorized and all is well now. I am still on PR1.2... thanks for your report on PR1.3.

bunanson
11-03-2010, 12:54 AM
Wow, t-mobile dropped you? That made members number dropped from 77 to 76! Does anybody know how precious you are? The total number of betatesters is only 77... freightening small for such utmost important beta!

bun

geneven
11-03-2010, 01:16 AM
A friend of mine who is not a member of this forum tried to join the beta and her application was ignored. I guess they check whether you are a member here.

scribbles
11-03-2010, 02:17 AM
The problem was simpler... the authorization to use ipv6 on my T-mobile account had dropped out... I was re-authorized and all is well now. I am still on PR1.2... thanks for your report on PR1.3.

How do you know you were dropped?? I'm having a problem getting iPv6 access after PR 1.3 and I've even email Cameron about it. I have been running the iPv4/iPv6 setup (http://n900-ipv6.garage.maemo.org/) for a couple of months and everything was fine until the upgrade. I've gone so far as to delete the scripts and download them again and configure them and I still can't get access. It made me wonder if they dropped me for some reason. I think I will email Cameron again...

ddrown
11-03-2010, 09:38 AM
How do you know you were dropped?? I'm having a problem getting iPv6 access after PR 1.3 and I've even email Cameron about it. I have been running the iPv4/iPv6 setup (http://n900-ipv6.garage.maemo.org/) for a couple of months and everything was fine until the upgrade. I've gone so far as to delete the scripts and download them again and configure them and I still can't get access. It made me wonder if they dropped me for some reason. I think I will email Cameron again...

Did you reinstall the power kernel after updating to PR 1.3?

scribbles
11-04-2010, 12:18 AM
Did you reinstall the power kernel after updating to PR 1.3?

No, I didn't have to. I did however had to re-install the kernel for power user settings (v0.11). After PR 1.3 I checked in xterm and the kernel was there, just not enabled.

delaroca
11-04-2010, 12:51 AM
How do you know you were dropped??

A guess, you might say... I had read elsewhere that the ipv6 authorization settings on the account are prone to drop out when the account is modified -- this being a beta program after all. Before, I had tried re-installing and configuring the libicd package and still I was getting apn connection failures. Sure enough, soon as Cameron re-authorized the account I was able to connect successfully!

tmojoe
11-04-2010, 12:14 PM
Wow, t-mobile dropped you? That made members number dropped from 77 to 76! Does anybody know how precious you are? The total number of betatesters is only 77... freightening small for such utmost important beta!

bun

Being dropped is a result of the beta status. It is most often triggered by the user doing an account update (calling customer care, upgrading ...), which then triggers the account to be overwritten without the flags for the IPv6 beta program.

tmojoe
11-04-2010, 12:18 PM
A friend of mine who is not a member of this forum tried to join the beta and her application was ignored. I guess they check whether you are a member here.

You should ask your friend to try again. The beta is open, but the beta status means there are some manual processes and mistakes can be made. The only people that get rejected are iphone and android users, since their devices do not support IPv6 on the mobile network .... maybe someday.

ddrown
11-04-2010, 12:29 PM
No, I didn't have to. I did however had to re-install the kernel for power user settings (v0.11). After PR 1.3 I checked in xterm and the kernel was there, just not enabled.

Ok, to get more info on what's going on, you can put libicd-network-3g-ipv6 into debug mode:

[run these commands as root, it'll disconnect you]
initctl stop icd2
/usr/sbin/icd2

This will print out the connection messages to your terminal.

If it's a matter of not having ipv6 support, it'll say:
ifconfig: socket: Address family not supported by protocol

If it's something else, it should say something like:
[X] failed (com.nokia.[Y]): [Z]

That error message should hint to what's going wrong.

After you're done with debugging mode, you can turn it back off with:

[this will disconnect you again]
hit control-c and you'll get a prompt back
initctl start icd2

scribbles
11-04-2010, 07:55 PM
Thanks for your help gentlemen.... After Cameron verified that my account was still good, I decided to do some deeper file checking and in a slew of sloppy script writing *facepalm*, I found the problem and all is good. After visiting www.whatismyv6.com to verify my connectivity, www.v6.facebook.com and ipv6.google.com were also done swiftly. And of course the swimming turtle...

Radu
12-02-2010, 06:21 PM
I got accepted in the Beta today, and I followed the instructions here: https://code.google.com/p/n900ipv6/wiki/README
Everything was OK, the IPV6 connection was created, I changed the APN to ccinternet2.t-mobile.com, but still can't connect. I only have 2.5g here, could this be a problem?

When I try:
initctl stop icd2
/usr/sbin/icd2
icd2 will seg fault each time I try the ipv6 connection (but works fine with wifi).

Any ideas?

ddrown
12-02-2010, 06:44 PM
I got accepted in the Beta today, and I followed the instructions here: https://code.google.com/p/n900ipv6/wiki/README
Everything was OK, the IPV6 connection was created, I changed the APN to ccinternet2.t-mobile.com, but still can't connect. I only have 2.5g here, could this be a problem?


2.5G is fine. I'm able to connect if I force it to only use 2G


When I try:
initctl stop icd2
/usr/sbin/icd2
icd2 will seg fault each time I try the ipv6 connection (but works fine with wifi).

Any ideas?

Does it print any messages before it segfaults?

such as:

using non-default apn: ccinternet2.t-mobile.com
Attached: GPRSAttach
Available

Does it crash after you select the v6 connection, or when it presents you with a list of connections, or right after starting icd2?

Radu
12-02-2010, 06:54 PM
When I start icd2, it will stay there and do nothing indefinitely. However, as soon as I tell it to connect using the 3G ipv6 connection, it will say:
using default apn
seg fault

ddrown
12-02-2010, 07:33 PM
When I start icd2, it will stay there and do nothing indefinitely. However, as soon as I tell it to connect using the 3G ipv6 connection, it will say:
using default apn
seg fault

I build a new version (1.3) and put it up on google code:
http://n900ipv6.googlecode.com/files/libicd-network-3g-ipv6_1.3_armel.deb

This version will print out three additional messages:

before attach
before QuickConnect
after QuickConnect

Please install this version (just requires a dpkg -i and then restart icd2) and let me know what messages it generates.

Radu
12-02-2010, 07:53 PM
Wow, I tried your new version and now it actually works!! I can go to websites and stuff (a bit slow since it's only 2.5G and I have a bad signal, but it works!). You are the best :)

P.S. Is Skype supposed to work? Because it seems that my Skype won't connect over the cellular network.

ddrown
12-02-2010, 08:01 PM
Wow, I tried your new version and now it actually works!! I can go to websites and stuff (a bit slow since it's only 2.5G and I have a bad signal, but it works!). You are the best :)


Nice! Glad it works.


P.S. Is Skype supposed to work? Because it seems that my Skype won't connect over the cellular network.

It looks like Skype is trying to connect to IPv4 address directly. It probably won't work on v6 only connections.

covid
12-03-2010, 04:15 AM
hi, i think i am not ready for ipv6. due to i have trouble connecting it. so i would like to roll back to ipv4. how do i uninstalled it. i did removed using xterm n reboot. i still cant connect to internet. can anyone show me how to get back to connect to ipv4?

thanks.

ddrown
12-03-2010, 12:10 PM
hi, i think i am not ready for ipv6. due to i have trouble connecting it. so i would like to roll back to ipv4. how do i uninstalled it. i did removed using xterm n reboot. i still cant connect to internet. can anyone show me how to get back to connect to ipv4?

thanks.

Is the v6 connection still listed in your choices of networks to connect to? What happens when you try to connect manually to the v4 network?

Radu
12-03-2010, 04:25 PM
Is there any IPv6 voice chat option? It seems that Gtalk can only send/get text messages over IPv6, and it will not work if I try to talk to someone with an IPv4 connection.

covid
12-04-2010, 12:57 AM
@ ddrown

HI thank for help. i think eerything was fine, just becuase i didnt got confirmed message from TMO about my v6. i got it today and installed again right away. at first installed, it worked great, faster down n upload speed. i can login with only google but not yahoo and skype (i knew cos its not support v6) its okay, but i found out my google can only chat but cannot make a call. i always video and voice call through google talk, but not anymore, i called her, the status stayed connecting forever..... she called me i picked up....it coneecting forever. so i assumed its not work. when i get home from work today. i have tried install script using dualstack, without remove IPV6 only deb package out of my n900. i've experience my ipv6 only connection not connect to any gtalk cutetube yahoo skype and also cannot go to youtube.com. that even put me in bad situation.

i've done the speed test, and chekc ip v6, i am everything right, but my speed isnt different from ipv4 before.
my speed test at work place using only ipv6 is UP: 1mb DW: 1.98mb
my speed test at home using dual stack is UP: 0.53mb DW: 0.48mb
i was wonder what a problem, so i test with only ipv6 i got the same number as dual stack. so i assumed that because its was different tower different location.

i really need skype n google talk to work. cos that the reason i buy n900

i am i saying it clear: i think its kinda complicate.
thanks

ddrown
12-04-2010, 01:43 AM
...
i really need skype n google talk to work. cos that the reason i buy n900


ok yeah, I'm sure skype won't work on v6 only currently. I expect that google talk voice/video is in a similar situation. To work around that, you will have to either connect with v4 only, or use the dual stack setup.

I can only hope that someone will update skype/google talk to support v6. Theoretically, it would be easier than dealing with nat on v4.

ddrown
12-07-2010, 02:03 PM
I have something I've been experimenting with that fixes some of the problem applications. With it, I was able to get The One Ring (Google Voice) working on my v6 connection. Unfortunately, skype still doesn't work.

I have more details at: http://code.google.com/p/n900ipv6/wiki/LDPreloadNat64

lemmyslender
12-07-2010, 05:26 PM
I have something I've been experimenting with that fixes some of the problem applications. With it, I was able to get The One Ring (Google Voice) working on my v6 connection. Unfortunately, skype still doesn't work.

I have more details at: http://code.google.com/p/n900ipv6/wiki/LDPreloadNat64

Installed, rebooted, The One Ring works. Tested GeePS, fails to load, gives a segfault. GeePS works with the IPv4/IPv6 connection, but not on IPv6 only (w/o fix).

Temporarily uninstalled due to wifi bug (disconnect/reconnect wifi and it works). Is this just the first time after reboot, or the first time after the IPv6 connection?

ddrown
12-07-2010, 05:31 PM
Installed, rebooted, The One Ring works. Tested GeePS, fails to load, gives a segfault. GeePS works with the IPv4/IPv6 connection, but not on IPv6 only (w/o fix).


Ah, GeePS was segfaulting for me, but I thought it was just broken for everything (I'll look into this some more).

Temporarily uninstalled due to wifi bug (disconnect/reconnect wifi and it works). Is this just the first time after reboot, or the first time after the IPv6 connection?

First time after the IPv6 connection.

lemmyslender
12-07-2010, 05:36 PM
I kept the IPv4/IPv6 settings after I installed the IPv6 only deb. It still has the IPv6 connectivity that way, but allows the IPv4 apps to work.

The IPv6 connection is the default connection, so whenever I want to run GeePS, I disconnect, then reconnect using the v4/v6 connection, works no problem. Works for the occasion website that isn't v6 compliant/hosted as well.

The wifi thing will get annoying as I'm in and out of wifi several times a day. More than happy to test any updates though.

ddrown
12-07-2010, 05:53 PM
I kept the IPv4/IPv6 settings after I installed the IPv6 only deb. It still has the IPv6 connectivity that way, but allows the IPv4 apps to work.

The IPv6 connection is the default connection, so whenever I want to run GeePS, I disconnect, then reconnect using the v4/v6 connection, works no problem. Works for the occasion website that isn't v6 compliant/hosted as well.

Well, if I can get all the bugs out, hopefully you won't need the v4/v6 connection anymore :)

I got geeps working on a regular wifi connection, so now I can see if I can get it to work on a v6-only connection.

The wifi thing will get annoying as I'm in and out of wifi several times a day. More than happy to test any updates though.

Yeah, it's a super annoying bug.

tmojoe
12-07-2010, 06:57 PM
I have something I've been experimenting with that fixes some of the problem applications. With it, I was able to get The One Ring (Google Voice) working on my v6 connection. Unfortunately, skype still doesn't work.

I have more details at: http://code.google.com/p/n900ipv6/wiki/LDPreloadNat64

This is AWESOME!

ddrown
12-07-2010, 09:03 PM
Ok, libnat64 version 1.1 is up at http://code.google.com/p/n900ipv6/wiki/LDPreloadNat64

Fixes the ifconfig/route problems when switching from 3g/ipv6 to wifi

I'm still working on GeePS. I think the problem is in one of the QT libraries being unable to handle an ipv6-only connection (stack dump shows it crashing in libQtNetwork.so.4@QNetworkSession::QNetworkSession )

lemmyslender
12-07-2010, 10:16 PM
Version 1.1 testing now.

So far, no problems switching back and forth with wifi :)

the one ring, gtalk, ovi, jabber, yahoo all work. skype, sipphone(gizmo5) won't connect GeePS fails. Ovi Maps working.

Great work! I'll continue testing tomorrow.

bunanson
12-08-2010, 09:18 AM
Ok, libnat64 version 1.1 is up at http://code.google.com/p/n900ipv6/wiki/LDPreloadNat64
....

I dl the .deb
root
dpkg -i libnat64*.*

install without problem.

the next step is
"run : /usr/bin/register_nat64 install "

how to do that? like ./register_nat64 install?

Thanks,

bun

lemmyslender
12-08-2010, 10:13 AM
bun-

After I did the dpkg -i, from the command prompt I just typed:

/usr/bin/register_nat64 install

No need for the . in front.

ddrown
12-08-2010, 11:54 AM
I dl the .deb
root
dpkg -i libnat64*.*

install without problem.

the next step is
"run : /usr/bin/register_nat64 install "

how to do that? like ./register_nat64 install?

Thanks,

bun

You just have to type "/usr/bin/register_nat64 install" as root.

For a background of why this is: the package installs a script, "/usr/bin/register_nat64". This needs to be run to setup the library to hook into internet traffic. Installing the package could run this automatically, but I chose to make the process two separate steps.

Using two steps makes it easier to turn the library on and off without deinstalling/reinstalling the package. But using two steps also makes it harder to install. I will change it to be easier to install once the library has been better tested.

db_tobago
12-08-2010, 12:52 PM
FYI weatherbug, barriosquare and sygic maps crash with IPv6

ioan
12-08-2010, 03:12 PM
Ok, libnat64 version 1.1 is up at http://code.google.com/p/n900ipv6/wiki/LDPreloadNat64

Fixes the ifconfig/route problems when switching from 3g/ipv6 to wifi


Should I uninstall the prev. version before installing this one?

ddrown
12-08-2010, 03:13 PM
Should I uninstall the prev. version before installing this one?

Nope, you can just install the new version over the previous

Edit: I should mention you only have to install the package to update, you don't have to run the register command again.

Radu
12-08-2010, 05:35 PM
I installed the new one, which works, but still no ipv6 chat with Gtalk :/
is there a problem if the other party is behind IPv4 and NAT? On wifi it works fine.

lemmyslender
12-08-2010, 09:23 PM
Gtalk working fine over IPv6 here. IM'ing with the wife earlier. She's running android on verizon, so I know it's IPv4, probably nat as well.

Radu
12-08-2010, 09:37 PM
Did you IM or talked, as in voice chat?
IM works fine for me, and it did before, but voice/video doesn't work.

ddrown
12-08-2010, 10:59 PM
Ok, I found the problem with GeePS (same bug with barriosquare).

Fix is to upgrade to libicd-network-3g-ipv6 version 1.4 and libnat64 version 1.2. After upgrading, I am able to use GeePS and barriosquare.

What broke: QT4 contains its own mini web browser (webkit based). The mini browser checks to see which connection is active before launching. libicd-network-3g-ipv6 did not previously implement the function "ip_addr_info", which is supposed to return ipv4 address information. I added a function that returns nothing (I now return 1 element of nothing instead of 0 elements of nothing :), and that fixed the crash.

The libnat64 upgrade is for barriosquare, which starts up a server and binds to localhost. Due to researching what would work, I had two different strategies to handle traffic to localhost (one in connect(), and one in bind()). I changed the bind method to match the connect method.

db_tobago
12-09-2010, 12:34 AM
excellent job. weatherbug , barriosquare and sygic work

lemmyslender
12-09-2010, 08:54 AM
Did you IM or talked, as in voice chat?
IM works fine for me, and it did before, but voice/video doesn't work.

Just IM. Sorry for the confusion. Haven't tried voice/video.

*EDIT* GeePS is working now as well. Getting closer and closer to not needing anything other than the v6 only connection. I don't often use skype or sip, so really, not much need to change now. Also of interest (don't remember if they didn't work before) Application Manager and Ermining also work.

Keep up the great work!

ddrown
12-09-2010, 11:40 AM
Did you IM or talked, as in voice chat?
IM works fine for me, and it did before, but voice/video doesn't work.

It looks like google voice/video wants to see an ipv4 address configured. SIP is probably looking for the same thing.

try running (as root): ip addr add 10.255.255.254/30 dev gprs0

(If you don't have /sbin/ip, it comes from the iproute package)

After doing that, google voice worked for me. I'd be interested to hear if SIP starts working too.

db_tobago
12-09-2010, 01:06 PM
couldn't get SIP to work. I'm using localphone.com as a provider

lemmyslender
12-09-2010, 01:11 PM
Installed iproute, as root: ip addr add 10.255.255.254/30 dev gprs0
redoing it says file already exists

Neither sip (gizmo5) or skype will connect.

ddrown
12-09-2010, 01:14 PM
Installed iproute, as root: ip addr add 10.255.255.254/30 dev gprs0
redoing it says file already exists

Neither sip (gizmo5) or skype will connect.

ok. Something else must be going on with sip. I'll have to sign up with an account somewhere.

Edit: I should mention that skype won't work. It's possible to fix, but it takes a lot of work that's specific to just skype.

lemmyslender
12-09-2010, 01:54 PM
Like I said, I don't really use Skype very often at all. I have the account setup, so I figure it's easy to try and report.

I don't think you can get an account with Gizmo5 (my sip) anymore, not sure it would work the same with different providers, but more than happy to keep testing.

Radu
12-09-2010, 06:03 PM
It looks like google voice/video wants to see an ipv4 address configured. SIP is probably looking for the same thing.

try running (as root): ip addr add 10.255.255.254/30 dev gprs0

(If you don't have /sbin/ip, it comes from the iproute package)

After doing that, google voice worked for me. I'd be interested to hear if SIP starts working too.

[edit]
Did that, had to have the gprs connection on, doesn't work on wifi alone. Now if I could only get some stable signal in my rural home to try the voice chat :)

ddrown
12-09-2010, 06:23 PM
Ok, version 1.3 released: http://code.google.com/p/n900ipv6/wiki/LDPreloadNat64

SIP and Google Talk voice chat work for me now (don't have to run the "ip addr ..." command after the update)

If y'all find anything else broken (except Skype), let me know.

db_tobago
12-09-2010, 07:51 PM
nicely done. SIP works.

lemmyslender
12-09-2010, 08:33 PM
Sip working here as well. Excellent job.

Didn't think about it earlier, pyRadio works on v6 now (pretty sure it didn't earlier).

RadioTimeToGo fails with getMacAddress (Works on wifi and fails on hybrid connection)

ddrown
12-09-2010, 08:50 PM
Sip working here as well. Excellent job.

Thanks!

Didn't think about it earlier, pyRadio works on v6 now (pretty sure it didn't earlier).

RadioTimeToGo fails with getMacAddress (Works on wifi and fails on hybrid connection)

Hm, RadioTimeToGo is working for me. At what point does it fail? Does it fail all of the time or only some of the time?

Radu
12-09-2010, 10:34 PM
After installing iproute and doing
ip addr add 10.255.255.254/30 dev gprs0
My WiFi connection stopped working properly. It seems that it can't find an IP, and the DNS resolving stopped working. Strangely, Skype can still connect, but nothing else work.
I uninstalled iproute and rebooted, but still no luck. I am using the version before 1.3 (the one you posted 2 days ago).

Any idea what might be wrong, and how can I fix it?

bunanson
12-09-2010, 11:47 PM
OMG! It worked!

Using GV, I called out, it flickered a bit, then called back, and connected! I am using 2.5G, quality is marginal, though! Thank you!

A couple of things. It is NOT dependable. It connected. I hanged up, and it wont connect for another 2 - 3 minutes, and it connected again, as if, there is some lags between calls.

I recently returned from Minneappolis, and my ipv6 GPRS wont connect. My initail application is from Raleigh NC. I dont think this is local, is it? I thought it is coast to coast. Strange.

Thanks again, it has been quite awhile I can use this thing to make GV call!

And I am using your latest version, the 1.3 version.

And App man works, ovi map dl, geePS works.

Edit: 2.5G quality is not acceptable, only listen, or only talk, when talk and listen together, it becomes broken sentence. I expect it to work much better with 3G.

bun

ddrown
12-10-2010, 12:03 AM
After installing iproute and doing
ip addr add 10.255.255.254/30 dev gprs0
My WiFi connection stopped working properly. It seems that it can't find an IP, and the DNS resolving stopped working. Strangely, Skype can still connect, but nothing else work.
I uninstalled iproute and rebooted, but still no luck. I am using the version before 1.3 (the one you posted 2 days ago).

Any idea what might be wrong, and how can I fix it?

I assume you're talking about libicd-network-3g-ipv6 version 1.3

Do you have libnat64 installed? You don't need it if you don't already have it.

You don't have to run "ip addr add ...". Sorry, that was for testing something else. I guess there are too many things going on in this thread.

When you go to connect to your wifi, does it still list your access point? Does it just blink the connecting icon and then pop up the error message?

Can you setup debug mode?
http://code.google.com/p/n900ipv6/wiki/DebugMode

Radu
12-10-2010, 12:17 AM
Yes, I meant libicd-network-3g-ipv6 version 1.3
Ok, so here is what happened:
I was connected through putty to my N900 on WiFi. I installed iproute so that I can run your ip addr add command.
Then I put the phone in the window to get some 3G signal to test it. I might have disconnected the wifi, then connected again with putty through wifi, and I tried to wget your file. I couldn't resolve the host.
I rebooted, connected to wifi again and the Home IP widget doesn't show any IP anymore, gtalk won't connect and hosts aren't resolved. Pinging IP addresses works though.
ifconfig shows only an ipv6 address to wlan0, i think before it used to show an ipv4 address too. I tried to put a name server manually in /etc/resolv.conf but it still didn't work..
Any ideas on what might have happened?

ddrown
12-10-2010, 12:27 AM
Yes, I meant libicd-network-3g-ipv6 version 1.3
Ok, so here is what happened:
I was connected through putty to my N900 on WiFi. I installed iproute so that I can run your ip addr add command.
Then I put the phone in the window to get some 3G signal to test it. I might have disconnected the wifi, then connected again with putty through wifi, and I tried to wget your file. I couldn't resolve the host.
I rebooted, connected to wifi again and the Home IP widget doesn't show any IP anymore, gtalk won't connect and hosts aren't resolved. Pinging IP addresses works though.
ifconfig shows only an ipv6 address to wlan0, i think before it used to show an ipv4 address too. I tried to put a name server manually in /etc/resolv.conf but it still didn't work..
Any ideas on what might have happened?

It sounds like dhcp didn't get an address. ifconfig can get confused, though. Does "netstat -rn" show a line starting with "0.0.0.0"? Is your internet connection working normally for other wireless machines?

Radu
12-10-2010, 12:31 AM
It sounds like dhcp didn't get an address. ifconfig can get confused, though. Does "netstat -rn" show a line starting with "0.0.0.0"?
Yes, the second line.

Is your internet connection working normally for other wireless machines?
Yes, just tested with my N810 (even disconnected and reconnected from WiFi) and it works fine.

Anyway, if I don't have an IP, how can Skype still connect? And how can I ping stuff?

ddrown
12-10-2010, 12:38 AM
Yes, the second line.

Yes, just tested with my N810 (even disconnected and reconnected from WiFi) and it works fine.

Anyway, if I don't have an IP, how can Skype still connect? And how can I ping stuff?

Ok, it sounds like you got an IP. Maybe it didn't set the dns server in /var/run/resolv.conf.wlan0? Is dnsmasq running?

Radu
12-10-2010, 12:51 AM
dnsmasq is running (or at least it said ti was already running when trying to start it).
/var/run/resolv.conf.wlan0 points to my gateway

One interesting thing, I can't connect to the N900 through ssh from my desktop, even though sshd is running and I can ping the IP of the N900 from my desktop...

Radu
12-10-2010, 03:06 AM
Ok, there is some magic involved here.
I rebooted my phone again, next to the window. It tried to connect to the 3g network, and failed. Then it switched to wifi, and voila, I had an IP on my Home IP widget. But still no DNS resolving.
But I rebooted it, and now it works great on wifi. This is really strange..

lemmyslender
12-10-2010, 09:34 AM
ddown-

I've posted over in the RadioTime thread. Looks like there might be some similar errors.

ddrown
12-10-2010, 12:38 PM
Ok, there is some magic involved here.
I rebooted my phone again, next to the window. It tried to connect to the 3g network, and failed. Then it switched to wifi, and voila, I had an IP on my Home IP widget. But still no DNS resolving.
But I rebooted it, and now it works great on wifi. This is really strange..

I think there's something else going on there, unrelated to the 3g/ipv6 library. I'd recommend you run icd2 in debug mode, just to see if anything prints out any error messages (some error messages are normal).

debug mode: http://code.google.com/p/n900ipv6/wiki/DebugMode

Cobra
12-10-2010, 07:36 PM
hey guys sorry for the dumb question I followed the instructions at http://n900-ipv6.garage.maemo.org/ and in this step should the ipv4 apn and ipv6 apn be the same?

# Edit the 00_enable_apn_ipv6 file with an editor (e.g. vi) in order to setup a) the IPv4 APN value to hook up when activating IPv6 APN, b) the IPv6-capable APN value, c) the IPv6 APN username and d) the IPv6 APN password, finishing by saving the changes

Ive put the ipv4 apn as the original and the ipv6 to the one tmobile sent me in confirmation letter. it works but how do i know it switching between ipv4 and ipv6 properly. thanks guys

ddrown
12-10-2010, 07:43 PM
Ive put the ipv4 apn as the original and the ipv6 to the one tmobile sent me in confirmation letter. it works but how do i know it switching between ipv4 and ipv6 properly. thanks guys

That is correct. If both http://ipv6.whatismyv6.com and http://66.117.47.214 work, then you have both ipv4 and ipv6

Cobra
12-10-2010, 07:52 PM
Thanks its working great. :)

bunanson
12-11-2010, 05:32 PM
I got geePS worked only once. After rebooted, it wont open again. Currently everything works, except GeePS and Skype. Any suggestions where to look? Or should I redo ddown's 1.3 (http://code.google.com/p/n900ipv6/wiki/LDPreloadNat64) version again? Well, I am NOT as techie as other guys :( , I hope I am teachable :)

I can connect to IPv6 and switch back and forth to wifi without problems. Thank you ddown for your hardwork.

N900, OS1.3, power kernel 45, OC, using ddown 1.3 script.

TIA,

bun

lemmyslender
12-11-2010, 08:02 PM
bun-

skype probably isn't going to work according to what ddown has posted. I haven't had any problems with GeePS not working.

However, yesterday afternoon, I was getting a very slow data connection (v4 & v6). It was causing RadioTimeToGo to crash. Later that evening in a different room, my connection was better, and RTTG was working just fine.

I'm guessing if RTTG doesn't get a response back from the internet, it times out and crashes. I'll bet GeePS is the same.

Maybe give it a couple of hours, or try a different location?

Radu
12-12-2010, 02:26 AM
Just wanted to confirm that pretty much that I tried works, including ssh and gtalk voice. The only not working thing is Skype, which is a shame, because with Skype working there is no need to use cellphone minutes.

bunanson
12-12-2010, 09:19 AM
bun-

skype probably isn't going to work according to what ddown has posted. I haven't had any problems with GeePS not working.

However, yesterday afternoon, I was getting a very slow data connection (v4 & v6). It was causing RadioTimeToGo to crash. Later that evening in a different room, my connection was better, and RTTG was working just fine.

I'm guessing if RTTG doesn't get a response back from the internet, it times out and crashes. I'll bet GeePS is the same.

Maybe give it a couple of hours, or try a different location?

Tks.

I did the whatismyipv6address.com test, I was able to connect to ipv4 only test and ipv6 only test. I think that means I can connect to both.

My GeePS still wont connect. It loads for a second, then quit by itself. I know I was able to connect to GeePS right after ddown's script, and in fact I used it for half an hour, and now it cannot connect any more. Oh sure, it connects when switch to wifi.

I am using Modrana on ipv6 and has no problem.

App manager runs without any problem

Ovi Maps runs, no problem

so does The One Ring/GVoice, no problem

I am OC limits to 950,500, switched to 600,250, still cannot load GeePS

bun

db_tobago
12-17-2010, 05:13 PM
Just curious what is the tentative date for the beta test to end?

Thanks

ioan
12-17-2010, 05:42 PM
Just curious what is the tentative date for the beta test to end?

Thanks

I hope never :-)

Radu
12-17-2010, 05:59 PM
I also hope that it will never end, but realistically it will probably end in the summer or earlier, as the new Android devices will support IPv6.

tmojoe
12-17-2010, 09:36 PM
I also hope that it will never end, but realistically it will probably end in the summer or earlier, as the new Android devices will support IPv6.

The plan is that the beta will continue until after the production IPv6 service is launched towards the end of 2011.

db_tobago
12-22-2010, 01:23 AM
has anyone had issues with fmms with IPv6? i get the notification but can't download image, running in havoc mode. i see fmms uses IPv4 addresses in its settings.

ddrown
12-22-2010, 01:53 AM
has anyone had issues with fmms with IPv6? i get the notification but can't download image, running in havoc mode. i see fmms uses IPv4 addresses in its settings.

Oh I see. fmms brings up a second interface on the phone network. It then tries to connect to the mms server over that interface. That won't work when libnat64 is active. fmms should work in polite mode (have to disconnect from ipv6 connection), or havoc mode when you're on wifi. I'm not sure how to make libnat64 compatible with what fmms needs.

geneven
12-28-2010, 11:22 AM
When I tried to share my ipv6 connection using Mobile HotSpot with my N810, I got the message from TMobile that I don't have a data plan. True (for the N810) but I thought I would be able to share the N900 ipv6 connection without buying a new data plan. Is this the way it's expected to work?

tmojoe
12-28-2010, 02:47 PM
When I tried to share my ipv6 connection using Mobile HotSpot with my N810, I got the message from TMobile that I don't have a data plan. True (for the N810) but I thought I would be able to share the N900 ipv6 connection without buying a new data plan. Is this the way it's expected to work?

You would only get that response from the IPv4 APN, not the IPv6 APN. So, my guess is that you were sharing the IPv4 network not the IPv6 network.

ddrown
12-28-2010, 03:11 PM
When I tried to share my ipv6 connection using Mobile HotSpot with my N810, I got the message from TMobile that I don't have a data plan. True (for the N810) but I thought I would be able to share the N900 ipv6 connection without buying a new data plan. Is this the way it's expected to work?

I assume you're talking about the app "Mobile HotSpot" for the n900. That app is only going to work with an ipv4 connection, because it requires an ipv4 address on the GPRS side.

Since the gprs ipv6 connection is a /64, you can route that to your wifi and give everyone a public address. I've been meaning to setup a script to do this (along the lines of what Mobile HotSpot does, but for ipv6). I even have radvd compiled for the n900, so automatic address configuration works.

tmojoe
12-28-2010, 04:33 PM
I assume you're talking about the app "Mobile HotSpot" for the n900. That app is only going to work with an ipv4 connection, because it requires an ipv4 address on the GPRS side.

Since the gprs ipv6 connection is a /64, you can route that to your wifi and give everyone a public address. I've been meaning to setup a script to do this (along the lines of what Mobile HotSpot does, but for ipv6). I even have radvd compiled for the n900, so automatic address configuration works.

That would be AWESOME. I think some of the other handset guys have looked at doing this an L2 bridge while proxying the ND

ddrown
12-28-2010, 06:03 PM
That would be AWESOME. I think some of the other handset guys have looked at doing this an L2 bridge while proxying the ND

Ok, I setup a simple shell script and uploaded my radvd package. This uses routing instead of bridging.

http://code.google.com/p/n900ipv6/wiki/ConnectionSharing

I have it use an ipv4 subnet for DHCP (to hand out the DNS address), as well as local DNS traffic. Any device connected this way is going to have the same problems (IPv4 literals) as the handset.

ddrown
01-02-2011, 11:46 PM
I was thinking about ways of handling nat64 on the handset that works with tethering. I came up with something else (incompatible with the libnat64 library):

http://code.google.com/p/n900ipv6/wiki/Nat64D

As a bonus, skype works now. Also, fmms in havoc mode should work with it.

I still need to update the ipv6-share script to work under this, but it'll be possible.

Radu
01-03-2011, 04:35 AM
Before I install it, can you please clarify a few things?
1. "The scripts /etc/network/if-up.d/nat64-up and /etc/network/if-down.d/nat64-down start and stop the nat64d process."
Does the script need to be started manually, or is it started automatically at reboot?

2. Is it necessary for the script to be started in order for Skype to work?

Thanks.

lemmyslender
01-03-2011, 10:46 AM
I was thinking about ways of handling nat64 on the handset that works with tethering. I came up with something else (incompatible with the libnat64 library):

http://code.google.com/p/n900ipv6/wiki/Nat64D

As a bonus, skype works now. Also, fmms in havoc mode should work with it.

I still need to update the ipv6-share script to work under this, but it'll be possible.

Uninstalled libnat64 1.3, installed nat64d, reboot

Gtalk works, skype doesn't, geeps loads, but doesn't get gps info from internet.

When I start xterm, I see the following message repeated 6x :
ERROR: ld.so: object '/usr/lib/libnat64.s0' from /etc/ld.so.preload cannot be preloaded: ignored.

Let me know if more info is needed.

ddrown
01-03-2011, 11:27 AM
Before I install it, can you please clarify a few things?
1. "The scripts /etc/network/if-up.d/nat64-up and /etc/network/if-down.d/nat64-down start and stop the nat64d process."
Does the script need to be started manually, or is it started automatically at reboot?

2. Is it necessary for the script to be started in order for Skype to work?

Thanks.

The scripts in /etc/network are run automatically when your network connection comes up. So you don't have to run anything.

ddrown
01-03-2011, 11:37 AM
Uninstalled libnat64 1.3, installed nat64d, reboot

Gtalk works, skype doesn't, geeps loads, but doesn't get gps info from internet.

When I start xterm, I see the following message repeated 6x :
ERROR: ld.so: object '/usr/lib/libnat64.s0' from /etc/ld.so.preload cannot be preloaded: ignored.

Let me know if more info is needed.

Ah. For that error message, edit /etc/ld.so.preload and delete the line that says /usr/lib/libnat64.so

for skype, can you login? Does it just give you the "unable to connect to one or more accounts"

Can you check to see if you have a default route? (ip route list exact 0.0.0.0/0)

for the gps problem, I still need to research it.

ddrown
01-03-2011, 02:27 PM
Uninstalled libnat64 1.3, installed nat64d, reboot

Gtalk works, skype doesn't, geeps loads, but doesn't get gps info from internet.

When I start xterm, I see the following message repeated 6x :
ERROR: ld.so: object '/usr/lib/libnat64.s0' from /etc/ld.so.preload cannot be preloaded: ignored.

Let me know if more info is needed.

Ok. I uploaded nat64d version 1.1. That should fix the route problem, which is what probably caused your problems with skype and gps based on cell tower.

With this version, my phone gets a "coarse accuracy" location with the location-home-applet package, geeps package, and ovi maps.

lemmyslender
01-03-2011, 05:03 PM
Ok. I uploaded nat64d version 1.1. That should fix the route problem, which is what probably caused your problems with skype and gps based on cell tower.

With this version, my phone gets a "coarse accuracy" location with the location-home-applet package, geeps package, and ovi maps.

OK, installed new version, everything appears to work now (skype, sip, gtalk, TOR, GeePS).

Still had to fix ld.so.preload. No big deal.

Thanks for the hard work.

ddrown
01-03-2011, 05:07 PM
OK, installed new version, everything appears to work now (skype, sip, gtalk, TOR, GeePS).

Still had to fix ld.so.preload. No big deal.

Thanks for the hard work.

The ld.so.preload file was supposed to be fixed with the command "/usr/bin/register_nat64 deinstall" (has to happen before removing the libnat64 package). This is documented on the wiki for ldpreload, but I should probably just add it to a deinstall script in the libnat64 package.

Glad to hear it's working!

Radu
01-03-2011, 05:20 PM
Ok, so how do I uninstall libnat64?

ddrown
01-03-2011, 05:22 PM
Ok, so how do I uninstall libnat64?

Two commands (as root):

/usr/bin/register_nat64 deinstall
dpkg -r libnat64

lemmyslender
01-04-2011, 12:45 PM
The ld.so.preload file was supposed to be fixed with the command "/usr/bin/register_nat64 deinstall" (has to happen before removing the libnat64 package). This is documented on the wiki for ldpreload, but I should probably just add it to a deinstall script in the libnat64 package.

Glad to hear it's working!

Ahh, my fault then, didn't run the deinstall, just removed it with dpkg. Too much plunging ahead, not enough reading. (Although in your favor, it was working well enough that I hadn't needed to remove it prior to the new version :) )

ioan
01-05-2011, 03:25 PM
Is it possible that the new Nat64D is eating battery more than LDPreloadNat64? Two days ago I installed the new Nat64D (nothing else changed on my phone) and now the battery is out in about one day.

lemmyslender
01-05-2011, 04:18 PM
Is it possible that the new Nat64D is eating battery more than LDPreloadNat64? Two days ago I installed the new Nat64D (nothing else changed on my phone) and now the battery is out in about one day.

I'm not sure about this, but unscientifically, it seems to me that both were draining more power than the regular IPv6 connection. In other words the latest updates that do the nat portion so the IPv4 only stuff works, seems to draw more.

I can't say if the new nat64d is drawing more that the ldpreload version though.

ddrown
01-05-2011, 04:31 PM
Is it possible that the new Nat64D is eating battery more than LDPreloadNat64? Two days ago I installed the new Nat64D (nothing else changed on my phone) and now the battery is out in about one day.

I don't think nat64d should be using a significant amount of CPU time. You can check this by running:

cut -d" " -f14-17 /proc/`pgrep nat64d`/stat

This will show four numbers: User CPU, System CPU, Child Process User CPU, and Child Process System CPU. They are in units of 1/100th of a second.

You can also check to see how much traffic has gone through the nat64 process with:

/sbin/ifconfig nat64

I haven't personally noticed any difference in battery usage, but I'll have to compare a day's usage on ipv6 vs ipv4 in battery-eye.

ioan
01-05-2011, 04:55 PM
cut -d" " -f14-17 /proc/`pgrep nat64d`/stat


This one returns: 33 214 3 0


/sbin/ifconfig nat64


RX: 3.6 MiB, TX: 3.6 MiB

I suppose it's something else eating the battery not the nat64.

Radu
01-05-2011, 07:47 PM
I tested the new version, and it works great, I think Skype works well too, but no one on Skype when I tried to test it. However, I did hear the ringing stuff, so I am assuming everything works well.

stlpaul
01-06-2011, 01:56 PM
Just came to say thanks for continuing to develop and maintain these packages. It works great and it's very easy.

bunanson
01-20-2011, 10:46 PM
OK, installed new version, everything appears to work now (skype, sip, gtalk, TOR, GeePS)....

Would you or someone please drop a few lines about the installation? I am still with the original version. Thanks.

bun

ddrown
01-20-2011, 11:00 PM
Would you or someone please drop a few lines about the installation? I am still with the original version. Thanks.

bun

If you installed the ld_preload package, use the uninstall instructions at: http://code.google.com/p/n900ipv6/wiki/LDPreloadNat64

After that, the install instructions are at: http://code.google.com/p/n900ipv6/wiki/Nat64D

bunanson
02-02-2011, 12:22 AM
Some not so new news? http://www.eweek.com/c/a/IT-Infrastructure/IPv4-Address-Exhaustion-Not-Instant-Cause-for-Concern-with-IPv6-in-Wings-287643/

bun

unicorn
03-05-2011, 01:39 AM
I've had my N900 working great with IPv6 on T-Mobile for quite awhile, and have just recently been trying to tether my laptop to it, but haven't had any luck. I run "ipv6-share start" on the N900, and then "dhcpcd usb0" on the laptop, and this is what I get:

dhcpcd: version 5.2.2 starting
dhcpcd: usb0: checking for 169.254.208.219
dhcpcd: usb0: using IPv4LL address 169.254.208.219
dhcpcd: forking to background

Why is it giving me that address? I also have a valid IPv6 address, but no name servers in /etc/resolv.conf, so nothing gets resolved. I can ssh into the N900 using it's IPv6 address, but I can't connect to anything on the Internet by name, IPv4 address, or IPv6 address. Trying to ssh to an IPv6 address results in "Name or service not known" and trying to ssh to an IPv4 address results in "Network is unreachable".

According to whois.arin.net (using the whois command), the IPv4 address I'm getting is a link local address, and "Hosts obtain these addresses by auto-configuration, such as when a DHCP server cannot be found", but it's obviously finding the N900's DHCP server or it wouldn't be getting the correct IPv6 address (from T-Mobile's 2607:fb90:: block).

Looking at the ipv6-share script, it looks like I should be getting an address between 10.255.255.10 and 10.255.255.100, so why am I getting that link local address instead?

ddrown
03-06-2011, 02:40 PM
Looking at the ipv6-share script, it looks like I should be getting an address between 10.255.255.10 and 10.255.255.100, so why am I getting that link local address instead?

Are you using the libnat64 library? If you are, I recommend you switch to the nat64d package. libnat64 breaks dnsmasq's dhcp server. Additionally, using the nat64d package means that regular ipv4 traffic will work on your laptop.

You are getting a link-local address because dhcp clients will configure that first to request the address from the dhcp server. For my scripts, DNS settings come from DHCP. IPv6 addresses come from radvd. So it sounds like you're not getting any DHCP responses at all, only radvd announcements.

I also cleaned up the scripts for connection sharing:
http://code.google.com/p/n900ipv6/source/browse/share

Following the README in the usb directory will set the n900 up to automatically share when you're connected via 3g/2g and plug it into a usb device.

unicorn
03-06-2011, 05:23 PM
No, I'm not using libnat64. I'm using nat64d. I just installed your new scripts, which at first seemed to give me the same results (same output from the dhcpcd command), but running ifconfig shows that, in spite of what dhcpcd said, it didn't actually use that link local address, and actually gave me 10.255.255.157 instead, and I'm now able to use the 3G connection from my laptop. Thanks.

bunanson
03-17-2011, 02:29 AM
If you installed the ld_preload package, use the uninstall instructions at: http://code.google.com/p/n900ipv6/wiki/LDPreloadNat64

After that, the install instructions are at: http://code.google.com/p/n900ipv6/wiki/Nat64D

I ran into dependency problem.

1) I did the uninstallation as the 1st part. No problem.
2) I wget the file nat64d_1,1-1_arnek,deb. No problme.
3) I dpkg -i the above file, error
===============================================
dpkg: dependency problems prevent configuration of nat64d: nat64d depends on iproute; however: Package iproute is not installed..... leaving unconfigured.
================================================

Where do I get the iproute package?

Edit: I googled and got this thing: iproute2-2.6.37.tar.bz2

How do I install it? Or do I need to install it?

thanks

bun

ddrown
03-17-2011, 10:47 AM
I ran into dependency problem.

Where do I get the iproute package?

Edit: I googled and got this thing: iproute2-2.6.37.tar.bz2

How do I install it? Or do I need to install it?


The package I use is in extras-testing:
http://maemo.org/packages/view/iproute/

I'll add a note to the install page.

bunanson
03-17-2011, 06:32 PM
Sorry for the nagging, how do I install the iproute? wget, dpkg -i?

I now have both extras-devel and extras-testing enabled.

TIA,

bun

ddrown
03-17-2011, 06:35 PM
Sorry for the nagging, how do I install the iproute? wget, dpkg -i?

I now have both extras-devel and extras-testing enabled.

TIA,

bun

Since you have extras-testing enabled, you should be able to install it with "apt-get install iproute"

bunanson
03-17-2011, 07:01 PM
Wow! You must be kidding me... You are a genius, you are a REAL geni!

Just recap for some NOT-SO-Technie like me:

I have Titan kernel power.45 installed, nitdroid and multiboot.
I have the previous version nat64 installed.

Root
uninstall nat64
enable Extras-testing
apt-get install iproute
wget nat64D
dpkg -i nat64D (see previous post for details)
reboot

viola, my skype is now up and working.

Thank you for your hard work and your help :)

bun

bunanson
04-01-2011, 11:09 PM
Just returned from a trip to Pittsburgh, with the new program, I can watch on the road, large amount of hiccup though, liveTV from orb! It keeps on cache/buffer for every 5 to 10 seconds. Although it is NOT watchable per se, probably because of the buffer, it is capable of doing liveTV streaming using ddown's new driver. It allows skype/orb/web/app manager/gps with map downloading.

Thanks ddrown, it is really cool.

bun

stlpaul
04-07-2011, 02:37 PM
The only thing I'm missing when using ipv6 is "Availability" (for VoIP/IM) is not available. I guess the N900 doesn't think I'm connected. Does anyone know a trick to make it appear? :)

ddrown
04-08-2011, 12:06 PM
The only thing I'm missing when using ipv6 is "Availability" (for VoIP/IM) is not available. I guess the N900 doesn't think I'm connected. Does anyone know a trick to make it appear? :)

Are you talking about the "Availability" button under the statusbar menu? I've only seen that missing when all the IM accounts are disabled. I'm on v6 right now, and I'm able to set my google talk account online/offline.

stlpaul
04-08-2011, 12:52 PM
Are you talking about the "Availability" button under the statusbar menu? I've only seen that missing when all the IM accounts are disabled. I'm on v6 right now, and I'm able to set my google talk account online/offline.

That's good info, now that you mention it that way, I bet my problem is being caused by loldongs (connection-specific enabling/disabling of VoIP/IM accounts). It does not show the ipv6 connection at all in the settings for each account.

Sorry for the false alarm.

tmojoe
04-08-2011, 02:54 PM
If you have statically set your DNS, please move to fd01:353:e973:99ac::7 as the DNS server. The other older DNS servers will be retired.