From owner-freebsd-questions Fri Dec 1 12:10:32 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA21609 for questions-outgoing; Fri, 1 Dec 1995 12:10:32 -0800 Received: from hub.org (hub.org [199.166.238.138]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA21600 for ; Fri, 1 Dec 1995 12:10:15 -0800 Received: (from scrappy@localhost) by hub.org (8.7.1/8.7.1) id PAA19817; Fri, 1 Dec 1995 15:09:22 -0500 (EST) Date: Fri, 1 Dec 1995 15:09:11 -0500 (EST) From: "Marc G. Fournier" To: "JoongSub Lee (kornet)" cc: questions@freebsd.org Subject: Re: q]ppp how to In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Thu, 30 Nov 1995, JoongSub Lee (kornet) wrote: > > hi, all. > first of all, i know this problem was disccused here many times. > but i can't do well. please don't be upset. > i move freebsd just before from linux. when i used linux, i used ppp > below way. > " pppd connect 'chat -v TION: ppp..-uxxx ready' /dev/cua0 19200 > debug defaultroute 168.126.127.1:0.0.0.0" > > well, i read faq and handbook. after that i configured sysconfig ( > appeneded tun0) and /etc/ppp/ppp.conf > - pmdemend: > set login "TION: ppp..-uxxx ready" > set ifaddr 0 168.126.127.1 > set netmask 0xffffffff00 0" > and ppp pmdemend > > but i think it is not work at all. i have a portable, so i use floppy > material. and i installed bin and proflibs. but i want to continue > installation via ftp or ppp. > any input i really appreciated. > thanks. > Here is my ppp.conf file, that works for doing demand dial-up...if it helps any: ----[ /etc/ppp/ppp.conf ]---- default: set device /dev/cuaa0 set speed 38400 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" # io-iij: set phone set login "TIMEOUT 5 login:-\\r-login: word: " set ifaddr add 0 0 HISADDR ------ One thing that I seem to have to do, which probably indicates that I do have something wrong in my conf files, is after running ppp -auto io-iij, I have to ping '198.133.36.254' to get the connection to initialize itself the first time. There is no default route defined. The other file that is of importance is: ----[ /etc/ppp/ppp.linkup ]---- 199.166.238.138: delete ALL add 0 0 HISADDR # # Otherwide, simply add peer as default gateway. # MYADDR: add 0 0 HISADDR ------- For some reason, it won't work on my machine without the delete ALL statement in it. Marc G. Fournier | POP Mail Telnet Acct DNS Hosting scrappy@hub.org | WWW Services Database Services | Knowledge, soon to be: | | Information and scrappy@ki.net | WWW: http://hub.org | Communications, Inc