I had occasion to reboot, and now the wireless card is back to its old
evil ways.  Again the symptom is that I have to try repeatedly to 
get the card to associate with the access point.  I believe I mentioned
that I wound up using a loop:

  if [ -n "$IF_WIRELESS_AP" ]; then
    associate_limit=100
    while $IWCONFIG "$IFACE" | grep Not-Associated > /dev/null && 
          [ $associate_limit -gt 0 ]
    do
      sleep 2
      
      echo "Reassociating $associate_limit" >&2
      /sbin/ifconfig "$IFACE" up
      $IWCONFIG "$IFACE" ap $IF_WIRELESS_AP
      associate_limit=`expr $associate_limit - 1`
    done
  fi

Grotesque, but nothing else seems to get the job done.


Norman


Package: wireless-tools
Status: install ok installed
Priority: extra
Section: net
Installed-Size: 404
Maintainer: Guus Sliepen <[email protected]>
Architecture: i386
Version: 30~pre9-4
Depends: libc6 (>= 2.7), libiw30 (>= 30~pre1)
Conffiles:
 /etc/network/if-post-down.d/wireless-tools 1f6530d0aee88247fe5001fe2f5f50d0
 /etc/network/if-pre-up.d/wireless-tools 90ae1e300f250b82577989492b0c3379
Description: Tools for manipulating Linux Wireless Extensions
 This package contains the Wireless tools, used to manipulate
 the Linux Wireless Extensions. The Wireless Extension is an interface
 allowing you to set Wireless LAN specific parameters and get the
 specific stats.
Homepage: http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to