linux wireless help
Hello
I have an Compaq EVO 410c laptop, and a compaq w200 USB wireless card which uses orinoco usb chipset. I installed some hacked drivers and got the network card up, however i'm having trouble getting my browser to connect. I know the network card works because it lights up. I found the driver from this site
"larve.net/people/hugo/2002/12/evo410"
the author has this configuration, but i'm a newbie can someone please provide step by step setup instructions
Maps and /etc/network/interfaces
******* script copied from the site above*********
My /etc/network/interfaces:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The internal interface
mapping eth0
script /etc/network/map-scheme.sh
map masq masquerading
map * anywhere
# W200
#iface wlan0 inet dhcp
# pre-up /etc/network/wireless-settings start wlan0
# up /etc/init.d/ntpdate start
mapping wlan0
script /etc/network/w200-scheme.sh
map masquerading masquerading
map kadish masquerading
map * anywhere
# PCMCIA Cards
mapping eth1
script /etc/network/pcmcia-compat
map modem,*,*,* modem
map masquerading,*,*,* masquerading
map kadish,*,*,* masquerading
map *,*,*,* anywhere
# Profiles
iface anywhere inet dhcp
up /etc/init.d/ntpdate start
iface masquerading inet static
address 10.168.169.1
netmask 255.255.255.0
up /etc/init.d/dhcp3-server start
up /etc/init.d/ipmasq start
down /etc/init.d/ipmasq stop
down /etc/init.d/dhcp3-server stop
down rmmod -a
down rmmod -a
My /etc/network/map-scheme.sh:
#!/bin/sh
iface="$1"
which=""
[ -f /etc/network/scheme ] || exit 1
lookup=$(cat /etc/network/scheme)
while read glob scheme; do
if [ "$which" ]; then continue; fi
case "$lookup" in
$glob) which="$scheme" ;;
esac
done
if [ "$which" ]; then echo $which; exit 0; fi
exit 1
My /etc/network/w200-scheme.sh:
#!/bin/sh
iface="$1"
which=""
if [ "$1" = "wlan0" ]; then
/etc/network/wireless-settings start wlan0
fi
[ -f /var/lib/misc/pcmcia-scheme ] || exit 1
lookup=$(cat /var/lib/misc/pcmcia-scheme)
while read glob scheme; do
if [ "$which" ]; then continue; fi
case "$lookup" in
$glob) which="$scheme" ;;
esac
done
if [ "$which" ]; then echo $which; exit 0; fi
exit 1
My /etc/network/wireless-settings:
#!/bin/sh
source /etc/pcmcia/shared
SCHEME=`cat /var/lib/misc/pcmcia-scheme`
HWADDR=`/sbin/ifconfig $DEVICE | sed -ne 's/.*\(..:..:..:..:..:..\).*/\1/p'`
ADDRESS="$SCHEME,$SOCKET,$INSTANCE,$HWADDR"
source /etc/pcmcia/wireless
My /etc/network/pcmcia-compat:
#!/bin/sh
source /usr/share/doc/ifupdown/examples/pcmcia-compat.sh
|