|
I did get everything working with Ad-Hoc network against laptop running NT4 WKS, so I decided to add encryption. Everytime when I added "enable_encryption=y key_1=\"xxxxx\"" to config.opts, the card initialization failed. "Failed" means network did not work, no errors on dmesg. Then I found that when doing "/etc/rc.d/init.d/pcmcia start" (yes, it is RedHat 6.2) twice, it worked just fine. I even changed (dirty hack) the init.d/pcmcia script to be: ... start) $0 startorig sleep 2 $0 startorig EXITCODE=$? ;; startorig) echo -n "Starting PCMCIA services:" ... Any thoughts of why it is not starting up properly in the first time (increasing timeout, where?), but works fine if started twice. wavelan2_cs version is: # strings wavelan2_cs.o | grep wavelan2_cs.c wavelan2_cs.c 6.00 03/02/2000 11:00:00 (Lucent Technologies) Here is part of messages (notice the delay of 2 seconds before starting pcmcia second time): Aug 19 23:18:27 kernel: Linux PCMCIA Card Services 3.1.18 Aug 19 23:18:27 kernel: kernel build: 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 Aug 19 23:18:27 kernel: options: [pci] [cardbus] [apm] Aug 19 23:18:27 kernel: Intel PCIC probe: Aug 19 23:18:27 kernel: Vadem VG-469 rev 00 ISA-to-PCMCIA at port 0x3e0 ofs 0x00 Aug 19 23:18:27 kernel: host opts [0]: [ext mode] [isa buf] Aug 19 23:18:27 kernel: host opts [1]: [ext mode] [isa buf] Aug 19 23:18:27 kernel: ISA irqs (scanned) = 3,4,10,12 polling interval = 1000 ms Aug 19 23:18:27 cardmgr[2130]: starting, version is 3.1.18 Aug 19 23:18:27 cardmgr[2130]: watching 2 sockets Aug 19 23:18:27 kernel: cs: IO port probe 0x1000-0x17ff: clean. Aug 19 23:18:27 kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f Aug 19 23:18:27 kernel: cs: IO port probe 0x0a00-0x0aff: clean. Aug 19 23:18:28 cardmgr[2130]: initializing socket 0 Aug 19 23:18:28 kernel: cs: memory probe 0x0c0000-0x0cffff: excluding 0xc0000-0xc7fff Aug 19 23:18:28 kernel: cs: memory probe 0x0d4000-0x0fffff: excluding 0xf0000-0xfffff Aug 19 23:18:28 cardmgr[2130]: socket 0: Lucent Technologies WaveLAN/IEEE Aug 19 23:18:28 cardmgr[2130]: executing: 'modprobe wavelan2_cs port_type=3 microwave_robustness=y station_name=street\ address enable_encryption=y key_1=\"xxxxx\"' Aug 19 23:18:30 cardmgr[2154]: starting, version is 3.1.18 Aug 19 23:18:30 cardmgr[2154]: watching 2 sockets Aug 19 23:18:30 cardmgr[2154]: could not adjust resource: IO ports 0x1000-0x17ff: Device or resource busy Aug 19 23:18:30 cardmgr[2154]: could not adjust resource: IO ports 0x100-0x4ff: Device or resource busy Aug 19 23:18:30 cardmgr[2154]: could not adjust resource: memory 0xc0000-0xfffff: Input/output error Aug 19 23:18:30 cardmgr[2154]: could not adjust resource: memory 0x60000000-0x60ffffff: Input/output error Aug 19 23:18:30 cardmgr[2154]: could not adjust resource: memory 0xa0000000-0xa0ffffff: Input/output error Aug 19 23:18:30 cardmgr[2154]: could not adjust resource: IO ports 0xa00-0xaff: Device or resource busy Aug 19 23:18:30 cardmgr[2154]: initializing socket 0 Aug 19 23:18:30 cardmgr[2154]: socket 0: Lucent Technologies WaveLAN/IEEE Aug 19 23:18:30 kernel: eth2: WaveLAN/IEEE, io_addr 0x100, irq 10, mac_address 00:60:1D:22:28:A4 Aug 19 23:18:30 cardmgr[2154]: executing: './network start eth2' |