I was looking for a way to dial into Synchronet on a linux box. I waspointed
in the direction of mgetty. Having never used it before I thought i'd writea
mini-howto once I got it working so here goes.system
I'm running Debian so installing mgetty is a simple:
apt-get install mgetty
First edit inittab so that it spawns mgetty. Mine looks like this:
T3:23:respawn:/sbin/mgetty -x0 -s 9600 ttyS1
"23" is run-level 2 and 3. You made need to include run-level 5 on your
if you're running X Windows. 9600 is the baud rate (I'm running my on VOIPso
it is not set too high). ttyS1 is com2.dialin.config.
There are 3 config files for mgetty in /etc/mgetty. First edit
Comment out the line that starts with /AutoPPP/ if it's not already. Then find the example telnet entry. Uncomment it and change it to:wildcat
* - telnet /usr/bin/telnet -8 localhost
The syntax is username userid utmp_entry login_program options. * is a
and - means ignore, so the above line means anyone who calls gets passed to telnet.can
At the bottom of dialin.config may be a default entry for /bin/login. You
comment this out. Then save and exit dialin.config. Next editmgetty.config.
Here find the "speed" line and set the baud rate to whatever is appropriate for you. The latter half of this file has sample port settings that are commented out. I uncommented part of the last one and changed it to:I used to have a TRS-80 Model 4P, and used it with a 1200 baud modem (internal)
port ttyS1
speed 9600
modem-init ATZ1
Choose an appropriate modem init for your modem. The third file "login.config" does not need to be edited for our purposes. So that's it!
Regards,
Doug
---
ş Synchronet ş The Ville...where 8 bits meets 32.
--- Synchronet 3.14b-Win32 NewsLink 1.84
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 25 |
Nodes: | 8 (0 / 8) |
Uptime: | 34:18:44 |
Calls: | 1,890 |
Calls today: | 1 |
Files: | 11,074 |
Messages: | 933,562 |