I've spend nearly a week trying to get PPP working between two linux
boxes (home and work, both running Red Hat 6.2), without success.
I can connect to my machine at work from a Windows box at work.  I can
connect to an ISP (the uni modem pool) from my machine at home.  But I
can't connect from my machine at home to my machine at work.

When I attempt connection, the client machine gets as far as:
Nov  2 21:57:15 stravinsky pppd[25735]: Connect: ppp0 <--> /dev/modem
Nov  2 21:58:46 stravinsky pppd[25735]: LCP: timeout sending Config-Requests

While the server reports:
Nov  2 21:57:15 nonsense mgetty[4815]: data dev=ttyS1, pid=4815, caller='none', 
conn='26400', name='', cmd='/bin/login', user='danny'
Nov  2 21:57:15 nonsense PAM_pwdb[4815]: (login) session opened for user danny by 
LOGIN(uid=0)
Nov  2 21:58:49 nonsense mgetty[4859]: init chat failed, exiting...: Invalid argument
Nov  2 21:58:49 nonsense mgetty[4859]: failed in mg_init_data, dev=ttyS1, pid=4859

So it looks like a pppd handshaking problem.

*************************************************************
On the client (home) machine the config is

------/etc/ppp/options----------------------------
lock
modem
--------------------------------------------------

------/etc/ppp/pap-secrets------------------------
danny           *       MYPASSWORD      *
dyee            *       OTHERPASSWORD   *
--------------------------------------------------

Username dyee, device ppp1 is what I use to connect to the ISP
(successfully); username danny, device ppp0 is the link I can't get
to come up.  The config is identical except for the user/PAP name (and
the password).

$ cd /etc/sysconfig/network-scripts
$ diff ifcfg-ppp0 ifcfg-ppp1
        
< DEVICE="ppp0"
---
> DEVICE="ppp1"
15c15
< PAPNAME="danny"
---
> PAPNAME="dyee"

*************************************************************
On the server (work machine) the config is

------/etc/ppp/options----------------------------
lock
modem
proxyarp
mru 296
mtu 296
129.78.151.17:129.78.151.16
name nonsense
crtscts
--------------------------------------------------

------/etc/mgetty+sendfax/login.conf--------------
/AutoPPP/ -    a_ppp   /usr/sbin/pppd auth -chap +pap login debug
--------------------------------------------------

------/etc/ppp/pap-secrets------------------------
danny   *        MYPASSWORD       *
--------------------------------------------------
*************************************************************
And this config can't be totally screwball, because a Windows machine
at work manages to dial into the box fine, with routing/proxyarp/etc
all working fine.

Any ideas?  I'm totally stumped.

Danny.



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to