Reply
Thread Tools
Posts: 133 | Thanked: 5 times | Joined on Dec 2009
#151
Originally Posted by Rob1n View Post
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:

Name:  Screenshot-20100108-180304.jpg
Views: 181
Size:  24.5 KB

Last edited by chicoelnino; 2010-01-08 at 18:05.
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#152
Originally Posted by chicoelnino View Post
Is there a space between " and >> and between >> and /etc?
Doesn't matter. You can omit space.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#153
Chico.. the >> /etc/hosts is supposed to be on the same line as the echo.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 133 | Thanked: 5 times | Joined on Dec 2009
#154
Originally Posted by fatalsaint View Post
Chico.. the >> /etc/hosts is supposed to be on the same line as the echo.
same story:

Name:  Screenshot-20100108-190206.jpg
Views: 151
Size:  23.5 KB
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#155
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.
 
Posts: 133 | Thanked: 5 times | Joined on Dec 2009
#156
Originally Posted by Rob1n View Post
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)?
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#157
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.
 
Posts: 133 | Thanked: 5 times | Joined on Dec 2009
#158
Originally Posted by Rob1n View Post
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:

Name:  Screenshot-20100108-192719.jpg
Views: 147
Size:  23.9 KB
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#159
success! Now try and use the repository .

You can run:
Code:
cat /etc/hosts
To see what you did.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#160
That's fine - now try updating the repositories again.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:49.