HOWTO: Fedora Core 5 and wireless configuration with madwifi and wpa_supplicant

First install Fedora Core 5 (duh!)

Then update the whole system with “pup” (Applications –> System Tools –> Software Updater) over a wired connection. BUT FIRST DISABLE THE SCREENSAVER AS IT IS AN EVIL INSTRUMENT OF BEELZEBUB DESIGNED TO FREEZE YOUR SYSTEM AND GENERALLY ANNOY YOU. I apologize for shouting, but this *really* pissed me off, and will probably drive you absolutely bananas as well.

Next enable the livna repository, just follow the instructions. Then execute the following as root to begin installing madwifi: yum install madwifi

If you have no wired connection, just update wpa_supplicant and install madwifi from the livna repository. How, you ask? Try “sneakernet“.

Then, as root open up /etc/modprobe.conf in your favorite editor (you could use nano for example) and add the following:

alias ath0 ath_pci
options ath_pci countrycode=[your_countrycode]

The countrycode line is optional, but I need it to get 13 channels. See the countrycode page on the madwifi site (recommended reading!)

Next open up /etc/sysconfig/wpa_supplicant and change it to this:


Finally, open /etc/wpa_supplicant.conf and edit it to suit your network.

Save and close AND reboot.

Now we can finally start using some GUI’s! Yay! :roll:
First go to System –> Administration –> Network. Select New –> Wireless connection. Then select the Atheros interface (it should be listed!) and continue. Now set it to managed and set the SSID to auto. Do NOT set a key or SSID! This will be done by wpa_supplicant. The rest is standard stuff.
Then go to System –> Administration –> Services. Look up “wpa_supplicant” and check the tickbox next to it. I think that should also start the daemon, but if it doesn’t you can just start it manualy (right click and select start). It should tell you that it was succesfull.
Then go back to that Network configuration GUI we used. You may now deactivate the wired network and then activate the wireless network. You may also wish to set this interface to start on every boot.

NOTE: I am experiencing have experienced big problems here, because for some strange reason, the
wpa_supplicant daemon is initialized AFTER the system tries to start the wireless network. While this may seem a logical order to people who first get dressed and *then* take a shower, this is not the default procedure for people who are NOT complete vegetables.
Fortunately, I found a solution, see this post.

And that is it! It really amazed me why something as simple and basic as this is so extremely poorly documented.


4 Responses to HOWTO: Fedora Core 5 and wireless configuration with madwifi and wpa_supplicant

  1. Sam Ho says:

    Great stuff, thanks a lot!

    Just a note: The (typographically correct) quotes around
    should be replaced by normal, dumb, straight quotes.

  2. Menzonius says:

    I’ve added code tags to get straight quotes, thanks for pointing that out! And nice to see it helped someone ;-)

  3. Vilyampl says:

    Hello! great idea of color of this siyte!

  4. Menzonius says:

    Hi there Vilyampl, glad you like it.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: