[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-help
Subject:    Re: LCP Negotiation error
From:       Bill Studenmund <wrstuden () NetBSD ! org>
Date:       2003-08-29 21:18:11
[Download RAW message or body]

On Thu, 28 Aug 2003, Brad du Plessis wrote:

> I've found a problem on the GSM modem side. The LCP packets that were supposed
> to be sent to the peer are not being written.
>
> Delving into the pppd code I found the following
>
> In sys-bsd.c, in function
>
> void output(.....)  there's the function call
>
> write(ttyfd,p,len)
>
> which is returning 0 bytes during LCP negotiation with the peer.
>
> ttyfd is valid and len = 24
>
> Can anyone think of a reason why I can't write any bytes to this descriptor?

Flow controll settings? The port doesn't have the clocal bit set? The
cable's not passing DTR or DSR right?

Take care,

Bill

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic