Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Orinoco driver questions: msg#00013

Subject: Re: Orinoco driver questions
Hi!

Thanks for the reply, my replies inline...

On Thu, 2004-08-26 at 15:27 -0400, Pavel Roskin wrote:
> You forgot the version of the driver.  In particular, fixed AP support is 
> a relatively new feature.

Current release, 0.15rc2

> > 1) How do orinoco cards use the CNFDESIREDSSID?  I see that
> > priv->desired_essid is set to the desired ESSID that the user sets for the
> > card, either through iwconfig or with SIOCGIWAP ioctl().  I also see with
> > iwconfig that the desired essid is actually set on the card.  What does
> > the card do wtih that information?  This leads to my second question...
> 
> The card tries to associate with an access point with that ESSID, unless 
> you set a fixed AP address.

I'm not using the "fixed AP" method, and it doesn't seem that the
orinoco drivers support this, as I get "not supported" when I try to use
iwconfig eth1 ap <MAC address>.

What's happening is that I set an ESSID on the card, but it does not
actually switch to any base station with that ESSID, as shown by the
'iwconfig eth1' display of "Access Point".

> > 2) The card does not seem to be associating with a specified essid. 
> > For example, I set the essid "rh-wireless", which is a WEP-enabled base 
> > station.  iwconfig reports that rh-wireless is the current ESSID of the 
> > card, but the MAC address of the base station the card reports that it 
> > is associated iwth _doesn't_ change from the previous access point the 
> > card was set to.  This is even the case after an "iwconfig eth1 commit", 
> > which is supposed to run the __orinoco_program_rids, which sets the 
> > DESIREDESSID on the card.  I cannot get the MAC address of the 
> > associated base station to change _at all_, no matter what essid I set.
> 
> First of all, make sure that the interface is up.  It would be better to 
> see the exact output of iwconfig.

The interface _is_ up in my tests. (ip link set dev eth1 up)

eth1  IEEE 802.11b  ESSID:"dlab2"  Nickname:"HERMES I"
      Mode:Managed  Frequency:2.437GHz  Access Point:  <MAC here>
      Bit Rate:2Mb/s   Sensitivity:1/3
      Retry limit:4   RTS thr:off   Fragment thr:off
      Encryption key:off
      Power Management:off
      Link Quality=21/92  Signal level=-46 dBm  Noise level=-67 dBm
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:1
      Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Here, the MAC address shown by "Access Point" is NOT the MAC address of
the base station "dlab2".  It is the MAC address of "vpnonly", which is
what the card comes up with when I stick it in.  I cannot ever get the
display of "Access Point" to change using "iwconfig eth1 essid <xxx>".
This is my problem.

I performed further tests with the "vpnonly" base station, which is what
the card associates with all the time (despite my efforts to make it not
do so).  When I unplug the base station's power, the card switches to
44:44:44... when any 'iwconfig' operation is done on it.  If I then
(base station is still off) run "iwconfig eth1 essid rh-wireless", the
reported ESSID of the card (from iwconfig) shows "rh-wireless".  If I
then turn the base station back on, the card associates with the _wrong_
base station after a slight delay (5-10s), and the ESSID and "Access
Point" are not matching/correct.

> > What I'm really looking for here is a general method of finding out when 
> > the card is/is not associated with a base station of an ESSID that _I_ 
> > specify, and looking at the associated AP MAC is the closest I can get. 
> > Note that the link change notification doesn't work here, because the 
> > orinoco drivers change that quite a bit more often than necessary.
> 
> I believe wireless events (shown by iwevent) where created for that 
> purpose.  Or you want the current state at a certain point of time without 
> having to monitor the previous events?  Then maybe you should check that 
> the BSSID is not all zeroes, fours or Fs, provided that the interface is 
> up.

I currently do this exact operation.

> > Any help you guys could provide would be greatly appreciated.  My card 
> > is a WaveLAN Gold, I'm not sure what firmware it is.  If the firmware 
> > version could be a culprit here, I can upgrade that if necessary.
> 
> The firmware should be seen in the kernel log.  Also, "ethtool -i ethX" 
> would show it.

driver: orinoco
version: 0.15rc2STA
firmware-version: Lucent/Aere 4.52

Thanks,
Dan



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285


<Prev in Thread] Current Thread [Next in Thread>