Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 2004 00:21:30 +1100
From:      Vetrov Maxim <muxas@mail.ru>
To:        freebsd-questions@FreeBSD.org
Subject:   PPPD connection
Message-ID:  <40B499DA.9060905@mail.ru>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090305040205020906060407
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I can't establish connection with my ISP using pppd. I attached several files:

dir - /etc/ppp/ directory layout
system - output of uname -a
chap-secrets   |
chat.vmtc      | -> config files for pppd
options.vmtc   |

I start pppd as root 'pppd file /etc/options/options.vmtc'. Then it connects to modem, dial out the 
number, makes connection to a peer and then after half a minute or so closes connection. There is no 
  log information in the /var/log/ppp.log (there is a reference to ppp in a /etc/syslog.conf). So I 
do not know what's going on and why the connection is broken. I checked login and password in 
chap-secrets file - these are correct. What do I do wrong?

Maxim


--------------090305040205020906060407
Content-Type: text/plain;
 name="CHAP-SECRETS"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="CHAP-SECRETS"

# Dialout format: <our name> <server name> <password>
#
AFFV01586 * xxxxxxxxxxxxxx

--------------090305040205020906060407
Content-Type: text/plain;
 name="CHAT.VMTC"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="CHAT.VMTC"

ABORT	ERROR
ABORT	'NO DIALTONE'
TIMEOUT	2
OK-''-'' ATZ OK-+++ATHZ-OK ATDP408200
ABORT 'BUSY'
TIMEOUT	70
CONNECT ""

--------------090305040205020906060407
Content-Type: text/plain;
 name="dir"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dir"

total 12
drwxr-xr-x   2 root  wheel   512 May 26 22:01 .
drwxr-xr-x  16 root  wheel  2048 May 23 00:00 ..
-rw-r--r--   1 root  wheel    84 May 25 22:27 chap-secrets
-rwxr-xr-x   1 root  wheel   115 May 26 21:45 chat.vmtc
-rwxr-xr-x   1 root  wheel   157 May 26 21:45 options.vmtc
-rw-------   1 root  wheel  1169 Oct  9  2002 ppp.conf

--------------090305040205020906060407
Content-Type: text/plain;
 name="OPTIONS.VMTC"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="OPTIONS.VMTC"

/dev/cuaa1
115200
modem
crtscts
asyncmap 0
debug
connect '/usr/bin/chat -v -f /etc/ppp/chat.vmtc'
defaultroute
noipdefault
persist
holdoff 2
mtu 250
mru 250

--------------090305040205020906060407
Content-Type: text/plain;
 name="system"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="system"

FreeBSD router 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Tue May 25 21:47:44 GMT 2004     root@router:/usr/src/sys/compile/ROUTER  i386

--------------090305040205020906060407--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40B499DA.9060905>