Solved

Little PPP problem

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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

920 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

15 Experts available now in Live!

Get 1:1 Help Now