RaLink Start Up Script

Here’s the script I use for starting up the wireless network:

case "$1" in 
		sudo /sbin/ifconfig ra0 up
		sudo /usr/bin/RaConfig2500
		sudo /etc/init.d/net.ra0 start

		sudo /etc/init.d/net.ra0 stop

This is designed to run from my regular user account, thus the sudos. Also, I’ve disabled all wireless configuration by Gentoo by including the line:

modules_ra0=("!iwconfig" "!wpa_supplicant" "!raconfig")

in /etc/conf.d/net.

Leave a Reply

Your email address will not be published. Required fields are marked *