[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trying to setup PPP over ISDN
On Sep 4, 2:18pm, revicon at Net - link dot net wrote:
> Subject: Trying to setup PPP over ISDN
> Ok. I've been successful in the past setting up Linux to dialup my ISP and
> get me on the internet. I used a 33.6 modem, and logged on to my ISP over
> a regular old telephone line. After dialing, my ISP would come up with a
> "logon:" prompt and I wrote a script to enter this in, along with my
> password at the "password:" prompt. After I logged in, it would give me a
> ">" prompt and I would have my script enter in "ppp" and then PPP would
> work, and I'd be in business.
This is not the "normal" way of doing PPP.
>
> That was before ISDN. Now, instead of dialing up using an internal 33.6
> modem, I'm using an external DIVA ISDN modem on CUA0. I can get it to work
> in Minicom, and can even get it to dialout. Thing is, my new ISP (NET-LINK)
> doesn't give me all these great prompts and stuff, as soon as I dial up it
> just starts giving me random characters (looks like line noise, probably the
> ISP trying to negotiate with my computer some how). I have no idea how to
> modify my script to send it my account name and password.
That noise is PPPD on the other end which started the minute you logged in,
you need to have pppd diald your ISP with a chat script.
>
> I have been through the "ISDN-MINIHOWTO" with little luck. I've also been
> through "Bruce Smith's PPP-Minihowto", but I get stuck at when trying to
> enter in "route add default ppp0". It tells me that it doesn't exist. I'm
> sure there is an easy fix for this, but It's not comming to me. Can anyone
> point me in the correct direction?
>
The interface ppp0 can't be routed to if it doesn't exist. I think Bruce's
HOWTO is only about demand dialing with PPP, you have to get it to work
normally first. You need to investigate the "connect" option in the
/etc/ppp/options file and the chat command (man pppd, man chat)