PDA

View Full Version : ppp dial-in



mune
03-03-2006, 01:48 AM
I'm trying to make it work a not new knoppix 3.3 as dial-in server.
All my experiments was with win XP (I was sure that there wasn't the firewall)
None worked (as you may see from the syslog). It seems that something prevents win from answering to the Linux server.
Years ago I configured the same service for the local Firefighters (it's incredibile I can't do it again).
Below are the confs file.

If anyone has any idea or have used in the past a different setup, let me know.
Thanks

--------8<--------8<--------8<--------8<--------8<--------
[knoppix 3.3]
# uname -a
Linux TxtExplorer 2.4.24-xfs #1 SMP Mi Feb 4 01:03:50 CET 2004 i686 GNU/Linux
--------8<--------8<--------8<--------8<--------8<--------
# less /etc/inittab
...
M0:2345:respawn:/sbin/mgetty -x9 ttyS0 -D /dev/ttyS0
...
--------8<--------8<--------8<--------8<--------8<--------
# less /etc/passwd
...
pppuser:x:1001:100::/home/pppuser:/usr/sbin/run-dial-in-ppp
--------8<--------8<--------8<--------8<--------8<--------
# less /etc/ppp/options

# /etc/ppp/options
#
debug #- log transactions to /var/log/messages
asyncmap 0
netmask 255.255.255.0
crtscts
modem
lock
/dev/ttyS0 115200
-detach
+pap
192.168.1.9:192.168.1.7
ms-dns 151.99.125.2 #- DNS name server
# ---<End of File>---
--------8<--------8<--------8<--------8<--------8<--------
less /etc/ppp/pap-secrets

# Secrets for authentication using PAP
# client server secret IP addresses
#
* * "" *
--------8<--------8<--------8<--------8<--------8<--------
# less /usr/local/etc/mgetty+sendfax/login.config

/AutoPPP/ - @ /usr/sbin/pppd file /etc/ppp/options
--------8<--------8<--------8<--------8<--------8<--------
# less /usr/sbin/run-dial-in-ppp

#!/bin/sh
exec /usr/sbin/pppd -detach

# ls -l /usr/sbin/run-dial-in-ppp

-rwxrwxrwx 1 root dip 38 2006-03-03 21:38 /usr/sbin/run-dial-in-ppp
--------8<--------8<--------8<--------8<--------8<--------
# groups pppuser
pppuser : users dip modem
--------8<--------8<--------8<--------8<--------8<--------
# tail /var/log/syslog

Mar 4 00:07:15 TxtExplorer pppd[1371]: pppd 2.4.2 started by pppuser, uid 1001
Mar 4 00:07:15 TxtExplorer pppd[1371]: Perms of /dev/ttyS0 are ok, no 'mesg n' neccesary.
Mar 4 00:07:15 TxtExplorer pppd[1371]: using channel 16
Mar 4 00:07:15 TxtExplorer pppd[1371]: Using interface ppp0
Mar 4 00:07:15 TxtExplorer pppd[1371]: Connect: ppp0 <--> /dev/ttyS0
Mar 4 00:07:15 TxtExplorer pppd[1371]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5e8d7eb> <pcomp> <accomp>]
Mar 4 00:07:42 TxtExplorer last message repeated 9 times
Mar 4 00:07:45 TxtExplorer pppd[1371]: LCP: timeout sending Config-Requests
Mar 4 00:07:45 TxtExplorer pppd[1371]: Connection terminated.
Mar 4 00:07:45 TxtExplorer pppd[1371]: Exit.

mjolnir
01-26-2007, 10:25 AM
Mune, did you have any luck? I am researching much the same thing now.