chat script with ISP menu selection problem

chat script with ISP menu selection problem

Post by Boon Ye » Mon, 06 Sep 1999 04:00:00



Hi folks,

My ISP, at this moment, is Linux unfriendly
[I'd have to move to another if they don't
fix that soon].

I had Linux ppp with my ISP until recently,
when they change their setup on me.  Now,
I'd have to reconfigure the connection.

But I encounter a problem.  There is now
a menu of which one of the option is ppp.
I use chap-secrets and pap-secrets and I
cannot find any documentations (have read
all the available HOWTO's) which would
allow me to select the option -- without
imbedding my login and password into the
ppp-on-dialer script file.

Any help is much appreciated.

Thanks,
Boon

 
 
 

chat script with ISP menu selection problem

Post by Boon Ye » Mon, 06 Sep 1999 04:00:00


A puzzle.

With Win95/98, I can established a PPP connection
without having to make a menu selection.  Why couldn't
Linux made to mimic a Win95/98 connection?  As far
as the ISP is concern, that would be another Win95/98
PPP request.  Then there is no need for the chat script.

Is there any way to achieve this?


Quote:> Hi folks,

> My ISP, at this moment, is Linux unfriendly
> [I'd have to move to another if they don't
> fix that soon].

> I had Linux ppp with my ISP until recently,
> when they change their setup on me.  Now,
> I'd have to reconfigure the connection.

> But I encounter a problem.  There is now
> a menu of which one of the option is ppp.
> I use chap-secrets and pap-secrets and I
> cannot find any documentations (have read
> all the available HOWTO's) which would
> allow me to select the option -- without
> imbedding my login and password into the
> ppp-on-dialer script file.

> Any help is much appreciated.

> Thanks,
> Boon


 
 
 

chat script with ISP menu selection problem

Post by Boon Ye » Wed, 08 Sep 1999 04:00:00


Thanks to all who replied.

I have tried all the suggestions, but unfortunately none
work.  I am including here fragment of the message
log in the hope that someone can spot what is
happening:

----------------- [ message log fragment ] --------------------
Sep  6 23:09:03 unitron pppd[1014]: pppd 2.3.7 started by root, uid 0
Sep  6 23:09:25 unitron pppd[1014]: Serial connection established.
Sep  6 23:09:25 unitron pppd[1014]: Using interface ppp0
Sep  6 23:09:25 unitron pppd[1014]: Connect: ppp0 <--> /dev/modem
Sep  6 23:09:27 unitron pppd[1014]: Remote message:  Welcome to NetSpace
Online Systems---------------------------------- Choose an option...
Sep  6 23:09:27 unitron modprobe: can't locate module ppp-compress-21
Sep  6 23:09:27 unitron modprobe: can't locate module ppp-compress-26
Sep  6 23:09:27 unitron modprobe: can't locate module ppp-compress-24
Sep  6 23:09:27 unitron pppd[1014]: local  IP address 210.15.192.105
Sep  6 23:09:27 unitron pppd[1014]: remote IP address 203.10.110.178
------------- [ end of message log fragment] ---------------

Notice that I have logged in successfully.  But I cannot
bypass the menu option.  Please note that I use the
secrets files.

Regards,
Boon


Quote:> A puzzle.

> With Win95/98, I can established a PPP connection
> without having to make a menu selection.  Why couldn't
> Linux made to mimic a Win95/98 connection?  As far
> as the ISP is concern, that would be another Win95/98
> PPP request.  Then there is no need for the chat script.

> Is there any way to achieve this?

 
 
 

chat script with ISP menu selection problem

Post by Sitaram Chamar » Wed, 08 Sep 1999 04:00:00




Quote:>A puzzle.

>With Win95/98, I can established a PPP connection
>without having to make a menu selection.  Why couldn't
>Linux made to mimic a Win95/98 connection?  As far
>as the ISP is concern, that would be another Win95/98
>PPP request.  Then there is no need for the chat script.

Two possibilities.  (1) your ISP has started to use something
called "MS-CHAP".  I have never used it, but I am sure Linux ppp
can do it - you may have to compile it, though.

Or (2) they're using plain old chap (disabled PAP) but the
"remotename" is coming in wrong.  On my ISP, for instance, the
remotename can come in as "ts1", "ts2", or "ts3" (each is
presumably a terminal server, depending on which modem you get).
This makes it necessary for me to put in 3 lines in chap-secrets
instead of 1 line with the server name = "diac".

(Fortunately the moment I discovered this I used PAP, since my ISP
did not disable PAP).

Background: (this is all AFAIK!) when looking for a secret in
chap-secrets, pppd uses the username you gave as "user", but
ignores the "remotename" you gave - instead, it is supposed to use
the name sent by the server.  With PAP, however, it uses your
command-line args for both "user" and "remotename".

 
 
 

1. MCI ISP PPP/chat scripts?

Does anybody have any PPP Chat scripts that work with MCI for
internet service?

MCI first wants you to register before you can log on.  They
only support doing this via Windows and MS Explorer.  You tell
them you're on Linux and they ask, "Is that an OS?... Sorry."

Thanks,

---John

2. C-source of PS command

3. X's popup menu item selection problem

4. Dell Latitude d600 + FC2 = problem???

5. ppp in chat mode, how to debug chat script

6. linux PCI driver

7. PPP/Chat: Working chat script Linux==>SCO?

8. -fPIC penality & other shared lib question

9. PPP: Modified chat for two chat scripts

10. Problem to Connect my ISP with pppd and chat

11. change option menu selection

12. Athena menu selection woes

13. Menu selection not working