[ILUG] Dial-up workstation

Paul Jakma paul at clubi.ie
Tue Apr 6 02:05:01 IST 1999


On Sun, 4 Apr 1999, alan509 wrote:

      Hi,
  
  I was wondering if someone could help me.
  
  I have a redhat 5.1 box
  with my modem linked as 
  /dev/modem
  
  I want to have the box as a dial up workstation
  ie. shell account basically
  
  I have tried a lot of readme sites but none have any info
  
  If someone could give me some small info or an url
  i would be most appreciative
  
      Alan Mc Kernan
  
the linux side of things is easy, install uugetty and put this into
your /etc/inittab:

s2:35:respawn:/sbin/uugetty -d /etc/default/uugetty.ttyS1 ttyS1 38400 vt100  

assuming your modem is on ttyS1 (dos: com2). if it's on com1, change
the ttS1 to ttS0. 

and put the file i attached into /etc/default/uugetty.ttyS1 or
.ttyS0.. (but change the ttyS14 in my file to suit your com port!)

the biggest problem, IME, is modem incompatibilities which need hours
of tweaking and testing to hunt down failed handshaking or
disconnects...

if you have probs.. it'll be the modems. tweak the modem init string
in the ../default/uugetty.ttySx file.

if you can get that going, then next thing is ppp dial-up networking.
cool...


--
Paul Jakma
paul at clubi.ie	http://hibernia.clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
When you make your mark in the world, watch out for guys with erasers.
		-- The Wall Street Journal
-------------- next part --------------
# sample uugetty configuration file for a Hayes compatible modem to allow
# incoming modem connections
#
# alternate lock file to check... if this lock file exists, then uugetty is
# restarted so that the modem is re-initialized
#ALTLOCK=cua3
#ALTLINE=cua3
# line to initialize
INITLINE=ttyS14
ISSUE=/etc/issue.getty
# timeout to disconnect if idle...
TIMEOUT=20
# modem initialization string...
# format: <expect> <send> ... (chat sequence)
INIT="" ATZ1\r OK\r\n
WAITFOR=RING
CONNECT="" ATA\r CONNECT
# this line sets the time to delay before sending the login banner
DELAY=1
#DEBUG=010


More information about the ILUG mailing list