ich versuche einen Dialin Server für mein Mobiltelefon aufzusetzen, damit ich dann über das Telefon auf das Web zugreifen kann.
Der Rechner ist selbst über DSL Flat an das Internet angebunden. Nun soll über mgetty ein zweiter pppd Prozeß gestartet werden.
Das klappt aber nicht, In den Logs erhalte ich immer:
in der /var/log/mgetty/mg_ttyS2.log:
Code: Alles auswählen
09/10 08:15:46 yS2 waiting...
09/10 09:02:23 yS2 select returned 1
09/10 09:02:23 yS2 checking lockfiles, locking the line
09/10 09:02:23 yS2 makelock(ttyS2) called
09/10 09:02:23 yS2 do_makelock: lock='/var/lock/LCK..ttyS2'
09/10 09:02:23 yS2 lock made
09/10 09:02:23 yS2 wfr: waiting for ``RING''
09/10 09:02:23 yS2 got: [0a][0d][0a]RING[0d]
09/10 09:02:23 yS2 CND: RING
09/10 09:02:23 yS2 wfr: rc=0, drn=0
09/10 09:02:23 yS2 CND: check no: 'none'
09/10 09:02:23 yS2 CND: check vs: all
09/10 09:02:23 yS2 send: ATA[0d]
09/10 09:02:23 yS2 waiting for ``CONNECT''
09/10 09:02:23 yS2 got: [0d]
09/10 09:02:35 yS2 CND: OK[0a]CONNECT ** found **
09/10 09:02:35 yS2 send:
09/10 09:02:35 yS2 waiting for ``_''
09/10 09:02:35 yS2 got: 9600/ISDN/HDLCP[0d]
09/10 09:02:35 yS2 CND: CONNECT 9600/ISDN/HDLCP
09/10 09:02:35 yS2 CND: found: 9600/ISDN/HDLCP[0a] ** found **
09/10 09:02:35 yS2 waiting for line to clear (VTIME=3), read:
09/10 09:02:36 yS2 looking for utmp entry... (my PID: 24654)
09/10 09:02:36 yS2 utmp + wtmp entry made
09/10 09:02:36 yS2 tio_set_flow_control( HARD )
09/10 09:02:36 yS2 print welcome banner (/etc/issue)
09/10 09:02:36 yS2 getlogname (FIDO AUTO_PPP), read:
09/10 09:02:54 ##### failed dev=ttyS2, pid=24654, got signal 1, exiting
09/10 09:02:54 yS2 removing lock file
--
09/10 09:02:54 yS2 mgetty: interim release 1.1.33-Apr10
09/10 09:02:54 yS2 mgetty.c compiled at May 12 2005, 16:30:23
09/10 09:02:54 yS2 user id: 0, pid: 9732, parent pid: 1
09/10 09:02:54 yS2 reading configuration data for port 'ttyS2'
09/10 09:02:54 yS2 reading /etc/mgetty/mgetty.config...
in der /var/log/auth.log;
Code: Alles auswählen
Sep 10 09:02:54 berlin mgetty[24654]: failed dev=ttyS2, pid=24654, got signal 1, exiting
hier noch die /etc/mgetty/login.config
/AutoPPP/ - a_ppp /usr/sbin/pppd file /etc/ppp/options.ttyS2
Kann mit hier jemand vielleicht weiterhelfen?
Habe im Netz schon gefunden, das folgender Eintrag in der /var/log/mgetty/mg_ttyS2.log wünschenswert wäre:
Code: Alles auswählen
01/09 01:15:15 yS0 tio_set_flow_control( HARD )
01/09 01:15:15 yS0 print welcome banner (/etc/issue.mgetty)
01/09 01:15:15 yS0 getlogname (FIDO AUTO_PPP), read:~[ff]}#[c0]!
01/09 01:15:16 yS0 input finished with '\r', setting ICRNL ONLCR
01/09 01:15:16 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
01/09 01:15:16 yS0 login: use login config file
/etc/mgetty/login.config
01/09 01:15:16 yS0 match: user='/AutoPPP/', key=''
01/09 01:15:16 yS0 match: user='/AutoPPP/', key=''
01/09 01:15:16 yS0 match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
01/09 01:15:16 yS0 login: utmp entry: a_ppp
01/09 01:15:16 yS0 looking for utmp entry... (my PID: 1566)
01/09 01:15:16 yS0 utmp + wtmp entry made
01/09 01:15:16 yS0 calling login: cmd='/usr/sbin/pppd', argv[]='pppd
auth -chap +pap login debug'
Phili