PuppyLinux : PCMCIA

PuppyLinuxMainPage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2007-11-23 15:59:18 by Wosh

Additions:

CategoryHardware




Oldest known version of this page was edited on 2005-10-26 14:41:59 by BarryDavidKauler []
Page view:
wireless network:
http://www.linux-wlan.org/docs/wlan_adapters.html.gz


this website helped me tremendously getting a Xandros machine on my wireless network:

http://www.linux-wlan.org/docs/wlan_adapters.html.gz

my understanding is that if one distro can see the card, any distro with the same kernel will see it as well. once I got a card that was on this list as 'tested' everything just worked. look for cards that use the Prism chipset, they seem to be listed a lot here.



instruction to use a PCMCIA wireless card. I have a U.S. Robotics IEEE 802.11b PC-CARD, which is supported by wlan project.

There are a couple assumption I made.

1. PCMCIA card is in the slot when booting. I think this assumption is not important
2. PCMCIA card not be taken out while machine is running. I hung my system for doing this action.

Steps:

1. Identify your card and compile the reqiured module.

o After boot up, run the following
+ cardmgr
+ cardctl ident
o Output for those command are:
+ Watching 2 sockets
+ Socket 0:

no product info available
Socket 1:
product info: "U.S. Robotics", "IEEE 802.11b PC-CARD", "Version 01.02", ""
manfid: 0x0156, 0x0002
function: 6 (network)

o Look at http://www.linux-wlan.org/ to download the modules source.
o Compile the modules
+ I compiled the whole kernel (bzimage) and all the modules that I need myself, instead of just compile the modules. But this should not matter

1. Load the modules after boot up

o Add those lines to /etc/pcmcia/config
+ device "prism2_cs"

class "network" module "prism2_cs"

+ card "U.S. Robotics IEEE 802.11b PC-CARD Version 01.02"

version "U.S. Robotics", "IEEE 802.11b PC-CARD", "Version 01.02"
manfid 0x0156, 0x0002
bind "prism2_cs"

o kill cardmgr process and restart cardmgr process
o dmesg now should return something like this
+ cs: IO port probe 0x0c00-0x0cff: clean.

cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x3f0-0x3f7 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
prism2cs_init: prism2_cs.o: 0.2.1-pre26 Loaded
prism2cs_init: dev_info is: prism2_cs
prism2_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f

o and under /proc/net/p80211/ you should have a wlan0 directory. At this point, your card is found and driver is loaded.

1. Make the card usable

o If you don't have WEP enabled, run the following command. You should see something like linkstatus=CONNECTED in dmesg
+ wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
+ wlanctl-ng wlan0 lnxreq_autojoin ssid=your_ssid authtype=opensystem

o If you have WEP enabled, you need the following. And you should see something like linkstatus=CONNECTED in dmesg
+ wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
+ wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true
+ wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID?=0
+ wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted?=true
+ wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked?=true
+ wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0?=aa:bb:cc:dd:ee
+ wlanctl-ng wlan0 lnxreq_autojoin ssid=your_ssid authtype=sharedkey

1. Run dhcpcd wlan0 or ifconfig to configure your network device wlan0
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.0469 seconds