Instructions for building the driver in an unsupported kernel.

You must be logged in as root user, have the kernel source and build tools 
(gcc, make, etc) installed. You can verify the kernel source is installed,
by looking in /usr/src/linux. If the kernel source is not installed, you
can download it from ftp.redhat.org or install it from the distribution
CDs.

Step 1:
Change current directory to the kernel source directory
(for example: /usr/src/linux-2.4).

On Red Hat 8.0+, to clean the compilation folders 
and to save your possible existing kernel configuration, run:
   
   mkdir ~/oldconfigs
   cp -f ./.config* ~/oldconfigs/
   make mrproper
   cp -f ~/olconfigs/.config* ./
   rm -rf ~/oldconfigs


On Red Hat 7.2, to clean the compilation folders:

   make clean

This option preserves your existing kernel configuration.

Step 2:
Copy fx.c into the Linux kernel source tree in the drivers/net 
subdirectory. (This requires a 2.4 series kernel).

Step 3:
Edit the drivers/net/Makefile.
Search for export-objs and add "fx.o" to the end of the list.
Search for CONFIG_DUMMY, and add a line after it like this:

   obj-$(CONFIG_FX) += fx.o

Save the file.

Step 4:
Open drivers/net/Config.in, search for CONFIG_DUMMY again and
add a line below it - like this:

   tristate 'F/X Communications Network Filter' CONFIG_FX

Save the file.

Step 5:
Then run "make config", "make menuconfig" or "make xconfig"
to select the F/X driver.

Under "Network device support" find the "F/X Communications
Network Filter" and select it as a module <M>.

In 2.4.20+ kernels, select "CRC32 functions" as a built-in
code <*>.

Exit the kernel configuration and choose to save the new
kernel configuration.  

Step 6:
Edit the Makefile, search for EXTRAVERSION an set the value
of this variable to the version of your installed kernel

Step 7:
Run "make dep" and then "make modules".  You will now have
a useable fx.o in drivers/net/.  You can either use "make
modules_install" to install the driver or do it manually.

To install the module manually, copy drivers/net/fx.o to
/lib/modules/<kernel_version>/drivers/net, where <kernel_version>
is version number of newly build kernel.

Step 8:
Run Install.sh in InJoy Firewall/InJoy Dialer directory. Reboot
after installation.

Contact support@fx.dk for more information.
