From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200306291901.h5TJ1G703256@augusta.math.psu.edu> To: 9fans@cse.psu.edu Cc: 9trouble@plan9.bell-labs.com From: Dan Cross Subject: [9fans] Patch to wavelan driver, specify heys in hex. Date: Sun, 29 Jun 2003 15:01:16 -0400 Topicbox-Message-UUID: e10ef758-eacb-11e9-9e20-41e7f4b1d025 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.