[pptp-server] Ppp modules not automatically loading after upg rade

Andrew Lyon Administrator at josims.com
Thu Aug 22 07:13:06 CDT 2002


Yeh that's a cleaner solution, its not really a serious problem just strikes
me as a bit odd that it used to load automatically but not any more.

:)

-----Original Message-----
From: Kevin Anderson [mailto:andersjk at sol-invictus.org] 
Sent: 22 August 2002 13:11
To: Andrew Lyon
Cc: 'R. de Vroede'; 'pptp-server at lists.schulte.org'
Subject: RE: [pptp-server] Ppp modules not automatically loading after upg
rade



Hi Andy,

i did this...

wrote a small script in /etc/rc.d/init.d/ppp-mods then put the link in the
rc3.d directory so it starts everytime...of course if you are setup for
runlevel 3 in your inittab.

kevin





On Thu, 22 Aug 2002, Andrew Lyon wrote:

> All compiled and working ok, but again it doenst load the module 
> automatically, I think there is either a bug in the latest ppp-mppe 
> rpm or a bug in my setup!, for now I've put modprobe ppp_generic in my 
> rc.local which fixes the problem.
>
> andy
>
> -----Original Message-----
> From: Andrew Lyon
> Sent: 22 August 2002 12:23
> To: 'R. de Vroede'
> Cc: 'pptp-server at lists.schulte.org'
> Subject: RE: [pptp-server] Ppp modules not automatically loading after 
> upg rade
>
>
> Yes!,
>
> I'm trying something else now, I usually try to keep my servers RPM 
> only, although on my own workstation I do things very differently, for 
> this reason I have been using the pptp and ppp-mppe rpms for quite a 
> while, but instead of using kernel rpms which include ppp-mppe, I 
> usually just install the latest redhat kernel source rpms, and patch 
> it for ppp_mppe, for the standard redhat 7.3 kernel source rpms and 
> all versions upto 2.4.18-5, I used the 2.4.16 kernel patch, which 
> worked fine, I've noticed a new patch at 
> http://planetmirror.com/pub/mppe/ for 2.4.19, I just tried to apply it 
> to 2.4.18-10 , I applied more cleanly than the 2.4.16 patch so perhaps 
> it will work !
>
> I'll let you know.
>
> andy
>
> -----Original Message-----
> From: R. de Vroede [mailto:r.devroede at linvision.com]
> Sent: 22 August 2002 12:22
> To: Andrew Lyon
> Subject: RE: [pptp-server] Ppp modules not automatically loading after 
> upg rade
>
>
> You DID enable it in the kernel did you?
>
> On Thu, 2002-08-22 at 12:42, Andrew Lyon wrote:
> > I've just noticed that I cannot run pppd manually:
> >
> > pppd
> > pppd: This system lacks kernel support for PPP.  This could be 
> > because the PPP kernel module could not be loaded, or because PPP 
> > was not included in the kernel configuration.  If PPP was included 
> > as a module, try `/sbin/modprobe -v ppp'.  If that fails, check that 
> > ppp.o exists in /lib/modules/`uname -r`/net. See README.linux file 
> > in the ppp distribution for more details.
> >
> > Which is obviously the cause of the errors from ppptpd!
> >
> > Here is my entire modules.conf
> >
> > alias parport_lowlevel parport_pc
> > alias eth0 3c59x
> > alias eth1 3c59x
> > alias scsi_hostadapter aic7xxx
> > alias usb-controller usb-uhci
> > alias char-major-108 ppp_generic
> > #alias ppp ppp_generic
> > alias ppp-compress-18 ppp_mppe
> > alias ppp-compress-21 bsd_comp
> > alias ppp-compress-24 ppp_deflate
> > alias ppp-compress-26 ppp_deflate
> > alias net-pf-47 ip_gre
> > alias tty-ldisc-3 ppp_async
> > alias tty-ldisc-14 ppp_synctty
> > alias sound-slot-0 sb
> > post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
> > >/dev/null
> > 2>&1 || :
> > pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
> > >/dev/null
> > 2>&1 || :
> > options sound dmabuf=1
> > alias synth0 opl3
> > options opl3 io=0x388
> > options sb isapnp=1
> > alias char-major-108 off # This will be different for 2.3.x kernels
> >
> >
> >
> > -----Original Message-----
> > From: R. de Vroede [mailto:r.devroede at linvision.com]
> > Sent: 22 August 2002 11:31
> > To: Andrew Lyon
> > Subject: RE: [pptp-server] Ppp modules not automatically loading 
> > after upg rade
> >
> >
> > The 'alias char-major-108 ppp_generic' should do the magic. Maybe 
> > you should move it up, above the other ppp modules. Just a guess.
> >
> > Regards,
> > Richard
> >
> > On Thu, 2002-08-22 at 12:11, Andrew Lyon wrote:
> > > Just tried that still get the same error, modprobe -v ppp_generic 
> > > fixed it again... Strange!
> > >
> > > -----Original Message-----
> > > From: R. de Vroede [mailto:r.devroede at linvision.com]
> > > Sent: 22 August 2002 11:03
> > > To: Andrew Lyon
> > > Cc: 'pptp-server at lists.schulte.org'
> > > Subject: Re: [pptp-server] Ppp modules not automatically loading 
> > > after upgrade
> > >
> > >
> > > remove alias ppp ppp_generic from /etc/modules.conf and run depmod 
> > > -a This is a little inherited mistake.
> > >
> > > Regards,
> > > Richard de Vroede
> > >
> > >
> > >
> > > On Thu, 2002-08-22 at 11:50, Andrew Lyon wrote:
> > > > Hi,
> > > >
> > > > I just performed some RPM upgrades on our Redhat 7.3 server, I 
> > > > upgraded the kernel rpms to 2.4.18-10, I applied the patch for 
> > > > ppp_mppe to the kernel source and compiled both the kernel and 
> > > > modules successfully.
> > > >
> > > > I also upgraded from ppp-mppe-2.4.1-5 to ppp-mppe-2.4.1-7.
> > > >
> > > > Before this upgrade, the server would boot up and start up 
> > > > services, including pptpd which would all work perfectly.
> > > >
> > > > After this upgrade, I get errors when clients attempt to connect 
> > > > to
> > > > pptpd:
> > > >
> > > > Aug 22 10:42:09 LinuxServer pptpd[1966]: CTRL: Starting call 
> > > > (launching pppd, opening GRE) Aug 22 10:42:09 LinuxServer
> > > > pptpd[1966]:
> > > > GRE:
> > > > read(fd=5,buffer=804d9c0,len=8196) from PTY failed: status = -1 
> > > > error = Input/output error Aug 22 10:42:09 LinuxServer 
> > > > pptpd[1966]: CTRL: PTY read or GRE write failed
> > > > (pty,gre)=(5,6)
> > > > Aug 22 10:42:09 LinuxServer pptpd[1966]: CTRL: Client x.x.x.x 
> > > > control connection finished Aug 22 10:42:17 LinuxServer 
> > > > pptpd[1969]: CTRL: Client x.x.x.x control connection started Aug 
> > > > 22 10:42:19 LinuxServer pptpd[1969]: CTRL: Starting call
> (launching
> > > > pppd, opening GRE)
> > > > Aug 22 10:42:19 LinuxServer pptpd[1969]: GRE:
> > > > read(fd=5,buffer=804d9c0,len=8196) from PTY failed: status = -1 
> > > > error
> =
> > > > Input/output error
> > > > Aug 22 10:42:19 LinuxServer pptpd[1969]: CTRL: PTY read or GRE 
> > > > write
> > > failed
> > > > (pty,gre)=(5,6)
> > > > Aug 22 10:42:19 LinuxServer pptpd[1969]: CTRL: Client x.x.x.x 
> > > > control connection finished
> > > >
> > > > I realised that ppp is not loading the ppp module (ppp_generic) 
> > > > automatically, I checked my modules.conf which appears to be
> > > > correct:
> > > >
> > > > alias ppp ppp_generic
> > > > alias ppp-compress-18 ppp_mppe
> > > > alias ppp-compress-21 bsd_comp
> > > > alias ppp-compress-24 ppp_deflate
> > > > alias ppp-compress-26 ppp_deflate
> > > > alias net-pf-47 ip_gre
> > > > alias char-major-108 ppp_generic
> > > > alias tty-ldisc-3 ppp_async
> > > > alias tty-ldisc-14 ppp_synctty
> > > >
> > > > If I modprobe -v ppp, the ppp_generic module loads, and clients 
> > > > can connect without any problems.
> > > >
> > > > andy
> > > >
> > > > The information contained in this e-mail is confidential and is 
> > > > intended for the  addressee only. The contents of this e-mail 
> > > > must not be disclosed or copied without the sender's consent. If 
> > > > you are not the intended recipient of the message, please notify 
> > > > the sender immediately, and delete the message. The statements 
> > > > and opinions expressed in this message are those of the author 
> > > > and do not necessarily reflect those of the company. No 
> > > > commitment may be inferred from the contents unless  explicitly 
> > > > stated.  The company does not take any responsibility for the 
> > > > personal views of the author. This message has been scanned for 
> > > > viruses before sending, but the company does not accept any 
> > > > responsibility for infection and recommends that you scan any 
> > > > attachments.
> > > >
> > > > _______________________________________________
> > > > pptp-server maillist  -  pptp-server at lists.schulte.org 
> > > > http://lists.schulte.org/mailman/listinfo/pptp-server
> > > > --- To unsubscribe, go to the url just above this line. --
> > > --
> > > Richard de Vroede
> > > (r.devroede at linvision.com)
> > > ------------------------------------------------
> > > Linvision BV         Provides Linux Solutions
> > > Elektronicaweg 16D
> > > 2628 XG Delft
> > > T: +31157502310      info at linvision.com
> > > F: +31157502319      http://devel.linvision.com
> > > ------------------------------------------------
> > >
> > > The information contained in this e-mail is confidential and is 
> > > intended for the  addressee only. The contents of this e-mail must 
> > > not be disclosed or copied without the sender's consent. If you 
> > > are not the intended recipient of the message, please notify the 
> > > sender immediately, and delete the message. The statements and 
> > > opinions expressed in this message are those of the author and do 
> > > not necessarily reflect those of the company. No commitment may be 
> > > inferred from the contents unless  explicitly stated.  The company 
> > > does not take any responsibility for the personal views of the 
> > > author. This message has been scanned for viruses before sending, 
> > > but the company does not accept any responsibility for infection 
> > > and recommends that you scan any attachments.
> > --
> > Richard de Vroede
> > (r.devroede at linvision.com)
> > ------------------------------------------------
> > Linvision BV         Provides Linux Solutions
> > Elektronicaweg 16D
> > 2628 XG Delft
> > T: +31157502310      info at linvision.com
> > F: +31157502319      http://devel.linvision.com
> > ------------------------------------------------
> >
> > The information contained in this e-mail is confidential and is 
> > intended for the  addressee only. The contents of this e-mail must 
> > not be disclosed or copied without the sender's consent. If you are 
> > not the intended recipient of the message, please notify the sender 
> > immediately, and delete the message. The statements and opinions 
> > expressed in this message are those of the author and do not 
> > necessarily reflect those of the company. No commitment may be 
> > inferred from the contents unless  explicitly stated.  The company 
> > does not take any responsibility for the personal views of the 
> > author. This message has been scanned for viruses before sending, 
> > but the company does not accept any responsibility for infection and 
> > recommends that you scan any attachments.
>

-- 
@
_____________________________________________
chaos, panic and disorder... my job is done...

The information contained in this e-mail is confidential and is intended for
the  addressee only. The contents of this e-mail must not be disclosed or
copied without the sender's consent. If you are not the intended recipient
of the message, please notify the sender immediately, and delete the
message. The statements and opinions expressed in this message are those of
the author and do not necessarily reflect those of the company. No
commitment may be inferred from the contents unless  explicitly stated.  The
company does not take any responsibility for the personal views of the
author. This message has been scanned for viruses before sending, but the
company does not accept any responsibility for infection and recommends that
you scan any attachments.




More information about the pptp-server mailing list