Hi guys, I've been trying to install my wireless card to no avail.
I have followed the suggestion by David, but still cannot make it work.
iwlist wlan0 scan
returns
wlan0 No scan results
Can anyone of you please give me a hand on this?
I would really appreciate any help on this matter.
TIA,
-Marvin
--- Begin Message ---
On Mon, Jun 21, 2004 at 12:19:08PM -0600, Marvin Gerardo Aguero Salazar wrote:
> Hi David,
>
> I am sorry to bother you again but I've been fighting with my wireless
> card to no avail.
No need to be sorry! I'm glad to help.
> I got it to a point where the system recognizes it. One of the lights is
> on. Debian doesn't recognize it a boot time (I have to bounce the
> ndiswrapper module) but I can live with it.
Very good!
> I have a theory. I think the files wireless and wireless.opts in
> /etc/pcmcia are not being read.
>
> I modified them including debugging messages like "echo msg >>
> /home/marvin/wireless.out" but the files *.out in my home directory are
> not being created.
>
> I even renamed the files (which would've been the same as removing them)
> and I got the exact same results.
I'm clueless. I think you should ask this on the list. Or maybe better,
on debian-laptop since they have more experience with pcmcia cards. My
wireless card is built-in, so I have no experience with pcmcia-cs
regarding to wireless cards... Anyway, I'm not entirely sure that
pcmcia-cs will handle ndiswrapper modules.
> In all the above scenarios iwconfig shows the following info:
>
> gtekcr-marvin:/etc# iwconfig
> lo no wireless extensions.
>
> eth0 no wireless extensions.
>
> wlan0 IEEE 802.11g ESSID:""
> Mode:Managed Frequency:2.462GHz Access Point: FF:FF:FF:FF:FF:FF
> Bit Rate:54Mb/s Tx-Power:16 dBm
> RTS thr:2347 B Fragment thr:2346 B
> Encryption key:off
> Power Management:off
> Link Quality:100/100 Signal level:-10 dBm Noise level:-256 dBm
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>
> gtekcr-marvin:/etc#
This is very good, as well!
> As I said, that information is exactly the same with and without the
> wireless* files in /etc/pcmcia.
>
> I also renamed config and config.opts as a test with same results.
>
> Can you think of anything that I am doing wrong?
> Could you please give me a clue of what to check or how can I make sure
> those files are being read?
> or anything you can think of.
I'm not sure you're doing _anything_ wrong. This looks very good. I
don't know what you mean by: it doesn't work. I'll assume you're trying
to do something like
ifup wlan0
or
dhclient -i wlan0
or something like that. Or you're expecting to see your Access Point
listed instead of those FF:FF thingies and an empty ESSID. If this is
the case, why not do a
iwlist wlan0 scan
and look if your access point is listed. If yes, you have to do
something like
iwconfig wlan0 key 4387393733
or
iwconfig wlan0 key s:abcde
to set your WEP key if you have any. If you don't have a WEP key, try
setting the essid value (check man iwconfig). My access point uses an
'open' security mode, so I have to do
iwconfig wlan0 key 4387393733 open
before it recognizes my access point. After each try, do a
iwconfig wlan0
to see if your access point is configured. If so, try ifup or dhclient
or whatever.
So, to be clear on all the steps to be taken, here's a transcript:
[EMAIL PROTECTED]:dfokkema$ sudo modprobe ndiswrapper
[EMAIL PROTECTED]:dfokkema$ sudo iwconfig wlan0
wlan0 IEEE 802.11b ESSID:""
Mode:Managed Frequency:2.462GHz Access Point: FF:FF:FF:FF:FF:FF
Bit Rate:11Mb/s Tx-Power:16 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:-10 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[EMAIL PROTECTED]:dfokkema$ sudo iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:04:E2:A2:05:A6
ESSID:"nebula"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.412GHz (channel 1)
Quality:0/100 Signal level:-35 dBm Noise level:-256 dBm
Encryption key:on
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s
Cell 02 - Address: 00:50:18:14:FC:42
ESSID:"avisat"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437GHz (channel 6)
Quality:0/100 Signal level:-59 dBm Noise level:-256 dBm
Encryption key:on
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s
[EMAIL PROTECTED]:dfokkema$ sudo iwconfig wlan0 key 1412780606 open
[EMAIL PROTECTED]:dfokkema$ sudo iwconfig wlan0
wlan0 IEEE 802.11b ESSID:"nebula"
Mode:Managed Frequency:2.412GHz Access Point: 00:04:E2:A2:05:A6
Bit Rate:11Mb/s Tx-Power:16 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:1412-7806-06 Security mode:open
Power Management:off
Link Quality:100/100 Signal level:-46 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:3 Missed beacon:0
[EMAIL PROTECTED]:dfokkema$ sudo ifup wlan0
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
Listening on LPF/wlan0/00:0c:6e:6f:0f:a2
Sending on LPF/wlan0/00:0c:6e:6f:0f:a2
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.1.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.11 -- renewal in 43200 seconds.
See? Cell 02, 'avisat', is one of my neighbours, :-)
HTH,
David
--
Hi! I'm a .signature virus. Copy me into
your ~/.signature to help me spread!
--- End Message ---