9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Patch to wavelan driver, specify heys in hex.
@ 2003-06-29 19:01 Dan Cross
  2003-06-29 19:05 ` Dan Cross
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Cross @ 2003-06-29 19:01 UTC (permalink / raw)
  To: 9fans; +Cc: 9trouble

So my sysadmins at work set up a wireless lan, but made the WEP key a
random string of hex digits that doesn't easily convert into a UTF
sequence I can put in a file.  So I made a small change to the wavelan
driver to recognize keys that start with ``0x'' as hex strings and
convert them to a binary encoding as appropriate.  It's not perfect, as
I'm not checking for decoding errors, nor are non-hex heys that start
with ``0x'' handled, but I wanted to send it out for others who might
be faced with a similar setup.

	- Dan C.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-29 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-29 19:01 [9fans] Patch to wavelan driver, specify heys in hex Dan Cross
2003-06-29 19:05 ` Dan Cross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).