LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-26-2015, 02:32 AM   #1
travis82
Member
 
Registered: Feb 2014
Distribution: Slackware
Posts: 432

Rep: Reputation: 221Reputation: 221Reputation: 221
How to select best mirror for slackpkg


Hi all

I have a problem with selecting fastest mirror for slackpkg. It seems that nearest mirror is not always the best as Turkey and Greece mirrors doesn't provide good speed and also suffer from occasional disconnecting on my system.

I wonder is there a specific tool for selecting best mirror for slackpkg? something like netselect-apt for debian or mirrorselect for gentoo?

I didn't find anything useful by searching
 
Old 12-26-2015, 05:57 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,985

Rep: Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569
Ping them?

You can also try using mirrors.slackware.com as your mirror.
 
2 members found this post helpful.
Old 12-26-2015, 08:07 PM   #3
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,946

Rep: Reputation: Disabled
You could make a script to grep all the mirrors from the mirrors file and then ping each one of them in a loop while reporting back the results and then use something like sort to have the fastest at the top.
 
1 members found this post helpful.
Old 12-27-2015, 01:05 AM   #4
travis82
Member
 
Registered: Feb 2014
Distribution: Slackware
Posts: 432

Original Poster
Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by dugan View Post
Ping them?

You can also try using mirrors.slackware.com as your mirror.
Thanks
I have to read some documents as I am not familiar with ping.
I didn't understand your point. Do you mean adding http://mirrors.slackware.com/ to /etc/slackpkg/mirrors or choosing one of the mirrors from available mirrors section?

Quote:
Originally Posted by orbea View Post
You could make a script to grep all the mirrors from the mirrors file and then ping each one of them in a loop while reporting back the results and then use something like sort to have the fastest at the top.
Unfortunately I don't have enough time to learn bash scripting. It is in my long to do list though. Anyway, thanks for your instruction.

Last edited by travis82; 12-27-2015 at 01:06 AM.
 
Old 12-27-2015, 03:30 AM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,985

Rep: Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569Reputation: 4569
Quote:
Originally Posted by travis82 View Post
Do you mean adding http://mirrors.slackware.com/ to /etc/slackpkg/mirrors
Yes.
 
1 members found this post helpful.
Old 12-27-2015, 06:58 AM   #6
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,946

Rep: Reputation: Disabled
Quote:
Originally Posted by travis82 View Post
Unfortunately I don't have enough time to learn bash scripting. It is in my long to do list though. Anyway, thanks for your instruction.
I gave it a try, it kind of works other than that it gets stuck on any unresponsiveness mirror, such as http://mirror.primusdatacentre.com.a...ware64-current.
I'll post it here if anyone has an idea.

Code:
#! /bin/sh

SLKVER=${SLKVER:-current}
TMP=${TMP:-/tmp}
FILE=$TMP/mirrorlist
SED=$TMP/$SLKVER-mirrors
SLKMIR=/etc/slackpkg/mirrors

if [ $SLKVER = "current" ]; then
    sed -ne '/current/,$p' $SLKMIR > $SED
else
    sed -e '/current/,$d' $SLKMIR > $SED
fi

trap 'rm -f $FILE $SED' EXIT 

for i in $(cat $SED | grep '\<[a-z]*://[^/]*' | sed 's/# //;/cdrom/d;/Project/d;/file/d'); do
    wget -T 5 -O/dev/null "$i" 2>&1 | grep -o "[0-9.]\+ [KM]*B/s"
    done > "$FILE" | sort

cat $FILE
 
Old 12-27-2015, 07:09 AM   #7
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,442

Rep: Reputation: 2111Reputation: 2111Reputation: 2111Reputation: 2111Reputation: 2111Reputation: 2111Reputation: 2111Reputation: 2111Reputation: 2111Reputation: 2111Reputation: 2111
Quote:
Originally Posted by travis82 View Post
Hi all

I have a problem with selecting fastest mirror for slackpkg. It seems that nearest mirror is not always the best as Turkey and Greece mirrors doesn't provide good speed and also suffer from occasional disconnecting on my system.

I wonder is there a specific tool for selecting best mirror for slackpkg?
Distributions like Arch or Gentoo - who depend heavily on mirror sites - have such a tool (respectively mirrorlist and mirrorselect). Maybe someone should port this to Slackware. Here, it's mainly trial and error. Though I live in South France, I never use the french mirrors because they're quite erratic. After trying out various countries like Austria, Germany and Switzerland, I settled with a mirror in Finland that always seems to work perfectly.

