iwn0/wlan0 scan WPA2-PSK/AES as WEP on freebsd9

Bernhard Schmidt bschmidt at freebsd.org
Wed Aug 22 10:18:57 UTC 2012


On Wed, Aug 22, 2012 at 5:38 AM, 乔楚 <honestqiao at gmail.com> wrote:
> [11:33:57]root at x201i.pts/2 sys/net80211 # cd /usr/src/
> [11:34:09]root at x201i.pts/2 /usr/src # svn up
> .....
> Updated to revision 239552.
>
> [11:35:46]root at x201i.pts/2 /usr/src # cd sys/net80211
> [11:36:01]root at x201i.pts/2 sys/net80211 # patch -p2 <
> /home/HonestQiao/Downloads/r231187.diff
> Hmm...  Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |Index: sys/net80211/ieee80211.h
> |===================================================================
> |--- sys/net80211/ieee80211.h   (revision 231186)
> |+++ sys/net80211/ieee80211.h   (revision 231187)
> --------------------------
> Patching file ieee80211.h using Plan A...
> Hunk #1 failed at 709.
> 1 out of 1 hunks failed--saving rejects to ieee80211.h.rej
> done

Is there Windows stuff involved which might change line breaks?

amy:stable/9% pwd
/home/bschmidt/src/svn/freebsd/stable/9
amy:stable/9% svn up
Updating '.':
At revision 239563.
amy:stable/9% svn stat sys/net80211
amy:stable/9% md5 sys/net80211/ieee80211.h
MD5 (sys/net80211/ieee80211.h) = f3cc66ca7ab81b3c63d1c1fd95806624
amy:stable/9% md5 ~/tmp/r231187.diff
MD5 (/home/bschmidt/tmp/r231187.diff) = e2c5762997088ee1857983a99ddf80bc
amy:stable/9% patch -p0 < ~/tmp/r231187.diff
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: sys/net80211/ieee80211.h
|===================================================================
|--- sys/net80211/ieee80211.h   (revision 231186)
|+++ sys/net80211/ieee80211.h   (revision 231187)
--------------------------
Patching file sys/net80211/ieee80211.h using Plan A...
Hunk #1 succeeded at 709.
done

I've attached the patched ieee80211.h

-- 
Bernhard


More information about the freebsd-wireless mailing list