Solved

NT RAS & Slackware PPP

Posted on 1997-07-14
4
453 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

Question has a verified solution.

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

Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

719 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