Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 1996 08:19:11 +0000 ()
From:      Sergio de Almeida lenzi <lenzi@bsi.com.br>
To:        Annelise Anderson <ANDRSN@HOOVER.STANFORD.EDU>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: PPP and SLIP Servers
Message-ID:  <Pine.BSF.3.91.960412080329.6158D-400000@engenho.cefetsc.rct-sc.br>
In-Reply-To: <01I3FLIFEGLE0009TT@HOOVER.STANFORD.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

Hello Annelise.

I build Internet Service Providers here in Brazil using FreeBSD.

I think you are right thinking in linking your home computer to your 
office computer using FreeBSD.

Hints:
1) build a "small" kernel with pppd enabled suposing your office computer 
is not SCSI...(config file in attached message)

2) install the file /etc/ppp/options 
3) build & boot from the new kernel.
4) install a v32 modem in one of the com ports
5) enable it on the /etc/ttys, configuring the modem to auto answer.

At home:
1) install FreeBSD with a "simillar" config file.
2) get an valid IP number & install in this machine, install modem & boot.


For connect:
pppd passive defaultroute connect sample.chat /dev/modem 38400

the machine dials to your office the ppp configs, install a default 
router to your office and you are in the net.


Sergio Lenzi.

Unix consult.

[-- Attachment #2 --]
machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
ident		annelise
maxusers	10

options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

config		kernel	root on wd0 

controller	isa0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1


options         ATAPI   #Enable ATAPI support for IDE bus
device          wcd0    #IDE CD-ROM

device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr

controller	matcd0	at isa? port 0x230 bio

device		scd0	at isa? port 0x230 bio

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		"PCVT_FREEBSD=210"	# pcvt running on FreeBSD 2.1
options		XSERVER			# include code for XFree86

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port 0x290 tty flags 0x985
device		sio3	at isa? port 0x298 tty flags 0x985

device		lpt0	at isa? port? tty irq 7 vector lptintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device ed0 at isa? port 0x300 net irq  15 iomem 0xd8000 vector edintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	4
# ijppp uses tun instead of ppp device
pseudo-device	ppp	4
#pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

[-- Attachment #3 --]
modem
crtscts
mtu 296
netmask 0xfffffffe

[-- Attachment #4 --]
#!/bin/sh
telno=NNNNNNNNN
chat -v ABORT BUSY ABORT "NO DIAL TONE" ABORT "NO CARRIER" \
	"" AT OK 'AT&c1&d2' OK ATD$telno ogin: annelise word: xxx \
	'bash$' '/usr/sbin/pppd passive'

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960412080329.6158D-400000>