Solved

Little PPP problem

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

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

688 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