LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Anthony Symons <ant@sa.pracom.com.au>
  To  : <mwestern@affairs.net.au>
  Date: 03 Apr 2002 15:41:51 +0930

Re: 7.2 Dial Up PPPD Server Stuffed?

Doesnt microsoft use chap? We use chap and MS people can connect without
doing anything special. 

Ant

On Wed, 2002-04-03 at 15:49, Matthew Western wrote:
> Hi People,
> I'm trying to get ppp version 2.4.1 that is bundled with redhat 7.2 discs
> going to act as a dial up server for windows clients using PAP.  I've worked
> thru a couple of howtos and the the best one seems to be
> http://www.gue-tech.org/unix/ppp/sol_autoppp.html .
> 
> I've almost go it going i think as it's at the stage where it verifies
> username password, but it stays there for about 30 secs and drops.  the
> error log entry that is relivant is (full error log at bottom of message):
> 
> Apr  3 12:17:20 dial pppd[1050]: IPCP: timeout sending Config-Requests
> Apr  3 12:17:21 dial pppd[1050]: Hangup (SIGHUP)
> 
> I've (actually my linux friend) found a message on the redhat list for a way
> around it but fails at step 5 with the message 'No such file or directory'
> (way to fix is also at the bottom of message).  so rather than bash my head
> against my keyboard any longer i thought i'd ask the gurus...
> 
> Do i need to downgrade to 2.4.0 to get things working?
> Regards
> Matthew
> 
> ------------------Fix 2.4.1-------------------
> (Grab the src rpm from here)
> ftp://rpmfind.net/linux/redhat/7.2/en/os/i386/SRPMS/ppp-2.4.1-2.src.rpm
> 
> (i didn't have this problem but its running on RH 6.2 still, this seems
> to be RH 7.2 only.......)
> 
> >
> > >As far I could find, there is no new ppp version to install, so,
> > >must I downgrade to PPP 2.4.0?
> >
> > =======================
> > 1) grab the .src.rpm file that corresponds to your ppp.  (As of the
> >    time I did it, that was ppp-2.4.1-2.src.rpm)
> > 2) type "rpm -Uvh ppp*.src.rpm" to put the pieces where Red Hat likes
> >    to compile them.
> > 3) change to the /usr/src/redhat/SPECS directory
> > 4) edit /usr/src/redhat/SPEC/ppp.spec and remove the cbcp patches.
> >    (There will be 4 lines that you need to delete.  All were pretty
> >    obvious.)
> > 5) type "rpm -ba ppp.spec"
> > 6) with any luck, it will create
> >           /usr/src/redhat/SRPMS/ppp-2.4.1-2.src.rpm
> >    and    /usr/src/redhat/RPMS/i386/ppp-2.4.1-2.i386.rpm
> > 7) change to the /usr/src/redhat/RPMS/i386 directory
> > 8) type either "rpm -Uvh --force ppp*.rpm"
> >    or "rpm -e ppp" then "rpm -Uvh ppp*.rpm"
> >
> > DISCLAIMER: That worked for me.  Your milage may vary.  Contents may
> > settle upon shipping. Void where prohibited by law.
> 
> Messages log ------------------
> [root@dial log]# more error.log
> Apr  3 12:16:47 dial mgetty[1050]: data dev=ttyS1, pid=1050, caller='none',
> conn
> ='19200', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
> Apr  3 12:16:47 dial pppd[1050]: pppd 2.4.1 started by LOGIN, uid 0
> Apr  3 12:16:47 dial pppd[1050]: Using interface ppp0
> Apr  3 12:16:47 dial pppd[1050]: Connect: ppp0 <--> /dev/ttyS1
> Apr  3 12:16:47 dial pppd[1050]: Warning - secret file /etc/ppp/pap-secrets
> has
> world and/or group access
> Apr  3 12:16:50 dial pppd[1050]: Warning - secret file /etc/ppp/pap-secrets
> has
> world and/or group access
> Apr  3 12:16:50 dial pppd[1050]: user mwestern logged in
> Apr  3 12:17:20 dial pppd[1050]: IPCP: timeout sending Config-Requests
> Apr  3 12:17:21 dial pppd[1050]: Hangup (SIGHUP)
> Apr  3 12:17:21 dial pppd[1050]: Modem hangup
> Apr  3 12:17:21 dial pppd[1050]: Connection terminated.
> Apr  3 12:17:21 dial pppd[1050]: Connect time 0.6 minutes.
> Apr  3 12:17:21 dial pppd[1050]: Sent 310 bytes, received 0 bytes.
> Apr  3 12:17:21 dial pppd[1050]: Exit.
> --------------------------------
> 
> -- 
> LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
> To unsubscribe from the LinuxSA list:
>   mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
> 
-- 
Systems Administrator       
Pracom Ltd.             
+61 8 82029074 -=- +61 402 100 671 
anthony.symons@sa.pracom.com.au

PRIVILEGED - PRIVATE AND CONFIDENTIAL
This electronic mail is solely for the use of the addressee and may
contain information which is confidential or privileged.
If you receive this electronic mail in error, please delete it from
your system immediately and notify the sender by electronic mail or
using any of the above contact details.

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page