At 09:15 AM 3/25/01 +1000, System Administrator wrote:
>Hi,
>
>Firstly, is anyone reading this??? I never seems to be able to get a
>reply from these lists...
I cannot speak for the other two lists you cross-posted to, but this list
gets read, and it has a group of "regulars" who answer many questions. If
you are not getting answers, one or more of these reasons probably applies:
1. People don't know the answer. (I haven't run a dialin ppp service
since 1994, and I don't think any of the other regulars here do either.)
2. People can't understand the question well enough to answer it.
3. People are in some way offended by the way you posed the
question. In this case, some may be annoyed by your posting to 3 lists
simultaneously, a practice that some consider discourteous.
In this case, my experience with pppd is all pretty old, so I didn't try to
answer it the first time you posted. Also I find I can't quite follow parts
of your explanation; for example, I don't see where you say how you initiate
the pppd daemons on the Linux end.
So I thought it best to leave the question for somebody else to answer.
Since you posted the same request a second time, though, I'll give it a try
... but be forwarned that my understanding is flawed so my advice may also
be flawed.
In the ppp setup file, "noauth" is probably a fine choice. The alternatives
are to use pap or chap authorization. I *think* they can be run against the
standard /etc/passwd and /etc/shadow files, but I don't recall how. If that
can be made to work, though, you can run pppd directly on the dialin lines
and Windows should know how to authenticate to it without scripting (at
least for pap).
If you use "noauth", you combine it with doing userid/password
authentication *before* starting pppd. In effect, you run mgetty (or
whatever; does Slackware still use agetty?), then have accounts in
/etc/passwd that run pppd as their shells. (Actually, it's a bit trickier
than that ... the "shell" is a script that starts pppd, setting up the
appropriate options, like the IP addresses, DNS info, and such.) If you set
the login part up right, the versions of Windows I've used with dialup (95
and 98, but I bet the others as well) know how to authenticate to this setup
without any need for special scripting.
>
>For some time I have been running a linux system with pppd (various
>versions), with clients dialing in using various versions of Windows.. I
>have always used the pppmenu.scp file provided with windows because that
>is the way the server was gien to me, but it is, as you know, very
>inefficient and a real pain.
>
>I'd like to get rid of the requirement for a script at the client end.
>My question is "how"? I've had a read of the ppp-howto, and it was of
>little help (it's a good doc but doesn't cover this sort of
>configuration). The pppd man page discusses some interesting options,
>but again doesn't really clue me in.
>
>I'm running a simple network of a few modems (no terminal server or
>portmaster).
>
>The distro is slackware, kernel 2.2.18, 512mb RAM, PPPD 2.3.11, with IP
>forwarding and accounting compiled in. Also running on the server is
>squid, apache, sendmail and nntpcache. I use one /etc/ppp/options file
>which contains...
>
>asyncmap 0
>proxyarp
>lock
>crtscts
>netmask 255.255.255.0
>idle-timeout 3600
>modem
>noauth
>
>I assume the noauth will have to go..
>
>I don't have any entries in pap-secrets.
>
>I'd like the client to supply a user name and password (like they do
>with a script), and authenticate themself using the password data base
>(eg /etc/shadow). The clients typically do not have a host name set up,
>and I think forcing them to specify one simly complicates matters
>further. The pppd man page seems to suggest this won't be an issue.
>
>Each modem is matched with an options.ttyXX file, which contains only
><localhost_ip>:<remote_ip>.
>
>What entries should be in /etc/ppp/options, /etc/ppp/options.ttyXX, and
>pap-secrets?
>
>Also, I notice there is an option for specifying the primary and
>secondary DNS IPs (ms-dns). I'd like to use this, as it saves having to
>set them up in the client dial up connection.
>
>Basically, they get an all IPs from my server, without a script, but
>still authenticating using a valid username/password combination as
>specified in /etc/shadow.
>
>Also, without the script, (which simply runs 'ppp' via an alias in
>bashrc (exec /usr/sbin/pppd -detach), how will ppp start?
>
>Any help would be greatfully appreciated, as would pointers to
>documentation, examples etc...
>
>Thank you for your time.
--
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
Palo Alto, CA [EMAIL PROTECTED]
----------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs