-
Here's how to use your Prism2 USB device with a WEP AP
I'd been looking for a way to use a typical USB Prism2 device with knoppix - esp. with WEP enabled (since most networks these days seem to have WEP).
From the steps listed in the README, I could get nowhere, esp. with WEP, and the documentation was, as much linux documentation is for me, completely over my head. Hunting around here wasn't helping much either -- seems a lot of other people had the same problem. (Which is why I am posting this).
All I wanted was a simple post-boot script that *just did it*, generically, with the minimum of special info needed. Obviously, I wanted no monkeying around with boot scripts. In a way, it was the missing piece for Knoppix, because to me USB is the only kind of networking that really fits the non-invasive, low-impact philosophy of the bootable CD approach.
Well, thanks to Rudolf Mittelmann's kind sharing on his webpage, I now have a script that gets me 99% of the way. His page is at:
http://artm-friends.at/rm/mylinux.php#atwm
Another useful page:
http://www.siliconvalleyccie.com/lin...mp11-linux.htm
His script, with just a couple characters changed to suit my understanding of the docs, is below. Note that to translate your WEP key to the 4 hex strings needed in the script, run
nwepgen <put plaintext WEP key here>
Incidentally, the last 1% I can't solve yet: I'm not automatically accessing a DNS server through the AP, like the device apparently does in Windows. Anybody know what I need to set to change that? I've tried netcardconfig, but don't really know what to set. Thanks if you have any info.
#!/bin/sh
# ws (wlan-start)
# this script should initialize the GemTek WL-388 mini-USB WLAN module
# [email protected] 2002-10-22
# using linux-wlan-ng-0.1.16-pre6
PATH=/sbin:$PATH
modprobe prism2_usb prism2_doreset=1
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true # for me this must be host-based encrypt.
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0 # which WEP key to use
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=<your:first:key:g oes:here>
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey1=<your:second:key: goes:here>
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey2=<your:third:key:g oes:here>
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey3=<your:fourth:key: goes:here>
wlanctl-ng wlan0 lnxreq_autojoin ssid=<your-ESSID-goes-here> authtype=opensystem
#authtype should be "sharedkey" but that does not work for me
ifconfig wlan0 192.168.1.50 # your local WLAN IP address
route add default gw 192.168.1.1 # route to your router IP address
Similar Threads
-
By aebp in forum Networking
Replies: 4
Last Post: 06-15-2005, 03:21 AM
-
By Splood in forum Hardware & Booting
Replies: 2
Last Post: 04-13-2005, 11:34 AM
-
By YuXeL in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 12-08-2003, 01:48 AM
-
By opel70 in forum Hardware & Booting
Replies: 12
Last Post: 06-29-2003, 05:13 AM
-
By nzou in forum Hardware & Booting
Replies: 6
Last Post: 02-24-2003, 07:45 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Juniper Network QFX5100-48S-AFO 48x SFP/SFP+ 6x 40GbE QSFP+ Switch w/ Dual power
$253.30

For Cisco SFP-10G-T-X Module, 10G SFP to RJ-45 Copper, 10GBase-T, 1/2.5/5/10Gbps
$39.99

Cisco SFP-10G-SR Transceiver
$4.00

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

10Gb SFP+ to RJ45 Module Copper Cat6 Transceiver Compatible w/5Gb/ 2.5Gb/ 1Gb
$31.95

*LOT OF 10*Cisco SFP-GE-T EXT 30-1421-01 USA 1000BASE-T RJ45 SFP Transceiver
$19.99

Qty 20 New Cisco QSFP-100G-FR-W2 10-3659-01 Module Hologram Brand New 20 Pack
$260.00

30PCS Sealed Cisco SFP-10G-SR 10GBASE-SR SFP+ Transceiver Module MMF 850nm 300m
$499.99