Solved

Little PPP problem

Posted on 1998-08-23
1
215 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
CentOS7 Xvnc gdm login 9 179
what is the size of a TCP segment 10 82
linux, squid, exchange 14 128
Linux neworking 4 66
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

746 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now