🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.unix
Article #226

Re: Apache & modem dialing..

#226
From: James Radley
Date: Sat, 08 Jul 2000 00:00
69 lines
3224 bytes
Well, for the ppp side of things, I set up the pppd to start from the init
scripts. My command line looks like

/usr/sbin/pppd aaa.bbb.ccc.ddd 158.152.1.222 call red

Where aaa.bbb.ccc.ddd is my IP address ( the static one from demon )

This will set up the interface on the correct IP. 'call red' bit points me
at a file called 'red' with specific options for the demon red ROMP.

These would be

connect "/usr/sbin/chat -v -f /etc/ppp/scripts/chat.script.red"
defaultroute
demand
name susie
remotename demon

Which should give you the routing and demand dailing that you need. There is
nothing special about the chat script.

I'm using pppd 2.3 patch level 5

---

As for Apache, the newer version have a new policy of putting all of the
configuration in httpd.conf. To maintain compatabilty with older versions
though, it still reads srm.conf and access.conf and applies the changes.

Empty or rename these files to fix the problem.

'Dungeon' Dave <Dungeon@SpamNot.Here> wrote in message
news:E73+XLAzQ7Y5Ewuh@ghastly.demon.co.uk...
> .. and it came to pass that James Radley <james@susie.demon.
> co.uk> uttered forth:
> >You may as well just post the questions here. There are people that have
> >solutions that work, and read the newsgroup.
>
> Ah - glad about that one. I've had no success in other ngs.
> >
> >I have a dial on demand solution just using the newer model pppd +
> >kernel
> >2.2, since it seemed easier than diald. Not as flexible though.
>
> Can you post the steps you went through? I've managed to get a
> modem to dial and authenticate, but not bind an IP address to it
> (fudged a chapscript to do it). I'm after the "bind an IP" bit, then
> perform the dial-on-demand when receiving a network request
> (forwarding a nslookup, traceroute, ping etc)
> >
> >I've set up a couple of Apache servers in my time too.
>
> What version? [1] I'm struggling with setting up individual script
> areas for virtual sites. If I post my httpd.conf file here (well.. the
> appropriate chunks), would you mind pointing out the errors?
>
> [1] apparently 1.3.9 merged srm.conf and access.conf into
> httpd.conf - but for some reason config settings from the others
> are still picked up.
> >
> >
> <snip>
> --
>
> "Dungeon" Dave, in anti-harvest mode...
>
> From: abuse@yahoo.com
> From: abuse@btinternet.com
> From: *@localhost
Technical Details
Message-ID: <963086625.10301.0.nnrp-01.9e9871f7@news.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <FDl+5HAESzX5EwVU@ghastly.demon.co.uk><962832625.6145.0.nnrp-12.9e9871f7@news.demon.co.uk> <E73+XLAzQ7Y5Ewuh@ghastly.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fac57,c387f9d151d02c92
X-Google-Attributes: gidfac57,public
From: "James Radley" <james@susie.demon.co.uk>
Subject: Re: Apache & modem dialing..
Date: 2000/07/08
Message-ID: <963086625.10301.0.nnrp-01.9e9871f7@news.demon.co.uk>
X-Deja-AN: 644030965
X-NNTP-Posting-Host: susie.demon.co.uk:158.152.113.247
References: <FDl+5HAESzX5EwVU@ghastly.demon.co.uk><962832625.6145.0.nnrp-12.9e9871f7@news.demon.co.uk> <E73+XLAzQ7Y5Ewuh@ghastly.demon.co.uk>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 963086625 nnrp-01:10301 NO-IDENT susie.demon.co.uk:158.152.113.247
Organization: Hiltonbury Solutions Limited
X-MSMail-Priority: Normal
Newsgroups: demon.tech.unix