LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-26-2006, 07:44 AM   #1
ross22
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Rep: Reputation: 0
I live in China and can't download any packages using YAST or Smart


Hi,

As I said in the title I live in China and can't seem to update any of the packages on my system. This is most probably due to the great firewall of china which really slows down international site access in my experience (as international you can count Hong Kong and Taiwan). So far I've been able to access http and ftp sites using firefox and download files manually but this is a real pain as every time I want to install something I have a lot of dependency problems.

Does anyone know of any Chinese mirrors for these files? Or else does anyone know how to change settings on YAST or Smart so that they don't timeout when downloading? When I use a download manager I can usually download the files reasonably quickly (often when I use firefox's inbuilt download manager the download stops and I cannot resume). At the moment I'm using gwget which is okay but not as good as free download manager on windows as it often stops and can't resume (I have no idea why) any suggestions of a better download manager? Also, at the moment I have to copt the link to the file and paste it into gwget; how can I make firefox use gwget as default?

Sorry for all the questions! This has been driving me up the wall, so thanks for any suggestions,

Ross
 
Old 11-26-2006, 10:11 AM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Suse 10.1 has problems with the package manager. Is that the distribution you are using?
 
Old 11-26-2006, 07:25 PM   #3
ross22
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Hi,

Yes i'm using suse 10.1. Would the packagae manager problems affect another manager such as Smart?
thanks,
Ross
 
Old 11-26-2006, 10:04 PM   #4
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Smile

If it's at all possible, switch to Suse 10.1 RM.
The Re-Mastered version just came out and they fixed all the bugs.
Every thing works perfect. I've got it running on 3 boxes.
Then go to:
http://www.thejemreport.com/mambo/content/view/254
for the repos
 
Old 11-26-2006, 10:14 PM   #5
ross22
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Hi,

Thanks, I'm already using the remastered edition. There doesn't seem to be a problem with Yast as it is running fast(ish) and I've already tried to use all the repositories listed in the Jem report; the problem is that they all timeout before finishing downloading. I can access the http and ftp sites using firefox and download them (only using a seperate download manager as firefox's standard download manager also timeouts and won't resume). Download manager gwget works okay but i've noticed that free download manager on windows works much better (faster and never times-out). Any ideas of a better download manager for suse?

Thanks ross
 
Old 11-26-2006, 10:21 PM   #6
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Are you using dial-up?
 
Old 11-26-2006, 10:22 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
In your case I would try using wget -c outside of X windows. A gui will add some overhead, and I've noticed that the transfer rate is faster operating from the terminal. The "-c" option should let you continue a partial download. I've downloaded a Linux dvd image over several days like that.

If you would prefer to use a browser, I think that the konqueror browser will save incomplete files with a .part extension and continue a partial download if you had an interruption.

Last edited by jschiwal; 11-26-2006 at 10:24 PM.
 
Old 11-26-2006, 10:27 PM   #8
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Try clicking:
menu > personal settings > peripherals > display > and then in the box click the "power control", and set the time-outs to max.
 
Old 11-26-2006, 11:23 PM   #9
ross22
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Hi,

Thanks I will give the terminal option a try.

I'm using broadband; it's very fast [B]within[B] mainland China but when accessing international sites it slows down to less than dialup (i.e. stops!) Im sure this is due to the great firewall, the only distro Ive found with a repository in China is ubuntu which updated very very quickly, but unfortunately ubuntu doesnt recognise my hardware as well as suse 10.1 which is why I switched.

Thanks,
Ross
 
Old 11-26-2006, 11:41 PM   #10
ross22
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Original Poster
Rep: Reputation: 0
sorry when I said timeout I meant that the package manager told me it couldn't continue downloading from the source. For example, any large file it will start download then gradually slow until its downloading in bytes per second until stopping and reporting it can't continue the download. The same happens with firefox's standard downloader it starts strongly (maybe as much as 25Kbps (WOW!)) then slows and finally stops, and strangely won't let me pause and resume (it tries to but no more data gets downloaded). Download managers seem to work much better, actually continue downloading right to the end, but then of course for every package I download I get loads of dependency problems taking me a whole afternoon to download lot of small libraries etc.

When downloading large files from a site in mainland China using Firefox's standard download tool I regularly hit speeds of 2Mb per second. It's frustrating.
 
Old 11-27-2006, 01:03 PM   #11
BDHamp
Member
 
Registered: Mar 2005
Distribution: Ubuntu 9.10, Mint 8, Slackware 12
Posts: 105

Rep: Reputation: 16
Increase timeout

Quote:
Originally Posted by ross22
Sorry for all the questions! This has been driving me up the wall, so thanks for any suggestions,
I'm afraid I can't help with the main problem here, which seems to be the filtering taking place.

However, using smart, you can increase the timeout. The default is 120 seconds. So, say you want to double it to 240 seconds

As root:
Code:
smart config --set socket-timeout=240
Won't help with the speed problem, but maybe it'd give it more time to get what you're needing without having to start over.
 
Old 11-27-2006, 08:16 PM   #12
ncowboy
LQ Newbie
 
Registered: Jan 2005
Distribution: SUSE LINUX 10.1 (i586) - Kernel 2.6.16.13-4-default
Posts: 5

Rep: Reputation: 0
have a try on
http://susewiki.org/index.php?title=Smart

it's works well on my laptop.i live in beijing,china.

Last edited by ncowboy; 11-27-2006 at 08:19 PM.
 
Old 11-28-2006, 05:45 AM   #13
ross22
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Hi,
Thanks BDHamp I will definitely try to increase the timeout as suggested.
Also, ncowboy, could you tell me what addresses you are using for the 'Channels' in Smart? Thank you for the link to the wiki.

Thanks, Ross
 
Old 11-28-2006, 06:19 AM   #14
ncowboy
LQ Newbie
 
Registered: Jan 2005
Distribution: SUSE LINUX 10.1 (i586) - Kernel 2.6.16.13-4-default
Posts: 5

Rep: Reputation: 0
i wanna post all channels' contents,but the LQ refused:
Code:
LinuxQuestions.org Message
  You cannot post URLs to other sites until you have made at least 3 posts.
 
Old 11-28-2006, 11:07 PM   #15
ross22
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Hi,

using ncowboys channel list and increasing the timeout has worked - it updated very slowly last night. Just one problem: When I open Smart I get the following message:

"warning: You must fetch channel information to acquire needed filelists."

Now, I always update the lists by clicking on the refresh button in the top left hand corner. This downloads information from the channels and seems to be successful as no error is reported. Then i click update all and apply. It works - but still I get this message every time I start the manager - any ideas?

Thanks,
ross
 
  


Reply



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
smart packages help me plz alaios SUSE / openSUSE 1 11-07-2006 05:27 AM
LXer: A Million Linux Smart Phones Shipped in China, Q2 LXer Syndicated Linux News 0 07-28-2006 03:03 AM
Smart repos - apt vs yast shame SUSE / openSUSE 1 05-24-2006 06:42 PM
Usin Suse iso's as channel source for Smart (as yast can) google01103 SUSE / openSUSE 0 05-15-2006 09:31 AM
Smart/Advanced China ! rvijay General 3 08-11-2005 05:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:01 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