Tu as mis où ton exécution automatique de script au démarrage? Dans rcx.d?
Tu peux nous poster le retour d’un ls -l /etc/rc`runlevel | cut -c 3`.d/?
Tu as mis où ton exécution automatique de script au démarrage? Dans rcx.d?
Tu peux nous poster le retour d’un ls -l /etc/rc`runlevel | cut -c 3`.d/?
un petit retour de # ls -l /etc/rc`runlevel | cut -c 3`.d/
-rw-r--r-- 1 root root 677 1 janv. 2011 README
lrwxrwxrwx 1 root root 24 7 mai 2012 S01binfmt-support -> ../init.d/binfmt-support
lrwxrwxrwx 1 root root 20 7 mai 2012 S01fancontrol -> ../init.d/fancontrol
lrwxrwxrwx 1 root root 17 7 mai 2012 S01rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root 14 7 mai 2012 S01sudo -> ../init.d/sudo
lrwxrwxrwx 1 root root 15 7 mai 2012 S02acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 17 7 mai 2012 S02anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 13 7 mai 2012 S02atd -> ../init.d/atd
lrwxrwxrwx 1 root root 14 7 mai 2012 S02cron -> ../init.d/cron
lrwxrwxrwx 1 root root 14 7 mai 2012 S02dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root 15 7 mai 2012 S02exim4 -> ../init.d/exim4
lrwxrwxrwx 1 root root 17 30 mai 21:21 S02hddtemp -> ../init.d/hddtemp
lrwxrwxrwx 1 root root 20 7 mai 2012 S02kerneloops -> ../init.d/kerneloops
lrwxrwxrwx 1 root root 21 7 mai 2012 S02loadcpufreq -> ../init.d/loadcpufreq
lrwxrwxrwx 1 root root 29 10 mai 2012 S02Manage_RAID_Fichier -> ../init.d/Manage_RAID_Fichier
lrwxrwxrwx 1 root root 15 7 mai 2012 S02mdadm -> ../init.d/mdadm
lrwxrwxrwx 1 root root 23 7 mai 2012 S02openbsd-inetd -> ../init.d/openbsd-inetd
lrwxrwxrwx 1 root root 23 7 mai 2012 S02smartmontools -> ../init.d/smartmontools
lrwxrwxrwx 1 root root 13 7 mai 2012 S02ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root 17 7 mai 2012 S02winbind -> ../init.d/winbind
lrwxrwxrwx 1 root root 22 7 mai 2012 S03avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root 19 7 mai 2012 S03bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root 22 7 mai 2012 S03cpufrequtils -> ../init.d/cpufrequtils
lrwxrwxrwx 1 root root 25 7 mai 2012 S03network-manager -> ../init.d/network-manager
lrwxrwxrwx 1 root root 14 7 mai 2012 S04cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 7 mai 2012 S04gdm3 -> ../init.d/gdm3
lrwxrwxrwx 1 root root 15 7 mai 2012 S04saned -> ../init.d/saned
lrwxrwxrwx 1 root root 18 7 mai 2012 S05bootlogs -> ../init.d/bootlogs
lrwxrwxrwx 1 root root 15 7 mai 2012 S05samba -> ../init.d/samba
lrwxrwxrwx 1 root root 17 7 mai 2012 S14portmap -> ../init.d/portmap
lrwxrwxrwx 1 root root 20 7 mai 2012 S15nfs-common -> ../init.d/nfs-common
lrwxrwxrwx 1 root root 27 7 mai 2012 S16nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root 18 7 mai 2012 S17rc.local -> ../init.d/rc.local
lrwxrwxrwx 1 root root 19 7 mai 2012 S17rmnologin -> ../init.d/rmnologin
lrwxrwxrwx 1 root root 23 7 mai 2012 S17stop-bootlogd -> ../init.d/stop-bootlogd
J’ai mis le scritp (Stop_Process) est dans /etc/init.d/
Je vais voir pour le mettre dans rcx.d.
[EDIT]
Ou mettre dans le rc.local /etc/init.d/Stop_Process
Je suis peut être totalement à coté de la plaque là, mais comment le script peut il être lancé automatiquement pas le système si il n’est pas renseigné en SxxTonScript dans ton rcx.d?
EDIT: Oui, ou dans ton rc.local puisqu’il est lancé
Tu n’as pas indiqué non plus ton script dans ton rc.local?
Justement, je ne sais plus comment j’avais fait. Mais étant donné que le test de gdm fonctionne, ça signifie que le script est lancé par le système, non ?
Je reboot le pc et vois ce que ça donne…
Maintenant oui… Oups.
Visiblement, ça à l’air de fonctionner.
Je regarde sur quelques jours et te tiens au courant.
Merci pour les infos.
[EDIT]Juste une petite précision, c’est bien dans le /etc/rc.local et non dans le /etc/init.d/rc.local qu’il faut le mettre ?
/etc/init.d/rc.local est censé exécuter /etc/rc.local (si il existe). On le lit bien au début du script: [quote]# Short-Description: Run /etc/rc.local if it exist[/quote]
Au début de /etc/rc.local on peut lire:
[quote]# This script is executed at the end of each multiuser runlevel.
On voit dans ton dossier /etc/rcx.d que c’est bien /etc/inid.t/rc.local qui est lancé. Mais celui ci est fait pour lancer également /etc/rc.local donc les deux doivent marcher. Je serai tenté de te dire: Utilise /etc/rc.local, il est fait pour ca (qu’on me reprenne si je fais erreur).
Je pense que ton script n’était pas lancé au démarrage (il n’était indiqué ni dans ton rcx.d, ni dans tes rc.local).
Les scripts dans /etc/init.d ne sont pas lancés automatiquement si on ne leur demande pas explicitement quelque part.
La question maintenant est de savoir pourquoi tu dois lancer ce script pour que ton réseau marche. Car à mon avis maintenant tout va marcher, mais faut avouer que ce n’est pas très propre comme solution et il y a forcement une cause.
Salut boulate,
Merci pour ta réponse.
[quote=“boulate”]/etc/init.d/rc.local est censé exécuter /etc/rc.local (si il existe). On le lit bien au début du script: [quote]# Short-Description: Run /etc/rc.local if it exist[/quote][/quote]Oui, en effet… Pas trop les yeux en face des trous.
[quote=“boulate”]Je pense que ton script n’était pas lancé au démarrage (il n’était indiqué ni dans ton rcx.d, ni dans tes rc.local).[/quote]Vu à voir comment, ça se déroule maintenant. Je pense que oui. Mais, dans ce cas, je ne comprends toujours pas le coup de l’alternance entre gdm3 start/stop… Mais, bon, passons…
[quote=“boulate”]La question maintenant est de savoir pourquoi tu dois lancer ce script pour que ton réseau marche. Car à mon avis maintenant tout va marcher, mais faut avouer que ce n’est pas très propre comme solution et il y a forcement une cause.[/quote]Comme dirait l’autre “Felix qui potest rerum cognoscere causas”. Si le problème revient à la charge, j’ai tout de même plusieurs options :
Mais bon, je ne vais pas me porter la poisse tout de même : pour le moment ça roule. Pessimisme moi ? NAN

Oh je ne voyais pas si loin, pour moi c’est juste un probleme avec networkmanager qui doit se lancer trop tôt ou qui ne se lance tout simplement pas 
Content d’avoir pu t’aider à régler ton pb en tout cas 
Un grand merci. Mais je ne préfère pas crier victoire tout de suite…
Je te tiendrai au courant dans quelques jours.
Encore merci pour ton aide.