[EMAIL PROTECTED] wrote:
> 
> O.k. - thanx for your help; I did it again, without all these confusing
> scripts - only pppd with some chat + options (as my provider-support
> told me);
> the .txt is attached;
> (.jpg 's really a little strange for this purpose, but I don't know how
> to copy & paste easily, so I thought I "simply" take a screenshot ...
> ;-)

What I did when I was debugging my connection was to setup
/etc/syslog.conf to send the error log to /var/log/pppmsgs (you can use
any file name you like). You seem to be sending it to a console or
terminal window instead. Then since at that point, the only thing I
could connect to the Internet with was W95, I would edit out the part of
that file that was interesting (using emacs) and then copied that to my
Windows partition (mounted from Linux). Then I'd reboot to Windows and
paste the file into my next mail message.

> This .txt shows initiallisation & debug.
> I've tried to set "asyncmap 0" (or 00000000) - but without effect, the
> debug always shows ffffffff - is there something wrong with my pppd?
> Matthias.
> 
>   ------------------------------------------------------------------------
> init:
> 
> pppd connect 'chat -v "" ATDTtelnumber CONNECT "" \
> name: username word: password' \
> /dev/ttyS1 115200 crtscts lock name "username" \
> noipdefault remotename provider.de defaultroute asyncmap 0 kdebug 1
> 
> debug:
> 
> Jan 25 22:09:12 localhost pppd[916]: pppd 2.3.3 started by root, uid 0
> Jan 25 22:09:13 localhost chat[917]: send (ATDTtelnumber^M)
> Jan 25 22:09:14 localhost chat[917]: expect (CONNECT)
> Jan 25 22:09:45 localhost chat[917]: ATDTtelnumber^M^M
> Jan 25 22:09:45 localhost chat[917]: CONNECT
> Jan 25 22:09:45 localhost chat[917]:  -- got it
> Jan 25 22:09:45 localhost chat[917]: send (^M)
> Jan 25 22:09:45 localhost chat[917]: expect (name:)
> Jan 25 22:09:45 localhost chat[917]:  26400^M
> Jan 25 22:10:09 localhost chat[917]: ^M
> Jan 25 22:10:09 localhost chat[917]: ^M
> Jan 25 22:10:09 localhost chat[917]: Annex Command Line Interpreter   *   Copyright 
>(C) 1988, 1998 Bay Networks^M
> Jan 25 22:10:10 localhost chat[917]: Checking authorization, Please wait...^M
> Jan 25 22:10:10 localhost chat[917]: Username:
> Jan 25 22:10:10 localhost chat[917]:  -- got it
> Jan 25 22:10:10 localhost chat[917]: send ([EMAIL PROTECTED]^M)
> Jan 25 22:10:10 localhost chat[917]: expect (word:)
> Jan 25 22:10:10 localhost chat[917]:  [EMAIL PROTECTED]^M
> Jan 25 22:10:10 localhost chat[917]: Password:
> Jan 25 22:10:10 localhost chat[917]:  -- got it
> Jan 25 22:10:10 localhost chat[917]: send (password^M)
> Jan 25 22:10:11 localhost pppd[916]: Serial connection established.
> Jan 25 22:10:12 localhost kernel: ppp_tty_ioctl: set flags to 10000
> Jan 25 22:10:12 localhost kernel: ppp_tty_ioctl: set flags to 10000
> Jan 25 22:10:12 localhost kernel: ppp_tty_ioctl: set xasyncmap
> Jan 25 22:10:12 localhost kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
> Jan 25 22:10:12 localhost kernel: ppp_tty_ioctl: set flags to 10000
> Jan 25 22:10:12 localhost kernel: ppp_tty_ioctl: set mru to 5dc
> Jan 25 22:10:12 localhost kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
> Jan 25 22:10:12 localhost kernel: ppp_tty_ioctl: set flags to 10000
> Jan 25 22:10:12 localhost pppd[916]: Using interface ppp0
> Jan 25 22:10:12 localhost pppd[916]: Connect: ppp0 <--> /dev/ttyS1
> Jan 25 22:10:13 localhost kernel: ppp: frame with bad fcs, excess = c9b

Ahah! You have fcs (frame checksum) errors. That probably means your
asynchronous control character mask (ACCM) negotiation went awry. I'd
say that your request for asyncmap 0 was not honored by the other side.
Try asyncmap ffffffff (which is always what is used during the initial
phase anyway. It is the most conservative (escape *all* control
characters). See if that works.

Also, did you remember to fix your syslog.conf so that daemon.debug is
sent to a file? So very many people forget that one (including me at
first, of course). If you don't know how, look at my mini faq page:

http://www.chelmsford.com/home/shochat/linux/ppp/faq.html#q3

-- David

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to