View Single Post

   
  #2 (permalink)  
Old 02-15-2008, 04:09 PM
Bob Bailin
 
Posts: n/a
Default Re: Modem ppp connection


"Mark Stubbs" <mark@sAwNiTfIt.ScPo.AuMk> wrote in message
news:414b0f7c$0$16065$afc38c87@news.easynet.co.uk. ..
> Hi,
>
> I hope someone can help with this - I'm sure its just something stupid

that
> I'm doing wrong :-(
> But I've never had to set a modem up before - I live in the age of

ethernet
> and gateways, and broadband connections :-)
>
> I need to set up a modem on a SCO Openserver 5.0.6 box.
>
> The story so far:
>
> The modem is attached to tty1A. I can do
> cu -ltty1A dir
> and send AT commands, getting correct responses for as long as I like.
>
> I can do
> cu SYSNAME
> and get the chimera prompt back from our Ascend max200 terminal server.
>
> I can then use a limited number of commands (including telnet which I've
> enabled for debug), to get to other boxes on the network: The modem is
> working correctly :-)
>
> I've started up pppd -d9, to get LOTS of debug.
>
> pppattach briefly shows up as connected, and then immediately drops the
> connection.
> I have /etc/pppauth set up with username password pair (separated by a
> single tab)
>
> The last few lines of debug (after dialing correctly) are:
> Forked 1693 Wait got 1693 status 0
> getto ret 7
> ISTRIP cleared
> lockname(/usr/spool/uucp/LCK..tty1a)
> lockname(/usr/spool/uucp/LCK..tty1a)
>
> Any help would be appreciated, as I don't know where to go from here.
> Oh, the Max200 still has a couple of windows PCs which can dial in and get

a
> ppp connection (inclulding mine, which I use as a backup in case I need to
> kick the broadband connection), so I'm pretty sure that is working as it
> should.


Setting up outbound ppp is a lot more complicated on Openserver than it
need be, especially compared to Windows (any version).

When I tried a few weeks ago on 5.0.7 for the first time, I ran into a
couple
of problems:

You have to know the correct auth protocol your ISP is using. Mine (SBC)
was using PAP, without the standard "username: / login:" prompts upon
first connection. So I had to delete the prompt script from the uucp Systems
file entry that was automatically inserted by the ppp configuration program.
Try dialling the access number with cu and see if you get a login prompt or
just a bunch of gibberish.

I also discovered from the debug info that I had to have an entry in pppauth
for the username/password provided by my ISP before the handshaking would
proceed. This was in addition to my actual username/password.

And finally, once a connection was established, I had to add a default route
to the new ppp connection before I could actually use it.

Check your debug output a little more carefully to see if you can spot the
problem. You probably don't need level 9, which has a lot of low-level
hardware stuff that will obscure the real problem.

Since you're dialling into one of your own systems, just make sure you
have both password pairs set up properly and are using the same protocol.
Is the max200 another Openserver system or something else?

Bob

>
> TIA
>
> Mark Stubbs
>
>



Reply With Quote