Allen Green | 10 May 18:48
Picon
Favicon

Auth-up and Auth-down


do Auth-up and Auth-down run by default?
i created a simple Auth-down file in /etc/ppp/ :
#!/bin/sh
echo 1 > /root/1.txt

and im using poptop server, but nothing happened  when a user logined and
logouted.
i think these files do not run by default 
--

-- 
View this message in context: http://www.nabble.com/Auth-up-and-Auth-down-tf3722844.html#a10417238
Sent from the linux-ppp mailing list archive at Nabble.com.

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

James Carlson | 10 May 19:29

Re: Auth-up and Auth-down

Allen Green writes:
> 
> do Auth-up and Auth-down run by default?
> i created a simple Auth-down file in /etc/ppp/ :
> #!/bin/sh
> echo 1 > /root/1.txt

Are you sure you got the name of the file right?  It is:

	/etc/ppp/auth-down

not:

	/etc/ppp/Auth-down

Case ('a' versus 'A') is crucial.  Did you make the file executable
and owned by root?

Do you have debug logs from your pppd session?  How was pppd
configured?

Note that these scripts run only when pppd is configured as an
authenticator ("server"), and not when it's only the authenticatee
("client").

--

-- 
James Carlson         42.703N 71.076W         <carlsonj <at> workingcode.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
(Continue reading)

Oliver McBride | 13 May 03:11
Picon
Favicon

problem installing ppp


im using kernel 2.6.9 and its configurations do not support PPP.
unfortunately imnot allowed to change server config.
i get this error while running 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.

i want to know if i can solve this problem without changing  server
config,for example by installing a rpm,or adding other files?
best regards
--

-- 
View this message in context: http://www.nabble.com/problem-installing-ppp-tf3733701.html#a10451321
Sent from the linux-ppp mailing list archive at Nabble.com.

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Gilles Espinasse | 13 May 07:49
Picon
Favicon

Re: Auth-up and Auth-down


----- Original Message ----- 
From: "Allen Green" <allen_green1981 <at> yahoo.com>
To: <linux-ppp <at> vger.kernel.org>
Sent: Thursday, May 10, 2007 6:48 PM
Subject: Auth-up and Auth-down

> 
> do Auth-up and Auth-down run by default?
> i created a simple Auth-down file in /etc/ppp/ :
> #!/bin/sh
> echo 1 > /root/1.txt
> 
> and im using poptop server, but nothing happened  when a user logined and
> logouted.
> i think these files do not run by default 
> -- 
http://marc.info/?l=linux-ppp&m=117881825303547&w=2

Gilles
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Gilles Espinasse | 13 May 08:03
Picon
Favicon

Re: problem installing ppp


----- Original Message ----- 
From: "Oliver McBride" <mcbride_oliver <at> yahoo.com>
To: <linux-ppp <at> vger.kernel.org>
Sent: Sunday, May 13, 2007 3:11 AM
Subject: problem installing ppp

>
> im using kernel 2.6.9 and its configurations do not support PPP.
> unfortunately imnot allowed to change server config.
> i get this error while running 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.
>
> i want to know if i can solve this problem without changing  server
> config,for example by installing a rpm,or adding other files?
> best regards
> -- 
>
There is a kernel part that can't be installed independantly from your
kernel and a userspace part compiled from ppp sources.
Depending of your distribution, you may change the kernel package installed
for one that support ppp or you will need to recompile that kernel version
sources to accomodate your needs and hardware.

For the kernel part, you need to set ppp support on your kernel .config,
recompile, install the new compiled kernel and reboot.
(Continue reading)

Bill Unruh | 13 May 13:51
Picon
Picon
Favicon

Re: problem installing ppp

On Sat, 12 May 2007, Oliver McBride wrote:

>
> im using kernel 2.6.9 and its configurations do not support PPP.
> unfortunately imnot allowed to change server config.
> i get this error while running 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.
>
> i want to know if i can solve this problem without changing  server
> config,for example by installing a rpm,or adding other files?
> best regards

What distro are you running? As far as I know all distros have the ppp
module installed. Look for ppp_generic.ko in /lib/modules/*
find /lib/modules -name ppp_generic\*
If it is not there, you are screwed. ppp needs that module ( and ppp_async). Without it ppp
will not run. If it is there, install it using modprobe.
modprobe ppp

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane