From 395dec52c7e81becb0ef84eed14060a788204fd0 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 12 Aug 2002 06:59:04 +0000 Subject: [PATCH] Warn that hex keys are the most portable. Submitted by: Gregory Bond Pr: 40872 --- sbin/ifconfig/ifconfig.8 | 3 +++ usr.sbin/wicontrol/wicontrol.8 | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 3c40e1c2c7b1..a17c4be174c1 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -597,6 +597,9 @@ capabilities of the adaptor. It may be specified either as a plain string or as a string of hexadecimal digits proceeded by .Ql 0x . +For maximum portability, hex keys are recommended; +the mapping of text keys to WEP encryption is usually driver-specific. +In particular, the Windows drivers do this mapping differently to FreeBSD. A key may be cleared by setting it to .Ql - . If WEP is supported then there are at least four keys. diff --git a/usr.sbin/wicontrol/wicontrol.8 b/usr.sbin/wicontrol/wicontrol.8 index c1e49103421b..260b3933009e 100644 --- a/usr.sbin/wicontrol/wicontrol.8 +++ b/usr.sbin/wicontrol/wicontrol.8 @@ -314,7 +314,11 @@ which means the key can be specified as either a 13 character text string or 26 hex digits in addition to the formats supported by the Silver cards. .Pp -Note: Both 128-bit and 64-bit WEP have been broken. +For maximum portability, hex keys are recommended; +the mapping of text keys to WEP encryption is usually driver-specific. +In particular, the Windows drivers do this mapping differently to FreeBSD. +.Pp +Note: Both 128-bit and 64-bit WEP encryption have been broken. See the .Sx BUGS section for details.