SuSE Linux: Versions since 7.2
PCMCIA: Version 3.1.25-
Several WaveLan PCMCIA cards are supported (SuSE Linux 7.2, PCMCIA 3.1.25), respective the file '/usr/share/doc/packages/pcmcia/SUPPORTED.CARDS' and according to the manufacturers´ statement.Cards with a Lucent/Agere chipset are plain supported (also wireless extensions), e.g.:
Now the 'Ad Hoc Mode' will be described for instance if you use an ARtem Onair card with Agere/Lucent chipset. If you find in '/var/log/messages' the following entry:
Jul 17 14:38:05 linux cardmgr[3159]: executing: './network start eth0' Jul 17 14:38:05 linux PCMCIA: /etc/pcmcia/wireless will not be executed Jul 17 14:38:05 linux PCMCIA: package wireless-tools is not installedinstall the package 'wireless-tools' from series 'ap'. Configure the network as habitual by the use of YaST1/2 whereupon you should activate the option 'PCMCIA' and please make sure, that the respective 'scheme' SuSE is activated:
cardctl scheme SuSEThe settings for the 'wvlan_cs' driver do in the file
'/etc/pcmcia/wireless.opts'
, by suiting the already
existing section for the 'Ad Hoc Mode' to, e.g.:
... *,*,*,00:02:2D:*) INFO="my WaveLan card with Agere/Lucent Chip " ESSID="Wavelan Network" MODE="Ad-Hoc" KEY="s:secu1" ;; ...Now the encryption is active with the password 'secu1'. The opposite side should also use the same keys and the same passwords. In the file /var/log/messages you can now find the following entries, e.g.:
... Jul 17 20:30:36 linux cardmgr[1255]: socket 1: ARtem Onair ComCard11 Jul 17 20:30:36 linux cardmgr[1255]: product info: "ARtem", "Onair", "Version 1.0", "" Jul 17 20:30:36 linux cardmgr[1255]: manfid: 0x0268, 0x0001 function: 6 (network) Jul 17 20:30:36 linux cardmgr[1255]: executing: 'insmod -v /lib/modules/2.4.4-4GB//pcmcia-dhinds/wvlan_cs.o' Jul 17 20:30:36 linux kernel: wvlan_cs: WaveLAN/IEEE PCMCIA driver v1.0.6 Jul 17 20:30:36 linux kernel: wvlan_cs: (c) Andreas Neuhaus <andy@fasta.fh-dortmund.de> Jul 17 20:30:36 linux cardmgr[1255]: + Using /lib/modules/2.4.4-4GB//pcmcia-dhinds/wvlan_cs.o Jul 17 20:30:36 linux cardmgr[1255]: + Symbol version prefix '' Jul 17 20:30:36 linux kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x2f8-0x2ff 0x378-0x37f 0x3c0-0x3df 0x4d0-0x4d7 Jul 17 20:30:36 linux kernel: cs: IO port probe 0x0300-0x0377: clean. Jul 17 20:30:36 linux kernel: cs: IO port probe 0x0380-0x03bf: clean. Jul 17 20:30:36 linux kernel: cs: IO port probe 0x03e0-0x04cf: clean. Jul 17 20:30:36 linux kernel: cs: IO port probe 0x04d8-0x04ff: clean. Jul 17 20:30:36 linux kernel: cs: IO port probe 0x0800-0x08ff: clean. Jul 17 20:30:36 linux kernel: cs: IO port probe 0x0a00-0x0aff: clean. Jul 17 20:30:36 linux kernel: cs: IO port probe 0x0c00-0x0cff: clean. Jul 17 20:30:36 linux kernel: wvlan_cs: index 0x01: Vcc 5.0, irq 5, io 0x0100-0x013f Jul 17 20:30:36 linux kernel: wvlan_cs: Registered netdevice eth0 Jul 17 20:30:36 linux kernel: wvlan_cs: MAC address on eth0 is 00 02 2d 2b d1 6b Jul 17 20:30:36 linux kernel: wvlan_cs: Found firmware 0x7001C (vendor 1) - Firmware capabilities : 1-2-1-1-1 Jul 17 20:30:36 linux cardmgr[1255]: executing: './network start eth0' Jul 17 20:30:36 linux cardmgr[1255]: + Wavelan IEEE example (Lucent default settings) Jul 17 20:30:36 linux cardmgr[1255]: + /usr/bin/iwconfig eth0 mode Ad-Hoc Jul 17 20:30:36 linux cardmgr[1255]: + /usr/bin/iwconfig eth0 key s:secu1 [1] Jul 17 20:30:36 linux cardmgr[1255]: + /usr/bin/iwconfig eth0 essid "Wavelan Network" Jul 17 20:30:36 linux kernel: wvlan_cs: MAC address on eth0 is 00 02 2d 2b d1 6b Jul 17 20:30:36 linux kernel: wvlan_cs: Found firmware 0x7001C (vendor 1) - Firmware capabilities : 1-2-1-1-1 Jul 17 20:30:36 linux cardmgr[1255]: + Sample private network setup Jul 17 20:30:36 linux cardmgr[1255]: + /sbin/ifconfig eth0 up 192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255 Jul 17 20:30:36 linux modify_resolvconf: Service pcmcia modified /etc/resolv.conf. See info block in this file ...Here instantly should the fact become clear that the 'messages' and the file '/etc/pcmcia/wireless.opts' should only be readable for the user root because the password is shown in plaintext. Please change the rights for 'wireless.opts':
chmod 640 /etc/pcmcia/wireless.optsTo deactivate the encryption, please type:
iwconfig eth0 key offYou can find further possibilities of 'iwconfig' in the respective manual page 'man iwconfig'.
The connection quality can be shown with:
iwspy eth0 + <IP address of the other host> iwspy eth0using 'watch -d -n 1 iwspy eth0' you can have a look at the output permanently.
Another possibility to configure a wavelan network is to use 'Structure Mode' with 'Access Points'.