?
Solved

Little PPP problem

Posted on 1998-08-23
1
Medium Priority
?
246 Views
Last Modified: 2010-03-18
I use Linux to dial up my ISP (in the Openwin). I succeeded in input my username and password. What key shall I type to establish the connection now? On the PC under Windows 95, I just click on the Continue button or press F7. What shall I do in Linux. Thanks
0
Comment
Question by:jonalee
[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
1 Comment
 
LVL 1

Accepted Solution

by:
bryanjones earned 150 total points
ID: 1586538
IF you receive a prompt then you enter ppp or create a script that allows you to connect automaticly rather than entering your information through minicom.

Try is script on for size it is a two part (two different files)

in /usr/local/bin create a file called ppp.sh and enter the following all on one line, NO RETURNS it is ok to have line wrap.

ppp.sh
------

/usr/sbin/pppd /dev/cua0 115200 -detach modem crtscts defaultroute lock connect '/usr/sbin/chat -v -f /usr/local/lib/ppp.chat'

if /usr/local/lib create a file called ppp.chat enter the following all on one line, NO RETURNS.

ppp.chat
--------
"" ATZ OK ATDT(isp-phonenumber) CONNECT "" ogin: (yourid) assword: (yourpassword) "" ppp

make sure that in /usr/sbin is pppd and chat if not then do a find on your machine to find exactly where they are and then insead of /usr/sbin/pppd use the fully qualified name from the find for both pppd and chat.

After all this is done you should be able to run /usr/local/bin/ppp.sh if it is executable and see the output be logged into the /var/log/messages file.  DO NOT break out of this script once connect it will run in the foreground unless you decide to NOT use the -detach in ppp.sh.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

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…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

770 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