Subject: Re: pppd problem under netbsd-current
To: Jukka Marin <jmarin@teeri.jmp.fi>
From: CHAN Yiu Wah <clarence@cs.cuhk.hk>
List: current-users
Date: 02/29/1996 16:35:58
>
> > Is it clear to you now. What is your idea on this case ?
>
> Yes, now I understand what you're trying to do.
>
> Like someone suggested, check the entry for your modem port in /etc/ttys
> and use a 8-bit terminal type with no parity for the serial port. You can
> edit /etc/gettytab and add a new type if you like (that's what I did; I
> created a new terminal type mod.38400 which has no parity (np) and speed
> is 38400 bps). After editing the files, reboot ot say 'kill -HUP 1'.
>
> After this, you should be able to log in using 8-N-1 in telix - and ppp
> should work, too (it works here).
>
> -jm
>
>
Hello Jukka,
Thank you for your response.
Before received your message, I had tried out what you suggested. The
error was garbage comes out when I started the following command
/usr/sbin/pppd /dev/tty01 38400
and error messages display on the consoles like this
====== Error =====
Feb 29 09:53:48 pc64 pppd[4368]: pppd 2.2.0 started by clarence, uid 300
Feb 29 09:53:48 pc64 pppd[4368]: Connect: ppp0 <--> /dev/tty01
Feb 29 09:54:18 pc64 pppd[4368]: LCP: timeout sending Config-Requests
Feb 29 09:54:18 pc64 pppd[4368]: Connection terminated.
Feb 29 09:54:18 pc64 pppd[4368]: tcsetattr: Interrupted system call
===================
Then I try to ifconfig ppp0
======= ifconfig ppp0 =======
ppp0: flags=10<POINTOPOINT>
inet 137.189.5.89 --> 0.0.0.0 netmask 0xffff0000
===================================
and tried again. But pppd still report the same error messages.
Any comment ?
Where is the mistake I had made ?
cheers,
clarence
clarence@cs.cuhk.hk