Fwd: help a puzzled penguin

2 views
Skip to first unread message

Chirag Anand

unread,
Sep 13, 2009, 11:27:42 AM9/13/09
to juit-linux...@googlegroups.com

---------- Forwarded message ----------
From: Saurabh Rawat
Date: Sun, Sep 13, 2009 at 8:50 PM
Subject: help a puzzled penguin
To: Chirag 


hello sir,
i am in desperate need for help, i thought of switching to linux completely and so after playing
 around with ubuntu i thought of  giving fedora 11 a try and i loved it but somehow it just doesn't
seem to like the juit cyberoam environment and it can't connect to the net i first encountered this problem
when i installed kubuntu 9.04 and after i could not update it, i switched to ubuntu 9.04 and everything worked,
 then i installed fedora 11 and the same problem again ,no updates.
the following settings worked in ubuntu but don't in either fedora or kubuntu

resolv.conf:
# Generated by NetworkManager
domain juitw.org
search juitw.org
nameserver 172.16.73.20
nameserver 172.16.73.3
nameserver 172.16.73.4

ping www.google.com:
ping: unknown host www.google.com

ifconfig:
eth0 Link encap:Ethernet HWaddr 00:1C:C0:0F:4E:F7
inet addr:172.16.16.57 Bcast:172.16.17.255 Mask:255.255.254.0
inet6 addr: fe80::21c:c0ff:fe0f:4ef7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25012 errors:0 dropped:0 overruns:0 frame:0
TX packets:10705 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:6044093 (5.7 MiB) TX bytes:1629282 (1.5 MiB)
Memory:90300000-90320000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1180 (1.1 KiB) TX bytes:1180 (1.1 KiB)

when i do yum update in fedora i get:
Loaded plugins: refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

i can surf net in firefox but the system doesn't seem to be identifying the proxy nameservers correctly
is this something with the network managers of fedora and kubuntu
and why if the same settings work for opensuse 11.1 and ubuntu 9.04 they don't work for fedora?
i want to use fedora and i am unable to get a solution anywhere, plz help

i am sorry sir but i couldn't find any solution in any forum or net plzzz plzzz help me


Chirag

unread,
Sep 13, 2009, 11:37:20 AM9/13/09
to JUIT Linux User Group
I think, you need to export the proxy variables. OpenSUSE has the
option of setting up global proxy in the Yast control centre, thats
why, it must be detecting your proxy. And Ubunutu also has a similar
thing.

For, other systems, find something similar in the network settings or
do the following on terminal:
$ export HTTP_PROXY=172.16.73.12:3128
$ export HTTPS_PROXY=172.16.73.12:3128
$ export FTP_PROXY=172.16.73.12:3128

and check through the 'env' command:
$ env | grep PROXY

This should tell you, if the proxy variables are set correctly. To
remove the proxy variables, use 'unset' command. Modify your bashrc
(and similar) files to set the variables at start up.

From now on, try posting your problems here... as there are many
people here to help you. :)

Saurabh Rawat

unread,
Sep 13, 2009, 11:41:13 AM9/13/09
to juit-linux...@googlegroups.com
but i still cannot ping google.com
it says unknown host again that host resolving problem

Saurabh Rawat

unread,
Sep 13, 2009, 11:42:49 AM9/13/09
to JUIT Linux User Group
but i still cannot ping google.com
it says unknown host ,again that host resolving problem

Chirag

unread,
Sep 13, 2009, 12:10:32 PM9/13/09
to JUIT Linux User Group
AFAIR, you cannot ping public IPs with the cyberoam firewall around...
Try something else instead, like using yum or svn or do a curl on
google.com.

Saurabh Rawat

unread,
Sep 13, 2009, 12:23:07 PM9/13/09
to juit-linux...@googlegroups.com
but i think i could ping in ubuntu
and how to do curl

Saurabh Rawat

unread,
Sep 13, 2009, 12:24:59 PM9/13/09
to juit-linux...@googlegroups.com

when i do yum update it shows:

Loaded plugins: refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
the only solution i could find is blocked thanks to cyberoam

Chirag

unread,
Sep 13, 2009, 12:30:36 PM9/13/09
to JUIT Linux User Group
Try this: http://docs.fedoraproject.org/yum/sn-yum-proxy-server.html
and yeah, unset the variables you set above before doing this.

On Sep 13, 9:24 pm, Saurabh Rawat <saurabh.rawa...@gmail.com> wrote:
> when i do yum update it shows:
> Loaded plugins: refresh-packagekit
> Error: Cannot retrieve repository metadata (repomd.xml) for repository:
> fedora. Please verify its path and try again
> the only solution i could find is blocked thanks to cyberoam
> On Sun, Sep 13, 2009 at 9:53 PM, Saurabh Rawat <saurabh.rawa...@gmail.com>wrote:
>
>
>
> > but i think i could ping in ubuntu
> > and how to do curl
>

Saurabh Rawat

unread,
Sep 13, 2009, 12:50:13 PM9/13/09
to JUIT Linux User Group
Solved
http://digitizor.com/2009/06/17/how-to-fix-the-cannot-retrieve-repository-metadata-repomd-xml-error-in-fedora-11/

On Sep 13, 9:24 pm, Saurabh Rawat <saurabh.rawa...@gmail.com> wrote:
> when i do yum update it shows:
> Loaded plugins: refresh-packagekit
> Error: Cannot retrieve repository metadata (repomd.xml) for repository:
> fedora. Please verify its path and try again
> the only solution i could find is blocked thanks to cyberoam
> On Sun, Sep 13, 2009 at 9:53 PM, Saurabh Rawat <saurabh.rawa...@gmail.com>wrote:
>
> > but i think i could ping in ubuntu
> > and how to do curl
>

Saurabh Rawat

unread,
Sep 13, 2009, 12:54:27 PM9/13/09
to JUIT Linux User Group
Solved
You need to edit two of your repository files: /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo. Now un-comment all the lines that start with the term baseurl and place a comment before all lines that start with mirrorlist. This should be done for both the above files.
Now edit your /etc/hosts file and append the following to it’s contents:
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org

http://digitizor.com/2009/06/17/how-to-fix-the-cannot-retrieve-repository-metadata-repomd-xml-error-in-fedora-11/
Reply all
Reply to author
Forward
0 new messages