userland ppp problem

userland ppp problem

Post by GraWlfan » Sun, 12 Dec 1999 04:00:00



I posted this earlier, and then a resolution. Well the resolution didn't
always work so I've posted again in a fresh thread to see what response
I may get.

I have just installed OpenBSD as a replacement for FreeBSD and am having
some trouble with ppp via tun. I can connect to various ISP's without
trouble, however, when the connection is allowed to timeout something
goes horribly wrong and my /var/log/ppp.log and syslog files fills
*very* rapidly with the following errors (example) :-

syslog =
Dec  8 21:05:35 neutron ppp[30948]: tun0: Error: char_Write:
Input/output error
Dec  8 21:05:49 neutron last message repeated 14042 times

ppp.log (or daemon before I enabled the ppp.log file) =
Dec  8 20:12:39 neutron ppp[30948]: tun0: Error: chat_Write:
Input/output error
Dec  8 20:12:39 neutron ppp[30948]: tun0: Chat: Send: ATZ^M

Has anyone encountered this problem before and solved it ?

/etc/ppp/ppp.conf , /etc/ppp/ppp.linkup & /etc/ppp/ppp.linkdown scripts
available if required.

--
Mark W J Redding
A crash reduces your expensive computer to a simple stone.

GPG KeyID: F6C8C7B0
GPG Key Server: http://pgp5.ai.mit.edu/pks-commands.html
GPG Fingerprint : 1D26 858F 358C CD8F E0AB  A2A2 83A3 799B F6C8 C7B0

Linux, use the source luke.
OpenBSD, Strong Crypto.

 
 
 

userland ppp problem

Post by ga.. » Sun, 12 Dec 1999 04:00:00



> I have just installed OpenBSD as a replacement for FreeBSD and am having
> some trouble with ppp via tun. I can connect to various ISP's without
> trouble, however, when the connection is allowed to timeout something
> goes horribly wrong and my /var/log/ppp.log and syslog files fills
> *very* rapidly with the following errors (example) :-

Hmm, strange.  My experience is the reverse.  I had to install FreeBSD
to use a specific software, and soon I found out how dumb I was to delete
OpenBSD partition.  The problem was; OpenBSD tunnel device worked great
while FreeBSD tunnel device locked up after some large amount of data
transfer.  (And now I'm running dual boot machine with two BSD's.)
Both BSDs seem to pull tunnel device source from NetBSD, and may it is
the time to examine the source, I guess?

 
 
 

userland ppp problem

Post by Marko Topla » Mon, 13 Dec 1999 04:00:00


Hmm.. I've experienced the same problem in OpenBSD 2.6. PPP in 2.5 worked
great.
I think it's a bug.

My solution: i set up pppd with demand dial.


Quote:> I posted this earlier, and then a resolution. Well the resolution didn't
> always work so I've posted again in a fresh thread to see what response
> I may get.

> I have just installed OpenBSD as a replacement for FreeBSD and am having
> some trouble with ppp via tun. I can connect to various ISP's without
> trouble, however, when the connection is allowed to timeout something
> goes horribly wrong and my /var/log/ppp.log and syslog files fills
> *very* rapidly with the following errors (example) :-

> syslog =
> Dec  8 21:05:35 neutron ppp[30948]: tun0: Error: char_Write:
> Input/output error
> Dec  8 21:05:49 neutron last message repeated 14042 times

> ppp.log (or daemon before I enabled the ppp.log file) =
> Dec  8 20:12:39 neutron ppp[30948]: tun0: Error: chat_Write:
> Input/output error
> Dec  8 20:12:39 neutron ppp[30948]: tun0: Chat: Send: ATZ^M

> Has anyone encountered this problem before and solved it ?

> /etc/ppp/ppp.conf , /etc/ppp/ppp.linkup & /etc/ppp/ppp.linkdown scripts
> available if required.

> --
> Mark W J Redding
> A crash reduces your expensive computer to a simple stone.

> GPG KeyID: F6C8C7B0
> GPG Key Server: http://pgp5.ai.mit.edu/pks-commands.html
> GPG Fingerprint : 1D26 858F 358C CD8F E0AB  A2A2 83A3 799B F6C8 C7B0

> Linux, use the source luke.
> OpenBSD, Strong Crypto.