starcannon
Group: Members
Posts: 100
Joined: Oct. 2005 |
|
Posted: Feb. 20 2006,02:40 |
|
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!
|