Bugzilla – Attachment 72470 Details for
Bug 157503
ifup-wireless not compatible with zd1211 chipset
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
A patch that $worksforme
ifup-wireless.patch (text/plain), 1.72 KB, created by
Andreas Feldner
on 2006-03-12 22:40:57 UTC
(
hide
)
Description:
A patch that $worksforme
Filename:
MIME Type:
Creator:
Andreas Feldner
Created:
2006-03-12 22:40:57 UTC
Size:
1.72 KB
patch
obsolete
>--- ifup-wireless.bak 2006-01-21 03:24:50.000000000 +0100 >+++ ifup-wireless.patched 2006-03-12 22:25:36.000000000 +0100 >@@ -352,10 +352,25 @@ > err_mesg "Could not query device: $result" > exit $R_ERROR > fi >- if [ "$dot11PrivacyOptionImplemented" = "false" ]; then >- err_mesg "Could not set encryption, device does not support it" >- exit $R_ERROR >- fi >+ if [ "$dot11PrivacyOptionImplemented" = "false" ]; then >+ logerror "Could not set encryption, device does not support it - fallback to iwconfig" >+ iwconfig $INTERFACE key $WIRELESS_KEY_0 >+ #exit $R_ERROR >+ else >+ wlanctl dot11req_mibset mibattribute=dot11PrivacyInvoked=true >+ test -z "$WIRELESS_DEFAULT_KEY" && WIRELESS_DEFAULT_KEY=0 >+ wlanctl dot11req_mibset mibattribute=dot11WEPDefaultKeyID=$WIRELESS_DEFAULT_KEY >+ for i in 0 1 2 3 ; do >+ eval K=\$WIRELESS_KEY_$i >+ if [ -n "$K" ]; then >+ wlanctl dot11req_mibset mibattribute=dot11WEPDefaultKey$i=$( format_key $K ) >+ test $RETVAL -ne 0 && >+ { logerror "Setting encryption key failed, aborting interface setup" ; >+ exit $R_ERROR ; } >+ fi >+ done >+ fi >+ > wlanctl dot11req_mibset mibattribute=dot11PrivacyInvoked=true > test -z "$WIRELESS_DEFAULT_KEY" && WIRELESS_DEFAULT_KEY=0 > wlanctl dot11req_mibset mibattribute=dot11WEPDefaultKeyID=$WIRELESS_DEFAULT_KEY
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 157503
: 72470