On Sat, 2002-11-30 at 12:08, daniel wrote: > Salut tout le monde > avec une debian, la commande "echo > 1 /proc/sys/net/ipv4/ip_fordward" > doit estre mise dans un fichier de boot, oui mais lequel ? (je n'ai pas > trouve de fichier rc.local) le systeme de boot est bizarre sur debian ;-) ! > > daniel > > > _______________________________________________________ > Linux Mailing List - http://www.unixtech.be > Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux > Archives: http://www.mail-archive.com/linux@lists.unixtech.be > IRC: efnet.unixtech.be:6667 - #unixtech
Attention, echo > 1 n'est pas correct ;-) echo 1 > /proc/sys/net/ipv4/ip_forward A mon avis, tant que le forwarding est activé quand tu en as besoin, le fichier particulier où tu insères la commande (celui qui configure le réseau ?) n'a pas beaucoup d'importance. Par ex. j'ai sur SuSE le /etc/init.d/boot qui contient : boot:if test -f /etc/init.d/boot.local ; then boot: echo "Running /etc/init.d/boot.local" boot: /bin/sh /etc/init.d/boot.local Tu peux bricoler qqch comme cela. ------------------------------------------------------------ Dr Alain Empain <[EMAIL PROTECTED]> Bioinformatics, Molecular Genetics, Fac. Med. Vet., University of Liège, Belgium Bd de Colonster, B43 B-4000 Liège (Sart-Tilman) WORK: +32 4 366 3821 FAX: +32 4 366 4122 HOME: rue des Martyrs,7 B- 4550 Nandrin +32 85 51 23 41 GSM: +32 497 70 17 64 _______________________________________________________ Linux Mailing List - http://www.unixtech.be Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux Archives: http://www.mail-archive.com/linux@lists.unixtech.be IRC: efnet.unixtech.be:6667 - #unixtech