LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-11-2009, 10:31 AM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
Name Resolution problems with rpmfusion.org


FC11/KDE

Having name resolution problems connecting to rpmfusion, Below is error message.

/etc/resolv.conf has correct settings for nameserver 172.16.0.1 for gateway router


# yum update
Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...a-11&arch=i386 error was
[Errno 4] IOError: <urlopen error [Errno -3] Temporary failure in name resolution>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again


This is the line I put in /etc/modprobe.d/dist.conf for Ipv6 disable

install net-pf-10 /bin/true

It didn't seem to have "name resolution" problems when I downloaded the rpmfusion-release-rpm using rpm -ivh .

Last edited by mickeyboa; 06-11-2009 at 10:56 AM.
 
Old 06-11-2009, 01:51 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
It's an every day event, if not this one, it is another
one saying "Cannot retrieve repository metadata".

The remark "Temporary failure" : It is a temporary situation.

In the meantime just use :
# yum <command> --disablerepo=rpmfusion-free

.....
 
Old 06-11-2009, 03:03 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
Not today.
I just accidentally stumbled onto this, and now It's fix.


Q: Networking (or DNS) seems really slow and fails often (Updated 2 January 2009)
A: If Fedora 10's networking seems slow or you get frequent network connection failures (when other Fedoras or other OSes were working just fine on your machine), then you're probably hitting this bug.

Here's how you can work around it:

1. Open a Terminal.
2. Become root:

su -
3. Make sure that the "dnsmasq" program is installed (it usually is, by default, in Fedora 10):

rpm -q dnsmasq

If that says "package dnsmasq is not installed", then you need to install dnsmasq, by running the following command:

yum install dnsmasq
4. Now, you have to find out which network interface your machine is using:

route -n

You'll see some output that looks like this:

Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

The eth0 there (the furthest bottom-right text in the output) is the name of the network interface I'm using. Yours might be eth1 or something totally different. Just remember it for the next step.
5. Now create a file called /etc/dhclient-<your network interface>.conf. For example, if your network interface is eth0, the file would be called /etc/dhclient-eth0.conf.

You can create the file with this command (assuming your network interface is eth0):

nano /etc/dhclient-eth0.conf

Then make this the only line in the file:

prepend domain-name-servers 127.0.0.1;

And then save the file and close it (Ctrl-X then Y).

If you have both a wireless and a wired network connection, you will have to do this step once for each of them.
6. Now start dnsmasq:

service dnsmasq start

And make sure that it will start every time your computer starts:

chkconfig dnsmasq on
7. Now restart your network connection:

service NetworkManager restart

And now things should be as fast as normal again. You might have to restart the programs that you're running for them to pick up the changes that NetworkManager made when it restarted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RPMFusion key import error samjh Fedora 1 02-11-2009 07:28 AM
Errors while trying to install rpmfusion mickeyboa Fedora 5 12-04-2008 11:25 PM
Resolution Problems with Two Monitors and Resolution Problems in General ZeroDaHero Linux - Software 1 08-31-2008 06:18 AM
What happened to rpmfusion? stormtracknole Fedora 4 05-02-2008 12:44 PM
X.org Resolution Change Problems Nalor Linux - Software 8 06-18-2005 12:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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