NT and NTAS INTERNET SLIP/PPP CONNECTIVITY FAQ
The release of Windows NT V3.5 with slip and ppp support has resulted in the following questions being asked frequently in the comp.os.ms-windows.nt.misc and in comp.os.ms- windows.nt.setup news groups. This document is intended to be a starting point for a new users guide to internet connectivity using NT or NTAS slip/ppp for dialup access.
Please send any additions or comments concerning this document to firstname.lastname@example.org
We need to have additional input on the following:
winsock applications - tested and verified to work with NT
slip/ppp - example login scripts
ip routing - how do we make this work?
1.) Where do I find SLIP/PPP for NT? How do I install SLIP/PPP for NT? 1.) Double click on the Main program group 2.) Double click on Network 3.) Click on add software 4.) Choose Remote Access Service 2.) Help: My RAS PPP/SLIP connection is not working? You probably have one of three problems either the slip link is not working, or your NT system is not accessing the UNIX service DNS, or the IP routing is messed up between your NT system and your slip providers UNIX network. 1.) Can you ping any addresses on the other end of the slip or ppp link? Try pinging the UNIX server or the gateway. Drop to dos and use the ping command. Use the numeric IP address. 2.) Try turning VJ compression off. Sometimes telnet and ftp will not work if you have VJ compression on and the system you are connected to does not support VJ compression. 3.) Check and confirm that the following are correct: The Host Name for your pc Your Domain Name The DNS IP address for your dialup slip/ppp service. Ask the UNIX system admin to confirm them for you. 4.) Drop the baud rate to 9600, some UARTs do not work above 9600 without UART receiver overruns. 5.) Finally try finding someone else who is using NT slip or ppp at your location. Ask the system admin if anyone else is sucessfully running NT via slip or ppp. 6.) Can you dial in using slip or ppp from a known working system using your username and password? 7.) Are you using dynamic ip addressing (bootp)? 8.) After you dial in and login in shell out to does and see what the netstat -rn utility shows. My netstat -rn returned the following info after my slip link is connected. My IP address is 18.104.22.168 and my slip service providers gateway is 22.214.171.124 Network Address Netmask Gateway Address Interface Metric 0.0.0.0 0.0.0.0 126.96.36.199 188.8.131.52 1 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 184.108.40.206 255.255.255.255 127.0.0.1 127.0.0.1 1 220.127.116.11 255.255.255.255 18.104.22.168 22.214.171.124 1 126.96.36.199 188.8.131.52 184.108.40.206 220.127.116.11 1 255.255.255.255 255.255.255.255 18.104.22.168 22.214.171.124 1 Route Table Active Connections Proto Local Address Foreign Address State TCP 126.96.36.199:1249 188.8.131.52:119 ESTABLISHED 3.) How do I automate my slip/ppp login using the switch.inf script language? You will need to edit the switch.inf file in winnt35/system32/ras and add an entry for your slip/ppp login script. The section you add must have a label followed by your actual script commands. Reference the rasphone.hlp help file and the pad.inf file in winnt35/system32/ras for additional information. The Microsoft NT V3.5 resource kit (when it is released) will have additional documentation on the switch.inf file and the script language. The switch.inf script is as follows: Substitue your USERNAME, PASSWORD, and IP Address Note, this script will need to be modified to match your slip providers login sequence. ;------------------------------------------------------------------------- [Evergreen] ; ; Wait until we get the "username:" prompt COMMAND= ERROR_NO_CARRIER=< match> "NO CARRIER" OK=< match> "ame:" ; ; Give the username and wait for "password:" prompt COMMAND=username< cr> ERROR_NO_CARRIER=< match> "NO CARRIER" OK=< match> "ord:" ; ; Give the password and ignore response (we're done) COMMAND=password< cr> ERROR_NO_CARRIER=< match> "NO CARRIER" ; Wait for "Alpine> " send the SLIP command OK=< match> "ine> " COMMAND=slip< cr> ERROR_NO_CARRIER=< match> "NO CARRIER" ; Wait for my IP address CONNECT=< match> "NNN.NNN.NNN.NNN" ERROR_DIAGNOSTICS=< cr> < lf> < Diagnostics> ERROR_DIAGNOSTICS=< lf> < cr> < lf> < Diagnostics> ; ; CONNECT response means that the connection completed fine. ; ERROR_DIAGNOISTICS response means connection attempt failed - the ; DIAGNOSTIC information will be extracted from the response and ; sent to the user. ; ; ERROR_NO_CARRIER means that the remote modem hung up. ; ERROR resonses are for generic failures. ;------------------------------------------------------------------------- RAS PHONEBOOK SETTINGS for a SLIP connnection to Evergreen using Windows NT Entryname: Evergreen Modem Settings: Modem type Microcom Deskporte FAST 28.8K UART type: 16550 on Com2 Enable hardware flow control yes Enable modem error control yes Enable modem compression yes Baud rate 57600 (use 19200 baud if you do not have a 16550 UART chip for your selected com port) Network Settings: SLIP Force header compression yes Use default gateway yes Frame Size = 1006 Security Settings: Accept any authentication including clear text yes Terminal or Script Before Dialing none After Dialing Evergreen 4.) How do I avoid having to click on the DONE button to complete the slip/ppp connect when using rasphone: I wrote two batch files for using rasdial and it worked great! The first rasdial batch file is for initiating the connection. I then added to icons one for calling the startnet.bat and one for calling the stopnet.bat, you can use the open door icon for startnet and the close door icon for stopnet. Place these batch files in the winnt directory so they are in the Win NT path. Type path at the command prompt for path details. You can get the command line options for rasdial by typing rasdial /help The startnet.bat file contains one line as follows: rasdial evergreen and the stopnet.bat file contains one line as follows: rasdial evergreen /DISCONNECT 5.) How do I bypass my slip/ppp service providers long banner text in the script language. Try adding the following script lines in your script at the point the banner needs to be ignored. Thanks for to Jason John Schwarz (email@example.com) For the following example: OK for those other people who's host sends long strings of stuff when they initally login here is a fix, I admit it is not pretty, and if somebody has a better one I would like to see it, but this works at my site, and it seems to be the only thing that does work. [cc00du] COMMAND=< cr> ERROR_NO_CARRIER=< match> "NO CARRIER" OK=< match> "login:" COMMAND=myusername< cr> ERROR_NO_CARRIER=< match> "NO CARRIER" OK=< match> "Password:" COMMAND=mypassword< cr> OK=< ignore> COMMAND= OK=< ignore> COMMAND= OK=< ignore> COMMAND= OK=< ignore> COMMAND= OK=< ignore> COMMAND= OK=< ignore> COMMAND= OK=< ignore> COMMAND= OK=< ignore> COMMAND= OK=< ignore> COMMAND=< cr> OK=< ignore> COMMAND=< cr> OK=< match> "unity%" COMMAND=ppp< cr> ERROR_NO_CARRIER=< match> "NO CARRIER" CONNECT=< match> "Using name=mario" 6.) Where do I configure the tcp/ip options for slip/ppp Thanks to Tom Horsley (Tom.Horsley@mail.csd.harris.com) for the following: Instead of configuring info like SLIP/PPP starting from the Network entry on the control panel, I find that I can configure those details from the RAS program's phonebook in the Advanced edit dialog. This actually makes perfect sense because the details are likely to be different for each phone number, but the online documentation definitely led me astray (I've read the docs again since I got it working, and they are still wrong :-). 7.) How do I enable IP routing between a NTAS server with a PPP/SLIP connection to the internet and the local IP subnet? I have not had time to test this approach, but based on information I received from Microsoft, you might want to try enabling the following registry entries: Also, make sure you enable routing on the NTAS servers on both ends of the PPP to PPP link. Enabling Routing of IP Packets on RAS Clients for NTAS V3.5 ---------------------------------------------------------------------- \HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Paramete rs IPEnableRouter REG_DWORD:0x1 Enables IP routing REG_DWORD:0x0 Disables IP routing You must set the DisableOtherSrcPackets registry entry on RAS clients if you want to route IP packets through that RAS client. This parameter only affects forwarding of packets on the client side--this does not affect the server. Note: (I could not find this entry so I assume you must add it.) The registry path for this entry is: \HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RasArp\Parame ters DisableOtherSrcPackets REG_DWORD:0x1 Disable IP packets from external sources REG_DWORD:0x0 Enable IP packets from external sources Controls the routing of IP packets with an IP source address other than the IP address of the RAS network adapter card. Set to 0 packets with source address other than the IP address of the RAS adapter will be sent. Set to 1 packets with source address other than the IP address of the RAS adapter will not be sent. Default: 1 8.) What winsock software works with Windows NT or NTAS Version 3.5 You can use the Winsock Application FAQ, by Larsen Consulting as a starting point for a list of winsock applications and where to find them. http://www.ramp.com/~lcs/faqhtml.html (This will be moved to www.LCS.com sometime in the next two months) Eudora Email for SMTP and POP3 ftp://ftp.qualcomm.com/quest/eudora/windows/1.4/beta filename eud143b4.exe WinVn NNTP News Reader ftp://titan.ksc.nasa.gov/pub/win3/winvn filename winvn_92_5.zip Cello ftp://ftp.law.cornell/pub/L11/Cello filename cello.zip NCSA 32 bit Mosaic Client ftp://ftp.ncsa.uiuc.edu/PC/Mosaic filename wmos20a7.zip Mosaic Communications Netscape Mosaic Client http://home.mcom.com/home/welcome.html ftp://ftp.mcomm.com/pub/netscape/windows filename nscape09.zip Spry Air Mosaic Client http://www.spry.com/ file://ftp.spry.com/ WS_FTP32 ftp://184.108.40.206/pub/msdos ws_ftp32.zip The latest version of this application should always be the file /pub/msdos/winsock.files/ws_ftp.zip on ftp.usma.edu (220.127.116.11). To access it, enter 18.104.22.168 as the host name and check the "anonymous login" box in the WS_FTP connect dialog box. The latest version is usually uploaded winftp.cica.indiana.edu in the /pub/pc/win3/winsock directory as ws_ftp.zip. A test Windows NT version of this program may be found as ws_ftp32.zip on ftp.usma.edu. Beta versions are only available from ftp.usma.edu in the /pub/msdos directory as ws_ftp.zip.beta Source code for the 93.12.05 version is in the file ws_ftp_s.zip in the /pub/msdos/winsock.files directory on ftp.usma.edu. 9.) Where can I find out more about tcp/ip, slip, ppp, etc? TCP/IP Illustrated Volume 1 The Protocols by W. Richard Stevens Published by Addison-Wesley ISBN 0-201-63346-9 TCP/IP Network Administration by Craig Hunt Published by O'Reilly & Associates, Inc. ISBN 0-937175-82-X I recommend you check out the following Web HTML document as a starting point. "The PC-Internet Connection Update Page" http://www.zilker.net/users/internaut/update.html "comp.protocols.tcp-ip.ibmpc Frequently Asked Questions (FAQ)" by Aboba, Bernard D.(1994) email address: firstname.lastname@example.org (Bernard Aboba) Aboba, Bernard D.(1994) "comp.protocols.tcp-ip.ibmpc Frequently Asked Questions (FAQ)" Usenet news.answers, available via file://ftp.netcom.com/pub/mailcom/IBMTCP/ibmtcp.zip, 57 pages. http://www.zilker.net/users/internaut/update.html http://www.cis.ohio-state.edu/hypertext/faq/usenet/ibmpc-tcp-ip- faq/part1/faq.html This FAQ is now fully HTML compatible, and is being automatically converted to HTML. This means that if you have a WWW browser, you can read the FAQ online, and click on links to download individual files. This is how I read the FAQ myself, and it is highly recommended. The "PPP-FAQ" authored by Ignatios Souvatz (email@example.com) Archive-name: ppp-faq/part1 URL: http://cs.uni-bonn.de/ppp/part1.html Summary: This document contains information about the Internet Point-to- Point Protocol, including a bibliography, a list of public domain and commercial software and hardware implementations, a section on configuration hints and a list of frequently asked questions and answers on them. It should be read by anybody interested in connecting to Internet via serial lines, and by anybody wanting to post to comp.protocols.ppp (before he/she does it!) 10.) If I use WFWG V3.11 RAS to connect to a NTAS V3.5 server can I use telnet and ftp? No, the WFWG V3.11 RAS uses the NETBEUI protocol and does not support the TCP/IP protocol. You can use Peter Tattam's Trumpet Winsock which supports slip and ppp. ftp://ftp.trumpet.com.au:/ftp/pub/beta/winsock