[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9393.0. "DUNIX V4.0B ppp -> NT RAS server ?!" by COL01::HOLZGREVE () Fri Apr 04 1997 14:26

    How to ppp to a Windows/NT RAS server system from unix?
    Does anybody know ?!
    
    Uwe
T.RTitleUserPersonal
Name
DateLines
9393.1should workNETRIX::"[email protected]"Farrell WoodsFri Apr 04 1997 15:3359
I can't provide detailed advice on how to set up the NT side.  You'll have
to find another notes conference for that.  I do remember one small
detail though which is that you must specifically enable CHAP authentication
on the NT side.  By default NT uses Microsoft's proprietary authentication
protocol, which very few other vendors bother to support.

For the UNIX side, have you read the section in the network admin guide
on setting up PPP?  While that is UNIX-centric it will provide some clues on
how to proceed.

Basically you will probably want to have NT supply the IP addresses.  If
the PPP link will be the only network connection then you want to use
the "defaultroute" argument either in /etc/ppp/options or on the pppd
command line.

Assuming for the moment you have the following things in place, you
could do something like this:

assumptions:

	o NT will supply IP addresses
	o the PPP link will be the only network interface on the UNIX box
	o NT is configured as a router
	o The name of the UNIX box is "foo"
	o the name of the NT box is "bar"
	o The two machines are connected via serial ports through a null-modem
	  cable; they will both run at 38400 baud
	o NT is configured to use CHAP for authentication
	o The password (secret) on the NT machine for authenticating the UNIX
	  machine is "fnord"
	o The NT machine will hand out class C addresses


/etc/ppp/options should contain:

defaultroute
asyncmap 0
name foo
remotename bar
+chap
netmask 255.255.255.0
noipdefault
+crtscts
local

/etc/ppp/chap-secrets should contain:

bar	foo	fnord
foo	bar	fnord

The line to invoke pppd would look like:

% pppd tty00 38400 debug


	-- Farrell


[Posted by WWW Notes gateway]
9393.2CHAP authenticationCOL01::HOLZGREVESat Apr 05 1997 05:4121
    Farrell,
    thanks a lot for this detailed information. I have the NT server and
    the pppd on the unix site running. My problem is the authentication
    with CHAP. Maybe this is not anabled on the NT server site, but I have
    no system management access to the NT system.
    
    If I dial manually the NT server modem number from the unix site with
    tip, the only message I will get is the CONNECT message from the modem.
    No username, password ... .
    So my chapt script will fail:
    
    ""      ATDT6161616161
    CONNECT ""
    name:   test
    word:   test
    main:   test
    
    Any idea ?!
    
    Uwe
    
9393.3NT doesn't work like thisNNTPD::"[email protected]"Farrell WoodsWed Apr 16 1997 17:0122
NT will not provide any prompts for a chat script to follow.  You don't
"log in" to an NT RAS server per-se.

You *may* (and my memory is fuzzy on this) have to put one additional
small thing in the chat script.  After the modem says "CONNECT", the chat
script may have to respond with the word "CLIENT".  The RAS server will
respond in kind with the word SERVER before starting the PPP link:

"CONNECT" "CLIENT\r"
"SERVER" ""

Don't ask why: it's Microsoft...

CHAP, or Microsoft's proprietary (read: incompatible with anything else in
the world except Microsoft) authentication mechanism is the means by which
you're authenticated.


	-- Farrell


[Posted by WWW Notes gateway]