Updated for latest code.

This commit is contained in:
mark 2000-01-13 20:53:53 +00:00
parent 5eb9b9529b
commit b8af292e7c

53
README
View file

@ -3,7 +3,7 @@ Top level directory for linux-wlan-ng.
./doc - source distribution documentation
./man - man pages
./scripts - scripts used at run-time
./etc - scripts used at run-time
./src - source code for various components
Note:
@ -11,6 +11,11 @@ Some of the subdirectories have empty README files. This means we haven't
gotten to the contents of these directories. The empty README is just a trick
to prevent CVS from pruning the directory.
The following build and install instructions assume you have configured source
code for both the linux kernel package and pcmcia-cs package installed on your
system. It's important that the configured code for these packages match
the kernel and pcmcia-cs you're running.
Build Instructions:
1) untar the package using
@ -21,43 +26,29 @@ or you can use winzip with the file linux-wlan-ng.tar.
2) Make sure you have configured kernel and pcmcia sources on your system.
3) Modify the config.mk file, here's a description of the settings:
3) To configure the package, run 'make config' and respond to the questions.
LINUX_SRC Path to your kernel source tree
PCMCIA_SRC Path to your pcmcia source tree
MODULES_DIR Path to your modules directory, use by 'make install'
INST_EXEDIR Path to your static bin directory
DESTDIR= Alternate desination prefix for install
4) To build the package, run 'make all'
Note: I haven't tested the install, I'm not sure that all of the components
will make it to their appropriate destinations.
5) To install the package, run 'make install' (as root).
4) Execute the 'make all' command
6) Edit the /etc/pcmcia/wlan-ng.opts file. The only option available at
this point is the DESIRED_SSID. (Card firmware selects a channel
and BSSID).
5) Since we don't have any actual devices yet, you can try loading the modules
by hand. Here's the sequence:
7) Edit your network.opts file to setup your IP settings.
insmod src/p80211/p80211.o
insmod src/skeleton/skelwland_cs.o
8) Restart pcmcia-cs with the command:
now do the following command:
/etc/rc.d/init.d/pcmcia restart
ifconfig wlan0
9) Insert the card. A solid LED indicates that the SSID you specified
was found, a bss was joined, and the firmware completed the authenticate
and associate processes.
You should see that the wlan0 interface exisits. You can try configuring
wlan0. BEWARE, it might leave your system unstable! The skeleton driver
is just a demonstation and test fixture, it skips over alot of stuff a
real driver is supposed to do. You can confirm the skeleton methods being
called by checking your kernel.* output via syslog (you might have to edit
syslog.conf, most distributions send kernel.* to /dev/null by default). Using
this same method you should be able to run wlanctl to send commands down
to the driver. It won't act on them, but it will write an entry to the log
indicating receipt.
When your finished execute the following two commands to remove the modules
from memory.
rmmod skelwlan_cs
rmmod p80211
10) Run ifconfig and route to determine if your IP and route settings are
listed as you wanted them. It's also a good idea to look at the file
/etc/resolv.conf to see if your nameserver address has been set up
right.