[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring ppp



Isabelle:

For modem speed, use the speed that the modem uses to talk
to the computer, not the speed it uses to talk to another modem.
My understanding is that for old modems, this was the same thing,
but with new ones (anything since 14.4Kbps became standard,
probably), the PC-modem speeds remains constant, regardless of
modem-modem speed.  My experience has been that modems
usually ship with a factory default of 57600.  You could use
115200, then use AT commands to set the modem likewise, but
it's pointless, considering you'll never get that kind of end-to-end
throughput anyway.

When troubleshooting modem problems, I always use a terminal
emulator (e.g., minicom) to verify serial port settings like that.  If
you can type "AT" at the terminal and receive an "OK", you can
be reasonably sure that the modem works and will talk to the
computer.  Then, manually do all of things that you want your
chat script to do, to see whether you can connect.

Marc

----------
Marc Mongeon <mongeon@bankoe.com>
Unix Specialist
Ban-Koe Systems
9100 W Bloomington Fwy
Bloomington, MN 55431-2200
(612)888-0123, x417 | FAX: (612)888-3344
----------
"It's such a fine line between clever and stupid."
   -- David St. Hubbins and Nigel Tufnel of "Spinal Tap"


----------
Marc Mongeon <mongeon@bankoe.com>
Unix Specialist
Ban-Koe Systems
9100 W Bloomington Fwy
Bloomington, MN 55431-2200
(612)888-0123, x417 | FAX: (612)888-3344
----------
"It's such a fine line between clever and stupid."
   -- David St. Hubbins and Nigel Tufnel of "Spinal Tap"


>>> Isabelle Poueriet <bella@bway.net> 06/23 11:07 PM >>>
Thanks to all who have responded to my question.  
I made more attempts with no success.  Here is more info about my
configuration:

This is not a permissions problem. I'm running all these commands as root.

First I create the following files:

/etc/ppp/options:

debug
/dev/ttyS2    #my modem is in com3
115200        #my modem speed is actually 56K but I type 56000 on this
              # line and I get the error : modem speed 56000 not supported
              #I see this error when I type plog at the command prompt
              #it does not complain when I leave it at 115200
modem
crtscts
lock
connect /etc/ppp/ppp-connect
asyncmap 0
defaultroute

next file: /etc/ppp/ppp-connect:

#!/bin/sh            #I typed "which sh" and I get /bin/sh. so this is
                      #good
/usr/sbin/chat -v -t 60 -f /etc/ppp/ppp-chat

next file: /etc/ppp/ppp-chat:

ABORT "BUSY"
ABORT "NO CARRIER"
"" ATZ\R
OK ATDT*708071800
name> bella\r      #I was told at work (my ISP) that the prompt is
                   #username>.  I also tried ogin: instead of name> and
                   # and name: , and also ogin> but no
                    #success
sword: password\r   #I replace password here by my password.

next file: /etc/resolv.conf:
nameserer IP address
domain   bway.net
search bway.net

next file: /etc/ppp/chatscripts/provider

Here I have a line like so:

bella * mypassword

Now the last few lines from /var/log/messages are as follows:

date nameofmycomputer ppp:version bla bla bla
date ppppd:ppp line discipline registered
.....:tty00 at 0x003f8 (irq = 4) is 16550A
......:tty01 at ...... (irq = 3) is 16550A
......:tty02 at ...... (irq = 4) is 16550A
...   :registered device ppp0
pppd[673]:pppd 2.3.5 started by root uid 0
pppd[..]:Exit

And if I type plog at the command prompt I get these:

pppd[826]:2.3.5 started by root...
pppd[...]:Connection script failed
pppd[...]:Exit

Please help.

Thanks in advance.

 \_\_\_\_\_\_\_\_\_\_\_\_
\_ Isabelle Poueriet   \_ 
\_ bella@bway.net      \_
\_ http://www.bway.net \_
\_\_\_\_\_\_\_\_\_\_\_\_
Q. How many Microsoft Engineers does it take to screw in a light bulb?
A. None.  They declare "darkness", the standard.



-- 
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: