[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] serveur PPP (ma config)
Alec Effinger wrote:
>
> Suite ` divers riponse regues ici pour mettre en place
> un serveur PPP, je suis dij` confronti ` un problhme :
> lors d'un appel, getty ne fait pas son boulot (c'est `
> dire ne dicroche pas)
>
> Voici ce que j'ai mis en place :
>
> Ajout d'une ligne dans /etc/inittab
> S0:3:respawn:/sbin/getty ttyS0 38400
>
> Criation d'un /etc/conf.getty qui contient :
> WAITFOR=RING
> CONNECT="" ATA\r CONNECT\s\A
>
> /etc/gettydefs existe et contient bien une ligne 38400
>
> Aprhs reboot, en faisant un ps, /sbin/getty est bien
> actif
rebooter !!
c'est pas un M$ Windows !!!!!
un
# init q
suffit
> Le modem est bien sur /dev/ttyS0 (commande ATA testie
> avec minicom)
>
> J'ai lu (et pas spicialement ipluchi) le serial-howto,
> terminal-howto, la man pages de getty.
>
> Quelqu'un sait-il comment sortir de cette mishre avant
> que je me lance dans la partie PPPD ?
>
> Merci
> Alec
moi j'utilise mgetty
avec dans
------------ /etc/mgetty+sendfax/login.config
/AutoPPP/ - a_ppp /usr/sbin/pppd -chap +pap login crtscts modem
debug
* - - /bin/login @
------------ /etc/mgetty+sendfax/mgetty.config
# set the global debug level to "4" (default from policy.h)
debug 4
# access the modem(s) with 38400 bps
speed 38400
---------- /etc/ppp/options.ttyS0
192.168.0.1:192.168.0.250
------------ /etc/ppp/pap-secrets
loginclient * passwordclient *
les autre fchier sont les fichier par default de la redhat 6.1
et ca marche
>
--
Linux : May the sources be with you !
KeyLinux
Alain Spineux
Linux System Engineer
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/