?
Solved

NT RAS & Slackware PPP

Posted on 1997-07-14
4
Medium Priority
?
458 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 100 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

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
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…
Suggested Courses

765 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