# Reliawave-Debian-howto.txt
# Christopher M Downs

# Jan 7th 2002
# OS INFO -->
#Vader:/usr/src/linux# uname -a
#Linux Vader 2.4.19-crypto #4 Tue Jan 7 12:43:29 EST 2003 i686 unknown unknown GNU/Linux
#Vader:/usr/src/linux

# CARD INFO -->
# http://www.demarctech.com/products/reliawave-rwz/reliawave-rwz-200mw-prism2-5-pcmcia-card.html
#
# START HERE -->

# Well setting up wireless in linux pretty much sucks so .... I wrote this nice little howto
# to hopefully save you all some time and aggrevation like I went through :)

# Lets get started with Kernel level things
# You need to make sure you dont have pcmcia compiled in and no wireless network options.
# This is cut and paste from my kernel config aka make menuconfig

#1: KERNEL CONFIG -->

# goto General Setup -> PCMCIA/CardBus support
#< > PCMCIA/CardBus support
# Key Note here, MAKE SURE YOU DONT COMPILE THIS IN.
#
# Now goto Network Device support -> Wireless LAN (non-hamradio) --->
# [ ] Wireless LAN (non-hamradio)
# key Note here, MAKE SURE YOU DONT COMPILE THIS IN.

# At this point you want to compile your kernel and reboot
# make dep && make clean && make install && make modules modules_install
# reboot

#2: INSTALL PCMCIA -->

# now you have made it this far we need the new pcmcia-cs source located at:
# wget http://unc.dl.sourceforge.net/sourceforge/pcmcia-cs/pcmcia-cs-3.2.3.tar.gz
#
# Now we need to compile up the pcmcia-cs source code, lets do it.
#
# Vader:/usr/src/linux# tar zxvf ~cdowns/Downloads/pcmcia-cs-3.2.3.tar.gz
# Vader:/usr/src/linux# cd pcmcia-cs-3.2.3/
# ./Configure
# make all
# make install
# NOTE --> make sure everything compiles successfully
# at this point you need to reboot, when you come back up you should see some lights
# and notice that the pcmcia-cs is loaded

# Vader:/usr/src/linux/pcmcia-cs-3.2.3# lsmod | grep pcmcia
# pcmcia_core 38176 0 [prism2_cs ds i82365]
# Vader:/usr/src/linux/pcmcia-cs-3.2.3#
#
# I would verify cardctl can see your card
#
# Vader:~# cardctl ident
# Socket 0:
# product info: " ", "IEEE 802.11 Wireless LAN/PC Card", ""
# manfid: 0xd601, 0x0005
# function: 6 (network)
# Vader:~#
#
# If you see this you can continue to step 3.

#3: INSTALL LINUX-WLAN-NG DRIVERS -->

# ok now youve made it this far go get the linux-wlan-ng drivers
# wget ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-0.1.16-pre7.tar.gz
# tar zvvf linux-wlan-ng-0.1.16-pre7.tar.gz ; cd linux-wlan-ng*
# ./Configure ; make ; make install
#
# Once you have this installed you can now start to configure linux-wlan
# lets move forward.

# You should now have 2 new files in /etc/pcmcia
#
# Vader:/etc/pcmcia# ls -l /etc/pcmcia/ | grep wlan
#-rwxr-xr-x 1 root root 5524 Jan 7 10:53 wlan-ng
#-rwxr-xr-x 1 root root 4491 Jan 7 10:53 wlan-ng.conf
#Vader:/etc/pcmcia#

# and new config files here, these are you stardard config files, you should not have
# to touch the ones in /etc/pcmcia
#
# Vader:/etc/pcmcia# ls -l /etc/wlan/
#total 28
#-rw-r--r-- 1 root root 13400 Jan 7 10:53 shared
#-rw-r--r-- 1 root root 2983 Jan 7 15:16 wlan.conf
#-rw-r--r-- 1 root root 1769 Jan 7 10:53 wlancfg-DEFAULT
#Vader:/etc/pcmcia#

# NOTE -> edit wlan.conf
# to have this entry.

# SSID_wlan0="IDS_watches_j00"
# ENABLE_wlan0="y"
#
# NOTE --> notice the IDS_watches_j00 this means you will now have to create the according file
# like so

# Vader:/etc/wlan# cp wlancfg-DEFAULT wlancfg-IDS_watches_j00
# edit this file with your correct information.

# NOTES about wlancfg-ESSID

# If you are using WEP like i do you will need these entries in place

#=======WEP===========================================
# [Dis/En]able WEP. Settings only matter if PrivacyInvoked is true
# lnxreq_hostWEPEncrypt=true
# lnxreq_hostWEPDecrypt=true
# dot11PrivacyInvoked=true
# dot11WEPDefaultKeyID=0
# dot11ExcludeUnencrypted=true

# If PRIV_GENSTR is not empty, use PRIV_GENTSTR to generate
# keys (just a convenience)
# PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible
# PRIV_KEY128=true # keylength to generate
# PRIV_GENSTR="secretpassword"

# or this way, specify it yourself

# or set them explicitly. Set genstr or keys, not both.
# dot11WEPDefaultKey0=26:3A:95:8A:2A:7D:AA:E5:2A:D3:7C:66:6C

# Now make shure "SharedKey" is enabled.
# AuthType="sharedkey" # opensystem | sharedkey (requires WEP)


# At this point wireless should be working in 2 quick steps.
# verify you card information:
#
# Vader:/etc/wlan# cat /proc/net/p80211/wlan0/wlandev
# p80211 version: 0.1.16-pre7 (Tue Jan 7 10:52:35 EST 2003)
#
# name : wlan0
# bus :
# address : 00:60:b3:71:dc:98
# nsd caps : wep_hw short_preamble hw_frag autojoin
# Enabled : privacy
# Vader:/etc/wlan#

#4: RESTART PCMCIA -->
# restart the pcmcia services.

# /etc/init.d/./pcmcia restart
#
# Attempt to fetch a lease
# /sbin/dhclient wlan0

# You should be seeing this for output at this point.

# Vader:/etc/wlan# ifconfig wlan0
# wlan0 Link encap:Ethernet HWaddr 00:60:B3:71:DC:98
# inet addr:192.168.0.105 Bcast:192.168.0.255 Mask:255.255.255.0
# UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
# RX packets:2053 errors:0 dropped:0 overruns:0 frame:0
# TX packets:3514 errors:0 dropped:0 overruns:0 carrier:0
# collisions:0 txqueuelen:100
# RX bytes:723151 (706.2 KiB) TX bytes:157095 (153.4 KiB)
# Interrupt:3 Base address:0x100
#
# Vader:/etc/wlan#

#5: HINT FOR PROBLEMS -->

#1: another dhclient lease is running
#2: default route is bound to another interface
#3: WEP key is not correct
#4: you are on the incorrect channel or ESSID
#5: you are in ad_hoc instead of infrastructure mode

# Well I hope someone finds this useful as I couldnt find any valuable information on google.com
# or where ever else I went looking for information on this card. Shouts to all angrypacketeers ~!

# http://www.angrypacket.com

# cdowns@bigunz.angrypacket.com

Online Store- Office: 207-244-9068 | efax: 207-433-1008