With two Linux hosts, it is possible to start pppd this way -- by logging in
with a shell account,t hen starting pppd "by hand" -- but even with Linux
machines on both ends, it is difficult. See the PPP HowTo for a discussion
of this approach. There are several other, easier, approaches to setting up
a ppp connection into a Linux host. Here's one (in general outline):

1. On the Linux host, create a new account. Make its shell a script that
starts pppd (see nextr step for details), and add that script to /etc/shells .

2. Make the script read as follows (on one line).:

        exec /usr/sbin/pppd passive modem proxyarp 192.168.1.23:192.168.1.42

(Generally speaking, your pppd command-line seitches are appropriate for a
dial-out pppd process. For dial-in, you don't want to execute chat, you do
want to provide IP addressse as above, and you need some other different
options.)

3. On the Win95 host, set up the Control Panel/Network/TCP-IP Dial-Up
Adapter properties for the connection, and use the network dialer (not a
HyperTerminal process - I'm not sure which process you meant by "the
terminal window") to make the connection.

This should give you a ppp link between the two hosts. I've left out the
steps about getting the modem dial-in capability working on the assumption
that, since you have shell dial-in working, that part is already okay. You
may have to fiddle a bit with the details -- what I've described here is a
bit different from the approach I used to use, and the differences are
untested -- but this should get you on the right track.

At 03:06 PM 9/11/99 +0000, Ralf Christian Strandell wrote:
>I can use Win95 to call my Unix machine (using the telephone connections
>
>in "My computer" ). When I have logged in using the terminal window and
>done "su root" I can start pppd, but still I cannot access my Linux
>system
>with a web browser from Win95.
>
>There seems to exist some kind of connetion as Windows does not give
>any error messages and the connect-window gets minimized...
>
>I'm using
>        pppd /dev/ttyS1 56700 connect chat crtscts defaultroute modem
>noipdefault
>in Linux, and in windows I have only TCP/IP -protocol in use (no
>IPX etc)
>
>Where and how should i  define the ip-adresses? There are no domain name
>servers in
>this two-computer network.
>
>Ralf Strandell
>
>
>
>
>
------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to