|
Come configurare le schede wireless con chipset Atheros® su Linux-Slackware |
|
|
|
Pagina 10 di 17 Andremo quindi a creare, in /etc/rc.d, quattro script:
1. rc.inet1-atheros (contiene i parametri per l'ordinario funzionamento delle schede atheros e le relative variabili); 2. rc.inet1-atheros.conf (permette di personalizzare le opzioni relative alle schede atheros) 3. rc.wireless-atheros (riconosce e definisce le wireless extensions) 4. rc.wireless-atheros.conf (consente di personalizzare i parametri delle schede atheros)
Prima
di rendere attivi i miei script, inserite queste poche righe in
/etc/rc.d/rc.M nella parte immediatamente superiore a “# Remove stale
hunt sockets so the game can start” :
----------------------------------------------------------------------------------- # Configurazione schede WLAN if [ -x /etc/rc.d/rc.inet1-atheros ]; then . /etc/rc.d/rc.inet1-atheros fi -----------------------------------------------------------------------------------
Quindi ora avremo qualcosa del genere:
----------------------------------------------------------------------------------- [........................] # Remove stale hunt sockets so the game can start. if [ -r /tmp/hunt -o -r /tmp/hunt.stats ]; then echo "Removing your stale hunt sockets from /tmp." /bin/rm -f /tmp/hunt* fi # Configurazione schede WLAN if [ -x /etc/rc.d/rc.inet1-atheros ]; then . /etc/rc.d/rc.inet1-atheros fi # Ensure basic filesystem permissions sanity. chmod 755 / 2> /dev/null chmod 1777 /tmp /var/tmp [......................] -----------------------------------------------------------------------------------
|