Linksys WPC11 have run successfully on RedHat Fedora Core 4!
jiabao bao <[email protected]>
| Newsgroups | gmane.linux.linux-wlan.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, all, I have driven my WPC11 PCMCIA card on my FC4( 2.6.11 kernel ) two weeks ago. But I haven't write it here because I'm lazy. :p FC4 can drive the card very good if you do nothing on it. The orinoco module in kernel will do every thing for you if your card is same to my WPC11( I can not find any version hint on my card, so I guess it is version1 ). So, if you just want let your laptop can access online, FC4's default setting and configuration is enough for you. But for me it isn't enough. I need run linux-wlan-ng on it because I have to make it work as an AP and I do not know if the orinoco module can meet me. I will not try Hostap driver because someone tell me that Hostap doesn't support Contention Free Poll(CFP). I need CFP to control terminals, that's fun. Oh, yes, if you have some hints for setting a card as an AP which can support CFP, please tell me, thank you. OK, let's discard orinoco and use linux-wlan-ng! I deleted all orinoco.o and other orinoco files. of course it was rude and you'd better trying 'rmmod' to move them away. Then I downloaded linux-wlan-ng-0.2.1pre26 and 'make config', I chose PCMCIA mode, just mean I let the driver make prism2.cs module. Rest can choose as default. After 'make all' and 'make install', I thought it is enough and the only thing need to do is to modify the configurations in /etc. So I opened /etc/pcmcia/config and add an item there: device "prism2_cs" class "wlan-ng" module "prism2_cs" and chang card configuration: card "Intersil PRISM2 11 Mbps Wireless Adapter" manfid 0x0156, 0x0002 bind "prism2_cs" # bind "orinoco_cs" Then, create /etc/sysconfig/network-scripts/ifcfg-wlan0 file, write here: IPV6INIT=no ONBOOT=yes USERCTL=yes PEERDNS=yes GATEWAY= TYPE=Wireless DEVICE=wlan0 HWADDR=00:03:2f:00:2c:b5 BOOTPROTO= NETMASK=255.255.0.0 <http://255.255.0.0> DHCP_HOSTNAME= IPADDR=169.254.8.88 <http://169.254.8.88> DOMAIN= ESSID=linksys CHANNEL=6 MODE=Ad-Hoc RATE='2 Mb/s' I need Ad-Hoc mode to test if my card can be driven up. After all these operations, I restarted pcmcia: service pcmcia restart But, I found the card can not work yet. So I opened the /var/log/messages to see what's wrong with it: Aug 16 14:56:50 localhost cardmgr[1700]: socket 0: Linksys WPC11 11Mbps 802.11b WLAN Card Aug 16 14:56:52 localhost pam_timestamp_check: pam_timestamp: `/var/' owner GID != 0 Aug 16 14:56:52 localhost wland[3277]: wland daemon init successful Aug 16 14:56:52 localhost wland[3277]: netlink socket opened and bound successfully Aug 16 14:56:52 localhost kernel: prism2_cs: Ignoring new-style parameters in presence of obsolete ones Aug 16 14:56:52 localhost kernel: prism2cs_init: prism2_cs.o: 0.2.1-pre26Loaded Aug 16 14:56:52 localhost kernel: prism2cs_init: dev_info is: prism2_cs Aug 16 14:56:52 localhost kernel: prism2_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f Aug 16 14:56:52 localhost wlan.agent[3288]: WLAN Hotplug bypassed for pcmcia Aug 16 14:56:52 localhost cardmgr[1700]: executing: './wlan-ng start wlan0 2>&1' Aug 16 14:56:52 localhost cardmgr[1700]: + cat: /proc/sys/kernel/hotplug: 鏉冮檺涓嶅 Aug 16 14:56:52 localhost cardmgr[1700]: + /etc/wlan/shared: line 71: [: too many arguments Aug 16 14:56:53 localhost cardmgr[1700]: + grep: /proc/net/p80211/wlan0/wlandev: 鏉冮檺涓嶅 Aug 16 14:56:53 localhost cardmgr[1700]: + /etc/wlan/shared: line 131: _fwload: command not found Aug 16 14:56:53 localhost cardmgr[1700]: + Firmware failed to load for device wlan0 Aug 16 14:56:58 localhost cardmgr[1700]: + wlanctl-ng: Permission denied Aug 16 14:56:58 localhost cardmgr[1700]: + error: Autojoin indicated failure! Aug 16 14:56:58 localhost cardmgr[1700]: + cp: 鏃犳硶鍒涘缓涓€鑸枃浠垛€?tmp/wlan_scheme_14:56:58.tmp鈥? 鏉冮檺涓嶅 Aug 16 14:56:58 localhost cardmgr[1700]: + ls: /tmp/wlan_scheme*.tmp: 娌℃湁閭d釜鏂囦欢鎴栫洰褰? Aug 16 14:56:58 localhost cardmgr[1700]: + cat: -: 閿欒鐨勬枃浠舵弿杩扮 Aug 16 14:56:58 localhost cardmgr[1700]: + cat: closing standard input: 閿欒鐨勬枃浠舵弿杩扮 In fact, the initial work didn't finished when it wanted to run /etc/pcmcia/shard. I guessed there were some supporting files disappeared. but, how can I find it out? So I asked online, in mail-list and other forums. Fortunately, I found some mini-Howto or other relevant references. Then I knew how to improve my job. I try to use './dump_cis' command to see if my pcmcia_core module is fine. But the result was the pcmcia-cs had not serviced for me. Maybe I need reinstall it. I downloaded pcmcia-cs-3.2.8.tar.gz and config, make, install into my machine. The process is much like those steps when I install linux-wlan-ng driver. 'make mrproper' to move all original wlan-ng's .ko and .o and other files. We need to refresh driver now. Certainly, some files can be removed manually. Then I found tertiary firmware t10003c7.hex and added it into /linux- wlan-ng-0.2.1-pre26/src/prism2 it was said can be helpful when I try to set AP mode. OK, made the driver, modify those config files. Other files need to be modified including /etc/wlan/wlan.conf, I set wlan0's essid here; /etc/wlan/wlancfg-DEFAULT, set 'IS_ADHOC' as 'yes'; etc/pcmcia/wireless.opts, set END SECTION TO REMOVE. Then restarted pcmcia and inserted the card. Haha I have seen the green light twinkled so lovely. I test this by another computer with an Ad-Hoc card in it. Yes, ping is good, I have driven my WPC11 up! Now, let's have a look on messages: Aug 24 11:17:23 localhost kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean. Aug 24 11:17:23 localhost cardmgr[1713]: socket 0: I-Gate 11M PC Card Aug 24 11:17:24 localhost kernel: prism2_cs: index 0x01: Vcc 5.0, irq 3, io 0x01 00-0x013f Aug 24 11:17:24 localhost wlan.agent[2904]: WLAN Hotplug bypassed for pcmcia Aug 24 11:17:24 localhost cardmgr[1713]: executing: './wlan-ng start wlan0 2>&1' Aug 24 11:17:24 localhost cardmgr[1713]: + message=lnxreq_ifstate Aug 24 11:17:24 localhost cardmgr[1713]: + ifstate=fwload Aug 24 11:17:24 localhost cardmgr[1713]: + resultcode=success Aug 24 11:17:24 localhost kernel: PDA Read from 0x00390000 in NV space. Aug 24 11:17:24 localhost kernel: PDA Read from 0x00390000 in NV space. Aug 24 11:17:25 localhost cardmgr[1713]: + prism2dl: warning: Failed to find PDR for plugrec 0x0204. Aug 24 11:17:25 localhost cardmgr[1713]: + prism2dl: warning: Failed to find PDR for plugrec 0x0405. Aug 24 11:17:25 localhost cardmgr[1713]: + prism2dl: warning: Failed to find PDR for plugrec 0x0406. Aug 24 11:17:25 localhost cardmgr[1713]: + prism2dl: warning: Failed to find PDR for plugrec 0x0302. Aug 24 11:17:25 localhost cardmgr[1713]: + prism2dl: warning: Failed to find PDR for plugrec 0x0303. Aug 24 11:17:25 localhost kernel: Writing 4096 bytes to ram @0x1f17fe Aug 24 11:17:25 localhost kernel: Writing 4096 bytes to ram @0x1f27fe Aug 24 11:17:25 localhost kernel: Writing 4096 bytes to ram @0x1f37fe Aug 24 11:17:25 localhost kernel: Writing 4096 bytes to ram @0x1f47fe Aug 24 11:17:25 localhost kernel: Writing 4096 bytes to ram @0x1f57fe Aug 24 11:17:25 localhost kernel: Writing 4096 bytes to ram @0x1f67fe Aug 24 11:17:25 localhost kernel: Writing 4096 bytes to ram @0x1f77fe Aug 24 11:17:25 localhost kernel: Writing 4096 bytes to ram @0x1f87fe Aug 24 11:17:25 localhost kernel: Writing 4096 bytes to ram @0x1f97fe Aug 24 11:17:25 localhost kernel: Writing 4096 bytes to ram @0x1fa7fe Aug 24 11:17:25 localhost cardmgr[1713]: + Reading S-record file /etc/wlan//pris m2_r1.hex... Aug 24 11:17:25 localhost kernel: Writing 4096 bytes to ram @0x1fb7fe Aug 24 11:17:25 localhost cardmgr[1713]: + NIC ID: 0x8002 v1.0.0 Aug 24 11:17:25 localhost kernel: Writing 4096 bytes to ram @0x1fc7fe Aug 24 11:17:25 localhost cardmgr[1713]: + MFI ID: 0x1 v1 1->1 Aug 24 11:17:25 localhost kernel: Writing 2940 bytes to ram @0x1fd7fe Aug 24 11:17:25 localhost cardmgr[1713]: + CFI ID: 0x2 v1 1->1 Aug 24 11:17:25 localhost kernel: Writing 3046 bytes to ram @0x1ff000 Aug 24 11:17:25 localhost cardmgr[1713]: + PRI ID: 0x3 v1 1->2 Aug 24 11:17:25 localhost kernel: ident: nic h/w: id=0x8002 1.0.0 Aug 24 11:17:25 localhost cardmgr[1713]: + Version: ID 0x1f 1.7.1 Aug 24 11:17:25 localhost kernel: ident: pri f/w: id=0x15 0.3.0 Aug 24 11:17:25 localhost cardmgr[1713]: + Compat: Role 0 Id 0x4 v1 1->12 Aug 24 11:17:25 localhost kernel: ident: sta f/w: id=0x1f 1.7.1 Aug 24 11:17:25 localhost cardmgr[1713]: + Compat: Role 0x1 Id 0x1 v1 1->1 Aug 24 11:17:25 localhost kernel: MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1 Aug 24 11:17:25 localhost cardmgr[1713]: + Compat: Role 0x1 Id 0x2 v1 1->1 Aug 24 11:17:25 localhost kernel: CFI:SUP:role=0x00:id=0x02:var=0x01:b/t=1/1 Aug 24 11:17:25 localhost cardmgr[1713]: + Compat: Role 0x1 Id 0x3 v1 1->2 Aug 24 11:17:25 localhost kernel: PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/2 Aug 24 11:17:25 localhost cardmgr[1713]: + Seq: 0 Aug 24 11:17:25 localhost kernel: STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12 Aug 24 11:17:25 localhost cardmgr[1713]: + Platform: ID 0x8002 1.0.0 Aug 24 11:17:25 localhost kernel: PRI-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1 Aug 24 11:17:25 localhost cardmgr[1713]: + Platform: ID 0x8002 1.0.1 Aug 24 11:17:25 localhost kernel: STA-CFI:ACT:role=0x01:id=0x02:var=0x01:b/t=1/1 Aug 24 11:17:25 localhost cardmgr[1713]: + Platform: ID 0x8003 1.0.0 Aug 24 11:17:25 localhost kernel: STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1 Aug 24 11:17:25 localhost cardmgr[1713]: + Platform: ID 0x8003 1.0.1 Aug 24 11:17:25 localhost kernel: Prism2 card SN: 99SA01000000 Aug 24 11:17:25 localhost cardmgr[1713]: + Platform: ID 0x8004 1.0.0 Aug 24 11:17:25 localhost cardmgr[1713]: + Platform: ID 0x8008 1.0.0 Aug 24 11:17:25 localhost cardmgr[1713]: + prism2dl: finished. Some new problem happens: at first, why there showed "socket 0: I-Gate 11M PC Card"? Hey, my card is Linksys WPC11! And, what's wrong with my PDR? I hope my experiences can help some friends and they can have fun. I also hope that someone can help me to solve my new problem. Now I'm trying to set my card as an AP but not successfully yet. I will conclude some problems I have met in next mail. Any hint will be welcomed. -- Bob _______________________________________________ Linux-wlan-user mailing list [email protected] http://lists.linux-wlan.com/mailman/listinfo/linux-wlan-user