Bug 82187

Summary: typo in ifconfig(8) man file - wepkey hex syntax
Product: Documentation Reporter: Anthony Rogers <anthony.j.rogers>
Component: Books & ArticlesAssignee: Christian Brueffer <brueffer>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Anthony Rogers 2005-06-13 08:40:11 UTC
      under the 'wepkey' section of the 'ifconfig(8)' man page, it states:

 wepkey key|index:key
             For IEEE 802.11 wireless interfaces, set the selected WEP key.
             If an index is not given, key 1 is set.  A WEP key will be either
             5 or 13 characters (40 or 104 bits) depending of the local net-
             work and the capabilities of the adaptor.  It may be specified either as a plain string or as a string of hexadecimal digits
proceeded by `0x'.  For maximum portability, hex keys are recommended;..."

when a 40-bit hex key is proceeded by 0x then a given hex key will be:

aaaaaaaaaa0x 

which is then treated by ifconfig as a 108-bit ascii key and not recognised by the router/wap

Fix: 

change the word 'proceeded' to 'preceeded'
How-To-Repeat:       outlined above in 'Full Description'
Comment 1 Christian Brueffer freebsd_committer freebsd_triage 2005-06-13 08:55:24 UTC
State Changed
From-To: open->patched

Good catch! Applied to CURRENT, will MFC in a couple of days. 
Thanks! 


Comment 2 Christian Brueffer freebsd_committer freebsd_triage 2005-06-13 08:55:24 UTC
Responsible Changed
From-To: freebsd-doc->brueffer

MFC reminder.
Comment 3 David Adam 2005-06-13 13:35:11 UTC
> >Fix:
>       change the word 'proceeded' to 'preceeded'

I don't want to sound too anally-retentive here, but I'm pretty sure it's
spelt 'preceded'.

http://dictionary.reference.com/search?q=preceeded

Cheers,

David Adam
zanchey@ucc.gu.uwa.edu.au
Comment 4 Christian Brueffer freebsd_committer freebsd_triage 2005-06-16 09:04:09 UTC
State Changed
From-To: patched->closed

MFC done.