On 8/28/06, Christopher Sawtell <[EMAIL PROTECTED]> wrote:
On Monday 28 August 2006 17:10, Alan wrote:
> I have verified that the correct name and password are in both
> pap-secrest and chap-secrets.
> also retyped the password in when trying with kppp.
> The lcp intrerval is currently set at 60 and failure set at 6
> I have changed it to chap/pap in the options and am wondering now is I
> should
> have a + in front of that as now immediately after connect it dies with
> error 2
No, it should not have a plus. I posted the pppd pap options in a mail at
11:07 this morning. Please read the manual page as per that message.

> I aslso tried with wvdial and attached is what came thru while trying to
> connect.
Please could you use wvdial over again but as the root user this time.

All the linux dialing programs do the same thing - dial the modem and
then "hand off" to pppd. From the sent logs it seems that the modem is
connecting fine and that pppd isn't getting replies to the data it is
sending. This could be the case with some computers you connect to :
they expect you to login to the computer before you start pppd. So can
you please install (if you don't have it) the 'minicom' program and
follow these steps (on the command line (as root)):

1. run 'minicom -s' - this is the linux equivalent of windows'
hyperterminal application
2. use the arrow keys to select 'Serial Port Setup'
3. hit <ENTER>
4. press 'A'
5. delete the contents there and replace it with '/dev/ttyLTM0'
8. hit <ENTER>
9. hit <ENTER> so you see the menu where you selected 'Serial Port Setup'
10.  select 'save setup as dfl'
11. Hit enter
12. Press arrow keys to select 'Exit from Minicom'
13. Hit enter

Congratulations! you have now configured minicom! (to use your modem) :-)
Now we need to run minicom again (we quit because minicom is useless
at reloading configuration at runtime)

1. run minicom
You should see a 'AT mumbo jumbo' displayed and an 'OK' on a seperate
line after it.
2. Press <CTRL> and 'A' at the same time and then press L
3. hit enter to prompt saying minicom.cap (We want a log of what happens)
2. Type ATD <telephone number> and press enter
The modem should dial and connect.
3. Quit minicom by pressing <CTRL> 'A'  followed by 'X'
4. Email the minicom.cap file to the list :) (it will be in the same
directory as you run minicom - typically your home directory)

Sorry for the horrible instructions, I don't know how to script
minicom as I've only used for diagnostic purposes. With the results
from this we can see if there is a ppp daemon on the other and rule
out actual modem issues and turn to pppd configuration issues.

HTH,

Isaac

Reply via email to