<!-- Expand on the summary, if appropriate. A couple sentences suffices to explain the goal, but the more details you can provide the better. -->

<!-- Expand on the summary, if appropriate. A couple sentences suffices to explain the goal, but the more details you can provide the better. -->

−

The goal is add a driver for the AE1000 usb wifi card. To do this I had to use the GPL source code available from [http://www.ralinktech.com/en/04_support/support.php?sn=501 Ralinktech's site] and create the patches needed to add support for the device id of this device as well as enabling the built in support for WPA Supplicant and the LED lights. The next step was to build a spec file and package this as a Fedora RPM.

+

The goal is to add a driver for the AE1000 usb wifi card. To do this I had to use the GPL source code available from [http://www.ralinktech.com/en/04_support/support.php?sn=501 Ralinktech's site] and create the patches needed to add support for the device id of this device as well as enabling the built in support for WPA Supplicant and the LED lights. The next step was to build a spec file and package this as a Fedora RPM.

== Benefit to Fedora ==

== Benefit to Fedora ==

Line 123:

Line 125:

== Documentation ==

== Documentation ==

<!-- Is there upstream documentation on this feature, or notes you have written yourself? Link to that material here so other interested developers can get involved. -->

<!-- Is there upstream documentation on this feature, or notes you have written yourself? Link to that material here so other interested developers can get involved. -->

−

The process to patch and build this driver was first seen in the [http://forums.fedoraforum.org/showthread.php?t=244215 Fedora forum]. It was not packaged, but simply showed what needed patching and how to build. The original discussion and my posts to create patches and package as a src rpm file can be seen [http://forums.fedoraforum.org/showthread.php?t=244215 here].

+

The process to patch and build this driver was first seen in the [http://forums.fedoraforum.org/showthread.php?t=244215 Fedora forum]. It was not packaged, but simply showed what needed patching and how to build. My posts to create patches and package as a src rpm file can be seen on the [http://forums.fedoraforum.org/showthread.php?t=244215&page=3 3rd page] of that discussion.

The goal is to add a driver for the AE1000 usb wifi card. To do this I had to use the GPL source code available from Ralinktech's site and create the patches needed to add support for the device id of this device as well as enabling the built in support for WPA Supplicant and the LED lights. The next step was to build a spec file and package this as a Fedora RPM.

The work on this driver has already been done and is a ready for testing. Since this is a kmod driver using GPL code the scope is limited to adding a driver to the kernel modules that does not exist, and adding supporting conf files for weak modules and for setting the alias of the device.

Let's start by opening gnome-terminal, konsole (if KDE), or switch to another tty (tty2-tty6 are safe options). Next while in your home directory, run the 'rpmdev-setuptree' command. This will create your rpmbuild environment so that you can build the rpm. The whole process should look like this:

Now you will need to install the src rpm file to get the source code, the patches, and the spec file to build the rpm.

If you did not get the src rpm file above, you can download the src.rpm file from here.

While in the terminal, as your user, run the 'rpm' command to install the src rpm file into your 'rpmbuild' directory we created above. Again this will give you all files needed to build the rpm on your system.

Now if look, you should have all the needed files under your 'rpmbuild' directories SOURCES, and SPECS folders. We are ready to build the rpm! That can be built using a simple 'rpmbuild' command as follows:

You will see a lot of output while rpmbuild compiles the driver. If you have the kernel-devel package installed, a suitable compiler and make... all should go well and you should end up with a new rpm under your '~/rpmbuild/RPMS/<YOUR CPU ARCH>' folder.

You are ready to finally install the actual driver from the rpm you just created. Using yum you can install the rpm as follows:

The process to patch and build this driver was first seen in the Fedora forum. It was not packaged, but simply showed what needed patching and how to build. My posts to create patches and package as a src rpm file can be seen on the 3rd page of that discussion.