[PlanetCCRMA] Installing wireless card

Juan Reyes juanig@ccrma.Stanford.EDU
Tue Jan 21 08:47:01 2003


I am not sure if we are talking about the same file /etc/pcmcia/wlan.conf, 
butat the end there should be the following lines:


        #=======ADHOC STATION START============================
        SSID="linux-wlan"               # SSID
        BCNINT=100                      # Beacon interval (in Kus)
        CHANNEL=6                       # DS channel for BSS (1-14, 
depends
                                        #   on regulatory domain)
        BASICRATES="2 4"                # Rates for mgmt&ctl frames (in 
500Kb/s\)
        OPRATES="2 4 11 22"             # Supported rates in BSS (in 
500Kb/s)
    ;;

You should edit only the SSID part. Change the "linux-wlan" with the name 
you are using, may be is "fertile grounds" or ask your system 
administrator. You don't need to edit the file you are telling me.

Notice that access points are usually DHCP servers and an IP address 
will be supplied to you. If this si not the case you can change the 
default in this same file.

As far as tail -f /var/log/messages is telling, I am not sure you have the 
module installed. 

You should have the prism2_cs.o module installed in 
/lib/modules/2.4.19-1.ll/pcmcia
and then the corresponding entry in modules.conf:

alias wlan0 prism2_cs

While having a terminal window with tail -f /var/log/messages unplug and 
plug back your pcmcia card. It should automatically start wlan. If this 
doesn't work make sure you download wireless tools 
(wireless_tools.25.tar.gz) from 
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
and install a fresh iwconfig script (make install). BTW, this is a good 
source of information but the most relevant information can be found 
at:http://www.linux-wlan.com/linux-wlan/  it  has some useful FAQS.

Good luck,

  --* Juan



On Mon, 20 Jan 2003, Joseph Zitt wrote:

> On Sun, 19 Jan 2003 06:23:14 -0800 (PST)
> Juan Reyes <juanig@ccrma.Stanford.EDU> wrote:
> 
> > You should also edit the file /etc/pcmcia/wlan.conf the SSID entry
> > with the name SSID (which I take from your mail is fertile-grounds)
> > your wireless network is using. 
> 
> I don't have a file of that name, though I do have an
> /etc/pcmcia/wlan-ng.conf
> 
> Is the format documented anywhere? This file consists of a group of
> entries, the first of which is:
> 
> device "prism2_cs"
>    class "wlan-ng" module "prism2_cs"
> 
> ...and the rest of which are of the form:
> 
> card "NETGEAR MA401RA 11Mbps 802.11 WLAN Card" \
>    version "NETGEAR MA401RA Wireless PC", "Card", "ISL37300P",
> "Eval-RevA" \
>    bind "prism2_cs"
> 
> ...all of which talk about cards and none of which appear to mention
> SSIDs.
> 
> Ah, I see that there is a file unpacked from the tar files named
> wlan.conf
> I've copied it and am trying to edit it (working from the usual mass of
> oblique and contradictory Web pages)...
> 
> > Open a new terminal window as root and
> > do a tail -f /var/log/messages. If compilation goes fine and after all
> > these editing you should restart pcmcia card services by doing a
> > /etc/rc.d/init.d/pcmcia restart.  Wlan services should start 
> > automatically. 
> 
> Hmm, this doesn't look good:
> 
> Jan 20 22:37:49 gimel cardmgr[1557]: starting, version is 3.1.22
> Jan 20 22:37:49 gimel cardmgr[1557]: config error, file './wlan-ng.conf'
> line 2: no function bindings
> Jan 20 22:37:49 gimel cardmgr[1557]: config error, file './wlan.conf'
> line 57: syntax error
> Jan 20 22:37:49 gimel cardmgr[1557]: watching 1 sockets
> Jan 20 22:37:49 gimel kernel: cs: IO port probe 0x0c00-0x0cff: clean.
> Jan 20 22:37:49 gimel kernel: cs: IO port probe 0x0100-0x04ff: excluding
> 0x210-0x217 0x220-0x22f 0x378-0x37f 0x388-0x38f 0x4d0-0x4d7
> Jan 20 22:37:49 gimel kernel: cs: IO port probe 0x0a00-0x0aff: clean.
> Jan 20 22:37:49 gimel cardmgr[1557]: initializing socket 0
> Jan 20 22:37:49 gimel kernel: cs: memory probe 0xa0000000-0xa0ffffff:
> clean.
> Jan 20 22:37:49 gimel cardmgr[1557]: unsupported card in socket 0
> Jan 20 22:37:49 gimel cardmgr[1557]:   product info: "NETGEAR MA401RA
> Wireless PC", "Card", "ISL37300P", "Eval-RevA"
> Jan 20 22:37:49 gimel cardmgr[1557]:   manfid: 0x000b, 0x7300  function:
> 6 (network)
> 
> 
> Line 2 in wlan-ng.conf is:
> 
> device "prism2_cs"
> 
> Line 57 in wlan.conf is:
> 
> WLAN_DEVICES="wlan0"
> 
> What errors is cardmgr complaining about?
> 
> > If so you can check your network status by doing an 
> > /sbin/ifconfig. Wlan should appear in one of the entries.
> 
> Nope:
> 
> [root@gimel pcmcia]# /sbin/ifconfig
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:10 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:700 (700.0 b)  TX bytes:700 (700.0 b)
> 
> [root@gimel pcmcia]# 
> 
> 
> > Alternatively you can stop pcmcia services and network services and
> > restart them to see what is going on.
> 
>