Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 2 [3] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Making a usb wireless device config utility, for prism2_usb devices< Next Oldest | Next Newest >
Nobody
Unregistered






Posted: Nov. 10 2004,11:48 QUOTE

# This script has worked well for me:
#!/bin/bash
linux:~/bin # ifconfig
modprobe prism2_usb prism2_doreset=1
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=gmtnet authtype=opensystem
# set up my IP
ifconfig wlan0 192.168.2.6

# And for encrypted wireless:
#!/bin/bash

ssid=gmtnet
wep="E2:74:5D:35:00"

modprobe prism2_usb prism2_doreset=1
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable

wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=$wep

wlanctl-ng wlan0 lnxreq_autojoin ssid=$ssid authtype="sharedkey"

# set up my IP
ifconfig wlan0 192.168.2.3 netmask 255.255.255.0
route add default gw 192.168.2.20

# And I stole both of those from the following post, thanks
#Gregory Toomey!!!!
# http://www.w00tlinux.com/bb/sutra255903.html
Back to top
starcannon Offline





Group: Members
Posts: 100
Joined: Oct. 2005
Posted: Feb. 20 2006,02:40 QUOTE

Quote (Guest @ Nov. 10 2004,06:48)
# This script has worked well for me:
#!/bin/bash
linux:~/bin # ifconfig
modprobe prism2_usb prism2_doreset=1
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=gmtnet authtype=opensystem
# set up my IP
ifconfig wlan0 192.168.2.6

# And for encrypted wireless:
#!/bin/bash

ssid=gmtnet
wep="E2:74:5D:35:00"

modprobe prism2_usb prism2_doreset=1
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable

wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=$wep

wlanctl-ng wlan0 lnxreq_autojoin ssid=$ssid authtype="sharedkey"

# set up my IP
ifconfig wlan0 192.168.2.3 netmask 255.255.255.0
route add default gw 192.168.2.20

# And I stole both of those from the following post, thanks
#Gregory Toomey!!!!
# http://www.w00tlinux.com/bb/sutra255903.html

This works for the Averatec 3150p as well THANKS LOADS i was bangin my head on the wall, the wlan0 was showing up, I could mess with it even once got an ip addy onto it but couldnt ping anything on my lan, that little script fixed it though. Awesome thanks man!

--------------
Damn Small Linux... Because size DOES matter...
Viva Le' Revolution!
Back to top
Profile PM 
xxooss Offline





Group: Members
Posts: 20
Joined: Jan. 2006
Posted: Feb. 20 2006,20:01 QUOTE

my problem is that DSL loses my wireless settings after a certain amount of time, i.e. i have to go in to DSL panel and reset the Prisim 2 channel to 10. it defaults to 11. Does someone know how to solve this?

peace
Back to top
Profile PM 
12 replies since Oct. 17 2004,06:28 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 2 [3] >/
reply to topic new topic new poll
Quick Reply: Making a usb wireless device config utility

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code