If you want to build the kernel under the kernel of 2.4.x, one has to let the variable
KERN_24=y and comment the KERN_26=y like that as the example above and modify
the variable KERNEL_SOURCE to the path which you install the kernel source. After
doing these things, one just need to type the
“
make
”
, and the driver module will be
generated and installed.
2.3 Install individual driver:
If you only need driver of ZD1211 or ZD1211B, you can issue:
make clean
make ZD1211REV_B=0
(0 for ZD1211, 1 for ZD1211B)
make ZD1211REV_B=0 install
(0 for ZD1211, 1 for ZD1211B)
to install the driver.
2.4 Build the debugging tool:
There are two debugging tools in this package, “
apdbg
” and “
menudbg
”. Run “
make
debug
” to compile them both. If you don’t have the ncurse library, you may get some
error messages while compiling
menudbg
.
You can ignore it and get
apdbg
only
3.
Getting Start:
3.1 Load the driver:
One can use the modprobe –v zd1211 (or zd1211b) to load our driver. In order to check
whether our driver is loaded successfully, one can use the “
lsmod
” for this check. If our
driver is loaded successfully, the following messages should be seen
...
zd1211 183576 0 (unused)
...
Please note that the 183576 may not be the same as that in your system.
3.2 Open the network interface:
In our driver, we will stop all the commands until the network interface assigned to us is
opened. One can open the network interface by the following command
]$ ifconfig ethX up
or
]$ ifconfig ethX <IP address>
3.3 Configure the Wireless settings
In our driver, we support the wireless extension commands to control our driver.
PARAMETERS:
essid :
Set the ESSID (or Network Name - in some products it may also called Domain
ID). The ESSID is used to identify cells which are part of the same virtual
network.