Minimal install of FC3: cannot get wget and yum update to work.
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Minimal install of FC3: cannot get wget and yum update to work.
I recently performed a minimal server install of Fedora Core 3. I logged into the root and performed the following command:
rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora
Then I tried to run:
yum update
but got the following error message:
Cannot find a valid baseurl for repo: base
I rebooted anyway and tried to run:
wget (I know this is a URL, but I cannot post it as it was inputted since I am new and have not submitted > 5 posts)install.loncapa.org/versions/fedora/FC3_loncapa_yum.conf
which gave me the following error message:
Resolving install.loncapa.org... failed: Host not found.
I tried manually setting up the firewall using iptables plus setting the IP address, gateway, DNS. I have to have DHCP disabled prior to installing Lon-Capa, which is an environment for creating web based courses (in my case, physics) with LaTeX compatibility and other convenient features for science courses.
I hope that someone can resolve the above errors. Your help will be greatly appreciated. Thanks,
Since you got "host not found" it seems you cannot access that site. If it does exist you should make sure to have a working connection. Have you checked with for example lynx if you can access outside webpages using your current configuration of iptables?
Perhaps iptables is blocking DNS requests?
If not, are the DNS servers in /etc/resolv.conf reachable?
can you do dig install.loncapa.org ?
To debug possible IPTables problems, you should have a LOG target in your chain JUST before it gets dropped or rejected. This way you can see if an attempt to send out a packet gets through or not.
I am a newbie to Linux, so I have to admit that I do not fully understand your suggestions. However, I will look them up and get more information on them, then I will try them and see what happens. I will certainly post something if things go crazy.
I will try this >> Perhaps iptables is blocking DNS requests?
If not, are the DNS servers in /etc/resolv.conf reachable?
can you do dig install.loncapa.org ?
I do not quite understand this; perhaps it could be expanded? >> To debug possible IPTables problems, you should have a LOG target in your
chain JUST before it gets dropped or rejected. This way you can see if an
attempt to send out a packet gets through or not.
The site does exist; I checked. I will try your suggestion >> Since you got "host not found" it seems you cannot access that site. If it does
exist you should make sure to have a working connection. Have you checked with
for example lynx if you can access outside webpages using your current
configuration of iptables?
First of all you should try to ping the site from the box. Ping it by IP. Then try to see if your DNS is working by running this command:
Code:
host install.loncapa.org
If you get an ip out from that you have a working DNS setup and there are no problems there. If this does not work you should take a look at the file /etc/resolv.conf, in this file there should be nameservers listed and they should be up and working (your isp should provide nameservers for you).
If this does work maybe iptables are blocking the traffic for you. You might want to check your iptables-setting out then.
One further thought re iptables blocking :: if FC3 uses one of the 'civilizer' programs (e.g.: ShoreWall) to pre-set a firewall, some of them set up a *very* strict wall, up to and including total lock-out, so if you let one of them run, you may need to figure out how to open the wall using the tool that set it up.
Myself, I learned iptables itself, and just hand-write mt own walls as a start-up script.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.