Dear Amin:
In order to allow your Win'95/98/NT users to connect to your Linux box
without the terminal window, you must install mgetty and compile it with
the -DAUTO_PPP option. For doing that you must:
1. Copy the distribution file and expand it to /usr/src/mgetty (for example);
2. At /usr/src/mgetty copy policy.h-dist to policy.h
3. At /usr/src/mgetty edit Makefile:
On, or about, line 110, change the CFLAGS line to read:
"CFLAGS=-O2 -Wall -pipe -DAUTO_PPP"
4. Run "make install"; this installs the binary files and all documentation.
5. At /usr/local/etc/mgetty+sendfax/login.config, remove the comment (#)
from the beginning of the line that starts with "#/AutoPPP/".
This has nothing to do with PAP or CHAP.
If you use +pap at pppd startup (and Windows uses PAP), all you need is a
file named pap-secrets at /etc/ppp. I am sending this file enclosed in this
mail. The command you use to start pppd is defined at
/usr/local/etc/mgetty+sendfax/login.config, as I said above.
You must have ppp already configured and running; it seems that this is
true for you.
I can send my configuration files to you, just let me know if you need them.
Best regards,
Hime
============= File /etc/ppp/pap-secrets ================
# Secrets for authentication using PAP
# client server
secret IP addresses
* your.box.domain ""
*
========================================================
This file tells Linux to authenticate the user from the list of current
users defined in your box.
At 17:00 23/11/99 +0330, Amin Omidzadeh Khosrowshahi wrote:
>
>Hi TUX-lovers ;)
>
>I want to setup a ppp server on my linux box.. well, I setup uugetty or
>mgetty to listen to incoming calls on COM port.. when it receives
>a call, lets a user loginto my linux, then user can launch pppd
>and have a ppp connection.
>The whole problem is with win9x/NT users. they have to set their
>dialup networking to bring up a terminal so they can log into linux ,
>lanuch pppd and press F7. But my lazy users expect not to bring
>up a terminal. This requires pppd to receive calls itself and accept
>PAP (or CHAP) packets. how can I do it?
>
>--Amin
>-
>To unsubscribe from this list: send the line "unsubscribe linux-net" in
>the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]