Solved

NT RAS & Slackware PPP

Posted on 1997-07-14
4
448 Views
Last Modified: 2013-12-05
Is it possible to dial into an NT RAS server using Slackware PPP?  If it is, how is it done?
0
Comment
Question by:HondaP
  • 2
4 Comments
 
LVL 2

Expert Comment

by:cedric
ID: 1585502
Hy,
well here are my solution :
1- /etc/ppp/options
user jhony
-detach
modem
crtscts
lock
192.168.0.2:192.168.0.3
# here you modify your address or left the first blank
for dynamic IP.
ipcp-accept-remote
ipcp-accept-local
defaultroute
debug

2-create and edit an /etc/ppp/pap-secrets  and or chap-secrets
containing your password on the NT.
# Secrets for authentication using PAP
# client        server  secret                  IP addresses
jhony              alienor 'toto'

3-create an .pppscript in your home directory
ECHO ON
ABORT BUSY
ABORT 'NO CARRIER'
ABORT 'NO DIAL TONE'
''      \rATZ
'OK'    AT
TIMEOUT 45
'OK' ATDTyour_dial_number
CONNECT ''
#next you can add wiatfor ogin: and assword: and enter your login
and password if pap trames are not automatically sended.

4-create a ppp-go script
#!/bin/sh
echo
echo "Starting connection......"
echo
/usr/sbin/pppd connect '/usr/sbin/chat -v -f /root/.pppscript' \
debug noauth noipdefault defaultroute 38400 /dev/ttyS1 &

#/usr/sbin/ipppd connect '/usr/sbin/chat -v -f /root/.pppscript' \
#debug noipdefault defaultroute 38400 /dev/ttyS1 &

5-create a ppp-off script to cut the connection
#!/bin/sh
echo
echo "Demande raccrochage démon ppp...."
if [ -z `pidof pppd` ]
        then echo "Pas de démon ppp actif"; exit 1

        else
        echo "Pid du démon : "`pidof pppd`
        kill -1 `pidof pppd`
        kill -9 `pidof pppd`
        echo
        echo "Démon ppp tué !."
fi

6-your down for this one.
have fun.
0
 

Author Comment

by:HondaP
ID: 1585503
Never told me what I needed to have before implementing his solution.  Half of the solution was written in a language other than English.  French?!
0
 
LVL 2

Accepted Solution

by:
cedric earned 50 total points
ID: 1585504
Hello again,

you need to have ppp 2.2.0f or ppp 2.3 compiled in your linux kernel or as modules. Just read the included readme to compile your kernel.

On the NT server, you need a configured modem working fine.
you also need in the RAS config to specifies incoming only, or incoming & outcoming. But not outcoming only.


install your new kernel, reboot, write the files in my first answer.
for th 5" one here is the traduction :
#!/bin/sh
echo
echo "Asking ppp daemon to hang-up the phone"
if [-s ` pidof pppd` ]
      then echo "There is no active ppp daemon"; exit 1
      else
      echo "PID of active ppp daemon :" `pidof pppd`
      kill -1 `pidof pppd`
      kill -9 `pidof pppd`
      echo
      echo "ppp daemon killed !"
fi

to start your connection enter ppp-go
to finish enter ppp-off

Now, you should really have everyting.
Byby.
0
 

Expert Comment

by:cnbishop
ID: 1585505
Sounds like Cedric has a lock on this one - good answer.  I have a working config I can strip of Pwds and send on over if required.  I use it to connect to a RAS server here, either by initlevel (3, here) or by diald.  I can send over as much as is required to get you doing whichever one you want.



0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Backing Up Ipset 9 124
How to setup xrdp on Redhat? 2 230
Centos 6.4 ModSecurity: Output filter: Content-Length Error 2 103
Configuring windows 7 host in Nagios 4 5 97
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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