I'm trying to set up a ppp server which can be dialed into from either
Linux or Windows PCs. I'm building this on a SuSE 7.2. host. I'm hoping
to use the normal authentication (regular login) for the users in
/etc/passwd, as opposed to setting up separate passwords in
/etc/ppp/pap-secrets and chap-secrets. Right now, Linux users can dial
in, using wvdial, just fine, with no problems.
When Windows users log in, they immediately disconnect after validating
their user name and password. The error is something like "not able to
negotiate a common protocol; make changes in Server-Types of Networking
control panel." I'm trying to use a static IP on the client, but
wouldn't mind using a dynamic one if that's easier.
In /var/log/messages, when a Windows client dials in, I get:
Jul 18 10:25:02 admin pppd[27446]: pppd 2.4.0 started by root, uid 0
Jul 18 10:25:02 admin pppd[27446]: Perms of /dev/ttyS1 are ok, no 'mesg
n' neccesary.
Jul 18 10:25:02 admin pppd[27446]: using channel 26
Jul 18 10:25:02 admin pppd[27446]: Using interface ppp0
Jul 18 10:25:02 admin pppd[27446]: Connect: ppp0 <--> /dev/ttyS1
Jul 18 10:25:02 admin pppd[27446]: sent [LCP ConfReq id=0x1 <auth pap> <pcomp> <accomp>]
Jul 18 10:25:04 admin pppd[27446]: sent [LCP ConfReq id=0x1 <auth pap> <pcomp> <accomp>]
Jul 18 10:25:04 admin pppd[27446]: rcvd [LCP ConfAck id=0x1 <auth pap> <pcomp> <accomp>]
Jul 18 10:25:05 admin pppd[27446]: rcvd [LCP ConfReq id=0x2 <pcomp> <accomp> <callback CBCP>]
Jul 18 10:25:05 admin pppd[27446]: sent [LCP ConfAck id=0x2 <pcomp> <accomp> <callback CBCP>]
Jul 18 10:25:05 admin pppd[27446]: sent [LCP EchoReq id=0x0
magic=0xb5e0fd41]
Jul 18 10:25:05 admin pppd[27446]: cbcp_lowerup
Jul 18 10:25:05 admin pppd[27446]: want: 2
Jul 18 10:25:05 admin pppd[27446]: rcvd [PAP AuthReq id=0x1
user="kevinz" password=<hidden>]
Jul 18 10:25:05 admin pppd[27446]: user kevinz logged in
Jul 18 10:25:09 admin pppd[27446]: LCP terminated by peer
Jul 18 10:25:09 admin pppd[27446]: Hangup (SIGHUP)
Jul 18 10:25:09 admin pppd[27446]: Modem hangup
Jul 18 10:25:09 admin pppd[27446]: Connection terminated.
Jul 18 10:25:09 admin pppd[27446]: Connect time 0.2 minutes.
Jul 18 10:25:09 admin pppd[27446]: Sent 117 bytes, received 96 bytes.
Jul 18 10:25:09 admin pppd[27446]: Exit.
This is the log file for the modem on the Windows client when it calls
in:
07-18-2002 13:34:58.63 - Linksys EtherFast 10&100 + 56K PC Card
(PCMLM56) (Modem) in use.
07-18-2002 13:34:58.63 - Modem type: Linksys EtherFast 10&100 + 56K PC
Card (PCMLM56) (Modem)
07-18-2002 13:34:58.63 - Modem inf path: MDMLM.INF
07-18-2002 13:34:58.63 - Modem inf section: Modem1
07-18-2002 13:34:58.90 - 115200,N,8,1
07-18-2002 13:34:58.90 - 115200,N,8,1
07-18-2002 13:34:58.90 - WARNING: Unable to load the 'Compression_On'
string.
07-18-2002 13:34:58.90 - Initializing modem.
07-18-2002 13:34:58.90 - Send: AT&F W2 <cr>
07-18-2002 13:34:58.97 - Recv: AT&F W2 <cr>
07-18-2002 13:34:58.97 - Recv: <cr><lf>OK<cr><lf>
07-18-2002 13:34:58.97 - Interpreted response: Ok
07-18-2002 13:34:58.97 - Send: AT<cr>
07-18-2002 13:34:58.97 - Recv: AT<cr>
07-18-2002 13:34:58.97 - Recv: <cr><lf>OK<cr><lf>
07-18-2002 13:34:58.97 - Interpreted response: Ok
07-18-2002 13:34:58.97 - Send: AT<cr>
07-18-2002 13:34:58.97 - Recv: AT<cr>
07-18-2002 13:34:58.97 - Recv: <cr><lf>OK<cr><lf>
07-18-2002 13:34:58.97 - Interpreted response: Ok
07-18-2002 13:34:58.97 - Send: ATS7=60S30=0L0M1\N3&K3B0 N1X4<cr>
07-18-2002 13:34:58.98 - Recv: ATS7=60S30=0L0M1\N3&K3B0 N1X4<cr>
07-18-2002 13:34:58.98 - Recv: <cr><lf>OK<cr><lf>
07-18-2002 13:34:58.98 - Interpreted response: Ok
07-18-2002 13:34:58.98 - Dialing.
07-18-2002 13:34:58.98 - Send: ATDT####<cr>
07-18-2002 13:34:59.03 - Recv: ATDTxxxx<cr>
07-18-2002 13:35:16.67 - Recv: <cr><lf>CONNECT 33600 V42bis<cr><lf>
07-18-2002 13:35:16.67 - Interpreted response: Connect
07-18-2002 13:35:16.67 - Connection established at 33600bps.
07-18-2002 13:35:16.67 - Error-control on.
07-18-2002 13:35:16.67 - Data compression on.
07-18-2002 13:35:24.25 - Hanging up the modem.
07-18-2002 13:35:24.25 - Hardware hangup by lowering DTR.
07-18-2002 13:35:25.44 - WARNING: The modem did not respond to lowering
DTR. Trying software hangup...
07-18-2002 13:35:25.44 - Send: +++
07-18-2002 13:35:25.59 - Recv: <cr><lf>OK<cr><lf>
07-18-2002 13:35:25.59 - Interpreted response: Ok
07-18-2002 13:35:25.59 - Send: ATH<cr>
07-18-2002 13:35:25.62 - Recv: ATH<cr>
07-18-2002 13:35:25.62 - Recv: <cr><lf>OK<cr><lf>
07-18-2002 13:35:25.62 - Interpreted response: Ok
07-18-2002 13:35:25.62 - 115200,N,8,1
07-18-2002 13:35:25.62 - Session Statistics:
07-18-2002 13:35:25.62 - Reads : 579 bytes
07-18-2002 13:35:25.62 - Writes: 460 bytes
07-18-2002 13:35:25.62 - Linksys EtherFast 10&100 + 56K PC Card
(PCMLM56) (Modem) closed.
Here are the settings in the various configuration and option files
which I think are involved:
admin:/etc/ppp # grep -v ^# /etc/ppp/pap-secrets | grep -v ^$
* admin.jhuccp.org ""
admin:/etc/ppp # grep -v ^# /etc/ppp/options | grep -v ^$
name admin.jhuccp.org
debug
crtscts
lock
modem
asyncmap 0
netmask 255.255.0.0
nodetach
lcp-echo-interval 30
lcp-echo-failure 4
lcp-max-configure 60
lcp-restart 2
idle 600
noipx
proxyarp
login
auth
admin:/etc/ppp # grep -v ^# /etc/mgetty+sendfax/login.config | grep -v
^$
/AutoPPP/ - a_ppp /usr/sbin/pppd auth login
* - - /bin/login @
admin:/etc/ppp #
Can anyone tell me if anything's wrong with the setup on the server? Do
I need to change anything on the Windows client? Any way to get any
further information on the error or any diagnostics to run?
Thanks very much for your thoughts and suggestions.
-Kevin Zembower
-----
E. Kevin Zembower
Unix Administrator
Johns Hopkins University/Center for Communications Programs
111 Market Place, Suite 310
Baltimore, MD 21202
410-659-6139