Solved

NT RAS & Slackware PPP

Posted on 1997-07-14
4
441 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

840 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