[H-GEN] PPP Connection

Joel Pobar terminal at uq.net.au
Sun Oct 4 01:02:22 EDT 1998


On Sat, 3 Oct 1998, Matthew Day wrote:

> Okay now I'm starting to feel dumb, I can't get my Redhat 5.0 box to
> talk to the UQ server... anyone wanna send a few pointers my way... I
> think I may be missing something somewhere... don't spose any one has a
> HOW-TO on connectioning to UQ????

Here is a simple script that will connect you to the Digital (44k) modem
bank without any worries, I hope ;)

Firstly, PPP must be compiled into the kernel.
		
		Network device support  --->
		[*] PPP (point-to-point) support

Secondly, pppd and chat must be installed on the system.
		
		/usr/sbin/pppd
		/usr/sbin/chat

Thirdly, the following text must be typed out, _one_ line only.

/usr/sbin/pppd /dev/ttyS1 57600 ipcp-accept-remote ipcp-accept-local
connect '/usr/sbin/chat -v -f /etc/ppp/pppscript' crtscts defaultroute
noipdefault	

This line of text must be saved as ppprun (700) in /etc/ppp/
Note also, that /dev/ttyS1 maybe changed as needed (com1,com2 etc).

Last but not least, the connection script that is performed on connection
with UQ's modem bank. This is executed by 'chat' and also must be one line
only.

ABORT BUSY ABORT 'NO CARRIER' '' AT&F OK ATDT38341569 CONNECT "" name:
zzwhatever word: password x: ppp

This is saved as pppscript under /etc/ppp/

All in all, it should look like 

amoeba:/etc/ppp # ls -l
-rwx------   1 root     root          152 Sep 1  11:16 ppprun
-r-x------   1 root     root          117 Sep 1  11:16 pppscript

To start the script, /etc/ppp/ppprun as 'root'. It should (if done
correctly) start your modem dialing, connect, and log you in. You must
change the relevant information in pppscript to the correct username and
password. 

BTW, no flames for this dodgy piece of work please ;) I do realise there
are better ways to do it, however, I believe this is perhaps easier.
Credits to Gary Allpike.

Regards,
Joel Pobar

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GSC d-@ s++:- a--- C++>$ UL++ P++ L+++ E W++(-) N+(-) o K w O-
M- V PS(+++) PE Y+ PGP++ t 5 X++ R tv+ b++ DI+ D+ G e- h! r z?
------END GEEK CODE BLOCK------

---------------------------------------------------------------
 terminal                                           Joel Pobar
                              terminal at humbug.org.au
amoeba.humbug.org.au          terminal at sekurity.org
http://protozoa.ml.org   
---------------------------------------------------------------






More information about the General mailing list