Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1571 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Divers

  lancer une command lorsdu demarrage

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

lancer une command lorsdu demarrage

n°363161
carot0
Posté le 21-11-2003 à 21:04:05  profilanswer
 

slt tlm, voila g une red hat 9, et j'aimerai que ma connection adsl soit lance pendant le demarrage et accessible a tous les utilisateur. pour lancer ma connection je fait un "startmodem". ds quel fichier dois-je rajouter ce code pour que ca marche ou suis-je obliger de creer un script special?


---------------
In a world without walls and fences, who needs Windows and Gates
mood
Publicité
Posté le 21-11-2003 à 21:04:05  profilanswer
 

n°363171
Le Ouinhin​ Pervers
Posté le 21-11-2003 à 21:19:47  profilanswer
 

Edite ton /etc/rc.d/rc.local et rajoute "startmodem" à la fin.

n°363201
carot0
Posté le 21-11-2003 à 21:53:39  profilanswer
 

Le Ouinhin Pervers a écrit :

Edite ton /etc/rc.d/rc.local et rajoute "startmodem" à la fin.


merci


---------------
In a world without walls and fences, who needs Windows and Gates
n°363284
carot0
Posté le 22-11-2003 à 02:51:59  profilanswer
 

Le Ouinhin Pervers a écrit :

Edite ton /etc/rc.d/rc.local et rajoute "startmodem" à la fin.


ca na pas marché, g essaye de faire chkconfig --add startmodem mais ca n'a pas marche non plus


Message édité par carot0 le 22-11-2003 à 02:54:25

---------------
In a world without walls and fences, who needs Windows and Gates
n°363285
ipnoz
Sapé comme jamais !
Posté le 22-11-2003 à 02:55:27  profilanswer
 

chkconfig startmodem on ?

n°364623
carot0
Posté le 24-11-2003 à 17:01:10  profilanswer
 

ipnoz a écrit :

chkconfig startmodem on ?


il refuse : "Erreur lors de la lecture d'informations sur le service startmodem : Aucun fichier ou répertoire de ce type"
je comprend pas pkoi il ne le trouve pas.
autre solution pour que ma connection s lance lors du boot


---------------
In a world without walls and fences, who needs Windows and Gates
n°364642
bilbo24
Posté le 24-11-2003 à 17:29:13  profilanswer
 

which startmodem

n°364643
bilbo24
Posté le 24-11-2003 à 17:30:35  profilanswer
 

ou find / -name "*artmod*"

n°364930
carot0
Posté le 25-11-2003 à 09:15:58  profilanswer
 

bilbo24 a écrit :

which startmodem


ce sont des command pour localiser le script "startmodem" ?
mais pour le mettre au demarrage, comme dois-je faire ?


---------------
In a world without walls and fences, who needs Windows and Gates
n°364983
bilbo24
Posté le 25-11-2003 à 10:40:27  profilanswer
 

tu peux le mettre dans /etc/rc.d/rc.local

mood
Publicité
Posté le 25-11-2003 à 10:40:27  profilanswer
 

n°365113
carot0
Posté le 25-11-2003 à 15:39:56  profilanswer
 

bilbo24 a écrit :

tu peux le mettre dans /etc/rc.d/rc.local


deja fait ca, ca ne fait rien


---------------
In a world without walls and fences, who needs Windows and Gates
n°365122
bilbo24
Posté le 25-11-2003 à 15:45:59  profilanswer
 

franchement je lis pas les posts moi !

n°365124
bilbo24
Posté le 25-11-2003 à 15:47:40  profilanswer
 

ben dans /etc/inittab

n°366265
carot0
Posté le 27-11-2003 à 21:09:10  profilanswer
 

bilbo24 a écrit :

ben dans /etc/inittab


comment je dois l'ecrir ds inittab ?


---------------
In a world without walls and fences, who needs Windows and Gates
n°369746
bilbo24
Posté le 04-12-2003 à 17:40:49  profilanswer
 

.... ???  
man inittab

n°369985
carot0
Posté le 04-12-2003 à 22:26:56  profilanswer
 

bilbo24 a écrit :

.... ???  
man inittab


c bon j'ai fait un script et ca marche merci pour l'aide  
si non comment je peux faire pour ke lors du boot a l'ecrant, losqu'il execute mon scripte, je n'ai pas 2lignes d'ecrite avec plein de chose que je ne comprend aps ?


---------------
In a world without walls and fences, who needs Windows and Gates
n°369992
black_lord
Modérateur
Truth speaks from peacefulness
Posté le 04-12-2003 à 22:30:57  profilanswer
 

tu ajoutes '> /dev/null' a la fin de ta commande

n°370025
carot0
Posté le 04-12-2003 à 23:08:15  profilanswer
 

Black_lord a écrit :

tu ajoutes '> /dev/null' a la fin de ta commande


merci je vais essayer


---------------
In a world without walls and fences, who needs Windows and Gates
n°370036
BMOTheKill​er
Posté le 05-12-2003 à 00:05:06  profilanswer
 

tu as un modem eci ?
 
startmodem est bien dans /usr/local/bin ?


Message édité par BMOTheKiller le 05-12-2003 à 00:05:36
n°370363
carot0
Posté le 05-12-2003 à 18:10:03  profilanswer
 

BMOTheKiller a écrit :

tu as un modem eci ?
 
startmodem est bien dans /usr/local/bin ?


oui en effet


---------------
In a world without walls and fences, who needs Windows and Gates
n°370375
BMOTheKill​er
Posté le 05-12-2003 à 18:19:23  profilanswer
 

ben je peux te filer mes scripts si ça te chante, ça se connecte au démarrage, se coupe à l'arrêt, par contre c'est légèrement modifié car je n'éxécute pas startmodem mais des parties du fichiers en fait...

n°370388
carot0
Posté le 05-12-2003 à 18:31:16  profilanswer
 

BMOTheKiller a écrit :

ben je peux te filer mes scripts si ça te chante, ça se connecte au démarrage, se coupe à l'arrêt, par contre c'est légèrement modifié car je n'éxécute pas startmodem mais des parties du fichiers en fait...


ca me plairais assez de voir ce ke tu as fait( je ne pense pas m'en servire mais ca m'apprendra surement des truc sympas )


---------------
In a world without walls and fences, who needs Windows and Gates
n°370401
BMOTheKill​er
Posté le 05-12-2003 à 18:42:36  profilanswer
 

bon, c'est trop long à poster ici, je t'ai fait un tarball
 
une fois téléchargé : tar xfj eci-modem.tar.bz2


Message édité par BMOTheKiller le 05-12-2003 à 18:42:50
n°370404
carot0
Posté le 05-12-2003 à 18:44:33  profilanswer
 

BMOTheKiller a écrit :

bon, c'est trop long à poster ici, je t'ai fait un tarball
 
une fois téléchargé : tar xfj eci-modem.tar.bz2


merci


---------------
In a world without walls and fences, who needs Windows and Gates
mood
Publicité
Posté le   profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Divers

  lancer une command lorsdu demarrage

 

Sujets relatifs
[shell] temporisation avant de lancer une commandeSoucis de démarrage RedHat 9 avec MySQL
Problème démarrage Mandrake 9.2démarrage automatique saoulant [resolu]
pb au demarrage / NVIDIALancer deux serveur X sur le meme pc en meme temps
Lancer une appli sur un bureau spécifique de kdeConnexion internet au demarrage (RNIS)
Je ne pleux plus lancer de session graphqieu sous debian Sid[samba] Pb : nmbd refuse de se lancer
Plus de sujets relatifs à : lancer une command lorsdu demarrage


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR