1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<META name="GENERATOR" content="vim">
<META name="PUBLISHER" content="Wolfgang Fuschlberger">
<META name="LANGUAGE" content="en">
<META name="KEYWORDS" content="wireless, lan, wlan, ovislink, pcmcia, access, point, linux, wep, encryption, radio, wlan-ng, wlan-ng.conf, manual">
<META name="AUTHOR" content="Wolfgang Fuschlberger">
<META name="COPYRIGHT" content="Wolfgang Fuschlberger">
<META name="ROBOTS" content="all">
<META name="revisit-after" content="10 days">
<TITLE>Linux and Wireless Ovislink Airlive WL-1100AP/WL-1100PCM with Intersil Prism2 Chipset</TITLE>
<SCRIPT type="text/javascript" language="JavaScript">
<!--
if (parent.frames.length) parent.location.href = location.href;
//-->
</SCRIPT>
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#AA00BA" alink="#FF0000">
<BR>
<H1 align="center">Ovislink Airlive WL-1100AP Access Point<BR>Ovislink Airlive WL-1100PCM PCMCIA Adapter</H1>
<BR><BR>
<P>
<hr>
<em>
On this page you will a find a short guide on how to set up this wireless hardware under Linux.<BR>
I wrote it because when I searched google I found <span style="font-weight:bold">nothing</span> about this Hardware.
</em>
<hr>
</P>
<P>
All comments, suggestions etc. are welcome. Please contact me at <A HREF="mailto:wf-hp@gmx.net">wf-hp@gmx.net</A>.
</P>
<hr width="40%" align="center">
<P>
A few days ago I decided to get me a new toy. I bought a wireless LAN-Card together with an access-point (short AP) to avoid 20 metres of Twisted-Pair Cable lying through the corridors of my home.</P>
<P>I chose the Ovislink hardware, because on the box of the PCMCIA-card Linux was listed as an OS which supported the card. The manual of the AP which they allowed me to read in the shop said it had to be configured over SNMP. After doing a little research on google I found out, that chances were good this could be done with one of the programs from ap-utils. I hoped it would work, but I have to confess I would have also used Windows for the configuration, since the price was rather low and I badly wanted to have that thing.
</P>
<P>
I own a HP Omnibook XE3-GC (the old variant with the Savage-Chip) running Debian/sarge at the moment (in stable/woody the package ap-utils was not included) and a router running Debian/woody, which now got a second NIC (network interface card) to attach the AP.
</P>
<hr width="80%" align="center">
<BR>
<H3>
Setting up the PCMCIA-Card
</H3>
<P>
The WLAN-Card has a Prism2-Chip which is supported by linux-wlan-ng.
<BR>
In this file I will only cover the relevant details for WLAN-Configuration. For the basics please refer to the <A HREF="http://www.tldp.org/HOWTO/PCMCIA-HOWTO.html"><U>PCMCIA-HOWTO</U></A>.
</P>
<P>
I heard reports that this card also worked with orinoco_cs. I will continue to use prism2_cs since it is the 'official' driver-module offered by Ovislink, but I am interested in reports about using orinoco_cs, especially the differences to prism2_cs.
</P>
<P>
Things you need for compiling linux-wlan-ng:<BR>
- sources of linux-wlan-ng from <A HREF="http://www.linux-wlan.com"><U>http://www.linux-wlan.com</U></A><BR>
- sources of pcmcia-cs from <A HREF="http://pcmcia-cs.sourceforge.net"><U>http://pcmcia-cs.sourceforge.net</U></A><BR>
- sources of your linux kernel from <A HREF="http://www.kernel.org"><U>http://www.kernel.org</U></A>
</P>
<P>
For Debian-users: <code>apt-get source linux-wlan-ng pcmcia-cs kernel-source-`uname -r`</code>
</P>
<P>
Run <code>./Configure</code> in the source-directory of pcmcia-cs.
</P>
<P>
Run <code>./Configure</code> in the source-directory of linux-wlan-ng and answer the following question with yes:<BR>
<code>
Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]: y
</code>
</P>
<P>
The other modules (PCI- and USB-drivers) are not needed.
</P>
<P>
Compile and install (as root) pcmcia-cs (if it is not installed yet) and linux-wlan-ng by running in both of the source-directories:<BR>
<code>make && make install</code>.
</P>
<P>
Add the following lines to the file <code>/etc/pcmcia/config.opts</code>. In case you are using Debian you can add it to <code>/etc/pcmcia/wlan-ng.conf</code>, since all *.conf-files in <code>/etc/pcmcia/</code> are sourced from <code>/etc/pcmcia/config.opts</code>:
</P>
<P>
<code>
card "Intersil PRISM2 11 Mbps Wireless Adapter"<BR>
manfid 0x0156, 0x0002<BR>
bind "prism2_cs"
</code>
</P>
<P>
With this card-definition the card will be recognized correctly by cardmgr when it is inserted into the PCMCIA-slot and the module <code>/lib/modules/`uname -r`/pcmcia/prism2_cs.o</code> will be loaded.
</P>
<P>
Next you have to configure the files <code>/etc/pcmcia/network.opts</code> for the network-parameters of the WLAN-interface <code>/dev/wlan0</code> and <code>/etc/pcmcia/wlan-ng.opts</code> for the WLAN-configuration itself. Both files are commented thoroughly and the names of the variables are rather self-explaining.
</P>
<BR>
<P>
This is my <code>/etc/pcmcia/wlan-ng.opts</code> without the Comment-lines:<BR>
(YES, I changed my WEP-keys :-) )
</P>
<P>
<code>
============ Begin of File /etc/pcmcia/wlan-ng.opts ============<BR>
WLAN_VERSION=0<BR>
WLAN_PATCHLEVEL=1<BR>
WLAN_SUBLEVEL=15<BR>
WLAN_EXTRAVERSION=<BR>
<BR>
case "$ADDRESS" in<BR>
wlannoenable,*,*,*)<BR>
WLAN_ENABLE=n<BR>
;;<BR>
*,*,*,*)<BR>
#=======WEP===========================================<BR>
lnxreq_hostWEPEncrypt=true<BR>
lnxreq_hostWEPDecrypt=true<BR>
dot11PrivacyInvoked=true<BR>
dot11WEPDefaultKeyID=0<BR>
dot11ExcludeUnencrypted=true<BR>
dot11WEPDefaultKey0=01:23:45:67:89:AB:CD:EF:00:00:00:00:00<BR>
dot11WEPDefaultKey1=CC:CC:CC:CC:CC:CC:CC:CC:CC:CC:CC:CC:CC<BR>
dot11WEPDefaultKey2=FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:F0<BR>
dot11WEPDefaultKey3=00:00:00:00:00:00:00:00:00:00:00:00:0F<BR>
<BR>
#=======SELECT STATION MODE===================<BR>
IS_ADHOC=n # y|n, y - adhoc, n - infrastructure<BR>
<BR>
#=======INFRASTRUCTURE STATION START===================<BR>
AuthType="sharedkey"<BR>
DesiredSSID="wlan"<BR>
<BR>
#=======ADHOC STATION START============================<BR>
SSID="adhoc-wlan"<BR>
BCNINT=100<BR>
CHANNEL=6<BR>
BASICRATES="2 4"<BR>
OPRATES="2 4 11 22"<BR>
;;<BR>
esac<BR>
============ End of File /etc/pcmcia/wlan-ng.opts ============
</code>
</P>
<P>
The settings for ad-hoc-mode are untested, since I have not yet found anybody for testing.
</P>
<P>
The nickname of the card can be set with the following command:<BR>
<code>
wlancfg set wlan0<BR>
p2CnfOwnName=mynewnickname
</code>
</P>
<BR>
<P>
This is my <code>/etc/pcmcia/networks.opts</code> without the Comment-lines:
</P>
<P>
<code>
============ Begin of File /etc/pcmcia/networks.opts ============<BR>
case "$ADDRESS" in<BR>
*,*,*,*)<BR>
BOOTP="n"<BR>
DHCP="n"<BR>
PPPOE="n"<BR>
WHEREAMI="n"<BR>
IPADDR="192.168.1.1"<BR>
NETMASK="255.255.255.0"<BR>
IPMASQ="n"<BR>
start_fn () { return; }<BR>
stop_fn () { return; }<BR>
NO_CHECK=n<BR>
NO_FUSER=n<BR>
;;<BR>
esac<BR>
============ End of File /etc/pcmcia/networks.opts ============
</code>
</P>
<P>
In my case I did not have to set a gateway because I am running a 1024bit-encrypted VPN (from <A HREF="http://www.tinc.org"><U>www.tinc.org</U></A>) over the radio-connection which is my default route.
</P>
<hr width="80%" align="center">
<BR>
<H3>
<A name="accesspoint">
Setting up the Access-Point
</A>
</H3>
<P>
<span style="font-weight:bold">Important Note:</span> You can configure everything under Linux. No need to boot Windows.
</P>
<P>
Some interesting facts (which took me quite some time to find in the manual):<BR>
Default-IP-address: 192.168.0.1<BR>
Default-password: public<BR>
Needed Cable: straight TwistedPair-Cable when connected to a switch or hub, a crossover cable when connecting directly to a NIC (network interface card)
</P>
<P>
Download ap-utils from <A HREF="http://ap-utils.polesye.net/"><U>http://ap-utils.polesye.net/</U></A>.
</P>
<P>
Compile the programs:<BR>
<code>
./configure<BR>
make && make install
</code>
</P>
<P>
Start the program <code>ap-config</code>.
</P>
<P>
Enter the default-IP-address of the AP (192.168.0.1), the default-password ('public') and choose 'AP type: ATMEL'<BR>
This should connect you to the AP.<BR>
If this does not work check your network and routing settings, especially the netmask
</P>
<P>
The configuration is explained in the manual that came with the AP.
</P>
<BR>
<H5>
Some oddities you may encounter:
</H5>
<P>
The WEP saved in the AP will never displayed, even though they were entered and saved correctly. The only thing you can to ensure encryption works is testing it with a WLAN-card and checking it with <code>wlancfg show wlan0</code>
</P>
<BR>
<P>
One really interesting feature of ap-config is the possibility of changing the radio power output of the AP:
</P>
<P>
This scale is everything I guessed so far. If you have any more details please let me know:
</P>
<table border="0" cellspacing="5" cellpadding="0">
<tr>
<td>
<P align="center">
decimal number in ap-config
</P>
</td>
<td>
<P align="center">
power output
</P>
</td>
</tr>
<tr>
<td>
<P align="center">
128
</P>
</td>
<td>
<P align="center">
100% (whatever this means in W)
</P>
</td>
</tr>
<tr>
<td>
<P align="center">
255/0
</P>
</td>
<td>
<P align="center">
50%
</P>
</td>
</tr>
<tr>
<td>
<P align="center">
127
</P>
</td>
<td>
<P align="center">
0%/off
</P>
</td>
</tr>
</table>
<BR>
<P>
Have fun!
</P>
<BR>
<BR>
<BR>
<BR>
<P align="center">
© 2002 by <A HREF="mailto:wf-hp@gmx.net">Wolfgang Fuschlberger</A><BR>
last update: 2002-11-24
</P>
<center>
<!--WEBBOT bot="HTMLMarkup" startspan ALT="Site Meter" -->
<script type="text/javascript" language="JavaScript">var site="s14wlanguide"</script>
<script type="text/javascript" language="JavaScript1.2" src="http://s14.sitemeter.com/js/counter.js?site=s14wlanguide">
</script>
<noscript>
<a href="http://s14.sitemeter.com/stats.asp?site=s14wlanguide" target="_top">
<img src="http://s14.sitemeter.com/meter.asp?site=s14wlanguide" alt="Site Meter" border=0></a>
</noscript>
<!-- Copyright (c)2002 Site Meter -->
<!--WEBBOT bot="HTMLMarkup" Endspan -->
</center
</BODY>
</HTML>
<!--(c) 2002 by Wolfgang Fuschlberger-->
|