maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [help] Complicated problem of connection with N900 (https://talk.maemo.org/showthread.php?t=42230)

SubCore 2010-01-26 16:35

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by maya (Post 495723)
sources.list = blank

sorry, old habit - this isn't the file i was looking for :)
please post the content of "/etc/apt/sources.list.d/hildon-application-manager.list" instead.

Quote:

and updatelog.txt =
Ign https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-pt_PT
could you please attach the whole file? you can do that using the button "manage attachments" when creating a post.

maya 2010-01-26 17:09

Re: [help] Complicated problem of connection with N900
 
2 Attachment(s)
Quote:

Originally Posted by SubCore (Post 495746)
sorry, old habit - this isn't the file i was looking for :)
please post the content of "/etc/apt/sources.list.d/hildon-application-manager.list" instead.



could you please attach the whole file? you can do that using the button "manage attachments" when creating a post.

ok, the files are attached.

(hildon-application-manager.list renamed to hildon-application-manager.txt)

Something else I can do?

SubCore 2010-01-26 17:35

Re: [help] Complicated problem of connection with N900
 
that's strange, the "updatelog.txt" should contain a lot more lines - did you have all the catalogues disabled when you issued the "apt-get update ..." command?

and your sources list is very short, too.

"deb https://downloads.maemo.nokia.com/fremantle/ssu/002 ./"
this line is for the "Nokia System Software Updates".
"deb https://downloads.maemo.nokia.com/fremantle/ovi/ ./"
this line is for the ovi repository.

but the line for "Nokia Applications" and for maemo.org Extras is missing, so they'll never get updated. did you disable those catalogues before copying the hildon-application-manager.list ?



and as an example of what i'm trying to get to:

this is my hildon-application-manager.list, with Nokia Apps, Nokia SSU and maemo.org Extras enabled:
Code:

deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/mr0 ./
deb http://repository.maemo.org/extras/ fremantle free non-free

you don't need to edit this file, i just want to make sure you have the repositories enabled (which apparently isn't the case).

and this i get when running "apt-get update":
Code:

Get:1 http://repository.maemo.org fremantle Release.gpg [489B]
Get:2 https://downloads.maemo.nokia.com ./ Release.gpg [189B]
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Get:3 https://downloads.maemo.nokia.com ./ Release.gpg [189B]
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Ign http://repository.maemo.org fremantle/free Translation-en_GB
Ign http://repository.maemo.org fremantle/non-free Translation-en_GB
Hit http://repository.maemo.org fremantle Release
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
Fetched 867B in 1min39s (9B/s)
Reading package lists...

as you can see, a few "Ign" lines don't matter, but usually, when there's an error ("Err" instead of "Hit"), there's an explanation as to what might be wrong.

maya 2010-01-26 17:55

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by SubCore (Post 495843)
that's strange, the "updatelog.txt" should contain a lot more lines - did you have all the catalogues disabled when you issued the "apt-get update ..." command?

...
as you can see, a few "Ign" lines don't matter, but usually, when there's an error ("Err" instead of "Hit"), there's an explanation as to what might be wrong.

yes, several catalogues were turned off, except for the official repository of nokia.

I will reactivate all, restart the n900 and try to connect to generate new report.

SubCore 2010-01-26 18:01

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by maya (Post 495881)
yes, several catalogues were turned off, except for the official repository of nokia.

you only had the "Nokia System Software Updates" and the Ovi repository enabled, but there's a third "official" Nokia repository, called "Nokia Applications" on my device, i believe MaStory is in there.

maya 2010-01-26 18:29

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by SubCore (Post 495892)
you only had the "Nokia System Software Updates" and the Ovi repository enabled, but there's a third "official" Nokia repository, called "Nokia Applications" on my device, i believe MaStory is in there.

yes, one of the repositories of nokia was disabled at the time.

good, the file hildon-application-manager generated just that:

deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/002 ./
deb https://downloads.maemo.nokia.com/fremantle/ovi/ ./
deb http://repository.maemo.org/extras/ fremantle free non-free
deb http://repository.maemo.org/extras/ fremantle free non-free
deb http://repository.maemo.org/extras-devel/ fremantle free non-free

maya 2010-01-26 19:46

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by SubCore (Post 495892)
you only had the "Nokia System Software Updates" and the Ovi repository enabled, but there's a third "official" Nokia repository, called "Nokia Applications" on my device, i believe MaStory is in there.

problems:

sudo gainroot << ok

apt-get update 2>&1 > /home/user/MyDocs/updatelog.txt << in infinity process:confused::confused:

cp /etc/apt/sources.list.d/hildon-application-manager.list /home/user/MyDocs

-x-x-x-
between the difficulty in the English language and lack of knowledge on Linux / Maemo, do not know what worse :mad::mad:

SubCore 2010-01-26 20:08

Re: [help] Complicated problem of connection with N900
 
Quote:

Originally Posted by maya (Post 496062)
apt-get update 2>&1 > /home/user/MyDocs/updatelog.txt << error sintax

hm i just copy/pasted that exact bit into an xterm and it works :)

anyways, the "2>&1" part is only to make sure we don't miss any error messages. if you leave it out, it should work just as well and you see the error msgs in your xterm. but the generated file will be less useful, since we are interested in them.

Code:

apt-get update > /home/user/MyDocs/updatelog.txt

edit:
your hildon-appmanager.list looks better now, but why do you have "extras" in there 2 times?
check that you don't have the same "web address" in two catalogues, maybe you wanted -testing and forgot to edit?

maya 2010-01-26 20:25

Re: [help] Complicated problem of connection with N900
 
2 Attachment(s)
good, it seems that I finally got to this report.

Are attached.

Thank you for your patience :)

SubCore 2010-01-26 20:45

Re: [help] Complicated problem of connection with N900
 
no problem :)

it looks like you have dns trouble, probably not only on the N900 but on your network. but there is a hopefully easy workaround: you make static entries for downloads.maemo.nokia.com
to do that, you just need to enter the IP + hostname into the file /etc/hosts
Code:

echo "195.113.232.88 downloads.maemo.nokia.com" >> /etc/hosts
echo "195.113.232.91 downloads.maemo.nokia.com" >> /etc/hosts

by using the append-pipe >> we make sure not to overwrite /etc/hosts but to append new lines to it, one host per line.

these IPs are what i get when i resolve downloads.maemo.nokia.com
i have no idea of akamai's network, so i can not guarantee they will work from brazil. also, these are probably temporary and will change.

if you enter "nslookup downloads.maemo.nokia.com" into a command prompt on your computer, do you get a response? if so, use those IPs. if not, there is something wrong with either your internet service provider or akamai (the host).


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

vBulletin® Version 3.8.8