OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: [lwlan-user]: CompaqWL200+CiscoAP+Linux=Not_Working
From: Vlad (vladworldsrv.net)
Date: Tue Dec 12 2000 - 13:14:00 CST


You're having the same problem that I had with a Samsung card (which is
basically the same as the compaq) - It never asks for an IRQ because in
Windows it wouldn't need one.
Mark pointed me to the fact that the CIS is outdated. I'm sure that you
could get the updated info from either Compaq or Samsung, but I just started
using a defferent card altogether.

notice that your /proc/interrupts doesn't list any IRQ's used by prism2_cs
after you start PCMCIA.

hope that helps

Vlad

----- Original Message -----
From: "Scott Franzyshen" <sfranzyshenlazerlink.net>
To: <linux-wlan-userabsoval.com>
Sent: Tuesday, December 12, 2000 3:36 PM
Subject: [lwlan-user]: CompaqWL200+CiscoAP+Linux=Not_Working

> OK no one responded to my last post
> "linux-2.2.16+pcmcia-cs-3.1.22+linux-wlan-ng-0.1.7+WL200"
> Maybe because I wasn't very complete with my problem(s).
> Here I go again, but with a little more detail
> Please help if you can
>
>
> ** Here is what I have done (and what is not working)
> ** assuming that I have kernel source installed ... blah blah
>
> cd /usr/src
> tar -xvzf pcmcia-cs-3.1.22.tar.gz
> tar -xvzf linux-wlan-ng-0.1.7.tar.gz
>
> cd pcmcia-cs-3.1.22
> make config
> <used defaults>
> make all
> make install
>
> cd ../linux-wlan-ng-0.1.7
>
> ** I edited prism2sta.c and forced it to set link->conf.Vcc = 33;
>
> make config
> <used defaults>
> make all
> make install
>
> ** I edited the /etc/pcmcia.conf and here is what it looks like
>
> PCIC=i82365
> PCIC_OPTS=irq_mode=1 fast_pci=1
> CORE_OPTS=
> CARDMRG_OPTS=
> SCHEME=
>
> ** Here is what my wlan-ng.opts file looks like
> ** I didn't edit the wlan-ng.conf file becuase the WL100 has the same
> ** Manufacture ID ... and so it loads the right stuff.
>
> case "$ADDRESS" in
> *,*,*,*)
> WLAN_ENABLE=y
> dot11DesiredSSID="linux-wlan"
> ;;
> esac
>
> ** Before I fire everything off here is what stuff looks like
> ** the stuff with >> infront of it is the results to commands run
>
> lsmod ** command run
>
> >>Module Size Used by ** result returned
>
> /usr/src/pcmcia-cs-3.1.22/cardmrg/probe
>
> >>PCI bridge probe: Cirrus PD6729 found, 2 sockets.
>
> cat /proc/ioports
>
> >>0000-001f : dma1
> >>0020-003f : pic1
> >>0040-005f : timer
> >>0060-006f : keyboard
> >>0070-007f : rtc
> >>0080-008f : dma page reg
> >>00a0-00bf : pic2
> >>00c0-00df : dma2
> >>00f0-00ff : fpu
> >>0170-0177 : ide1
> >>01f0-01f7 : ide0
> >>02f8-02ff : serial(set)
> >>0376-0376 : ide1
> >>03c0-03df : vga+
> >>03f6-03f6 : ide0
> >>03f8-03ff : serial(set)
> >>f000-f007 : ide0
> >>f008-f00f : ide1
>
> cat /proc/interrupts
>
> >> CPU0
> >> 0: 250965 XT-PIC timer
> >> 1: 3511 XT-PIC keyboard
> >> 2: 0 XT-PIC cascade
> >> 3: 231 XT-PIC serial
> >> 8: 2 XT-PIC rtc
> >> 13: 1 XT-PIC fpu
> >> 14: 6955 XT-PIC ide0
> >> 15: 54926 XT-PIC ide1
> >>NMI: 0
>
> ** If I fire everything off here is what happens
>
> /etc/init.d/pcmcia start
>
> ** I get the two beeps from cardmrg ...
>
> lsmod
>
> >>Module Size Used by
> >>prism2_cs 53172 0 (unused)
> >>p80211 15440 1 [prism2_cs]
> >>ds 6624 2 [prism2_cs]
> >>i82365 21824 2
> >>pcmcia_core 44756 0 [prism2_cs ds i82365]
>
> cat /proc/ioports
>
> >>0000-001f : dma1
> >>0020-003f : pic1
> >>0040-005f : timer
> >>0060-006f : keyboard
> >>0070-007f : rtc
> >>0080-008f : dma page reg
> >>00a0-00bf : pic2
> >>00c0-00df : dma2
> >>00f0-00ff : fpu
> >>0100-013f : prism2_cs
> >>0170-0177 : ide1
> >>01f0-01f7 : ide0
> >>02f8-02ff : serial(set)
> >>0376-0376 : ide1
> >>03c0-03df : vga+
> >>03f6-03f6 : ide0
> >>03f8-03ff : serial(set)
> >>6000-6001 : i82365
> >>f000-f007 : ide0
> >>f008-f00f : ide1
>
> cat /proc/interrupts
>
> >> CPU0
> >> 0: 346702 XT-PIC timer
> >> 1: 6683 XT-PIC keyboard
> >> 2: 0 XT-PIC cascade
> >> 3: 288 XT-PIC serial
> >> 8: 2 XT-PIC rtc
> >> 11: 0 XT-PIC i82365
> >> 13: 1 XT-PIC fpu
> >> 14: 7135 XT-PIC ide0
> >> 15: 54967 XT-PIC ide1
> >>NMI: 0
>
> dump_cis
>
> >>Socket 0:
> >> dev_info
> >> NULL 0ns, 512b
> >> attr_dev_info
> >> SRAM 500ns, 1kb
> >> vers_1 5.0, "Compaq", "WL200_11Mbps_Wireless_PCI_Card", "", ""
> >> manfid 0x0138, 0x0002
> >> funcid network_adapter
> >> lan_technology wireless
> >> lan_speed 1 mb/sec
> >> lan_speed 2 mb/sec
> >> lan_media 2.4_GHz
> >> lan_node_id 00 50 8b 46 c0 ab
> >> lan_connector Closed connector standard
> >> config base 0x03e0 mask 0x0001 last_index 0x01
> >> cftable_entry 0x01 [default]
> >> Vcc Vmin 4750mV Vmax 5250mV Iavg 300mA Ipeak 300mA
> >> Idown 10mA
> >> io 0x0000-0x003f [lines=6] [16bit]
> >>
> >>Socket 1:
> >> no CIS present
>
> cardctl status
>
> >>Socket 0:
> >> 3.3V 16-bit PC Card
> >> function 0: [ready]
> >>Socket 1:
> >> no card
>
> cardctl config
>
> >>Socket 0:
> >> Vcc 3.3V Vpp1 0.0V Vpp2 0.0V
> >> interface type is "memory and I/O"
> >> function 0:
> >> config base 0x03e0
> >> option 0x01
> >> io 0x0100-0x013f [16bit]
> >>Socket 1:
> >> not configured
>
> cardctl ident
>
> >>Socket 0:
> >> product info: "Compaq", "WL200_11Mbps_Wireless_PCI_Card", "", ""
> >> manfid: 0x0138, 0x0002
> >> function: 6 (network)
> >>Socket 1:
> >> no product info available
>
> ** Here is what shows up in syslog
>
> Dec 12 06:49:37 shaggy kernel: Linux PCMCIA Card Services 3.1.22
> Dec 12 06:49:37 shaggy kernel: kernel build: 2.2.16 unknown
> Dec 12 06:49:37 shaggy kernel: options: [pci] [pnp]
> Dec 12 06:49:37 shaggy kernel: PnP: PNP BIOS installation structure at
> 0xc00fbec0
> Dec 12 06:49:37 shaggy kernel: PnP: PNP BIOS version 1.0, entry at
> f0000:bee8, dseg at f0000
> Dec 12 06:49:37 shaggy kernel: Intel PCIC probe:
> Dec 12 06:49:37 shaggy kernel: Cirrus PD6729 rev 00 PCI-to-PCMCIA at
slot
> 00:11, port 0x6000
> Dec 12 06:49:37 shaggy kernel: host opts [0]: [ring] [pci irq 11]
> [1/5/0] [1/20/0]
> Dec 12 06:49:37 shaggy kernel: host opts [1]: [ring] [pci irq 11]
> [1/5/0] [1/20/0]
> Dec 12 06:49:37 shaggy kernel: PCI card interrupts, PCI status changes
> Dec 12 06:49:37 shaggy cardmgr[617]: starting, version is 3.1.22
> Dec 12 06:49:38 shaggy cardmgr[617]: watching 2 sockets
> Dec 12 06:49:38 shaggy kernel: cs: IO port probe 0x0c00-0x0cff: clean.
> Dec 12 06:49:38 shaggy kernel: cs: IO port probe 0x0800-0x08ff: clean.
> Dec 12 06:49:38 shaggy kernel: cs: IO port probe 0x0100-0x04ff: excluding
> 0x200-0x20f 0x220-0x22f 0x330-0x337 0x388-0x38f
> Dec 12 06:49:38 shaggy kernel: cs: IO port probe 0x0a00-0x0aff: excluding
> 0xaf8-0xaff
> Dec 12 06:49:38 shaggy cardmgr[617]: initializing socket 0
> Dec 12 06:49:38 shaggy kernel: cs: memory probe 0x0d0000-0x0dffff: clean.
> Dec 12 06:49:38 shaggy cardmgr[617]: socket 0: Compaq WL100 11Mb/s WLAN
Card
> Dec 12 06:49:38 shaggy cardmgr[617]: executing: 'modprobe prism2_cs'
> Dec 12 06:49:38 shaggy kernel: p80211.o: 0.1.7 Loaded
> Dec 12 06:49:38 shaggy kernel: init_module: prism2_cs.o: 0.1.7 Loaded
> Dec 12 06:49:38 shaggy kernel: init_module: dev_info is: prism2_cs
> Dec 12 06:49:39 shaggy kernel: prism2_cs: index 0x01: Vcc 3.3, io
> 0x0100-0x013f
> Dec 12 06:49:39 shaggy kernel: ident: nic h/w: id=0x8002 1.0.1
> Dec 12 06:49:39 shaggy kernel: ident: pri f/w: id=0x15 0.3.0
> Dec 12 06:49:39 shaggy kernel: ident: sta f/w: id=0x1f 0.8.0
> Dec 12 06:49:39 shaggy kernel: MFI:SUP:role=0x00:id=0x01:var=0x00:b/t=1/1
> Dec 12 06:49:39 shaggy kernel: CFI:SUP:role=0x00:id=0x02:var=0x00:b/t=1/1
> Dec 12 06:49:39 shaggy kernel: PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/2
> Dec 12 06:49:39 shaggy kernel: STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/5
> Dec 12 06:49:39 shaggy kernel:
> PRI-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1
> Dec 12 06:49:39 shaggy kernel:
> STA-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1
> Dec 12 06:49:39 shaggy kernel:
> STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
> Dec 12 06:49:39 shaggy kernel: Prism2 card SN: 39 39 53 41 30 31 30 30 30
30
> 30 30
> Dec 12 06:49:39 shaggy cardmgr[617]: executing: './wlan-ng start wlan0'
> Dec 12 06:49:40 shaggy cardmgr[617]: + message=dot11req_mibset
> Dec 12 06:49:40 shaggy cardmgr[617]: +
> mibattribute=dot11DesiredSSID=linux-wlan
> Dec 12 06:49:40 shaggy cardmgr[617]: + resultcode=success
> Dec 12 06:49:40 shaggy cardmgr[617]: + message=dot11req_associate
> Dec 12 06:49:40 shaggy cardmgr[617]: + peerstaaddress=no_value
> Dec 12 06:49:40 shaggy cardmgr[617]: + associatefailuretimeout=no_value
> Dec 12 06:49:40 shaggy cardmgr[617]: + cfpollable=no_value
> Dec 12 06:49:40 shaggy cardmgr[617]: + cfpollreq=no_value
> Dec 12 06:49:40 shaggy cardmgr[617]: + privacy=no_value
> Dec 12 06:49:40 shaggy cardmgr[617]: + listeninterval=0
> Dec 12 06:49:40 shaggy cardmgr[617]: + resultcode=success
>
> ** If I check to see what channel the card is currently using I can
> ** see that it is scanning through the channels, but no connection
>
> wlanctl-ng wlan0 dot11req_mibget mibattribute=dot11CurrentChannel
>
> >>message=dot11req_mibget
> >> mibattribute=dot11CurrentChannel=3
> >> resultcode=success
>
> wlanctl-ng wlan0 dotreq_mibget mibattribute=dot11CurrentChannel
>
>
> >>message=dot11req_mibget
> >> mibattribute=dot11CurrentChannel=11
> >> resultcode=success
>
> ** ECT.
>
> ** I can do a ifconfig wlan0 and see the device
> ** I can even assign it an IP and ping it ... but no connection to the AP
> ** Please Help :(
> ** I am (trying) to connect to an Aironet (Cisco) AP, I have privacy
> ** and the other Aironet stuff turned off, the data rates and basicrates
> both set
> ** to 1_11 and have the SAME SSID set! I am able to use the AP to scan
> ** (listen) to channels and I can see something moving through the RF
> channels
> ** also, final note, this is a dual boot machine, when I boot up Winblows
> ** everything works fine! That's what makes me soooo #%*& mad!
>
>
> -----------------------------------------------
> The Linux WLAN User's Mailing List
> For more information about this list see:
> http://www.absoval.com/linux-wlan/lists.html

-----------------------------------------------
The Linux WLAN User's Mailing List
For more information about this list see:
http://www.absoval.com/linux-wlan/lists.html