-------- Messaggio Originale --------
On Thu, 2006-02-16 at 12:08 +0100, Antonio Montagnani wrote:
Antonio Montagnani wrote / ha scritto on /il 16/02/2006 09:10:
>
>
> -------- Messaggio Originale --------
>
> Antonio Montagnani wrote / ha scritto on /il 14/02/2006 14:26:
>> Paul Howarth ha scritto / wrote il / on 14/02/2006 13:35:
>>> Antonio Montagnani wrote:
>>>> Paul Howarth wrote / ha scritto on /il 14/02/2006 09:53:
>>>>
>>>>> On Tue, 2006-02-14 at 09:37 +0100, Antonio Montagnani wrote:
>>>>>
>>>>>
>>>>>> Paul Howarth wrote / ha scritto on /il 14/02/2006 09:08:
>>>>>>
>>>>>>> On Tue, 2006-02-14 at 08:58 +0100, Antonio Montagnani wrote:
>>>>>>>
>>>>>>>> Paul Howarth wrote / ha scritto on /il 14/02/2006 08:33:
>>>>>>>>
>>>>>>>>> On Mon, 2006-02-13 at 18:19 +0100, Antonio Montagnani wrote:
>>>>>>>>>
>>>>>>>>>>>> Baseurl(s) for repo:
>>>>>>>>>>>> ['http://download.fedora.redhat.com/pub/fedora/linux/core/4
>>>>>>>>>>>> /i386/os/']
>>>>>>>>>>>> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/repodata/repom
>>>>>>>>>>>> d.xml: [Errno 4] IOError: <urlopen error (2, 'No such file
>>>>>>>>>>>> or directory')>
>>>>>>>>>>>> Trying other mirror.
>>>>>>>>>>>> Cannot open/read repomd.xml file for repository: base
>>>>>>>>>>>> failure: repodata/repomd.xml from base: [Errno 256] No more
>>>>>>>>>>>> mirrors to try.
>>>>>>>>>>>> Error: failure: repodata/repomd.xml from base: [Errno 256]
>>>>>>>>>>>> No more mirrors to try.
>>>>>>>>>>>>
>>>>>>>
>>>>>>> ...
>>>>>>>
>>>>>>>
>>>>>>>>> Trying typing "env" immediately before running yum (i.e. as
>>>>>>>>> root) and
>>>>>>>>> see if there are any environment settings with names including
>>>>>>>>> "proxy".
>>>>>>>>>
>>>>>>>>> Paul.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> Paul
>>>>>>>>
>>>>>>>> no proxy at env command!!!
>>>>>>>> And Synaptic is running o.k.
>>>>>>>>
>>>>>>>
>>>>>>> Does:
>>>>>>>
>>>>>>> wget
>>>>>>> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/repodata/repomd.xml
>>>>>>>
>>>>>>>
>>>>>>> (that's one line)
>>>>>>>
>>>>>>> create a repomd.xml file in your current directory on this machine?
>>>>>>>
>>>>>>> $ wget
>>>>>>> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/repodata/repomd.xml--08:07:38--
>>>>>>> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/repodata/repomd.xml
>>>>>>>
>>>>>>> => `repomd.xml'
>>>>>>> Resolving download.fedora.redhat.com... 66.187.224.20,
>>>>>>> 209.132.176.20,
>>>>>>> 209.132.176.220, ...
>>>>>>> Connecting to download.fedora.redhat.com|66.187.224.20|:80...
>>>>>>> connected.
>>>>>>> HTTP request sent, awaiting response... 200 OK
>>>>>>> Length: 1,140 (1.1K) [text/xml]
>>>>>>>
>>>>>>> 100%[===============================================================>]
>>>>>>>
>>>>>>> 1,140 --.--K/s
>>>>>>>
>>>>>>> 08:07:39 (8.93 KB/s) - `repomd.xml' saved [1140/1140]
>>>>>>>
>>>>>>> Paul.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> and of course from another computer on same network, wget works.
>>>>>>
>>>>>
>>>>>
>>>>> But what about on the one where you're having problems?
>>>>>
>>>>> Paul.
>>>>>
>>>>>
>>>>
>>>> You have missed my previous e-mail :-)
>>>> No, it doesn't work.This is the output......
>>>>
>>>> [root@Contec antoniomontagnani]# wget
>>>> http://download.fedora.redhat.com/pub/fedo
>>>> ra/linux/core/4/i386/os/repodata/repomd.xml
>>>> --09:13:47--
>>>> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/
>>>> repodata/repomd.xml
>>>> => `repomd.xml'
>>>> Risoluzione di download.fedora.redhat.com in corso... fallito: No
>>>> such file or d irectory.
>>>>
>>>>
>>>> Output is in Italian, but fallito means failed!!!
>>>
>>> The output from your wget seems to be less verbose than mine. In
>>> particular, it doesn't seem to show the "Resolving" and "Connecting"
>>> lines. I wonder if DNS resolution is working properly.
>>>
>>> If you have bind-utils installed, what's the output of:
>>>
>>> $ host download.fedora.redhat.com
>>>
>>> Otherwise, try:
>>>
>>> # ping download.fedora.redhat.com
>>>
>>> Paul.
>>>
>> # host download.fedora.redhat.com
>> download.fedora.redhat.com has address 209.132.176.221
>> download.fedora.redhat.com has address 66.187.224.20
>> download.fedora.redhat.com has address 209.132.176.20
>> download.fedora.redhat.com has address 209.132.176.220
>>
> This is the output of curl command:
>
>
> curl -v download.fedora.redhat.com
> * getaddrinfo(3) failed for download.fedora.redhat.com:80
> * Couldn't resolve host 'download.fedora.redhat.com'
> * Closing connection #0
> curl: (6) Couldn't resolve host 'download.fedora.redhat.com'
>
If I issue
wget --inet6-only
http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/repodata/repomd.xml
I get
--11:39:25--
http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/
repodata/repomd.xml
=> `repomd.xml.7'
Risoluzione di download.fedora.redhat.com in corso... fallito: Name or
service not known.
If I issue
wget --inet4-only
http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/repodata/repomd.xml
I get:
--12:00:58--
http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/repodata/repomd.xml
=> `repomd.xml.7'
Risoluzione di download.fedora.redhat.com in corso... 209.132.176.20,
209.132.176.220, 209.132.176.221, ...
Connessione a download.fedora.redhat.com|209.132.176.20:80... connesso.
HTTP richiesta inviata, aspetto la risposta... 200 OK
Lunghezza: 1,140 (1.1K) [text/xml]
100%[=============================================================>]
1,140 --.--K/s
12:00:58 (51.77 MB/s) - "repomd.xml.7" salvato [1140/1140]
both on router and single PC on the network.
If I do not use the inet flag, wget doesn't work on the router but on
the network computer.
What shall I investigate???
Looks like your router is having trouble doing IPV6 name resolution. You
probably don't need this anyway, so it might be worth trying just
turning off IPV6 support altogether.
Put in /etc/modprobe.conf:
alias net-pf-10 off
This won't take effect until the machine is rebooted.
Paul.
--
Antonio
Skype: antoniomontag
=============================================================
Mail by Thunderbird 1.5 - Websurfing by Firefox 1.5
=============================================================
Linux Fedora Core 4 on Home
Linux user number 362582
http://www.linuxsaronno.net
http://www.montagnani.org
http://www.campingmonterosa.com
=============================================================