answerbook
, you must
be running a Display PostScript X11 Server, such as
/usr/openwin/bin/Xsun
pkginfo | grep ppp
should return
/etc/asppp.cf
, see examples on bennett
and foucault.
/etc/passwd
and /etc/shadow
, see examples on bennett and
foucault
/etc/init.d/asppp start
Use ps -auxgww | grep ppp
to verify that
aspppd
is running.
/var/adm/log/asppp.log
for error messages.
/etc/init.d/arppub
is a script that
can be used to publish the arp address.
If you copy this script to the local /etc/init.d
,
then do (cd /etc/rc3.d; ln -s ../init.d/arppub S51arppub)
attach.ppp
and detach.ppp
where are links to the same binary, /usr/local/etc/attach
.
/etc/asppp.cf
or
a /etc/uucp
directory.
Otherwise, you will just have to use the descriptions below.
For a US Robotics modem connected to port B,
/etc/uucp/Devices
looks like
TCP,et - - Any TCP - ACU cua/b - Any hayes Direct cua/b - Any direct ACUEC cua/b - 9600 usrv34 ACUEC cua/b - 19200 usrv34 ACUEC cua/b - 38400 usrv34
/etc/asppp.cf
looks like:
ifconfig ipdptp0 plumb void inr-3 down netmask 255.255.255.0 path interface ipdptp0 peer_system_name ppp-homeip # Name of the ref /etc/uucp/Systems inactivity_timeout 1800 # 30 minute timeout (in seconds) debug_level 9 # see /etc/log/asppp.logWhere
inr-3
is the name of the router on campus
and void
is a entry in your local hosts table that looks
like:
void 0.0.0.0
To connect to campus, /etc/uucp/Systems
would contain
a line like:
ppp-homeip Any ACUEC 38400 15106425131 "" P_ZERO "" \r\n\c sername: yourmachine\n ssword: thepasswd\n ===> ppp\nYou should substitute in
yourmachine
and
thepasswd
. This file should not be world readable.
tail -f /etc/log/asppp.log
while running /usr/local/etc/go.homeip
When I have problems here's what I try:
ate1
to turn on echoing in the kermit window (Unix kermit
man page). Also, if you are using a GeoPort modem on a Mac
Centris660av, you may need to set the output sound rate to
24khz via the Sound Control panel.
For campus home-ip, type ppp
at the
annex
prompt, then type your machine name
and then your PPP password. If all goes well, you will
get a bunch of random garbage characters. This test verifies
that you have an active ppp account.
If you have a private modem, type in the account name for your machine's ppp account, followed by the password.
Then run the PPP control panel, check the
Terminal Window
box. and then mouse on
open
. The terminal window will come up, and you
can type commands directly to the modem in it. Try to log in
and start PPP by hand as above. You may want to type
ate1
to turn on echo.
2.The EECS high-speed modem service:
Q: I encounter a "PPP wait timeout while waiting for 'name'" error message when I try to establish a connection by dialing into the Electrical Engineering & Computer Science (EECS) high-speed (28.8 Kbps) modem service at (510) 642-7654. Why is this happening, and what can I do to connect successfully using this service?
A: The terminal server(s) that sit behind the modems at this phone number wait for an initial carriage return in order to detect the modem connection speed, and the dial-up connection scripts in BIK release 1.5 are transmitting this carriage return too early.
To fix this problem, add a \d (a backslash, followed by the letter "d") to the first line of the connection script. This will add a one-second delay prior to sending the first carriage return in the script.
You can view and edit the connection script by clicking the "Config..." button in the first panel of the Config PPP control panel, then clicking the "Connect Script..." button (or with some earlier versions of the BIK, the "Scripting..." button) in the next panel.
This solution has been added to the BIK Troubleshooting Guide, both in the specific description of the "waiting for 'name'" problem in section 4.6 of the Guide, and in the Guide's "Discussion Section D: About connection scripts".
Credit for suggesting the fix goes to EECS student Marissa Porciuncula. Others who let us us know about this problem and confirmed the efficacy of the fix included EECS students George Chien and Rob Blasi, and EECS staff member Pepe Kaksonen. We're also grateful to Rob McNicholas of EECS, who promptly arranged for us to access the EECS modem banks so we could look at this problem.
MacTCP Watcher
, available on
Cornucopia, to ping Unix hosts and try out DNS.
0.0.0.0
or 255.255.255.255
.
Editing /etc/asppp.conf
and turning
debug_level 8
on resulted in
/var/adm/log/asppp.conf
containing the following
message:
I had to tell MacPPP what addresses to use by going into the
MacPPP control panel and looking under Config
and then
IPCP Options
. Here I entered the local and remote
addresses.
ping
the remote host from
mho. Make sure that mho can see the remote host's arp
address, use arp -a