maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Finally got the repositories set up. (https://talk.maemo.org/showthread.php?t=39003)

chicoelnino 2010-01-07 16:48

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by fatalsaint (Post 457555)
That is truly baffling. Ping is successful, but apt-get is not?

That doesn't make any sense...

Its breaking my bloody heart is what its doing!

fatalsaint 2010-01-07 16:51

Re: Finally got the repositories set up.
 
Quick question to people whose N900's work and you chico.. go to this site (from the N900):

https://downloads.maemo.nokia.com/fr...002/./Packages

If you get a certificate warning, click the little blue "add an exception" link and confirm the security certificate. Post whether you are able to download a file (or you get a bunch of text on the screen), or if you get an Access Denied error.

chicoelnino 2010-01-07 17:21

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by fatalsaint (Post 457570)
Quick question to people whose N900's work and you chico.. go to this site (from the N900):

https://downloads.maemo.nokia.com/fr...002/./Packages

If you get a certificate warning, click the little blue "add an exception" link and confirm the security certificate. Post whether you are able to download a file (or you get a bunch of text on the screen), or if you get an Access Denied error.


I get the access Denied error on mine?

P.s Thanks for all your help so far.

chicoelnino 2010-01-07 20:31

Re: Finally got the repositories set up.
 
any more info on this?

fatalsaint 2010-01-07 20:33

Re: Finally got the repositories set up.
 
I would like input from someone wiht one that works. The website could be rejecting browsers by searching specifically for a user-agent string.. or it could be rejecting by something else which might be your problem.

chicoelnino 2010-01-07 20:35

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by fatalsaint (Post 458029)
I would like input from someone wiht one that works. The website could be rejecting browsers by searching specifically for a user-agent string.. or it could be rejecting by something else which might be your problem.

Ok, I don't mind waiting for some more help. You've been of great help so far mate. Thanks :o

You see, I can't get pixelpipe, qik, or evernote as they are on the nokia app repo :(

naabi 2010-01-07 20:37

Re: Finally got the repositories set up.
 
Works for no-one, I think.

http://maemoteam.wordpress.com/2010/...g-server-move/

fatalsaint 2010-01-07 20:39

Re: Finally got the repositories set up.
 
Yeah.. looks like you'll need to wait till the servers are more stable to get help chico. People can't really help troubleshoot when their own don't work :).

chicoelnino 2010-01-07 20:48

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by fatalsaint (Post 458039)
Yeah.. looks like you'll need to wait till the servers are more stable to get help chico. People can't really help troubleshoot when their own don't work :).

Thats strange, because I live here in Ireland and other's that have the N900 here don't have the problem with the repositories as I do?

Their Nokia app repository works and they've already installed pixelpipe and qik.

But if its a problem that has yet to be fixed then I'm more than happy to wait until it is :)

RevdKathy 2010-01-07 20:53

Re: Finally got the repositories set up.
 
If it's confirmed that the repositories are indeed undergoing the move and therefore inaccessible right now - do you think it would be a good idea to put out a board-wide memo to that effect?

Can someone confirm that the repos are indeed down completely?

fatalsaint 2010-01-07 20:55

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by chicoelnino (Post 458055)
Thats strange, because I live here in Ireland and other's that have the N900 here don't have the problem with the repositories as I do?

Their Nokia app repository works and they've already installed pixelpipe and qik.

But if its a problem that has yet to be fixed then I'm more than happy to wait until it is :)

If you know of another N900 in your area that works.. you would need to grab and it compare letter by letter your repository settings to theirs.

chainreaction 2010-01-08 06:30

Re: Finally got the repositories set up.
 
It seems that the servers could be congested (too much traffic). Atleast those nokia repos have been really slow for me lately when updating. It should not matter that much what kind of an access connection you have. No idea though where the nokia servers are located.

Though I would think that connecting to the servers from Ireland would not make more difference than connecting from Finland.

chainreaction 2010-01-08 06:42

Re: Finally got the repositories set up.
 
Btw.. As you now have rootsh installed, you could try pinging now to downloads.maemo.nokia.com

Go to X-terminal
sudo gainroot
ping downloads.maemo.nokia.com

You don't have to paste the full data. Let it ping say like 100 times. Seq is the sequence value. Ttl is "Time to live" (how many hops it does to connecting to the server, lower the value, longer the route is), mine seems to be 55. Time is the round trip time. See that the time varies a lot. When you have seq 100 or so, press Ctrl-C, which ends the pinging. Then you'll get the statistics which are enough information. TTL should be static though.

Mine were for e.g.
0% packetloss
min/avg/max 81/95/108

I'm actually quite suprised as I'm using 3G connection. The issue here is that packetloss, which means that if it's higher than a few percent, your connection is really congested.

EDIT: If you get lot of "Request timed out" that means that a sent packet is lost during transmission.

chicoelnino 2010-01-08 14:58

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by chainreaction (Post 458698)
Btw.. As you now have rootsh installed, you could try pinging now to downloads.maemo.nokia.com

Go to X-terminal
sudo gainroot
ping downloads.maemo.nokia.com

You don't have to paste the full data. Let it ping say like 100 times. Seq is the sequence value. Ttl is "Time to live" (how many hops it does to connecting to the server, lower the value, longer the route is), mine seems to be 55. Time is the round trip time. See that the time varies a lot. When you have seq 100 or so, press Ctrl-C, which ends the pinging. Then you'll get the statistics which are enough information. TTL should be static though.

Mine were for e.g.
0% packetloss
min/avg/max 81/95/108

I'm actually quite suprised as I'm using 3G connection. The issue here is that packetloss, which means that if it's higher than a few percent, your connection is really congested.

EDIT: If you get lot of "Request timed out" that means that a sent packet is lost during transmission.


Got the "bad user address - downloads.maemo.nokia.com"?

jaark 2010-01-08 15:03

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by chicoelnino (Post 459269)
Got the "bad user address - downloads.maemo.nokia.com"?

Sounds like a name resolution problem - are you sure your network connection is OK?

Try

ping 78.33.33.80

What does that return?

mikec 2010-01-08 15:14

Re: Finally got the repositories set up.
 
Not sure if this helps

but just pinged from my London location from Wndows XP
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>ping downloads.maemo.nokia.com

Pinging a560.g.akamai.net [213.120.161.201] with 32 bytes of data:

Reply from 213.120.161.201: bytes=32 time=35ms TTL=49
Reply from 213.120.161.201: bytes=32 time=33ms TTL=49
Reply from 213.120.161.201: bytes=32 time=34ms TTL=49
Reply from 213.120.161.201: bytes=32 time=34ms TTL=49

Ping statistics for 213.120.161.201:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 33ms, Maximum = 35ms, Average = 34ms

chicoelnino 2010-01-08 15:21

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by jaark (Post 459276)
Sounds like a name resolution problem - are you sure your network connection is OK?

Try

ping 78.33.33.80

What does that return?

i get the following:

56 data bytes
Ping: sendto: Network is unreachable

I'm from Ireland. I also can't get my 3g wap internet to get onto the net. I have the N900 for over a week and never was able to get on the net via 3g.

chainreaction 2010-01-08 15:28

Re: Finally got the repositories set up.
 
What connection are you using when you try connecting to the repositories? Could you try pinging then? If you're not connected then ping will not work at all. Sorry but I can't help that much how to get 3G working. Mine worked out of the box.

jaark 2010-01-08 15:30

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by chicoelnino (Post 459322)
i get the following:

56 data bytes
Ping: sendto: Network is unreachable

I'm from Ireland. I also can't get my 3g wap internet to get onto the net. I have the N900 for over a week and never was able to get on the net via 3g.

You do not appear to be connected to the Internet at all. I would guess that the repositories will magically spring into life once you get your connection sorted out.

chicoelnino 2010-01-08 15:32

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by chainreaction (Post 458698)
Btw.. As you now have rootsh installed, you could try pinging now to downloads.maemo.nokia.com

Go to X-terminal
sudo gainroot
ping downloads.maemo.nokia.com

You don't have to paste the full data. Let it ping say like 100 times. Seq is the sequence value. Ttl is "Time to live" (how many hops it does to connecting to the server, lower the value, longer the route is), mine seems to be 55. Time is the round trip time. See that the time varies a lot. When you have seq 100 or so, press Ctrl-C, which ends the pinging. Then you'll get the statistics which are enough information. TTL should be static though.

Mine were for e.g.
0% packetloss
min/avg/max 81/95/108

I'm actually quite suprised as I'm using 3G connection. The issue here is that packetloss, which means that if it's higher than a few percent, your connection is really congested.

EDIT: If you get lot of "Request timed out" that means that a sent packet is lost during transmission.

silly me... was'nt connected to wifi when I pinged this a few mins ago...will do it now.....:eek:

Ok...here's my results:
135 packets transmitted, 134 packets received. 0% packet loss

ttl=57

round-rip min/avg/max = 82.977/197.836/523.529 ms

chicoelnino 2010-01-08 16:08

Re: Finally got the repositories set up.
 
If I cant get this sorted I'm going to have to send it back to Nokia to fix.

However, If somone here can fix this repo problem for me through here then I'd happily transfere them €50 via paypal for their time.

chainreaction 2010-01-08 16:10

Re: Finally got the repositories set up.
 
Ok so the connection seems to work. No extreme congestion on the network connection. Though the variance in round trip times seems a bit large. But should not matter though.

Just to be safe. Are you sure you are connected to WiFi when you tried to use apt-get from the terminal?

Though you could try this as well.
At the moment the IP address that I seem to get for downloads.maemo.nokia.com is 206.132.241.74.

Therefore you could create another repository there with the following data and check if everything works. The idea here is that you will get the same server that I'm using and everything works. You just make a copy of Nokia repository and change the domain name as the IP-address that I'm using. I think Nokia gives you another repository address based on your country to share the load more evenly.

"Nokia backup" or something like that
"https://206.132.241.74/fremantle/apps/"
"./"
" "

Remember to disable the Nokia repository for the time. I think you can use the same for the software update repo as well (change domain to IP and make a backup repo.

Rob1n 2010-01-08 16:16

Re: Finally got the repositories set up.
 
All I can suggest is adding an entry to the /etc/hosts file to eliminate the DNS lookup. Try doing (from X Terminal):
Code:

sudo gainroot
echo "92.122.127.25 downloads.maemo.nokia.com" >> /etc/hosts

That's really not an ideal solution though.

chicoelnino 2010-01-08 16:17

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by chainreaction (Post 459416)
Ok so the connection seems to work. No extreme congestion on the network connection. Though the variance in round trip times seems a bit large. But should not matter though.

Just to be safe. Are you sure you are connected to WiFi when you tried to use apt-get from the terminal?

Though you could try this as well.
At the moment the IP address that I seem to get for downloads.maemo.nokia.com is 206.132.241.74.

Therefore you could create another repository there with the following data and check if everything works. The idea here is that you will get the same server that I'm using and everything works. You just make a copy of Nokia repository and change the domain name as the IP-address that I'm using. I think Nokia gives you another repository address based on your country to share the load more evenly.

"Nokia backup" or something like that
"https://206.132.241.74/fremantle/apps/"
"./"
" "

Remember to disable the Nokia repository for the time. I think you can use the same for the software update repo as well (change domain to IP and make a backup repo.

Ok, just to be clear. I will disable the Nokia application repository and create the one you described above. Do i keep the nokia software repo enabled or not? What settings do I use for the software repo or do I not have to change that?

chainreaction 2010-01-08 16:20

Re: Finally got the repositories set up.
 
Keep the Nokia repositories but disable them. The idea is that Nokia might give you an errorneous IP address at the moment. It seems that I'm getting a different IP address now as well as they are doing some modifications on the repositories right now. Moving servers or something like that. Keep the old ones as you should use the domain address, not the IP address if it changes later on. This is just a temporary fix.

In the temporary repositories you'll have to use the same settings, but change the downloads.maemo.nokia.com to 206.132.241.74. Name the repository differently, like Nokia backup or something. The name should not matter.

Rob1n 2010-01-08 16:23

Re: Finally got the repositories set up.
 
The Nokia repositories are actually hosted (or at least proxied) by Akamai, so the address you get will be semi-randomly (based on locality and server load) selected from their global server farms.

chicoelnino 2010-01-08 17:10

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by chainreaction (Post 459437)
Keep the Nokia repositories but disable them. The idea is that Nokia might give you an errorneous IP address at the moment. It seems that I'm getting a different IP address now as well as they are doing some modifications on the repositories right now. Moving servers or something like that. Keep the old ones as you should use the domain address, not the IP address if it changes later on. This is just a temporary fix.

In the temporary repositories you'll have to use the same settings, but change the downloads.maemo.nokia.com to 206.132.241.74. Name the repository differently, like Nokia backup or something. The name should not matter.

No joy. Failed to refresh. And it also says "bad request" at the bottom of the new repo when i click into the catalogue. The extras repo works fine(as usuall)

chainreaction 2010-01-08 17:15

Re: Finally got the repositories set up.
 
You said that you use WiFi and haven't got 3G to working? Have you tried with the normal repos on another network?

chicoelnino 2010-01-08 17:31

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by chainreaction (Post 459553)
You said that you use WiFi and haven't got 3G to working? Have you tried with the normal repos on another network?

No I have not tried anything outside of my own wifi area. i was going to try it on 3G just but as I said, i cannot get 3g to connect.

fatalsaint 2010-01-08 17:46

Re: Finally got the repositories set up.
 
Did you try Rob1n's solution Chico? Re-enable the normal maemo repository, add a specific IP address to your /etc/hosts file and try and refresh.

chicoelnino 2010-01-08 18:00

Re: Finally got the repositories set up.
 
1 Attachment(s)
Quote:

Originally Posted by Rob1n (Post 459425)
All I can suggest is adding an entry to the /etc/hosts file to eliminate the DNS lookup. Try doing (from X Terminal):
Code:

sudo gainroot
echo "92.122.127.25 downloads.maemo.nokia.com" >> /etc/hosts

That's really not an ideal solution though.

Is there a space between " and >> and between >> and /etc?

Well I typed it into xterminal and this is what i got:

Attachment 5590

KiberGus 2010-01-08 18:46

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by chicoelnino (Post 459638)
Is there a space between " and >> and between >> and /etc?

Doesn't matter. You can omit space.

fatalsaint 2010-01-08 18:47

Re: Finally got the repositories set up.
 
Chico.. the >> /etc/hosts is supposed to be on the same line as the echo.

chicoelnino 2010-01-08 19:04

Re: Finally got the repositories set up.
 
1 Attachment(s)
Quote:

Originally Posted by fatalsaint (Post 459738)
Chico.. the >> /etc/hosts is supposed to be on the same line as the echo.

same story:

Attachment 5594

Rob1n 2010-01-08 19:09

Re: Finally got the repositories set up.
 
You've got an extra quote on that one - there's no quote between the IP address and the name.

You'll need to do a Ctrl-C to cancel out of the existing command first though.

chicoelnino 2010-01-08 19:21

Re: Finally got the repositories set up.
 
Quote:

Originally Posted by Rob1n (Post 459777)
You've got an extra quote on that one - there's no quote between the IP address and the name.

You'll need to do a Ctrl-C to cancel out of the existing command first though.

ok i understand the quote bit where i went wrong, but what command are you on about that i have to cancel?

here's what i'm going to type into xterminal:

sudo gainroot (press enter)?

echo "92.122.127.25 downloads.maemo.nokia.com" >> /etc/hosts (press enter)?

Rob1n 2010-01-08 19:25

Re: Finally got the repositories set up.
 
That's fine - it's just that the screenshot you posted above shows it waiting for command completion (that's why the line is starting with a ">"). If you'd left the X terminal open, you'd need to cancel out of that first. If you closed that down and are opening a new X Terminal session then you're okay.

chicoelnino 2010-01-08 19:29

Re: Finally got the repositories set up.
 
1 Attachment(s)
Quote:

Originally Posted by Rob1n (Post 459815)
That's fine - it's just that the screenshot you posted above shows it waiting for command completion (that's why the line is starting with a ">"). If you'd left the X terminal open, you'd need to cancel out of that first. If you closed that down and are opening a new X Terminal session then you're okay.

this time:

Attachment 5597

fatalsaint 2010-01-08 19:34

Re: Finally got the repositories set up.
 
success! Now try and use the repository ;).

You can run:
Code:

cat /etc/hosts
To see what you did.

Rob1n 2010-01-08 19:35

Re: Finally got the repositories set up.
 
That's fine - now try updating the repositories again.


All times are GMT. The time now is 17:33.

vBulletin® Version 3.8.8