Subject: PPPd, i did finally get it setup and working correctly...
To: None <port-amiga@NetBSD.ORG>
From: Simeon A. Layne Jr. <sempco!root@uustar.starnet.net>
List: port-amiga
Date: 01/08/1997 00:00:34
=09I sent a message earlier today and resolved the problems this
evening. Please ignore the previous question and while I am at it, in case
anyone else wanted to know, my solution, i am posting it. My particular
system is an A3000, 25Mhz, ECS, 2Meg Fast, 16 Meg Static Column ZIPs, 4
Megs on a RAM Expansion Board. The system receives mail and news via UUCP
dialup to a host (uustar.starnet.net) via MFCIII port /dev/ttyA1, pppd on
MFCIII port /dev/ttyA0, with USERS dialing in on the multiport serial card
ports /dev/ttym1 and /dev/ttym2 (Yep i redesigned the /dev/MAKEDEV file to=
=20
create tty0[1-7] for dialout, ttym[1-7] for dialin).
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
/etc/syslog.conf:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
*.err;kern.debug;daemon.info;local2,auth.notice;mail.crit=09/dev/console
*.notice;kern.debug;lpr,auth.info;mail.crit=09=09=09/var/log/messages
mail.info=09=09=09=09=09=09=09/var/log/maillog
lpr.info=09=09=09=09=09=09=09/var/log/lpd-errs
cron.info=09=09=09=09=09=09=09/var/cron/log
daemon,local2.debug=09=09=09=09=09=09/etc/ppp/ppp-log
*.err=09=09=09=09=09=09=09=09root
*.notice;auth.debug=09=09=09=09=09=09root
*.alert=09=09=09=09=09=09=09=09root
*.emerg=09=09=09=09=09=09=09=09*
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
/etc/ppp/options:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
debug
/dev/ttyA0
115200=20
lock=20
crtscts=20
connect 'chat -v -f /etc/ppp/chat-script'
noipdefault
ipcp-accept-local=20
ipcp-accept-remote=20
defaultroute
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
/etc/ppp/chat-script: MYNAME and MYPASSWORD are dummy values
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ABORT=09=09BUSY
ABORT=09=09"NO CARRIER"
""=09=09atz1
"OK"=09=09atdt7312255
CONNECT=09=09""
login:=09=09"ppp!MYMANE"
sword:=09=09"\qMYPASSWORD"
from=09=09"\q"
beginning=09""
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
NOTE: I manually logged into my ISP as i had down years ago with AmiTCP to
get the information on where to start and stop parsing for the local and
remote host information. I used script to capture the information and cu
to access the modem. I ended the modem usign the ~. key sequence. Script
will create a file called 'typescript'. You can visually inspect this
file to see what the last thing sent from your provider is before the IP
information is sent. The final line in my chat-script ('beginning'=09'')=
=20
probably isn't required but included because that is what I am using...=20
---------------------------------
=09script
=09cu -l /dev/ttyA0
=09atdt7312255
=09...
=09kill -9 (script pid)
---------------------------------
Script started on Tue Jan 7 20:36:43 1997
toor@sempco:/etc/ppp {1} % cu -l /dev/ttyA0=0D=0D
=07Connected.
atz1=0D=0D
OK
atdt7312255=0D=0D
CONNECT 38400
Welcome to MVP-Net, Inc. (mvp-net)
pm1-3 login: ppp!slayne
Password:=20
PPP session from (205.139.224.71) to 205.139.231.44 beginning....~=FF}#=C0!=
}!}!} }8}!}$}!(}"}&} } } } }%}&m=A6=B9=EC}'}"}(}"z=A6~~=FF}#=C0!}!}"} }8}!}=
$}!(}"}&} } } } }%}&m=A6=B9=EC}'}"}(}"04~~[sempco].
=07Disconnected.
toor@sempco:/etc/ppp {2} % ps=0D=0D
PID TT STAT TIME COMMAND
298 p0 Ss 0:02.42 -h -i (tcsh)
305 p0 R+ 0:00.28 ps=20
136 e0 Is 0:09.55 -tcsh (tcsh)
296 e0 S+ 0:00.69 script=20
297 e0 S+ 0:00.41 script=20
toor@sempco:/etc/ppp {3} % kill -9 297
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
/etc/ppp/ppp-log:=09This file must be created manually.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ex:=09touch /etc/ppp/ppp-log
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
/etc/resolv.conf:=09NAMESERVER and DOMAIN come from your ISP!!!
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
nameserver=09199.250.196.1
domain=09=09mo.net
options=09=09debug
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Best for last... Simply type:
% pppd
from your command line prompt and away we go... To shutdown pppd, i use
'ps -ax' to get the PID for pppd and send it a HUP via 'kill -1 (pppd
pid)'. This required NO changes to my local IP setup with the exception of
adding the /etc/resolv.conf file and it's contents. If someone has a
better way of doing this business, please let me know. I hate hacking to
get a solution but i do realize that sometimes that works but it is not
always the best solution.
=09I normally run a local network that will serve http pages locally
and allow me to run X windows. The following is what I am using to make
that happen:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
/etc/netstart:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2E....
routed_flags=3D-q
mrouted_flags=3DNO=09=09=09# for 'normal' use: mrouted_flags=3D""
rarpd_flags=3DNO=09=09=09=09# for 'normal' use: rarpd_flags=3D"-a"
bootparamd_flags=3DNO=09=09=09# for 'normal' use: bootparamd_flags=3D""
rbootd_flags=3DNO=09=09=09=09# for 'normal' use: rbootd_flags=3D""
sendmail_flags=3D"-bm -pUUCP:uustar -q5m"=09# for 'normal' use: sendmail_fl=
ags=3D"-bd -q30m"
named_flags=3DNO=09=09=09=09# for 'normal' use: named_flags=3D""
timed_flags=3DNO
#
# slayne's additions for sempco.uucp follow:
#
httpd_flags=3D"-r /usr/local/infosystems/WWW/config/httpd.conf"
# set the following to "YES" to turn them on
rwhod=3DYES
nfs_server=3DNO
nfs_client=3DNO
gated=3DNO
kerberos_server=3DNO
amd=3DYES
#
# slayne's additions for sempco.uucp follow:
#
yp_services=3DNO
# miscellaneous other flags
# only used if the appropriate server is marked YES above
gated_flags=3D
amd_dir=3D/amd=09=09=09# AMD's mount directory
amd_master=3D/etc/amd/master=09# AMD 'master' map
=2E..
# set the address for the loopback interface
ifconfig lo0 inet localhost
# use loopback, not the wire
route add $hostname localhost
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
/etc/hosts:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
#
#=09$Id: host,v 1.04 1995/05/16 12:01:15 salayne Exp $
#
#=09TCPIP's host database (EXAMPLE)
#
#=09Frequently accessed things are here to reduce routing delays.
#
127.1=09=09sempco.uucp sempco www mail news usenet localhost localhost.UUCP=
.UUCP
=2E..(many entries for places i tend to visit from AmiTCP:db/hosts file.
This speeds up nameservices since the ISP doesn't have to do it for
me).
#
# ADDITIONAL hosts entries
#
199.217.253.10 admin.starnet.net
199.217.253.11 wupost.wustl.edu uustar.starnet.net news.starnet.net
18.62.2.35 jack-vance.mit.edu
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
---
Simeon A. Layne Jr., please address E-Mail as follows,
from INTERNET: sempco!slayne@uustar.starnet.net
UUCP: uustar.starnet.net!sempco!slayne