Cheers,

Niki
 
Old 12-27-2015, 07:52 AM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,831

Rep: Reputation: Disabled
My understanding is that mirrors.slackware.com is somehow a "meta-mirror" that redirects the download requests using mirrorbrain to handle the traffic and share it between mirrors.

I do not know how load balancing is configured in case of mirrors.slackware.com, but I assume that the mirrors' locations is one of the main parameters to be considered.

For that reason I am not sure that travis82's issue can be solved setting it in /etc/slackpkg/mirrors, But that's certainly worth trying.

@Hosein: could you please try it if not already done, see if that makes a difference and report here?

Also, if Robby Workman reads this thread, I hope he will shed some light.

Last edited by Didier Spaier; 12-27-2015 at 08:40 AM. Reason: Typo fix.
 
Old 12-27-2015, 08:21 AM   #9
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by kikinovak View Post
Distributions like Arch or Gentoo - who depend heavily on mirror sites - have such a tool (respectively mirrorlist and mirrorselect). Maybe someone should port this to Slackware.
I did look at the code for mirrorselect after the post by Bertman123 in the MLED forum. The basic version does little else then feeding a mirrorlist to netselect, which is made overly complex by all the bells and wishles common to Gentoo.

So for Slackware it is probably a lot easier than it sounds with the mirrorlist being a plain text-file already, first step would be to get netselect working and then it is a matter of output parsing as the best server is the one on the last line of the netselect output.

edit) first link to netselect doesn't give the source, it is on github. See: https://github.com/apenwarr/netselect

Last edited by moesasji; 12-27-2015 at 08:36 AM. Reason: added link to netselect github
 
Old 12-27-2015, 01:38 PM   #10
travis82
Member
 
Registered: Feb 2014
Distribution: Slackware
Posts: 432

Original Poster
Rep: Reputation: 221Reputation: 221Reputation: 221
I tested mirrors.slackware.com. According to slackpkg/mirror it finds a nearby mirror. The odd thing is that it selected http://hkg.mirror.rackspace.com/slackware/ in Hong Kong as nearest mirror (perhaps I am living in China, I don't know). Anyway, my experience with hk mirror is horrible.
I guess I have to check all available slackware mirrors by ping.
 
Old 12-27-2015, 03:46 PM   #11
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,946

Rep: Reputation: Disabled
This will get you a list of mirrors and the speed it takes to wget their index.html which could narrow down a fast mirror, I haven't figured out how to sort the output well yet... Don't forget to pass SLVER=14.1 if you aren't using current or just edit the SLKVER line in the script.

Code:
#! /bin/sh

SLKVER=${SLKVER:-current}
TMP=${TMP:-/tmp}
FILE=$TMP/mirrorlist
SED=$TMP/$SLKVER-mirrors
SLKMIR=/etc/slackpkg/mirrors

if [ $SLKVER = "current" ]; then
    sed -ne '/current/,$p' $SLKMIR > $SED
else
    sed -e '/current/,$d' $SLKMIR > $SED
fi

trap 'rm -f $FILE $SED' EXIT 

for i in $(cat $SED | grep '\<[a-z]*://[^/]*' | sed 's/# //;/cdrom/d;/Project/d;/file/d'); do
    echo "$i"
    wget -T 5 --tries=1 -O/dev/null "$i" 2>&1 | grep -o "[0-9.]\+ [KM]*B/s"
    done > $FILE

cat $FILE
 
Old 12-27-2015, 04:28 PM   #12
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,831

Rep: Reputation: Disabled
Another solution with ping. This is a draft, of course.

Only mirrors with 0 packet loss are listed.

Results can vary upon time needed for name resolution. Use a good name server.

Sort criteria: minimum response time, fastest at the bottom to avoid scrolling.
Code:
#!/bin/sh
TMPFILE=$(mktemp) || exit 1
VERSION=${VERSION:-14.1}
for i in $(grep $VERSION /etc/slackpkg/mirrors |\
sed -n 's@\(# \)\{0,1\}[hf]t\{1,2\}ps\{0,1\}://\([^/]\{1,\}\).*@\2@p' |\
sort -u); do
    printf "."
    ping -c 4 -i 0.2 -q -W 1 $i >> $TMPFILE 2>/dev/null
