Hi Bernhard!
Thanks for your response. Following your intructions, i have the ff on my
/etc/ppp/options file:
asyncmap 0
netmask 255.255.255.0
proxyarp
lock
x.x.x.x:y.y.y.y
crtscts
modem
/dev/ttyS0 115200
when i tried to dial into it using a linux client, i have the ff log info
on the client side (i believe ppp is not yet started on the server side
bes. there was no log data reflected). how can i trigger the ppp daemon
on the server side to start? it seems like mgetty is ok but the
/bin/login program on the server side is not responding. btw, im using
the native linuxconf (client side) to dial and it automatically creates
the file pap-secret. does that matter?
Aug 19 10:51:51 testpc chat[1141]: ATDT3545742^M^M
Aug 19 10:51:51 testpc chat[1141]: CONNECT
Aug 19 10:51:51 testpc chat[1141]: -- got it
Aug 19 10:51:51 testpc chat[1141]: send (^M)
Aug 19 10:51:51 testpc chat[1141]: timeout set to 5 seconds
Aug 19 10:51:51 testpc chat[1141]: expect (~)
Aug 19 10:51:51 testpc chat[1141]: 115200/V34/LAPM/V42BIS/33600:TX/33600:RX^M
Aug 19 10:51:52 testpc chat[1141]: ^M
Aug 19 10:51:52 testpc chat[1141]: ^MRed Hat Linux release 5.1 (Manhattan)
Aug 19 10:51:52 testpc chat[1141]: ^MKernel 2.0.35 on an armv4l
Aug 19 10:51:52 testpc chat[1141]: ^M
Aug 19 10:51:52 testpc chat[1141]: ^M^M
Aug 19 10:51:52 testpc kernel: RPC: sendmsg returned error 101
Aug 19 10:51:56 testpc chat[1141]: alarm
Aug 19 10:51:56 testpc pppd[1139]: Serial connection established.
Aug 19 10:51:56 testpc chat[1141]: send (^M)
Aug 19 10:51:56 testpc chat[1141]: send (^M)
Aug 19 10:51:57 testpc pppd[1139]: Using interface ppp0
Aug 19 10:51:57 testpc pppd[1139]: Connect: ppp0 <--> /dev/ttyS2
Aug 19 10:51:57 testpc pppd[1139]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x6bd30482> <pcomp> <accomp>]
Aug 19 10:51:58 testpc kernel: RPC: sendmsg returned error 101
Aug 19 10:52:00 testpc pppd[1139]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x6bd30482> <pcomp> <accomp>]
Aug 19 10:52:57 testpc pppd[1139]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x6bd30482> <pcomp> <accomp>]
Aug 19 10:52:57 testpc pppd[1139]: Modem hangup
Aug 19 10:52:58 testpc kernel: RPC: sendmsg returned error 101
Aug 19 10:52:57 testpc pppd[1139]: Connection terminated.
Aug 19 10:52:58 testpc pppd[1139]: Exit.
On Wed, 18 Aug 1999, Bernhard L�der wrote:
> Hi,
>
> following is an answer I have given to another list not long ago. It might
> be just what you are after.
>
> Regards
>
> Bernhard
>
> Here's a quick run down from an article in Aust PC Mag Dec 98:
>
> Assuming your modem settings are correct.
>
> Edit your /etc/inittab file so it contains the following line (Modem
> connected to ttyS1 / COM2):
>
> S1:2345:respawn /sbin/mgetty ttyS1
>
> to restart init, type:
>
> init q
>
> Edit your /etc/mgetty+sendfax/login.config file to contain the line:
>
> /AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login kdebug 7 debug
>
> instead of:
> /usr/sbin/pppd auth login
>
>
> Edit your /etc/ppp/pap-secrets file so it contains:
>
> * * "" *
>
> You will also need to have a look at /etc/ppp/options and comment out any
> unwanted options. They are well described in the file itself or in the man
> pppd pages
>
>
> This is all you should have to do to make Linux answer your incoming modem
> calls.
>
> Good luck
> Bernhard
>
> Nenita Manaois wrote:
>
> > Hi everyone!
> >
> > my deepest apologies if i have to ask these questions but i have been
> > trying to configure my linux box as ppp server for the last 2 days but to
> > no avail. i hope you could help me...
> >
> > so here's the problem:
> >
> > i am running ppp2.2 on my server with mgetty 1.1.9.
> >
> > here's my entry in my /etc/inittab file:
> > d1:23:respawn:/usr/local/mgetty/sbin/mgetty -D /dev/ttyS0
> >
> > my /etc/ppp files are:
> > options.mgetty (as spwecified in the AutoPPP entry)
> > auth
> > -chap
> > +pap
> > login
> > asyncmap 0
> > :210.24.188.199
> > debug
> > modem
> > crtscts
> > dns-addr 210.24.188.188
> > proxyarp
> >
> > my pap-secrets file:
> > # Secrets for authentication using PAP
> > # client server secret IP addresses
> > usename * ""
> >
> > im using a linux machine to dial into the ppp server and after the serial
> > connection has been established (based on the log file), i am stucked on
> > this part:
> > sent [LCP Confreq id=0x1 <mru 1500> <magic 0xffff8317> <pcomp> <accomp>
> >
> > then the log file would say last message was repeated xx times
> >
> > on the ppp server mgetty.ttyS0 logfile, i have the ff:
> >
> > --
> >
> > 08/18 17:37:30 yS0 waiting...
> > 08/18 17:37:32 yS0 waiting for ``RING''
> > 08/18 17:37:50 yS0 timeout in chat script, waiting for `RING'
> > 08/18 17:37:50 yS0 ringback: phone stopped after 0 RINGs, waiting for re-ring
> > 08/18 17:37:50 yS0 waiting for ``RING''
> > 08/18 17:49:19 yS0 timeout in chat script, waiting for `RING'
> > 08/18 17:49:19 ##### missed ringback!
> >
> > Any help from you would be highly appreciated!
> >
> > TIA
> >
> > Nenita Manaois
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> > the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]