Solved

NT RAS & Slackware PPP

Posted on 1997-07-14
4
400 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

771 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

16 Experts available now in Live!

Get 1:1 Help Now