done
echo
# Display a table:
# Field #1   Field #2
# hostname   rtt min
# sorted by rtt min decreasing
< $TMPFILE \
sed -n '
    /^---/{
    N
    # Next line, check that there be a percent sign after the zero
    # This LQ editor still eat it every time I edit this post if not in advanced mode...
    / 0%/{
        N
        s/^--- //
        s@\n@@g
        s/ping [^=]\{1,\}//
        s@/.*@@
        s/ =//
        s/\([[:graph:]]\{1,\}\) \([[:graph:]]\{1,\}\)/\2 \1/p
    }
}' |\
sort -nr
rm -f $TMPFILE
EDIT. Sorry for the BREs harder to read, but the POSIX specification only mandates that a compliant sed supports this kind, although it could be hard to find an implementation that does not support EREs in addition.

Last edited by Didier Spaier; 12-28-2015 at 04:39 AM. Reason: EDIT added and minor changes
 
2 members found this post helpful.
Old 12-27-2015, 11:31 PM   #13
travis82
Member
 
Registered: Feb 2014
Distribution: Slackware
Posts: 432

Original Poster
Rep: Reputation: 221Reputation: 221Reputation: 221
Thank you both. I will test them tonight.

@Didier
What do you mean by "use a good name server"?

Last edited by travis82; 12-27-2015 at 11:52 PM.
 
Old 12-28-2015, 04:59 AM   #14
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,831

Rep: Reputation: Disabled
Quote:
Originally Posted by travis82 View Post
@Didier
What do you mean by "use a good name server"?
To ping or access a server (a mirror, in this case), we need to have its domain name translated to the corresponding IP address.

For that we query one of the name servers whose IP addresses are listed in /etc/resolv.conf.

But, if that name server is slow to respond for any reason, this will delay access to the mirror.

Even worse, if the name server is buggy or its cache not updated, this can make the mirror unreachable, unless you know its IP address and use it instead of the domain name.

I have sometimes used Google's public DNS addresses 8.8.8.8 and 4.4.4.4 as they are reliable.

For that you can just write your /etc/resolv.conf like this:
Code:
bash-4.2# cat /etc/resolv.conf 
nameserver 8.8.8.8
nameserver 4.4.4.4
bash-4.2#
Then to avoid that some program change these IP do this:
Code:
chmod 444 /etc/resolv.conf
Caveat: of course Google will know all the websites you visit. But probably they already do, so...

Last edited by Didier Spaier; 12-28-2015 at 11:21 AM. Reason: Wrong nameserver fixed
 
1 members found this post helpful.
Old 12-28-2015, 12:39 PM   #15
travis82
Member
 
Registered: Feb 2014
Distribution: Slackware
Posts: 432

Original Poster
Rep: Reputation: 221Reputation: 221Reputation: 221
I tested theses scripts. Here is the output of orbea's script (I omitted outputs for current mirrors):

