Linux-Windows PPP Connection doesn't work

Posted on 2004-11-18
Last Modified: 2010-03-18
I want to set up a Linux-Windows2000 PPP connection (Linux is Debian 2.4.27 Sarge "testing" of Oct 15 2004).
Both PCs are connected via a crossed serial cable that was veryfied with having "getty" on Linux and a Terminal emulation on Windows. During test of the PPP connection only the SW described below accesses the serial line.

On Linux:
pppd nodetach crtscts local lock noauth connect 'chat -v -f /etc/ppp/scripts/' /dev/ttyS0 38400 debug


On Windows:
Using a "Network and Dial-up Connections" entry set up to "communications cable between two computers (COM1) with the same baud rate as given with the pppd call on Linux.
Network type is set to PPP.

Now what happens:
The connection can't be established fully.
I get a pppd debug output of
Serial connection established.
using channel 6
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <magic 0x67865974> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint []>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9b9a12cb> <pcomp> <accomp>]
sent [LCP ConfRej id=0x0 <callback CBCP> <mrru 1614>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9b9a12cb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9b9a12cb> <pcomp> <accomp>
LCP: timeout sending Config-Requests
Connection terminated.

-> The Windows PC doesn't seem to answer anymore.

Different baud rates and HW/SW handshake varieties tried. The cable is verified to have RTS-CTS connected in both directions.

What am I doing wrong ?
Question by:AlfredH
    LVL 1

    Accepted Solution

    Check the security settings on the windows box. Set password to not encrypted (pap) and the line to not be encrypted and add a username and password to the /etc/ppp/pap-secrets

    Author Comment

    We found the solution ourselves.
    The problem was that Windows (in contrast to Linux) assumes the PC's DSR/DCD line to be connected to the peer's DTR line even when you supply a direct PC-PC connection without a modem being in-between.
    So after soldering this non-standard cable and additionally supplying the parameter "modem" on the Linux pppd call to let the Linux computer drive the DTR line, it instantly worked.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Suggested Solutions

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now