From: Whiskers on
On 2008-01-09, sk <skodela(a)magicglass.com> wrote:
> Whiskers wrote:
>> On 2008-01-08, sk <skodela(a)magicglass.com> wrote:
>>> Any ideas guys!
>>>
>>> Ta
>>> sree
>>
>> Perhaps I'm not the only one who doesn't know what Wap has to do with
>> Linux?
>
> Hmm. Using ndiswrapper, under linux to access a wireless access point
> and setting up network to work thus, I hope is related to linux :-) I
> suppose I could have said wifi instead of wap.

People put off by the Subject won't get to see the article, no matter how
'on topic' it might be ;))

>> I'm guessing you mean that you can't get your USB wifi dongle to
>> work with WPA encryption - perhaps putting /that/ into your Subject would
>> get more interest?
>>
> Ok. I meant Wireless access point. I have the same access point which I
> can access through my laptop also runing crux.

So you didn't want to discuss web access phones ...

I've changed the Subject to something closer to what your difficulty seems
to be ;))

I've done some trimming to highlight the points that I think might be
significant, although I'm no wifi expert (and I've never used Crux).

[...]

>>>> iwlist shows my wap as below.
>>>>
>>>> wlan0 Scan completed :
>>>> Cell 01 - Address: 00:0C:41:D8:27:92
>>>> ESSID:"x$%^&*"
>>>> Protocol:IEEE 802.11b
>>>> Mode:Managed
>>>> Frequency:2.412 GHz (Channel 1)
>>>> Quality:100/100 Signal level:-24 dBm Noise
>>>> level:-96 dBm
>>>> Encryption key:on
>>>> Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
>>>> Extra:bcn_int=100
>>>> Extra:atim=0

[...]

>>>> iwconfig shows
>>>>
>>>> wlan0 IEEE 802.11g ESSID:off/any
>>>> Mode:Auto Frequency:2.437 GHz Access Point: Not-Associated
>>>> Bit Rate=11 Mb/s Tx-Power:20 dBm Sensitivity=-121 dBm
>>>> RTS thr=2347 B Fragment thr=2346 B
>>>> Encryption key:off
>>>> Power Management:off
>>>> Link Quality:0 Signal level:0 Noise level:0
>>>> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
>>>> Tx excessive retries:0 Invalid misc:0 Missed beacon:0

[...]

>> Is your router set up to permit access from the MAC number identifying
>> your wifi dongle? Do the DHCP settings on the computer and the router
>> agree? Does the dongle handle 802.11b as apparently required by the
>> router you've found by scanning? Is the dongle tuned to "channel 1"?
>>
>
> I don't use dhcp.

So your router and your computer have to agree about what the IP number
for the computer is.

> The access point is set to accept any mac. The dongle
> is 802.11g and backwardly compatible. How do I set the dongle to channel
> 1? I tried iwconfig wlan0 channel 1 but it does not change anything when
> I try to read back the outcome by doing iwconfig wlan0!!
>
> Thanks
> sree

I would expect to see the encryption key shown (in Hex) as part of the
output of iwconfig for your computer's wireless device (as the router
seems to have encryption "on"), rather than the "off" you have, as well as
the ESSID specific to your router, and Mode:Managed rather than Auto.

I don't know how to make your USB dongle change from 802.11g to the
802.11b which your router requires, nor how to make it use 'channel 1';
those may be 'driver' matters specific to your particular hardware.

--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
From: Big and Blue on
Whiskers wrote:
>
> I don't know how to make your USB dongle change from 802.11g to the
> 802.11b which your router requires

That's a driver/dongle issue. But I'd expect it to be handled
automatically.

The bits of thsi thread I've seen seem to indicate that the WAP has a
SSID and is using encryption, but you haven't configured those for your USB
dongle. Until you do that nothing will work, and once you've done that I
expect the rest of it to sort life out on its own.

> nor how to make it use 'channel 1';

The WiFi client will scan channels. You only need to set this in the
WAP. The client will find it (you can even change the channel on the WAP
and the client will rescan to find it while continuing to run).



--
Just because I've written it doesn't mean that
either you or I have to believe it.