LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2006, 09:13 PM   #1
jjbuchan
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 5
Posts: 12

Rep: Reputation: 0
Possible DNS Problem?


OK, I've managed to fix it so I can use the internet through a browser. However whenever I try to download something using commands such as:
Code:
rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
it wont work. I instead have to first download the file using a browser and then install it using the rpm command.

At the moment I am trying to do a yum update, but keep getting the response of "No more mirrors". I have a feeling this is related to the original problem.

The only possible reason I've managed to come up with to these problems is that my DNS isn't set up correctly. Currently the only nameserver in my /etc/resolv.conf file is 192.168.1.1. I've tried to add the DNS values which are in my router settings but the file is reset back to its original state if the computer is restarted. Is there a way to stop this happening?

If there is any other reason to why I can't download things through these commands please let me know, as I have searched quite a bit and haven't come up with anything.
 
Old 04-06-2006, 02:33 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
I don't believe rpm will retrieve files then install them from the internet. You will need to download them first to install them that way. Check your yum config file and look thru it. maybe the mirrors are old or something. Yum should use http or ftp to download and install files, the same as your browser, so if your browser connects to the internet, so can yum.

Last edited by bosewicht; 04-06-2006 at 02:35 PM.
 
  


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
dns problem alkingg Linux - Networking 10 11-13-2005 01:56 AM
Possible DNS problem? GraemeK Linux - Networking 3 05-17-2004 07:52 AM
dns problem alrawab Linux - Networking 4 10-11-2003 09:27 AM
Possible DNS problem? JimBass Linux - Newbie 8 10-03-2003 10:23 PM
DNS problem? rort Linux - Networking 3 02-18-2003 05:45 AM


All times are GMT -5. The time now is 09:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration