Frits Kuijlman's TU Delft PPP Setup

The following Linux PPP setup differs slightly from the setup as presented on the general TU Delft(DTO) help site. This setup was written for Debian(Potato), but should also be applicable for other Linux distributions.

In all the scripts where you see myaccount and mypasswd, you should fill in your own DUNet account name and password.

/etc/resolv.conf

You need to add the following list of TU nameservers to your resolv.conf file:

nameserver 130.161.158.204
nameserver 130.161.156.3
nameserver 130.161.180.1

Dialin setup

/etc/ppp/peers/tu-dialin

hide-password 
noauth
connect "/usr/sbin/chat -f /etc/chatscripts/tu-dialin"
/dev/ttyS1
115200
defaultroute
noipdefault 
user myaccount
remotename tu-dialin
ipparam tu-dialin
idle 300
usepeerdns

In this example the modem is connected to /dev/ttyS1.

/etc/chatscripts/tu-dialin

ABORT "NO DIALTONE"
ABORT "NO ANSWER"
ABORT "BUSY"
""    "\nat"
OK    "ath"
OK    "atdt0108800903"
CONNECT ""

The number called here is the TU Delft Rotterdam dialin number. You should use the dialin number closest to your home.

/etc/ppp/pap-secrets

myaccount        *       mypasswd

Dialback setup

/etc/ppp/peers/tu-dialback

hide-password 
noauth
connect "/usr/sbin/chat -f /etc/chatscripts/tu-dialback"
/dev/ttyS1
115200
defaultroute
noipdefault 
user myaccount
remotename tu-dialback
ipparam tu-dialback
idle 300
usepeerdns

In this example the modem is connected to /dev/ttyS1.

/etc/chatscripts/tu-dialback

ABORT "NO DIALTONE"
ABORT "NO ANSWER"
""    "\natz0"
OK    "atl0"
OK    "atdt0152510654"
BUSY  ""
RING  "ata"
CONNECT ""

The number called here is the TU Delft PSTN dialback number.

The above script does wotk with my Supra 28k8 modem. If this script doesn't work, which was the case with my Safeway V.90 modem which didn't report BUSY when the TU dialback service doesn't answer the phone, you can try the following script which accomplishes the same by fooling around with timeouts:

ABORT "NO DIALTONE"
ABORT "NO ANSWER"
""    "\natz0"
OK    "atl0"
OK    "ats7=1"
OK    "atdt0152510654"
"NO CARRIER"  "ats7=60"
OK    ""
RING  "ata"
CONNECT ""

No pap-secrets are needed here as the system recognises the number you are calling from and will call you back, so no authorisation us needed.

Dialing

Dialing in can be simply done by calling either pon tu-dialin or pon tu-dialback on the commandline(as root). If you want either of these to be the default, go to /etc/ppp/peers and make a softlink called providerto the appropriate file. You can then simply make a connection by calling pon.