Page 1 of 1
Re: Very slow to download Samba using apt-get
Posted: Mon Apr 30, 2012 11:19 pm
by Hansel
Hi all,
So I'm pretty much a Linux noob. I know enough to just scrape by, but only just
Anyway, got the Pi hooked up and I'm trying to install Samba, but it's downloading at a crawl (currently 2000 B/s, which will take 30 mins).
I have the Pi hooked up to a wired network, and I'm using the latest Debian image. If I open a web browser and download a test file from my ISP, it comes down nice and fast (not sure how to tell exactly how fast, but it downloaded around 5mb in a few seconds, so fast enough).
I've tried the command (sudo apt-get install samba) both from the initial boot terminal type screen, and also from with a terminal after the startx command. Same issue both ways.
Is this normal, or am I doing something wrong
Thanks
Re: Very slow to download Samba using apt-get
Posted: Mon Apr 30, 2012 11:53 pm
by abishur
my gut says somethings wrong. I've downloaded samba with the same image in maybe a as slow as a couple minutes. That said I can't think of any reason why it would be happening... are you running the apt-get in a terminal window with the xserver?
Re: Very slow to download Samba using apt-get
Posted: Mon Apr 30, 2012 11:55 pm
by Hansel
I am, yep. I initially tried it before issuing the startx command (in the initial terminal like environment) with the same issue. That's what led me to try it in a terminal after issuing the startx command.
Re: Very slow to download Samba using apt-get
Posted: Mon Apr 30, 2012 11:57 pm
by abishur
hmm... I can understand it going slowly after doing startx (it's kinda taxed in there to begin with, but it's odd that it's doing the same thing from outside X
Re: Very slow to download Samba using apt-get
Posted: Mon Apr 30, 2012 11:59 pm
by Hansel
Abishur said:
hmm... I can understand it going slowly after doing startx (it's kinda taxed in there to begin with, but it's odd that it's doing the same thing from outside X
I'm having a heap of issues with repeat key presses as well, so perhaps my keyboard and mouse are trying to suck too much power or something.
I'm using a Dell keyboard that I 'borrowed' from work, and a Logitech MX518 mouse. I'm just about to head out to buy a cheap powered hub so I guess I'll try it after I get that hooked up.
I'm using an iphone charger to power it by the way, which is 5v and 1A so I'd assume it's getting enough power...
Re: Very slow to download Samba using apt-get
Posted: Tue May 01, 2012 8:20 am
by RaTTuS
has the dell keyboard got USB expansion slots - if so it will pull far to much power
get a [good] powered hub
Re: Very slow to download Samba using apt-get
Posted: Tue May 01, 2012 8:38 am
by Hansel
has the dell keyboard got USB expansion slots – if so it will pull far to much power
It has a couple yeah. I"ll look for an elcheapo keyboard somewhere
Re: Very slow to download Samba using apt-get
Posted: Tue May 01, 2012 8:59 am
by RaTTuS
I'd go for the powered HUB myself ;-p
Re: Very slow to download Samba using apt-get
Posted: Tue May 01, 2012 9:01 am
by Hansel
RaTTuS said:
I'd go for the powered HUB myself ;-p
I got one today (and it's fixed the repeat keypresses at least, but now my mouse doesn't work :D), but it's a bit of a cheapo $10 job.
Didn't seem to do anything to speed up the apt-gets. I'm thinking (off the top of my head) it might help to change the debian mirror, as I'm in Australia and I notice it's using the UK one). Just not sure how to actually do that
Re: Very slow to download Samba using apt-get
Posted: Wed May 02, 2012 2:53 am
by Hansel
Well, changing the mirror from UK to AU seems to have fixed the speed issues. Nice and fast now Took me a while to work out how to do it, but at least I learned something
Re: Very slow to download Samba using apt-get
Posted: Wed May 02, 2012 3:39 pm
by abishur
Good to know! And thanks for posting the solution instead of keeping it to yourself! (As is the unfortunate habit of some)