Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [SLE] Another dialin server question
From: "Michael W Cocke" <cocke@xxxxxxxxxxxxxx>
Since SuSE 10 cannot properly suspend to disk on a T22 (this would be
a lot easier if it did!), I have to go to windows on the dialin
machine - does anyone know the setup for pppd to answer/connect &
authenticate from an XP caller?


I copied and saved this from somewhere. I have a Suse 9 box that I use for dialin access from XP. This should work.


1. Install Mgetty
2. Edit the /etc/inittab and add these txt below all the txt
S0:2345:respawn:/sbin/mgetty -s 57600 /dev/ttyS0
# the modem was using COM1
3. Edit your /etc/mgetty+sendfax/mgetty.config ...
add the txt below, this is what i am using
speed 57600
modem-type auto
modem-check-time 1800
init-chat "" AT&F1M0 # this is what ie used with my Modem, it could be different
#with other modem
port ttyS0
debug 4
4. edit the /etc/mgetty+sendfax/login.config
#---- Ive just commented out the default below
/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login
debug

5. Assuming PPP has been installed already, below are my ppp configs
/etc/ppp/options
asyncmap 0
crtscts
nodetach
deflate 15
debug
lock
login
#note: i put log-in here so i can use the systems users
modem
netmask 255.255.255.0
ms-dns 2xx.xx.xxx.xx
ms-dns 2xx.xx.xxx.x
require-pap
refuse-chap
~
/etc/ppp/pap-secrets
# Secrets for authentication using PAP
# client server secret IP addresses
* * "" *

###############################################################

/etc/ppp/options.ttyS0
172.16.0.101:17.16.0.100
#note: 172.16.0.101 - server assigned IP
# 172.16.0.100 - remote IP

6. make sure u have enabled this in your firewall script
echo "1" > /proc/sys/net/ipv4/ip_forward
$IPTABLES -t nat -A POSTROUTING -o eth0 -j MASQUERADE

note: eth0 - connected to INTERNET - ip is 2xx.xxx.xxx.xxx
eth1 - connected to LAN
ppp0 - the dial-in ppp adapter


--
David C. Rankin, J.D., P.E.
RANKIN LAW FIRM, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankinlawfirm.com
--


< Previous Next >
Follow Ups
References