OVH Cloud OVH Cloud

mgetty

2 réponses
Avatar
daniel
Bonjour,


Je suis en train de tester une liaison ppp mais le modem ne decroche pas
bien que mgetty detecte une sonnerie.
voici le fichier log mgetty:

06/18 21:45:16 yS1 mgetty: experimental test release 1.1.28-Jan10
06/18 21:45:16 yS1 check for lockfiles
06/18 21:45:16 yS1 checklock: stat failed, no file
06/18 21:45:16 yS1 locking the line
06/18 21:45:16 yS1 makelock(ttyS1) called
06/18 21:45:16 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
06/18 21:45:16 yS1 lock made
06/18 21:45:16 yS1 tio_get_rs232_lines: status: RTS CTS DSR DTR
06/18 21:45:16 yS1 lowering DTR to reset Modem
06/18 21:45:17 yS1 tss: set speed to 38400 (017)
06/18 21:45:17 yS1 tio_set_flow_control( HARD )
06/18 21:45:17 yS1 waiting for line to clear (VTIME), read:
06/18 21:45:17 yS1 waiting for line to clear (VTIME), read:
06/18 21:45:17 yS1 removing lock file
06/18 21:45:17 yS1 waiting...
06/18 21:45:22 yS1 select returned 1
06/18 21:45:22 yS1 checking lockfiles, locking the line
06/18 21:45:22 yS1 makelock(ttyS1) called
06/18 21:45:22 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
06/18 21:45:22 yS1 lock made
06/18 21:45:22 yS1 waiting for line to clear (VTIME), read: [0d]
06/18 21:45:22 yS1 looking for utmp entry... (my PID: 1834)
06/18 21:45:22 yS1 utmp + wtmp entry made
06/18 21:45:23 yS1 tio_set_flow_control( HARD )
06/18 21:45:23 yS1 print welcome banner (/etc/issue)
06/18 21:45:23 yS1 getlogname (AUTO_PPP), read:[0d]
06/18 21:45:23 yS1 input finished with '\r', setting ICRNL ONLCR
06/18 21:45:23 yS1 tio_set_flow_control( HARD )
06/18 21:45:23 yS1 print welcome banner (/etc/issue)

Dans inittab j'ai:
S1:2345:respawn:/sbin/mgetty -D -r /dev/ttyS1

dans mgetty.config j'ai:
port ttyS1
debug 9
speed 38400
data-only y
init-chat "" \d\d\d+++\d\d\dAT&F \dAT&K3 OK ATS0=0 OK

dans login.config j'ai uniquement
* - - /bin/login @

merci pour votre aide

2 réponses

Avatar
geaorge
On Sat, 19 Jun 2004 21:34:15 +0200, daniel wrote:

Bonjour,


Je suis en train de tester une liaison ppp mais le modem ne decroche pas
bien que mgetty detecte une sonnerie.


....0snip....


Dans inittab j'ai:
S1:2345:respawn:/sbin/mgetty -D -r /dev/ttyS1


chez moi je n'ai pas le -r

Avatar
daniel
geaorge wrote:
On Sat, 19 Jun 2004 21:34:15 +0200, daniel wrote:


Bonjour,


Je suis en train de tester une liaison ppp mais le modem ne decroche pa s
bien que mgetty detecte une sonnerie.



....0snip....



Dans inittab j'ai:
S1:2345:respawn:/sbin/mgetty -D -r /dev/ttyS1



chez moi je n'ai pas le -r

Merci pour le -r en effet ça ne pouvais pas marcher.


Maintenant donc le modem decroche par contre j'ai un probleme
d'identification.
voisi le login.config

/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login debug