Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[PORTAGE] ograniczenie szybkosci sciagania pakietow.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
canis_lupus
l33t
l33t


Joined: 22 Dec 2005
Posts: 773
Location: Kraków

PostPosted: Mon Jul 27, 2009 5:06 am    Post subject: [PORTAGE] ograniczenie szybkosci sciagania pakietow. Reply with quote

Da sie jakos ograniczyc prędkośc sciagania pakietow do gentoo?
Mam w domu słabe łącze, i jak aktualizuję system to nikt z netu juz nie skorzysta.
_________________
"I love you cię" Różyczko...
Back to top
View user's profile Send private message
dziadu
Guru
Guru


Joined: 04 May 2006
Posts: 467
Location: Kraków/Darmstadt/Munich

PostPosted: Mon Jul 27, 2009 6:47 am    Post subject: Reply with quote

Możesz przedefiniować zmienną portage:
Code:
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"

To jest typowa jej zawartość. W manualu do wget doczytaj o przełączniku
Code:
--limit-rate
i dodaj go do tego co powyżej.

Inną opcją jest też ustawienie w systemie zmiennej którą czyta wget (a nie portage):
Code:
WGET_EXTRA="--limit-rate=...."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum