TWiki> CF Web>LinuxPages>RedHatFedora (revision 9)EditAttach

RedHat Linux and Fedora Core Stuff

Modified yum.conf

You can get RH/Fedora stuff on campus at rha.uwaterloo.ca.

Sample yum.conf using local repositories:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1

[Local-base]
name=Red Hat Linux $releasever - $basearch - UW Base
baseurl=http://rha.uwaterloo.ca/linux/RedHat-distros/$releasever/Fedora/RPMS

[Local-updates]
name=Red Hat Linux $releasever - UW Updates
baseurl=http://rha.uwaterloo.ca/linux/RedHat-updates/$releasever/

# Broken at least as of 10 February 2005
#[Local-addons]
#name=UW-isms repository
#baseurl=http://rha.uwaterloo.ca/yum

##EXTRA repositories
#[dag] 
#name=Dag RPM Repository for Fedora Core 
#baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag

apt

yum sucks. One can do yum install apt with the above yum.conf, and get yummy apt. Try the following in /etc/apt/sources.list:

rpm http://redhat-archive.uwaterloo.ca/apt fedora/3/i386 os updates uw

where the digit fedora/3 matches your FC release. One can get brave and try upgrading a system in-place by incrementing this digit. (Decrementing it is not at all recommended.) After that, you can pretend it's a Debian system that uses rpm.

Atheros Wireless Card in Fedora Core 4

  • All you have to do is run the following script!
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi
cd madwifi
make clean
make
sudo make install
modprobe ath_pci

Atheros Wireless Card in Fedora Core 3

Assumptions

  • All the following commands will be executed as the super user, root
  • A kernel upgrade removes these installed drivers, thus requiring a re-build of these drivers
  • I was running Fedora Core 3, with kernel 2.6.9-1.667!
  • The kernel source package must match your kernel's version, thus in the future, download the corresponding .src.rpm file

Pre-requisites

  • Install development packages through the system-config-packages --isodir=/home/cscf-adm/ utility
    • NOTE: You must have the ISOs of FC3 in the isodir directory. Otherwise, remove that parameter and use your FC3 CDs
  • yum install sharutils -- needed by madwifi
  • Get kernel source: ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/core/3/i386/os/SRPMS/kernel-2.6.9-1.667.src.rpm
  • rpm -Uvh kernelsourcepackage.src.rpm
  • cd /usr/src
  • tar -xvjf redhat/SOURCES/linux-2.6.9.tar.bz2
  • wait
  • cp redhat/SOURCES/linux-2.6.9-i686.config linux/.config

Getting the madwifi sources

  • cd
  • cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi * co madwifi

Building the kernel modules

  • cd madwifi
  • make
  • make install

Load the modules

  • modprobe ath_pci

Final Steps

  • Used the network configuration application to configure the card
  • Activate the connection smile
  • Enjoy! wink

Selinux and Apache

You may have difficulty with Apache if you've enabled Selinux. I found that system-config-securitylevel was somewhat counterintuitive in that if you check everything under the httpd dropdown, it won't work as expected. Rather, just check "Disable selinux for httpd" and leave it at that. That's probably not very safe, but it seems to let everything Just Work, anyway. For light-duty workstations, is selinux really best anyway? See attached image.

Intel D925XECV2 and D925XCV2 motherboard

Network install for updated sk98lin drivers

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng selinux_httpd.png r1 manage 35.5 K 2005-03-07 - 15:16 MikePatterson What selinux control panel looks like with httpd working
Unknown file formatuber yum.conf.uber r1 manage 0.6 K 2004-08-18 - 19:39 MikePatterson uber's yum.conf as of June 2004
Edit | Attach | Watch | Print version | History: r13 | r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r9 - 2006-02-07 - www
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback