From owner-freebsd-isp Fri Mar 10 16:10:27 2000 Delivered-To: freebsd-isp@freebsd.org Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20]) by hub.freebsd.org (Postfix) with ESMTP id CC7B637BB9B; Fri, 10 Mar 2000 16:10:01 -0800 (PST) (envelope-from dom@happygiraffe.net) Received: from myrddin.demon.co.uk ([158.152.54.180]) by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2) id 12TZTf-0002ji-0K; Sat, 11 Mar 2000 00:09:56 +0000 Received: by myrddin.demon.co.uk (Postfix, from userid 1000) id 0FC3E2312; Sat, 11 Mar 2000 00:09:31 +0000 (GMT) Date: Sat, 11 Mar 2000 00:09:31 +0000 To: Brian Somers Cc: Nik Clayton , Lee Johnston , freebsd-users@uk.freebsd.org, brian@hak.lan.awfulhak.org, freebsd-isp@FreeBSD.org Subject: Re: FreeBSD in Dixons Message-ID: <20000311000931.A349@myrddin.demon.co.uk> Mail-Followup-To: Brian Somers , Nik Clayton , Lee Johnston , freebsd-users@uk.freebsd.org, brian@hak.lan.awfulhak.org, freebsd-isp@FreeBSD.org References: <200003100835.IAA00469@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <200003100835.IAA00469@hak.lan.Awfulhak.org>; from Brian Somers on Fri, Mar 10, 2000 at 08:35:30AM +0000 From: dom@happygiraffe.net (Dominic Mitchell) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Mar 10, 2000 at 08:35:30AM +0000, Brian Somers wrote: > I can supply configs for a lot of these services for Demon, > Force9, Pavilion and BT. It's interesting though, I think what we > actually need is a script/program that will generate the config files > based on a database of "isp specifics". These specifics would > contain things like phone numbers, dial strings, DNS negotiation flags, > web proxy name, news server name, newsfeed or inews style posting, > hostname or domain and finally, services supported. The script would > then get some generic templates, prompt for account specifics (if not > supplied on the command line) and build the requisite config files. You mean a wizard. :-) > So, how about > > /usr/share/isp/defaults > /usr/share/isp/uk/defaults > /usr/share/isp/uk/pavilion > /usr/share/isp/uk/demon > /usr/share/isp/uk/bt > /usr/share/isp/uk/force9 > > etc ? These files would contain the standard bourne shell variable > assignments, and then there'd be > > genconfig [-pnmlis] [otheroptions] > > where the above flags generate configurations for ppp, named, mail, > leafnode, innd and squid respectively. We'd also want flags like > -d domain to auto-specify your domain etc. > > Any interest in something like this ? Sounds like an excellent idea. Whilst one can shoehorn everything into one big ppp.conf and call it as necessary, the other config files would be a lot more difficult. > I think the main thing here is to make it easy to add new options - > for example: > > /usr/share/isp/uk/someisp > phone=1234567 > services=ppp > domain=someisp.co.uk > > Would tell the program that it can generate a ppp.conf with the > standard template and only the phone number specified. It would then > prompt for your authname/authkey and ask if you want to use a login > script (it would generate one with \\U & \\P). Or > > /usr/share/isp/uk/demon > phone=1234567 > pppdns=false > proxy=www-cache.demon.co.uk > services=ppp,squid,leafnode > > where it prompts for your host/domain, authname and authkey, and allows > you to configure squid using the given proxy) and leafnode using the > standard news.domain. This sounds more and more interesting. Why didn't somebody do this years ago? I'll have a go at throwing together a sample implementation tonight (it's only midnight and I'm bored :) and see what I come up with. -Dom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message