Subject: Re: sendmail -- All my network files here
To: None <netbsd-help@netbsd.org>
From: Gan Starling <MisteraSturno@worldnet.att.net>
List: netbsd-help
Date: 09/22/2001 10:49:02
Okay, Dave wanted to know about my PPP stuff, and asked that 
I try ftp. I have some websites, so I try one of them. Not one 
of the AT&T ones, just as a check...

gus#
gus# cd /home/aplonis
gus# ftp
ftp> open 209.235.102.9
Connected to 209.235.102.9.
220 w1-atl.dns-host.com NcFTPd Server (licensed copy) ready.
Name (209.235.102.9:root): fake_user_name
331 User fake_user_name okay, need password.
Password:
230-You are user #7 of 250 simultaneous users allowed.
230-
230-Sun Microsystems Inc.       SunOS 5.7       Generic October 1998
230-  _
230- (_)
230-  _   ___   ___   _ __ ___       ___   ___   _ __ ___
230- | | / __| / _ \ | '_ ` _ \     / __| / _ \ | '_ ` _ \
230- | || (__ | (_) || | | | | | _ | (__ | (_) || | | | | |
230- |_| \___| \___/ |_| |_| |_|(_) \___| \___/ |_| |_| |_|
230-
230-
230-
230-
230 Restricted user logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put rsync-2.4.6.tar.gz
local: rsync-2.4.6.tar.gz remote: rsync-2.4.6.tar.gz
500 Syntax error, command unrecognized.
227 Entering Passive Mode (209,235,102,9,215,238)
150 Data connection accepted from 12.87.99.123:64262; transfer starting.
  0% |                                                  |    -1      
0.00 KB/s    --:-- ETA
 421 Service not available, remote server timed out. Connection closed
ftp>
ftp> exit
gus#

...and below are the ping results, a tad short of 20000...

gus#
gus# !!:s/80/81/
ping -s 8100 -c 5 gateway4.att.net
PING gateway4.att.net (204.127.134.23): 8100 data bytes
8108 bytes from 204.127.134.23: icmp_seq=0 ttl=51 time=3160.114 ms
8108 bytes from 204.127.134.23: icmp_seq=1 ttl=51 time=3719.890 ms
8108 bytes from 204.127.134.23: icmp_seq=2 ttl=51 time=4165.398 ms
8108 bytes from 204.127.134.23: icmp_seq=3 ttl=51 time=4620.881 ms
8108 bytes from 204.127.134.23: icmp_seq=4 ttl=51 time=5087.555 ms

----gateway4.att.net PING Statistics----
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 3160.114/4150.768/5087.555/752.636 ms
gus# !!:s/81/82/
ping -s 8200 -c 5 gateway4.att.net
PING gateway4.att.net (204.127.134.23): 8200 data bytes

----gateway4.att.net PING Statistics----
5 packets transmitted, 0 packets received, 100.0% packet loss
gus#


...and below are my PPP files...


# /etc/ppp/peers/att
# Per NetBSD Guid Example 9-3
connect '/usr/sbin/chat -v -f /etc/ppp/peers/att.chat'
noauth
user 660176626@worldnet.att.net
remotename worldnet.att.net
# debug
# kdebug 4
# End of /etc/ppp/peers/att


# /etc/ppp/peers/att.chat
# Written per NetBSD Guide Example 9-4
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DAILTONE"
'' ATDT9030000
CONNECT ''
# End of /etc/ppp/peers/att.chat


# /etc/ppp/options
# Begin per NetBSD Guide Example 9-6
/dev/tty00
lock
crtscts
57600
modem
defaultroute
noipdefault
# End per example
# Begin per mail-list port-i386@netbsd.org
asyncmap a0000
noauth
usepeerdns
# persist
# End per mail-list
# End of /etc/ppp/options


#!/bin/sh
# /etc/ppp/ppp-up
# Per NetBSD Guide Example 9-7
#
MODEM=tty00
#
POP=att
if [ -f /var/spool/lock/LCK..$MODEM ]; then
  echo ppp is already running...
else
  pppd call $POP
  tail -f /var/log/messages
fi
# End of /etc/ppp/ppp-up


#!/bin/sh
# /etc/ppp/ppp-down
# Per NetBSD Guide Example 9-8
#
MODEM=tty00
#
if  [ -f /var/spool/lock/LCK..$MODEM ]; then
  echo -f killing pppd...
  kill -HUP `cat /var/spool/lock/LCK..$MODEM`
  echo done
else
  echo ppp is not active
fi
# End of /etc/ppp/ppp-down


Thanks,

Gan

--

Mysterious Starling -- Rarest Extinct Bird
     _         
   <(+)__        Gan Uesli Starling 
     ((__/)=-    Kalamazoo, MI, USA
      `||`      
       ++        http://starling.ws 

Newbie-2-Newbie NetBSD Unix How-To Pages at... 
http://om-ah-hum.com/share/gus_netbsd_index.html