On Monday 12 Jan 2004 5:21 pm, Marc Resnick wrote:
> ----- Original Message -----
> From: "Marc Resnick" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, January 12, 2004 11:15 AM
> Subject: Re: [newbie] Detecting WLAN Card
>
> > ----- Original Message -----
> > From: "Derek Jennings" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Sunday, January 11, 2004 10:56 PM
> > Subject: Re: [newbie] Detecting WLAN Card
> >
> > > On Monday 12 Jan 2004 1:57 am, [EMAIL PROTECTED] wrote:
> > > SNIP
> > >
> > > > Derek,
> > > > I've located the Prism2_cs module, exactly where you said it was.
> > > > That means I definitely have it. But when I launch the wizard to
> > > > setup the
> >
> > LAN,
> >
> > > > therefore detecting network cards also, this module does not show up
>
> on
>
> > the
> >
> > > > list. This probably has to do with the problem.
> > > >
> > > > When I do modprobe prism2_cs, nothing happens. This card definitely
> >
> > works,
> >
> > > > because, as I said, it works fine on Windows XP.
> > > >
> > > > I also checked Force No APIC in the CC, and nothing changed.
> > > >
> > > > /etc/sysconfig/pcmcia contains PCMCIA = yes
> > > >
> > > > I added the card to the config file also.
> > > >
> > > > There must be something one of us is forgetting or doing wrong,
>
> because
>
> > the
> >
> > > > card works fine.
> > > >
> > > > Thanks for all your help so far,
> > > > Marc
> > >
> > > I am not surprised you do not see prism2_cs appear in the driver list.
> >
> > Drivers
> >
> > > for pcmcia cards are always autodetected.
> > >
> > >
> > > When you say nothing happens when you do a modprobe, that is actually
> >
> > quite
> >
> > > positive. It implies the driver is loading, and is not being rejected.
> > > What do you see if you do
> > >
> > > lsmod | grep prism
> > >
> > > after the modprobe? That will tell us if the driver is loading.
> > >
> > > And what do you see if you do
> > >
> > > tail -n 30 /var/log/syslog   ? Any entries about pcmcia or prism?
> > >
> > > And
> > > iwconfig   ?
> > >
> > > There is one other thing I forgot to check.
> > > The pcmcia service has to be started. In a root terminal enter
> > > service pcmcia restart
> > > You should hear two beeps as it restarts, then do
> > > tail -n 30 /var/log/syslog again to see what it says.
> > >
> > > derek
> > >
> > > --
> > > ----------------------------------
> > > www.jennings.homelinux.net
> > > http://twiki.mdklinuxfaq.org
> >
> > Derek,
> > To make it easier for you, I've posted some screenshots here(because the
> > files are too big to send through the mailing group):
> > http://www.freewebs.com/linuxss/ss1.png
> > http://www.freewebs.com/linuxss/ss2.png
> > http://www.freewebs.com/linuxss/ss3.png
> > http://www.freewebs.com/linuxss/ss4.png
> > http://www.freewebs.com/linuxss/ss5.png
> >
> > I gather from those that we got part of the name of the network card
> > wrong when inserting it in the config file.
> >
> > Thanks,
> > Marc
> >
> > -------------------------------------------------------------------------
> >-
>
> --
>
> > ----
> >
> > > Want to buy your Pack or Services from MandrakeSoft?
> > > Go to http://www.mandrakestore.com
>
> Derek and all that have been following,
> Linux now detects my WLAN card after who know's what I did as wlan0. The
> only step remaining is to configure it to my network. I entered the
> Mandrake Control Center, and went to the Network settings to configure it.
> It still does not appear on the list, and is not detected when I run the
> wizard. The lights on the card illuminate when I do 'service pcmcia
> restart', and I recieve information about wlan0 when I enter 'iwconfig'. It
> also now appears on the hardware list. There must be some command that I
> don't know.
>
> Just a little more help,
> Marc
>

Great.
I was just thinking you might end up compiling the driver after all.
Setting up the driver is simply a matter of creating a text file called
/etc/sysconfig/network-scripts/ifcfg-wlan0

containing something like :-

DEVICE=wlan0
BOOTPROTO=static
IPADDR=192.168.1.43
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
WIRELESS_MODE=Managed
WIRELESS_ESSID=8848DBjennings
WIRELESS_RATE=11M
WIRELESS_ENC_KEY=s:my_key


If you need to get an IP address from DHCP then put
BOOTPROTO=dhcp and then you do not need an IPADDR

WIRELESS_MODE=Managed is for use with a wireless access point.
If you are running peer to peer (no wireless access point) use Ad-Hoc

The WIRELESS_ENC_KEY is what catches everyone out.  It can be ASCII like mine 
in which case it must be oreced3ed by 's:' or a Hex number in the format 
3456-789a-bc

See 'man iwconfig' for a full description of the parameters.

service network restart
will apply the parameters.
(so will ifup wlan0   / ifdown wlan0 )

Nearly there!

derek




----------------------------------
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to