2012年6月20日 星期三

[Hacking][USB Ethernet Adapter] How to install qf9700 USB Ethernet driver

[Hacking][USB Ethernet Adapter] How to install qf9700 USB Ethernet driver



================

Getting Start

================



1. Extract the compressed driver source file to your template directory by the

   following command:



    [root@localhost template]# tar -xvf qf9700-2.6.32.tar.gz



2. Now, the driver source files should be extracted under the current directory.

   Executing the following command to compile the driver:



    [root@localhost template]# make

          

3. If the compilation is well, the qf9700.ko will be created under the current

   directory.



4. If you want to use modprobe command to mount the driver, executing the

   following command to install the driver into your Linux:



    [root@localhost template]# make install





================

Usage

================



1. If you want to load the driver manually, go to the driver directory and

   execute the following commands:



    [root@localhost anywhere]# modprobe usbnet (usbnet can see qf9700.c)

    [root@localhost template]# insmod qf9700.ko



2. If you had installed the driver during driver compilation, then you can use

   the following command to load the driver automatically.



    [root@localhost anywhere]# modprobe qf9700



If you want to unload the driver, just executing the following command:



    [root@localhost anywhere]# rmmod qf9700

    [root@localhost anywhere]# rmmod usbnet



Reference:

Related Posts:

0 意見:

張貼留言