Solved

Little PPP problem

Posted on 1998-08-23
1
226 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
1 Comment
 
LVL 1

Accepted Solution

by:
bryanjones earned 50 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
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…

810 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