Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 1995 15:09:11 -0500 (EST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        "JoongSub Lee (kornet)" <audience@soback.kornet.nm.kr>
Cc:        questions@freebsd.org
Subject:   Re: q]ppp how to 
Message-ID:  <Pine.BSF.3.91.951201150352.18665B-100000@hub.org>
In-Reply-To: <Pine.SOL.3.91.951130070331.7726A-100000@soback.kornet.nm.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <insert appropriate phone here>
 set login "TIMEOUT 5 login:-\\r-login: <username> word: <passwd>"
 set ifaddr <your IP> <their IP>
 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951201150352.18665B-100000>