files for a dialup ppp connection

/etc/ppp/options

# pppd options file for ttyC1
lock
crtscts
115200
modem

/etc/ppp/peers/mcleodusa

ttyC1
connect '/usr/sbin/chat -v -f /etc/ppp/peers/mcleodusa.chat'
noauth
defaultroute
user kollasch@mcleodusa.net

/etc/ppp/peers/mcleodusa.chat

# chat file for McLeodUSA.net
ABORT "BUSY"
ABORT "NO CARRIER"
REPORT "CONNECT"
"" "\patz0"
OK "\patdt*70,2323910"
"CONNECT" ""

/etc/ppp/{chap|pap}-secrets

kollasch@mcleodusa.net * ThisIsMyPassword

/etc/ppp/ip-up

# /etc/ppp/ip-up

# start the evil NAT
/etc/rc.d/ipnat forcestart

# tell dyndns.org what surplus-alpha's IPv4 address is
/root/inadyn/bin/inadyn -u jakollasch -p Iey0veen -a mylar.homeunix.net --iterations 1

# stop the IPv6 router advertisment daemon, rtadvd(8); started again soon
/etc/rc.d/rtadvd forcestop

# run hexago.com's tspc to setup IPv6 in IPv4 tunnel, this starts rtadvd(8) again
ifconfig gif0 up
/root/tspc2/bin/tspc -f /root/tspc2/bin/tspc.conf
sleep 20
/etc/rc.d/rtadvd forcerestart

/etc/ppp/ip-down

# /etc/ppp/ip-down

# don't need these any more
pkill tspc
#pkill rtadvd
sleep 0.1
ifconfig gif0 down

# return to unevilness
/etc/rc.d/ipnat forcestop

#get rid of nonexistant route
route delete default

# ensure that machines can find this
/etc/rc.d/rtadvd forcerestart


CategoryDocumentation

jakllsch's wiki: PPPConfiguration (last edited 2005-05-23 19:40:03 by quicksand)