Code:
ftp://mirrors.slackware.com:/slackware/slackware-14.1/
http://mirrors.slackware.com/slackware/slackware-14.1/
7.23 KB/s
ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/
17.8 KB/s
http://ftp.cc.swin.edu.au/slackware/slackware-14.1/
ftp://ftp.iinet.net.au/pub/slackware/slackware-14.1/
http://ftp.iinet.net.au/pub/slackware/slackware-14.1/
ftp://mirror.aarnet.edu.au/pub/slackware/slackware-14.1/
http://mirror.aarnet.edu.au/pub/slackware/slackware-14.1/
29.6 KB/s
ftp://mirror.as24220.net/pub/slackware/slackware-14.1/
176 MB/s
http://mirror.as24220.net/pub/slackware/slackware-14.1/
ftp://mirror.internode.on.net/.pub2/slackware/slackware-14.1/
http://mirror.internode.on.net/pub/slackware/slackware-14.1/
http://mirror.primusdatacentre.com.au/slackware/slackware-14.1/
ftp://ftp.slackware.at/slackware-14.1/
http://ftp.slackware.at/data/slackware-14.1/
ftp://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware-14.1/
http://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware-14.1/
9.98 KB/s
ftp://mirror.datacenter.by/pub/slackware/slackware-14.1/
10.2 KB/s
http://mirror.datacenter.by/pub/slackware/slackware-14.1/
ftp://ftp.slackware-brasil.com.br/slackware-14.1/
http://ftp.slackware-brasil.com.br/slackware-14.1/
ftp://mirrors.unixsol.org/slackware/slackware-14.1/
http://mirrors.unixsol.org/slackware/slackware-14.1/
ftp://mirror.csclub.uwaterloo.ca/slackware/slackware-14.1/
15.5 KB/s
http://mirror.csclub.uwaterloo.ca/slackware/slackware-14.1/
107 KB/s
ftp://mirror.its.dal.ca/slackware/slackware-14.1/
28.5 KB/s
http://mirror.its.dal.ca/slackware/slackware-14.1/
http://mirror.bjtu.edu.cn/slackware/slackware-14.1/
http://mirrors.163.com/slackware/slackware-14.1/
44.1 KB/s
http://mirrors.ustc.edu.cn/slackware/slackware-14.1/
ftp://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware-14.1/
http://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware-14.1/
http://ftp.slackware.cz/slackware/slackware-14.1/
ftp://odysseus.linux.cz/pub/linux/slackware/slackware-14.1/
23.6 KB/s
http://odysseus.linux.cz/pub/linux/slackware/slackware-14.1/
ftp://mirrors.dotsrc.org/.disk1/slackware/slackware-14.1/
http://mirrors.dotsrc.org/.disk1/slackware/slackware-14.1/
ftp://elektroni.phys.tut.fi/slackware-14.1/
29.5 KB/s
ftp://mirror.ovh.net/mirrors/ftp.slackware.com/slackware-14.1/
http://mirror.ovh.net/mirrors/ftp.slackware.com/slackware-14.1/
ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware-14.1/
28.3 KB/s
http://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware-14.1/
7.53 KB/s
ftp://ftp.fu-berlin.de/unix/linux/slackware/slackware-14.1/
1011 B/s
ftp://ftp.gwdg.de/pub/linux/slackware/slackware-14.1/
858 B/s
http://ftp.gwdg.de/pub/linux/slackware/slackware-14.1/
38.7 KB/s
ftp://ftp.tu-chemnitz.de/.SAN0/pub/linux/slackware/slackware-14.1/
http://ftp.tu-chemnitz.de/pub/linux/slackware/slackware-14.1/
ftp://ftp.zimt.uni-siegen.de/pub/slackware/slackware-14.1/
http://ftp.zimt.uni-siegen.de/slackware/slackware-14.1/
ftp://sunsite.informatik.rwth-aachen.de/pub/comp/Linux/slackware/slackware-14.1/
25.0 KB/s
http://sunsite.informatik.rwth-aachen.de/ftp/pub/comp/Linux/slackware/slackware-14.1/
ftp://wrz1013.rz.uni-wuerzburg.de/pub/MIRROR/slackware/slackware-14.1/
http://wrz1013.rz.uni-wuerzburg.de/pub/MIRROR/slackware/slackware-14.1/
38.4 KB/s
ftp://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware-14.1/
7.58 KB/s
http://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware-14.1/
ftp://ftp.otenet.gr/pub/linux/slackware/slackware-14.1/
http://ftp.otenet.gr/linux/slackware/slackware-14.1/
ftp://patroklos.noc.ntua.gr/pub/linux/slackware/slackware-14.1/
237 MB/s
http://patroklos.noc.ntua.gr/pub/linux/slackware/slackware-14.1/
35.0 KB/s
ftp://ftp.freepark.org/pub/linux/distributions/slackware/slackware-14.1/
http://ftp.freepark.org/pub/linux/distributions/slackware/slackware-14.1/
http://kambing.ui.ac.id/slackware/slackware-14.1/
ftp://repo.ugm.ac.id/.3/slackware/slackware-14.1/
http://repo.ugm.ac.id/.3/slackware/slackware-14.1/
33.1 MB/s
http://repo.ukdw.ac.id/slackware/slackware-14.1/
ftp://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware-14.1/
16.2 KB/s
http://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware-14.1/
43.5 KB/s
ftp://mirror2.mirror.garr.it/pub/1/slackware/slackware-14.1/
http://mirror2.mirror.garr.it/pub/1/slackware/slackware-14.1/
ftp://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware-14.1/
197 MB/s
http://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware-14.1/
1.25 KB/s
ftp://ftp-srv2.kddilabs.jp/032/Linux/packages/Slackware/slackware-14.1/
http://ftp-srv2.kddilabs.jp/032/Linux/packages/Slackware/slackware-14.1/
ftp://riksun.riken.go.jp/Linux/slackware/slackware-14.1/
http://riksun.riken.go.jp/Linux/slackware/slackware-14.1/
309 MB/s
ftp://perkons.linux.edu.lv/mirrors/ftp.slackware.com/slackware-14.1/
ftp://ftp.nluug.nl/vol/4/slackware/slackware-14.1/
http://ftp.nluug.nl/os/Linux/distr/slackware/slackware-14.1/
ftp://mirror.nl.leaseweb.net/slackware/slackware-14.1/
http://mirror.nl.leaseweb.net/slackware/slackware-14.1/
http://taper.alienbase.nl/mirrors/slackware/slackware-14.1/
ftp://ftp1.uninett.no/slackware/slackware-14.1/
http://ftp1.uninett.no/slackware/slackware-14.1/
35.9 KB/s
ftp://ftp.man.szczecin.pl/pub/Linux/slackware/slackware-14.1/
ftp://ftp.pwr.wroc.pl/pub/linux/slackware/slackware-14.1/
http://ftp.pwr.wroc.pl/pub/linux/slackware/slackware-14.1/
42.8 KB/s
ftp://ftp.slackware.pl/pub/slackware/slackware-14.1/
2.77 KB/s
http://ftp.slackware.pl/pub/slackware/slackware-14.1/
80.2 KB/s
ftp://gepard.pbone.net/mirror/ftp.slackware.com/slackware-14.1/
ftp://piotrkosoft.net/pub/mirrors/ftp.slackware.com/pub/slackware/slackware-14.1/
http://piotrkosoft.net/pub/mirrors/ftp.slackware.com/pub/slackware/slackware-14.1/
ftp://sunsite.icm.edu.pl/vol/rzm1/linux-slackware/slackware-14.1/
http://sunsite.icm.edu.pl/packages/linux-slackware/slackware-14.1/
ftp://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware-14.1/
113 MB/s
http://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware-14.1/
ftp://darkstar.ist.utl.pt/pub/slackware/slackware-14.1/
http://darkstar.ist.utl.pt/pub/slackware/slackware-14.1/
http://mirror.rol.ru/slackware/slackware-14.1/
2.79 KB/s
ftp://mirror.yandex.ru/slackware/slackware-14.1/
193 MB/s
http://mirror.yandex.ru/slackware/slackware-14.1/
ftp://mirror2.etf.bg.ac.rs/slackware/slackware-14.1/
http://mirror2.etf.bg.ac.rs/slackware/slackware-14.1/
ftp://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware-14.1/
28.1 KB/s
http://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware-14.1/
62.6 MB/s
ftp://ftp.wa.co.za/pub/slackware/slackware-14.1/
http://ftp.wa.co.za/pub/slackware/slackware-14.1/
142 KB/s
ftp://slackware.mirror.ac.za/slackware-14.1/
3.69 KB/s
http://slackware.mirror.ac.za/slackware-14.1/
ftp://ftp.df.lth.se/pub/slackware/slackware-14.1/
http://ftp.df.lth.se/pub/slackware/slackware-14.1/
ftp://ftp.sunet.se/pub/os/Linux/distributions/slackware/slackware-14.1/
http://ftp.sunet.se/pub/os/Linux/distributions/slackware/slackware-14.1/
ftp://mirror.switch.ch/mirror/slackware/slackware-14.1/
http://mirror.switch.ch/ftp/mirror/slackware/slackware-14.1/
116 MB/s
ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware-14.1/
1.54 KB/s
http://ftp.isu.edu.tw/pub/Linux/Slackware/slackware-14.1/
5.45 KB/s
ftp://ftp.twaren.net/pub/Linux/Slackware/slackware-14.1/
0.00 B/s
http://ftp.twaren.net/Linux/Slackware/slackware-14.1/
43.4 KB/s
ftp://ftp.linux.org.tr/slackware/slackware-14.1/
2.00 KB/s
http://ftp.linux.org.tr/slackware/slackware-14.1/
37.1 KB/s
ftp://mirrors.mithril.org.ua/linux/slackware/slackware-14.1/
http://mirrors.mithril.org.ua/linux/slackware/slackware-14.1/
ftp://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware-14.1/
http://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware-14.1/
ftp://mirror.bytemark.co.uk/slackware/slackware-14.1/
http://mirror.bytemark.co.uk/slackware/slackware-14.1/
182 MB/s
ftp://carroll.aset.psu.edu/pub/linux/distributions/slackware/slackware-14.1/
http://carroll.aset.psu.edu/pub/linux/distributions/slackware/slackware-14.1/
ftp://ftp.gtlib.gatech.edu/nv/ao2/lxmirror/ftp.slackware.com/slackware-14.1/
ftp://ftp.osuosl.org/.2/slackware/slackware-14.1/
http://ftp.osuosl.org/.2/slackware/slackware-14.1/
ftp://hpc-mirror.usc.edu/pub/linux/distributions/slackware/slackware-14.1/
http://hpc-mirror.usc.edu/pub/linux/distributions/slackware/slackware-14.1/
ftp://marmot.tn.utexas.edu/pub/slackware/slackware-14.1/
1.77 KB/s
http://marmot.tn.utexas.edu/slackware/slackware-14.1/
35.3 KB/s
ftp://mirror.cs.princeton.edu/pub/mirrors/slackware/slackware-14.1/
http://mirror.metrocast.net/slackware/slackware-14.1/
262 MB/s
ftp://mirrors.easynews.com/linux/slackware/slackware-14.1/
http://mirrors.easynews.com/linux/slackware/slackware-14.1/
43.5 KB/s
http://mirrors.kingrst.com/slackware/slackware-14.1/
1.34 KB/s
ftp://mirrors.us.kernel.org/slackware/slackware-14.1/
28.0 KB/s
http://mirrors.us.kernel.org/slackware/slackware-14.1/
44.8 KB/s
ftp://mirrors.xmission.com/slackware/slackware-14.1/
http://mirrors.xmission.com/slackware/slackware-14.1/
43.9 KB/s
http://slackbuilds.org/mirror/slackware/slackware-14.1/
4.38 KB/s
http://slackware.cs.utah.edu/pub/slackware/slackware-14.1/
473 KB/s
http://slackware.mirrorcatalogs.com/slackware-14.1/
http://slackware.mirrors.pair.com/slackware-14.1/
ftp://slackware.mirrors.tds.net/pub/slackware/slackware-14.1/
219 MB/s
http://slackware.mirrors.tds.net/pub/slackware/slackware-14.1/
ftp://slackware.virginmedia.com/mirrors/ftp.slackware.com/slackware-14.1/
http://slackware.virginmedia.com/slackware-14.1/
ftp://spout.ussg.indiana.edu/linux/slackware/slackware-14.1/
1.67 KB/s
http://spout.ussg.indiana.edu/linux/slackware/slackware-14.1/
ftp://teewurst.cc.columbia.edu/pub/linux/slackware/slackware-14.1/
11.5 KB/s
http://teewurst.cc.columbia.edu/pub/linux/slackware/slackware-14.1/
ftp://mirrors.slackware.com:/slackware/slackware-current/
http://mirrors.slackware.com/slackware/slackware-current/
5.13 KB/s
Here is the result of Didier's one:

