From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 06:34:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E530516A4CE for ; Fri, 19 Mar 2004 06:34:35 -0800 (PST) Received: from soapbox.yandex.ru (soapbox.yandex.ru [213.180.200.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1546E43D1D for ; Fri, 19 Mar 2004 06:34:34 -0800 (PST) (envelope-from ejff@yandex.ru) Received: from YAMAIL (soapbox.yandex.ru) by mail.yandex.ru id ; Fri, 19 Mar 2004 17:34:16 +0300 Date: Fri, 19 Mar 2004 17:34:16 +0300 (MSK) From: "ejff" Sender: ejff@yandex.ru Message-Id: <405B04E8.00000C.11081@soapbox.yandex.ru> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] Errors-To: ejff@yandex.ru To: freebsd-questions@freebsd.org X-source-ip: 212.47.133.128 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 8bit Subject: Problems using ppp as a server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ejff@yandex.ru List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 14:34:36 -0000 Hello, i have a problem using ppp as a server. When i start it like this: root # ppp -direct server it prints out a garbage: ~ÿ}#À!}!}!} }=}(}"}'}"}"}&} } } } }!}$}%Ü}%}&?å3i}#}%Â#}%CÃ~~ÿ}#À!}!}!} }=}(}"}'}"}"}&} } } } }!}$}%Ü}%}&?å3i}#}%Â#}%CÃ~~ÿ}#À!}!}!} }=}(}"}'}"} "}&} } } } }!}$}%Ü}%}&?å3i}#}%Â#}%CÃ~~ÿ}#À!}!}!} }=}(}"}'}"}"}&} } } } }!}$}%Ü}%}&?å3i}#}%Â#}%CÃ~~ÿ}#À!}!}!} }=}(}"}'}"}"}&} } } } }!}$}%Ü}% }&?å3i}#}%Â#}%CÃ~ root # then terminates normally (i see it in the log file). this is my ppp.conf file: default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaa1 set speed 38400 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 enable dns server: enable chap set ifaddr 192.168.0.1 192.168.0.2 I also tried to run PPP like this: root # ppp -direct server & It doesn't terminate in this case, but it doesn't even listen to the telephone line when somebody dials up to me. It starts to work only when i go into ppp interactive mode, and then run "term" command. I have FreeBSD-4.4 RELEASE, and ppp 2.3.2 THE MAIN PROBLEM IS THAT I CAN NOT MAKE MY MODEM TO ANSWER TO THE CONNECTION REQUEST AUTOMATICALLY.