From owner-freebsd-isp Sat Dec 6 03:25:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA08886 for isp-outgoing; Sat, 6 Dec 1997 03:25:28 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from gw.itfs.nsk.su (gw.itfs.nsk.su [193.124.36.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id DAA08880 for ; Sat, 6 Dec 1997 03:25:19 -0800 (PST) (envelope-from itfs!news!nnd%itfs.nsk.su@gw.itfs.nsk.su) Received: from itfs.UUCP (uucp@localhost) by gw.itfs.nsk.su (8.6.12/8.6.12) with UUCP id RAA17081 for isp@freebsd.org; Sat, 6 Dec 1997 17:25:10 +0600 Received: by itfs.nsk.su; Sat, 6 Dec 97 17:23:52 +0600 (NSK) Received: (from daemon@localhost) by news.itfs.nsk.su (8.7.5/8.6.12) id RAA19696; Sat, 6 Dec 1997 17:11:32 +0600 (NSK) From: nnd@itfs.nsk.su To: isp@freebsd.org Subject: Re: Portslave? Date: 6 Dec 1997 11:11:30 GMT Message-ID: <66bbt2$ive@news.itfs.nsk.su> References: Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jacob Suter wrote: > Has anyone checked out portslave? It compiled fine in a test Slackware > box, but it doesn't seem to want to work in FreeBSD. My C skills are > nearly nonexistant when it comes to porting stuff from Linux to FreeBSD... I use portslave-1.15 on my FreeBSD-3.0-based RAS . To make it works on FreeBSD I must throw out some parts of it - f.e. working with modems in an UNIX-traditional way - setting AA and waiting for CD, permitting of "local" logins through '!name', writing local utmp/wtmp records. I must also though away contained in portslave sources 'syslog.c'. And I'm also dont't use 'ppp-2.2.0f-radius' from portslave-1.15 but rather applay corresponding patches to FreeBSD-3.0's pppd directly. Now I am working (thinking ?) on the new simplified version of the program that will work with/after 'getty'. FreeBSD's 'getty' can talk to modems and other kind of serial links very successfully (and even understand and autodetect PPP) so my new program must only understand some type of configuration file setting RAS's ports parameters and can talk to RADIUS server to obtain user authentication and PPP-parameters. Other part of the RAS functionality must be put in pppd (or ppp) - obtaining autentication and PPP parameters for AutoPPP case and accounting through RADIUS server. N.Dudorov