Here’s the script I use for starting up the wireless network:
#!/bin/sh case "$1" in start) sudo /sbin/ifconfig ra0 up sudo /usr/bin/RaConfig2500 sudo /etc/init.d/net.ra0 start ;; stop) sudo /etc/init.d/net.ra0 stop ;; esac
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.