script wifi au demarrage
Date: Tuesday 2 August 2005 10:01:30
Bonjour,
J'ai creer ub script wifi pour ma connexion que j'ai appeler wifi.sh voici le contenu
#! /bin/sh
modprobe ndiswrapper
ifconfig ra0 192.168.0.2
route add default gw 192.168.0.254
ifconfig ra0 up
iwconfig ra0 essid "toto"
iwconfig ra0 key XXXXXXXXXXX
iwconfig ra0 channel 11
il fonctionne impecable, mais maintenant j'aimerais qu'il se lance au demarrage. Je l'ai copier dans /etc/init.d. Mais lorsque je fais un chkconfig --add wifi.sh
il me reponds le service wifi.sh ne prend pas en charge chkconfig. Comment faire sachant que je suis sous Mandrake Download 2005 ?
Merci par avance