garnaez_((AT))_yahoo.com
Revision History | ||
---|---|---|
Revision 1.1 | 2002-04-13 | Revised by: gea |
Correct grammar, made things a little more clearer, made software requirements more explicit. | ||
Revision 1.0 | 2002-03-24 | Revised by: gea |
Written because I spent enough figuring this out that I wanted to store "how I did it" somewhere I wouldn't lose it and figure you all might like it too. |
Debian Distribution. I find the 'testing' distribution to work well
go to Absolute Systems and download the 11Mbps linux-wlan(tm) Project
you need the pcmcia-cs. Get this by
apt-get install pcmcia-cs |
This is different from pcmcia-source which I also asked you apt-get. Thus also do
apt-get install pcmcia-source |
You need the wireless tools so
apt-get install wireless-tools |
You will also need some way to setup you IP address on your wireless card, I recommend either
apt-get install DHCP-client |
Or at least have the pump application, which also will query a DHCP server and get you an IP address from the DHCP server. Note I tend to use pump when I am trying out new hardware to see if there is a connection, since to test a particular device, say eth0 I would type
pump -i eth0 |
pump -i wlan0 |
I also recommend you use the "kernel-package" package when you want to build your new kernel, which I will get to. This tool is very good and you should be using it anyway when you are building new kernel for the Debian distribution. You can install it by typing
apt-get install kernel-package |
Go to:
Network Device support -->
then Select:
Wireless LAN (non-hamradio) --->
make xconfig |
make menuconfig |
General setup |
Nor do you want to select any particular pcmcia card under
Network device support |
![]() | Be sure to download all the necessary components before you take pcmcia support out of the kernel, otherwise, if you were using a pcmcia card for net access, you will not be able to connect to the Internet using the new kernel, until you have built both pcmcia support and module drivers for the wireless card |
![]() | Note: makepine -kpkg was installed when you installed kernel-package |
Follow the instruction in the make-kpkg documentation but essentially:
/usr/src/linux |
make-kpkg clean |
to clean all the binaries out and prepare to build a new kernel, then:
make-kpkg --revision-custom.1.0 kernel_image |
![]() | Don't Do this Yet! |
First, be sure to download pcmcia-source, by typing
apt-get install pcmcia-source |
/usr/src |
pcmcia-source.tar.gz |
You now need to gunzip the file by
gunzip pcmcia-source.tar.gz |
tar xvf pcmcia-source.tar |
You should see pcmcia-source unpacked into the directory
/usr/src/modules/pcmcia-cs |
Be sure the pcmcia-source is under /usr/src/modules.
To build the kernel and pcmcia-source, be sure you are under the
/usr/src/linux |
make-kpkg --revision=custom.1.0 kernel_image modules_image |
/usr/src/modules/ |
After some chugging, go up one level to
/usr/src |
kernel-image-2.4.19-pre4_custom.1.0_i386.deb
pcmcia-modules-2.4.19-pre4_3.1.31-7+custom.1.0_i386.deb
You first want to install the kernel image so you would type
dpkg -i kernel-image-etc.... |
Now install the modules by typing
dpkg -i pcmcia-modules.etc... |
![]() | There are a couple of assumptions that make-kpkg makes about your lilo.conf file is that you have not radically changed it. the new kernel will be installed over the older kernel image and the older kernel image will be moved to linux.old. Anyway if you have any questions ask me. |
make config |
/usr/src/modules/pcmcia-cs |
make all |
make install |
networks.opt |
/etc/pcmcia |
To make things easier edit the option
# Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
DHCP="y"
The documentation talks about setting ESSID but when you edit the
wlan-ng.opts |
#=======INFRASTRUCTURE STATION START===================
# SSID is all we have for now
AuthType="opensystem" # opensystem | sharedkey (requires WEP)
DesiredSSID="howardnet"
From what I can gather,DesiredSSID means ESSID and it works when the WAP and link-sys pcmcia card share the same name.
At this point, you should reboot and should have a working link-sys card that gets its address via DHCP.
ifconfig |
You should something like this
pump -i wlan0 |
apt-get install pump |
pump -i wlan0 |
Network device support |
Wireless LAN (non-hamradio) |
Hermes chipset 802.11b support (Orinoco/Prism2/Symbol) |
iwconfig |
iwspy |