maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   IPv6 T-Mobile US Beta Test (https://talk.maemo.org/showthread.php?t=60320)

ddrown 2010-12-07 21:31

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by lemmyslender (Post 891828)
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).

Quote:

Originally Posted by lemmyslender (Post 891828)
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 2010-12-07 21:36

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-07 21:53

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by lemmyslender (Post 891841)
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.

Quote:

Originally Posted by lemmyslender (Post 891841)
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 2010-12-07 22:57

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by ddrown (Post 891642)
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 2010-12-08 01:03

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-08 02:16

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-08 13:18

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by ddrown (Post 891976)
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 2010-12-08 14:13

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-08 15:54

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by bunanson (Post 892279)
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 2010-12-08 16:52

Re: IPv6 T-Mobile US Beta Test
 
FYI weatherbug, barriosquare and sygic maps crash with IPv6

ioan 2010-12-08 19:12

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by ddrown (Post 891976)
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 2010-12-08 19:13

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by ioan (Post 892513)
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 2010-12-08 21:35

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-09 01:23

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-09 01:37

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-09 02:59

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-09 04:34

Re: IPv6 T-Mobile US Beta Test
 
excellent job. weatherbug , barriosquare and sygic work

lemmyslender 2010-12-09 12:54

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by Radu (Post 892870)
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 2010-12-09 15:40

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by Radu (Post 892870)
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 2010-12-09 17:06

Re: IPv6 T-Mobile US Beta Test
 
couldn't get SIP to work. I'm using localphone.com as a provider

lemmyslender 2010-12-09 17:11

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-09 17:14

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by lemmyslender (Post 893405)
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 2010-12-09 17:54

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-09 22:03

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by ddrown (Post 893338)
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 2010-12-09 22:23

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-09 23:51

Re: IPv6 T-Mobile US Beta Test
 
nicely done. SIP works.

lemmyslender 2010-12-10 00:33

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-10 00:50

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by lemmyslender (Post 893656)
Sip working here as well. Excellent job.

Thanks!

Quote:

Originally Posted by lemmyslender (Post 893656)
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 2010-12-10 02:34

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-10 03:47

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-10 04:03

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by Radu (Post 893707)
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 2010-12-10 04:17

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-10 04:27

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by Radu (Post 893743)
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 2010-12-10 04:31

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by ddrown (Post 893748)
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.

Quote:

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 2010-12-10 04:38

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by Radu (Post 893749)
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 2010-12-10 04:51

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-10 07:06

Re: IPv6 T-Mobile US Beta Test
 
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 2010-12-10 13:34

Re: IPv6 T-Mobile US Beta Test
 
ddown-

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

ddrown 2010-12-10 16:38

Re: IPv6 T-Mobile US Beta Test
 
Quote:

Originally Posted by Radu (Post 893811)
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 2010-12-10 23:36

Re: IPv6 T-Mobile US Beta Test
 
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


All times are GMT. The time now is 16:52.

vBulletin® Version 3.8.8