IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

The MacTerminal mini-HOWTO

Search Howtos :Match :
Next Previous Contents

4. Logging in via kermit.

Configuring Linux to use the Mac as a login: terminal is even easier. kermit is ideal for this purpose, because it is one of the few free communication programs which provides credible VT100/120/220 emulation.

Essentially, what you want to do is start kermit on the Macintosh side as in the previous section, but rather than issue server commands, you enter connect mode. This is the normal terminal emulation mode that most people use, anyway.

On the Linux side, the serial line must be configured with a getty on it to start a login: shell. To do this, you need to tell init that the serial line has a terminal on it. In your /etc/inittab file you will need a line something like this:

T1:23:respawn:/sbin/getty -L ttyS0 9600 vt100
Be sure to substitute the appropriate serial device for /dev/ttyS0 and the correct baud rate for 9600 in the command line above.

This command tells getty to start login (the -L switch) on the terminal display, and, when the login times out, to re-start (respawn) the login program until someone logs in. If no device is connected to the serial line, or if the connection is defective, you may see a message on the system console like: /dev/ttyS0 respawning too fast: disabling for 5 minutes. If this happens, you can return things to normal by (as root) killing the getty process, or using the init q command. Both of them have the effect of re-spawning the getty processe(s). If everything is in order, you should see the Linux banner and login prompt on the Mac's kermit window. That's all there is to it.

Also, if you use something besides vanilla getty, like getty_ps, the command above will look somewhat different. The important thing to remember is that everything to the right of /sbin/getty is an argument for getty itself; not init. You should look at the manual pages for getty, init,and inittab if you have questions concerning the setup of init and getty.

The Serial HOWTO provides helpful details on how to configure /etc/inittab for getty_ps, if that's what your system uses.

To transfer files back and forth between the Macintosh and the Linux machine, you can (via the Mac's Kermit) issue the kermit -x command to start the Linux kermit in server mode. You can then use the normal file transfer commands to send files across the serial line. It's useful to set a prompt in your ~/.kermrc with a line like

set prompt Linux-kermit >
Otherwise, remembering which machine you're on can quickly become confusing.

4.1 Other Mac terminal programs.

This method should work equally well for any other Mac terminal program. If you have ZTerm, you can use rz and sz on the Linux machine to transfer files via the ZModem protocol. If Microphone Lite came bundled with your fax modem, that works equally well, albeit without kermit's superior scripting and configuration facilities.


Next Previous Contents
Search Howtos :Match :
Opera 10.10
Opera for Linux
ImageMagick 6.5.7.10
ImageMagick image processing studio
DeleGate 9.9.6-pre6
Proxy server which runs on multiple platforms
Inkscape 0.47
Vector graphic editor for SVG
Nano 2.1.99pre2
Emulate Pico while also offering a few enhancements.
My Money 2.0.49
Personal financial software
Linux Kernel 2.6 2.6.32-rc8
Linux Kernel
Rhythmbox 0.12.6
Integrated music management application
Tellico 2.1.1
Collection manager for books, music, videos, and bibliographies
Totem 2.28.4
Movie player for Gnome
Free IT Magazines, White Papers, eBooks, and more !
Oracle Magazine

Contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more.

Vulnerability Management for Dummies

Get all the Facts and See How to Implement a Successful Vulnerability Management Program.

Website Magazine

Has tapped premier talent in the Internet industry for our content and each and every issue will contain practical advice and insights for website owners.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info