| lspci
|
grep
802 to identify the chip with ndiswrapper, try the win2k driver first. Go back to Linux, log as root on a console, locate the driver file named Rt2500.INF and load it: $ ndiswrapper -i Rt2500.INF Check if the driver is installed: $ ndiswrapper -l You should get something like: Installed ndis drivers: rt2500 hardware present,fuzzy Before attaching the ndiswrapper kernel module, take a look at the /etc/ndiswrapper/rt2500 directory and make a copy of the rt2500.sys file: $ cp rt2500.sys RT2500.sys Load ndiswrapper kernel module: $ modprobe ndiswrapper Check the network adapter name: $ iwconfig The default name for a wireless network adapter is wlan0. Then, create the wireless interface configuration file named /etc/sysconfig/network-scripts/ifcfg-wlan0: DEVICE=wlan0 BOOTPROTO=dhcp onBOOT=on MODE=managed ESSID='default' KEY=<wep key> # leave out the brackets, of course USERCTL=no PEERDNS=no TYPE=wireless CHANNEL=6 # adjust this to fit you router setting RATE=auto Make sure the ndiswrapper kernel module is loaded at boot time. $ ndiswrapper -m |
| In
the
RT2500-Linux-STA-1.4.3.0/STA/Module
directory: make -C /lib/modules/$(uname -r)/build SUBDIRS=$PWD modules and to install it: make -C /lib/modules/$(uname -r)/build SUBDIRS=$PWD modules_install depmod -a modprobe rt2500 |
| #!/bin/bash clear echo "starting wlan0..." /sbin/ifconfig wlan0 up echo "configuring wlan0..." /sbin/ifup wlan0 sleep 5 exit |
| cd
/home/name-of-home-directory /sbin/chmod +x wgo /sbin/chmod 775 wgo |