[EMAIL PROTECTED] wrote:
Hello;
I started playing a bit with net/pppd23 and I noticed there are some patches for
FreeBSD-3.0 that were never committed (NetBSD certainly has them). Our pppd(8) is derived
from the "samba" pppd port and should have them if we want to continue up
Hello;
I started playing a bit with net/pppd23 and I noticed there are some patches
for FreeBSD-3.0 that were never committed (NetBSD certainly has them). Our
pppd(8) is derived from the "samba" pppd port and should have them if we want
to continue updating it.
I started adapting
Hello,
I've implemented DNS automatic negotiation and configuration in
pppd (RFC1877). Since it is not a standard thing, I made it an
optional feature of pppd. Some parts of the code were taken from ppp
implementation. I would be greatful for testing of this patch and
for any comment
Hi,
Looking through pppd sources I found that it doesn't know how
to request DNS info from the server, while ppp can.
Here I mean requesting DNS info and updating /etc/resolv.conf.
Did anyone tried to make it possible with pppd?
Since I used to pppd I'd like to teach him this useful fun
On Mar 23, at 8:20pm +0200, petro wrote:
> Does anybody know about support pppunit in the ppp conf files, or may be
> can advice me where I can read about pppunit.
> Thank you very much.
pppunit is for pppd. Check out ftp://room101.wuppy.ne
> Hi!
> Does anybody know about support pppunit in the ppp conf files, or may be
> can advice me where I can read about pppunit.
> Thank you very much.
I'm afraid I can't really help, but I believe ppp(8) can do the same
thing with the -unit command line switch.
--
Brian <[EMAIL PROTECTED]>
Hi!
Does anybody know about support pppunit in the ppp conf files, or may be
can advice me where I can read about pppunit.
Thank you very much.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
At 14:50 16/01/01 +0200, Peter Pentchev wrote:
>As somebody already pointed out, there *is* a dirname(3) function, and even
>a dirname(1) cmdline utility to invoke it.
oops. I'll need to stay current:)
>In a followup to Alfred's mkdir(1) commit, I sent a sample implementation
>of a direxname()
On Tue, Jan 16, 2001 at 01:32:13PM +0100, mouss wrote:
> These are probably cosmetic comments, but here they are anyway...
>
>
> At 09:54 13/01/01 +, W.H.Scholten wrote:
>
> >+char *dirname(char *path) {
> >+ char *slash;
> >+
> >+ while (path[ strlen(path)-1 ] == '/') path[ str
These are probably cosmetic comments, but here they are anyway...
At 09:54 13/01/01 +, W.H.Scholten wrote:
>+char *dirname(char *path) {
>+ char *slash;
>+
>+ while (path[ strlen(path)-1 ] == '/') path[ strlen(path)-1 ] = 0;
if path is an empty string, you are accessing path[-1
In message <[EMAIL PROTECTED]> Ben Smithurst writes:
: while (path[strlen(path) - 1] == '/')
: path[strlen(path) - 1] = 0;
:
: :-) Preferably '\0' too of course like you say later.
Yes. Actually, I'd do this like:
cp = path + strlen(path) - 1;
while (cp > pa
* Alfred Perlstein <[EMAIL PROTECTED]> [010113 19:15] wrote:
> * W.H.Scholten <[EMAIL PROTECTED]> [010113 01:57] wrote:
> > Alfred Perlstein wrote:
> >
> > [ mkdir ]
> >
> > > I'll commit the patch shortly.
> >
> > Here's a better patch, it checks for multiple slashes, so mkdir
> > /tmp/aa///bb
* Warner Losh <[EMAIL PROTECTED]> [010113 19:55] wrote:
> In message <[EMAIL PROTECTED]> "W.H.Scholten" writes:
> : + while (path[ strlen(path)-1 ] == '/') path[ strlen(path)-1 ] = 0;
>
> Style(9) says write this like:
> while (path[ strlen(path)-1 ] == '/')
> path[ strlen(p
> You might also like to contribute this back to the pppd maintainer
> ([EMAIL PROTECTED])..although since our version is so old
> chances are the patch would need to be rewritten - it would at least
> show what needs to be done.
Duh, I wasn't paying attention enough to note t
On Sat, Jan 13, 2001 at 07:14:32PM -0800, Alfred Perlstein wrote:
> Actually, there already exists a function called dirname in libc, dirname(3).
>
> Here's what I'm going to commit:
You might also like to contribute this back to the pppd maintainer
([EMAIL PROTECTED]).
Warner Losh wrote:
> In message <[EMAIL PROTECTED]> "W.H.Scholten" writes:
> : + while (path[ strlen(path)-1 ] == '/') path[ strlen(path)-1 ] = 0;
>
> Style(9) says write this like:
> while (path[ strlen(path)-1 ] == '/')
> path[ strlen(path)-1 ] = 0;
No it doesn't.
"No
In message <[EMAIL PROTECTED]> "W.H.Scholten" writes:
: + while (path[ strlen(path)-1 ] == '/') path[ strlen(path)-1 ] = 0;
Style(9) says write this like:
while (path[ strlen(path)-1 ] == '/')
path[ strlen(path)-1 ] = 0;
: +
: + slash = strrchr(path, '/');
: +
* W.H.Scholten <[EMAIL PROTECTED]> [010113 01:57] wrote:
> Alfred Perlstein wrote:
>
> [ mkdir ]
>
> > I'll commit the patch shortly.
>
> Here's a better patch, it checks for multiple slashes, so mkdir
> /tmp/aa///bb will give:
>
> mkdir: /tmp/aa: No such file or directory
>
> Also, renam
Alfred Perlstein wrote:
[ mkdir ]
> I'll commit the patch shortly.
Here's a better patch, it checks for multiple slashes, so mkdir
/tmp/aa///bb will give:
mkdir: /tmp/aa: No such file or directory
Also, renamed the function to dirname as it does the same as dirname(1).
Regards,
Wouter
* W.H.Scholten <[EMAIL PROTECTED]> [010112 03:13] wrote:
> Alfred Perlstein wrote:
>
> > > 1. a pppd patch which sends the pppd messages to stderr.
> >
> > not sure about this one, I would open a PR about it.
>
> I'm not sure either :) Maybe everyone
Alfred Perlstein wrote:
> > 1. a pppd patch which sends the pppd messages to stderr.
>
> not sure about this one, I would open a PR about it.
I'm not sure either :) Maybe everyone else uses gui frontend which reads
pppd's syslog messages or starts pppd as root?
> Ok,
* W.H.Scholten <[EMAIL PROTECTED]> [010111 13:17] wrote:
> L.S.
>
> Here are two patches I've been using for a while on both 3.3R and 4.1R:
>
> 1. a pppd patch which sends the pppd messages to stderr.
not sure about this one, I would open a PR about it.
> 2. a
L.S.
Here are two patches I've been using for a while on both 3.3R and 4.1R:
1. a pppd patch which sends the pppd messages to stderr.
This is useful for dialup connections under X (I use a script to startup
pppd, when the script is killed, so is pppd). Now the pppd startup
messages are se
Hello!
I try to start pppd but always receive such message when start pppd
Device cuaa0 is busy...
What I must do, I try to kill all pppd and then start again, but again
receive such message, before rebbot everything works fine
Thank you...
To Unsubscribe: send mail to [EMAIL PROTECTED
i'm working with some stuff (zebra and vpn-like tunnels using ssh/pppd) where
it would be very nice if i could predict (specify) which ppp unit number
applied to a given ppp session.
i've been using pppd (kernel mode) and would prefer a kernel level
connection, as opposed to the us
Hi,
I've solved (I think) modules auth failures in pppd using PAM (compiled
with -DUSE_PAM). It's work after one modification:
--- ../pppd-orig/auth.c Sat Jun 20 15:02:08 1998
+++ auth.c Mon Jun 14 17:42:16 1999
@@ -867,7 +867,6 @@
*/
pam_error = pam_authenticate (pamh,
Hi,
Now I've solved modules problem with pppd. My pam.conf is this:
login authsufficient pam_skey.so
login authrequisite pam_cleartext_pass_ok.so
login authrequiredpam_unix.so try_first_pass
ppp authrequiredpam_unix.so try_first
Hi,
I've got a problem with pppd + pam:
pppd[304]: no modules loaded for `ppp' service
pppd[304]: PAP login failure for ...
I've recompiled pppd with -DUSE_PAM, and I've added in pam.conf this:
ppp authrequiredpam_radius.so try_first_pass
What is wrong? W
28 matches
Mail list logo