Clifford Kite <(E-Mail Removed)> writes:
> Knackeback <(E-Mail Removed)> wrote:
> > I started to configure my linux box to connect to a remote NT
> > machine via PPP and callback procedure. I call a certain number
> > and I'm called back by the NT host. I found a nice HOWTO but I
> > stumbled doing the first steps.
>
> > I wrote a small script:
>
> > #!/bin/sh
> > phone="callback 555111"
> > /usr/sbin/pppd 38400 connect '/usr/sbin/chat -v -f $HOME/win_nt.chat' \
> > lock $phone -detach
> > /usr/sbin/pppd 38400 connect '/usr/sbin/chat -v -f $HOME/win_nt_cb.chat' \
> > lock -detach
>
> Try adding " /dev/ttySx" just after "/usr/sbin/pppd" in both scripts,
> where ttySx is the device file associated with the serial device for
> the modem.
>
Yes, thanks for your hint ! Now the right device is used and
the modem dials the number. However until now
I could not establish a successful connection.
I think something with the PAP-authentification does not work. The logs from
/var/log/messages are:
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x50cb604b> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x50cb604b> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x50cb604b> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x43 <asyncmap 0xa0000> <auth pap> <magic 0xa181275d> <pcomp> <accomp>]
sent [LCP ConfRej id=0x43 <auth pap>]
rcvd [LCP ConfReq id=0x44 <asyncmap 0xa0000> <auth pap> <magic 0xa181275d> <pcomp> <accomp>]
sent [LCP ConfRej id=0x44 <auth pap>]
rcvd [LCP ConfReq id=0x45 <asyncmap 0xa0000> <auth pap> <magic 0xa181275d> <pcomp> <accomp>]
sent [LCP ConfRej id=0x45 <auth pap>]
rcvd [LCP ConfReq id=0x46 <asyncmap 0xa0000> <auth pap> <magic 0xa181275d> <pcomp> <accomp>]
sent [LCP ConfRej id=0x46 <auth pap>]
rcvd [LCP ConfReq id=0x47 <asyncmap 0xa0000> <auth pap> <magic 0xa181275d> <pcomp> <accomp>]
sent [LCP ConfRej id=0x47 <auth pap>]
rcvd [LCP TermReq id=0x48]
sent [LCP TermAck id=0x48]
rcvd [LCP ConfReq id=0x49 <asyncmap 0xa0000> <auth pap> <magic 0xa181275d> <pcomp> <accomp>]
sent [LCP ConfRej id=0x49 <auth pap>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x50cb604b> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x50cb604b> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x50cb604b> <pcomp> <accomp>]
..
..
..
Modem hangup
Connection terminated.
Perms of /dev/ttyS1 are ok, no 'mesg n' neccesary.
Connect script failed
From the log I see that sometime the server sent a "termination request"
and my host sent a "termination acknowledgment"
But I don't understand the lines above. Why does the PAP chatting fail ?
My /etc/ppp/pap-secrets looks like:
"my user name" "IP-address of the NT server" "my password"
Still in trouble and happy about every help, Thomas
--
NO ePatents:
http://swpat.ffii.org/index.de.html