On Thu, Sep 28, 2000 at 06:05:54AM -0600, Andrew Hoehn wrote:
> i hope i'm bugging you too much. :)
> i think that i'm pretty close now.  i still get pppd timeout messages in my log file:
> 
> Sep 28 05:25:21 andyh pppd[2009]: LCP: timeout sending Config-Requests
> Sep 28 05:25:21 andyh pppd[2009]: Connection terminated.
> 
> on both computers i run:
> 
> irattach /dev/ttyS0 -d actisys -s 1
> irmanager -d 1 -s 1

        Don't run irmanager ! Kill that program ! He will only get in
your way...

> and then i start up pppd (on ande):
> 
> pppd /dev/irnet 9600 local noauth debug 139.121.10.224:139.121.10.229 \
> lcp-echo-failure 45 passive
> 
> # 139.121.10.229 - andyh
> # 139.121.10.224 - ande
> 
> i wait a few seconds and  start pppd on andyh:
> 
> pppd /dev/irnet 9600 local noauth debug 139.121.10.229:139.121.10.224 \
> lcp-echo-failure 45
> 
> at this point a ppp0 interface should be set up, right?

        Yes, in theory, pppd should autoconfigure everything. As the
IrNET socket underneath got connected properly, I would suspect a
problem with pppd itself and the way its configured. Which version of
pppd are you using ?
        The debug option should have put a lot of stuff in
/var/log/pppd.log. Could you have a look at it ?

>  i can set it up manually
> with ifconfig:
> ifconfig ppp0 139.121.10.229 broadcast 139.121.10.255 netmask 255.255.255.128
> ifconfig ppp0 139.121.10.224 broadcast 139.121.10.255 netmask 255.255.255.128
> 
> after i do this i can telnet and ftp, but the connection still times out shortly.
> do you know why ppp times out?

        Don't know. It's weird, because the link is properly
established, but pppd has trouble getting LCP packet
through. Definitely weird...
        Are you sure that you have /dev/ppp with the correct
permission and the correct settings ? It should look like :
--------------------------------
# ll /dev/ppp
crw-------    1 root     root     108,   0 Apr 26 17:59 /dev/ppp
--------------------------------
        And then, somewhere in /etc/modules.conf :
--------------------------------
alias char-major-108    ppp_generic
alias /dev/ppp          ppp_generic
--------------------------------

> [root@andyh irda]# cat irnet
> IrNET server - IrDA state: running, stsap_sel: 10, dtsap_sel: 00
> 
> IrNET socket 0 - Requested IrDA name: "", addr: ffffffff
>         PPP state: registered, unit: ppp0, channel: 10, mru: 1500
>         IrDA state: connected, daddr: 86f137bb, stsap_sel: 1f, dtsap_sel: 10

        That's it ! IrNET is working ! It got connected. The problem
is above it...

> [root@andyh ahoehn]# cat /dev/irnet
> Connected to 86f137bb () on ppp0
> Disconnected to 86f137bb ()
> Expired 86f137bb (ande)
> Discovered 86f137bb (ande)

        The connection was close at the request of pppd, so pppd is
the culprit if your connection went down.

        Good luck...

        Jean
_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to