Package: wireless-tools
Version: 29-1.1
Severity: important
Tags: patch

As a new Verizon FiOS customer, I just acquired an Actiontec MI424WR
GEN2 wireless router.  This router apparently refuses to associate
until a key has been presented.  To be safe, I have patched
/etc/network/if-pre-up.d/wireless-tools to associate with the access
point *twice*.   If you would prefer, I could instead rewrite the
script to accumulate options and then make a single call to iwconfig,
which might work for more platforms.

The fault may lie in the iwl4965 driver rather than with the access
point.



Norman

--- /etc/network/wireless-tools-pre-up.dist     2008-07-24 09:08:30.000000000 
-0400
+++ /etc/network/if-pre-up.d/wireless-tools     2009-08-15 11:05:40.045722045 
-0400
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -x
+
 IWCONFIG=/sbin/iwconfig
 
 if [ ! -x $IWCONFIG ]; then
@@ -106,3 +108,7 @@
   $IWCONFIG "$IFACE" commit
 fi
 
+if [ -n "$IF_WIRELESS_AP" ]; then
+  $IWCONFIG "$IFACE" ap $IF_WIRELESS_AP
+fi
+


-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages wireless-tools depends on:
ii  libc6                         2.9-21     GNU C Library: Shared libraries
ii  libiw29                       29-1.1     Wireless tools - library

wireless-tools recommends no packages.

wireless-tools suggests no packages.

-- no debconf information
--- /etc/network/wireless-tools-pre-up.dist     2008-07-24 09:08:30.000000000 
-0400
+++ /etc/network/if-pre-up.d/wireless-tools     2009-08-15 12:54:42.953733156 
-0400
@@ -106,3 +106,7 @@
   $IWCONFIG "$IFACE" commit
 fi
 
+if [ -n "$IF_WIRELESS_AP" ]; then
+  $IWCONFIG "$IFACE" ap $IF_WIRELESS_AP
+fi
+

Reply via email to