Re: porting userland ppp to kfreebsd

2010-03-23 Thread Werner Koch
On Sun, 21 Mar 2010 20:22, anar...@koumbit.org said: > Could you clarify this? Are you saying I duplicated existing work and > that you already had userland ppp working? Is it with upstream's > usr.sbin/ppp? Yeah, I have userland ppp working as a client. It was a mere mkdir /var/spool/lock >

Re: porting userland ppp to kfreebsd

2010-03-22 Thread Petr Salinger
> Oh I see... Hum. Seems to me that mixes up way too many things, and it > would be useful to separate some of those in individual packages. ... > Seems to me we should separate those things in multiple packages. Does > that make sense to you guys? There is already pppctl in binary package freebsd

Re: porting userland ppp to kfreebsd

2010-03-21 Thread The Anarcat
On Sun, Mar 21, 2010 at 09:05:23AM +0100, Petr Salinger wrote: > > As far as I know, there's currently no possibility of doing PPP or PPPoE > > in Debian GNU/kFreeBSD. I'd like to see that fixed. > > > > So I've started trying to port the userland ppp daemon from FreeBSD 8.0: > ... > > > I guess t

Re: porting userland ppp to kfreebsd

2010-03-21 Thread The Anarcat
On Sun, Mar 21, 2010 at 04:09:46PM +0100, Werner Koch wrote: > On Sun, 21 Mar 2010 01:28, anar...@koumbit.org said: > > As far as I know, there's currently no possibility of doing PPP or PPPoE > > in Debian GNU/kFreeBSD. I'd like to see that fixed. > > I am using PPP for quite some time now with m

Re: porting userland ppp to kfreebsd

2010-03-21 Thread Werner Koch
On Sun, 21 Mar 2010 01:28, anar...@koumbit.org said: > As far as I know, there's currently no possibility of doing PPP or PPPoE > in Debian GNU/kFreeBSD. I'd like to see that fixed. I am using PPP for quite some time now with my UMTS stick. The gotcha is that the lock directory is a different one

Re: porting userland ppp to kfreebsd

2010-03-21 Thread Petr Salinger
> As far as I know, there's currently no possibility of doing PPP or PPPoE > in Debian GNU/kFreeBSD. I'd like to see that fixed. > > So I've started trying to port the userland ppp daemon from FreeBSD 8.0: ... > I guess the next step is to make a package out of this thing... Any > suggestions on h

Re: porting userland ppp to kfreebsd

2010-03-20 Thread Ludovic Courtès
Hi, The Anarcat writes: > +#if defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) Only the last one makes sense: ‘__linux__’ is for the Linux kernel and ‘__GNU__’ is for GNU (aka. GNU/Hurd). Thanks, Ludo’. -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subj

porting userland ppp to kfreebsd

2010-03-20 Thread The Anarcat
As far as I know, there's currently no possibility of doing PPP or PPPoE in Debian GNU/kFreeBSD. I'd like to see that fixed. So I've started trying to port the userland ppp daemon from FreeBSD 8.0: http://svn.freebsd.org/base/release/8.0.0/usr.sbin/ppp/ The attached patch makes ppp compile, and