Networking Forums

Networking Forums > Computer Networking > Linux Networking > dial on demand to "PPP-only" ISP

Reply
Thread Tools Display Modes

dial on demand to "PPP-only" ISP

 
 
Alan Baker
Guest
Posts: n/a

 
      10-05-2004, 05:46 AM
Hello. I use PPP and dial-on-demand to call my ISP from my Linux
(2.4) box. I've been using a chat script for about 5 years and it
works just dandy (except when the modem fails). 8-)

Recently my ISP added a new modem bank and a new phone number. They
say that this new number is for PPP only. It will not work with
telnet or scripts. Maybe they use AutoPPP and PAP. But how do I use
these from my dial-on-demand Linux box?

Here's the PPP dialog...

User Access Verification

Username: baker
Password:

Username: baker
Password:

Username: baker
Password:

Username: baker
Password:

<disconnect>

Alan
 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      10-05-2004, 12:56 PM
Alan Baker <(E-Mail Removed)> wrote:
> Hello. I use PPP and dial-on-demand to call my ISP from my Linux
> (2.4) box. I've been using a chat script for about 5 years and it
> works just dandy (except when the modem fails). 8-)


> Recently my ISP added a new modem bank and a new phone number. They
> say that this new number is for PPP only. It will not work with
> telnet or scripts. Maybe they use AutoPPP and PAP. But how do I use
> these from my dial-on-demand Linux box?


Add the pppd option " user YOUR_ISP_USERNAME " and the line

YOUR_ISP_USERNAME * YOUR_ISP_PASSWORD

to both /etc/ppp/{pap,chap}-secrets, using the obvious substitutions.

Modify the chat script, replacing the login/password expect-sends
in it with

CONNECT \d\c

(or \\d\\c if the chat script is on the pppd command line). If there
already a line like ` CONNECT "" ' then remove it.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* "PPPoE has many advantages for DSL service providers, and
practically none for DSL consumers."
- David F. Skoll */
 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      10-05-2004, 01:13 PM
On 4 Oct 2004 22:46:50 -0700, Alan Baker
<(E-Mail Removed)> wrote:
> Hello. I use PPP and dial-on-demand to call my ISP from my Linux
> (2.4) box. I've been using a chat script for about 5 years and it
> works just dandy (except when the modem fails). 8-)
>
> Recently my ISP added a new modem bank and a new phone number. They
> say that this new number is for PPP only. It will not work with
> telnet or scripts. Maybe they use AutoPPP and PAP. But how do I use
> these from my dial-on-demand Linux box?
>
> Here's the PPP dialog...
>
> User Access Verification
>
> Username: baker
> Password:
>

Is that the dialog for the old phone number or the new one? Does your
chat script look for "Username:" or "login:"? Do you have an
/etc/ppp/pap-secrets file, in case they do use PAP? It may be that,
even though the ISP sends a "Username:" prompt, they really expect you
to start PPP right away. Perhaps you should ask them.


--
System Events
=-=-=-=-=-=-=
Sep 16 03:31:11 don kernel: lp0 on fire

 
Reply With Quote
 
Alan Baker
Guest
Posts: n/a

 
      10-06-2004, 12:05 AM
Clifford, you are THE MAN. I followed your directions and it worked
just as advertised! Thank you!

Alan

Clifford Kite <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Alan Baker <(E-Mail Removed)> wrote:
> > Hello. I use PPP and dial-on-demand to call my ISP from my Linux
> > (2.4) box. I've been using a chat script for about 5 years and it
> > works just dandy (except when the modem fails). 8-)

>
> > Recently my ISP added a new modem bank and a new phone number. They
> > say that this new number is for PPP only. It will not work with
> > telnet or scripts. Maybe they use AutoPPP and PAP. But how do I use
> > these from my dial-on-demand Linux box?

>
> Add the pppd option " user YOUR_ISP_USERNAME " and the line
>
> YOUR_ISP_USERNAME * YOUR_ISP_PASSWORD
>
> to both /etc/ppp/{pap,chap}-secrets, using the obvious substitutions.
>
> Modify the chat script, replacing the login/password expect-sends
> in it with
>
> CONNECT \d\c
>
> (or \\d\\c if the chat script is on the pppd command line). If there
> already a line like ` CONNECT "" ' then remove it.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change new wirless network to "on demand", instead of "automatic" tobyjones Wireless Networks 1 11-19-2009 04:18 PM
WZC bug - Network setting of "On Demand" toggles to "Automatic" craig_oz_land Wireless Networks 0 09-21-2007 09:56 PM
IE options - "never dial a connection" doesnt stick - returns to "Dial whenever a network connection is not present" techman41973@yahoo.com Wireless Internet 2 03-08-2006 08:08 PM
usb "dial-up" dsl modem not available in "network adapters" in ICSwizard Biz Windows Networking 1 01-05-2006 09:15 PM
how to enable "apply static route" for some users in "Dial in" tab of Active Directory on Windows 2003 HuyNguyen Windows Networking 4 12-11-2004 12:50 AM



1 2 3 4 5 6 7 8 9 10 11