Jump to content

wget,curl and urpmi.update problem


Guest biolinux
 Share

Recommended Posts

Guest biolinux

Hi everybody,

I'm 3 years old user of mandriva.But this problem is new for me.

My system is Mandriva Free 2007 on toshiba satellite L10-100.

I have a wireless network on inca im-240W.

I can open and search to web with firefox or konqueror or kmail for pop-smtp...

But when I want to get a web site with wget then this event be :

 

[biobagatir@bagatir ~]$ wget http://www.elektronist.com

--02:51:30-- http://www.elektronist.com/

=> `index.html'

www.elektronist.com çözümleniyor... 1.0.0.0

www.elektronist.com[1.0.0.0]:80 ba?lan?l?yor...

 

If I don't cancel this test going on...

But when I ping this address is the first then wget is ok :

 

[biobagatir@bagatir ~]$ ping www.elektronist.com

PING elektronist.com (89.106.12.102) 56(84) bytes of data.

ping: sendmsg: Operation not permitted

ping: sendmsg: Operation not permitted

ping: sendmsg: Operation not permitted

(I have cancelled with ctrl+C)

--- elektronist.com ping statistics ---

3 packets transmitted, 0 received, 100% packet loss, time 2000ms

 

[biobagatir@bagatir ~]$ wget http://www.elektronist.com

--03:02:39-- http://www.elektronist.com/

=> `index.html'

www.elektronist.com çözümleniyor... 89.106.12.102

www.elektronist.com[89.106.12.102]:80 ba?lan?l?yor... ba?lant? kuruldu.

HTTP iste?i gönderildi, yan?t bekleniyor... 200 OK

Uzunluk: 27.927 (27K) [text/html]

 

100%[====================================>] 27.927 104.89K/s

 

03:02:40 (104.80 KB/s) - `index.html' kaydedildi [27927/27927]

 

That's why urpmi.update be lock at much times.

But this problem is not another network on.

It is only my network on.

I tried so things :

 

Firewall and Nat are closed on my adsl modem.(now on)

I opened ftp,web,dns servers at ip orientation on modem(now only dns server open)

Default settings on my modem.

I opened specific ports 20 and 21 for ftp

curl is same as wget on my system.

What can I do???

Thanks all of reply...

Link to comment
Share on other sites

Hi biolinux,

 

welcome on board!

 

Ping has not much to do with curl or wget. Many pages are blocked from being downloaded by curl or wget in order to avoid lots of traffic. But this is on the server side - so you can't do anything against it for a given site.

 

You don't have to open server ports for your modem as long as you do not actually want to be a server - in fact you shouldnt't just for surfing or using curl/wget! They clearly work without. Urpmi.update does not need special ports opened, too. If it hangs, you could change the repository server, there's enough around (use easy-urpmi, link is at the top of these pages). Maybe your modem is disconnecting from your provider very fast (5min or less)? But even that shouldn't bother wget, it is actually made for unstable connections.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...