Code:
594.724 ftp.cc.swin.edu.au
575.185 mirror.aarnet.edu.au
567.602 repo.ukdw.ac.id
558.110 mirrors.ustc.edu.cn
546.954 repo.ugm.ac.id
527.262 ftp.nara.wide.ad.jp
510.883 ftp.slackware-brasil.com.br
434.378 mirrors.easynews.com
427.273 mirrors.us.kernel.org
424.197 marmot.tn.utexas.edu
391.593 carroll.aset.psu.edu
368.059 slackbuilds.org
355.860 z-ftp.wcss.wroc.pl
353.005 mirrors.slackware.com
339.797 mirrors.mithril.org.ua
333.728 gd.tuwien.ac.at
315.085 ftp.pwr.wroc.pl
292.823 ftp.zimt.uni-siegen.de
288.356 perkons.linux.edu.lv
285.453 mirror.ovh.net
283.132 patroklos.noc.ntua.gr
275.247 ba.mirror.garr.it
270.819 ftp.heanet.ie
268.186 mirror.nl.leaseweb.net
263.644 ftp.mirrorservice.org
254.964 ftp.nluug.nl
252.914 sunsite.informatik.rwth-aachen.de
251.704 ftp5.gwdg.de
According to these output the best mirror for my connection is ftp.gwdg.de in Germany (correct me if I am wrong). I uncomment it in slackpkg mirrors file and it works fine (at least at the moment). I didn't touch /etc/resolve.conf though.

Code:
# Generated by NetworkManager
domain domain.name
search domain.name
nameserver 217.218.155.155
nameserver 217.218.127.127
Should I change it?

Last edited by travis82; 12-28-2015 at 12:40 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My own Slackpkg mirror? enine Slackware 10 09-08-2014 12:35 PM
[SOLVED] slackpkg mirror from current to 14.1 krakanut Slackware 3 05-28-2014 08:51 PM
when new slackware, what does slackpkg current mirror become? glorsplitz Slackware 2 01-14-2012 10:51 AM
how do I uncomment a mirror in slackpkg? guruwammabe Slackware 8 03-22-2007 02:55 PM
Slackpkg mirror's acidblue Slackware 6 01-06-2006 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration