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 :
DbVisualizer 6.5.2
The Universal Database Tool
PhpMyAdmin 3.1.2 rc1
Php front-end to MySQL administration
Xine 1.1.6
Free video player
Glade 3.5.5
User interface builder for GTK+ and Gnome
Evolution 2.25.4
GNOME mailer, calendar, contact manager and communications tool
GEdit 2.25.4
Small but powerful text editor
LimeWire 5.0.4
Gnutella Client
WebGUI 7.6.8
A fully featured content management system.
GTK2 2.14.7
GUI Toolkit
Brasero 0.9.0
Application to burn CD/DVD
Free IT Magazines, White Papers, eBooks, and more !
Dr. Dobb's Journal

Dr. Dobb's Journal enables programmers to write the most efficient and sophisticated programs and help in daily programming quandaries.

The 7 Things that IT Security Professionals MUST KNOW!

Gain key insight into security problem and find the safest means to protect your technological assets.

Database Trends and Applications

Provides timely coverage of the technology, intelligence and insight needed to plan, implement and manage information-rich projects.

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