Turning Your Mac Into a Serial Console Server
chrisbw writes "Want to put that old VT100 terminal to use? Mac OS X Hits has a story on how to make a couple simple changes in OS X to enable login on a serial terminal (even over a USB serial adapter if you're on a newer mac). Cool trick for adding a text-based web surfing or email terminal in another room, or remote iTunes control!"
for educational establishments instead of usimng big sparcs it could come in handy
I don't think OSX even runs on Macs that don't have USB (or can support a USB card.)
Yeah, at one time I got really excited about rigging up some cables to hook a VT220 up to my Linux box.
Problem is, there just isn't much point. Computers are *cheap* these days, and finding a used computer from the masses out there made in the last twenty years is easy. You can use any x86 box ever *made* as a good terminal emulator, and get color and other goodies the VT doesn't provide.
There are lots of terminal emulation programs, though if you have 4 MB of memory on the thing or more, I'd probably run Linux, which was originally a terminal emulator and still makes a darn good one. And if you just love the amber look of the VTs, you can theme your Linux terminal box using this relatively unknown program.
You also then get color, a nice big scrollback buffer, multiple virtual terminals per box. You don't have to hassle with weird cables -- a null modem cable is all it takes. You can put cast-off monitors of any size on the thing (and the move to LCDs is producing lots of excess CRTs...getting used 15 inchers for free is easy, and they're much nicer and larger than the VT100 screens, and don't have the annoying whine to them).
May we never see th
I just bought a second-hand iMac to replace the terminal next to my bed. I can now browse with Mozilla instead of Lynx, in bed, and have many good dreams afterwards :-)
-- Cheers!
Here's a thought. I could get an old iBook hooked up to a really nice stereo system through a USB converter, and set up this terminal thing, but is there a way to control it through a PDA that supports Wi-Fi, like the Tungsten W? Any terminal emulation software on those?
Because it would be nifty as hell to be able to control all 10GB's of my music through a nice little portable PDA acting as a sort of "remote". Anyone know of terminal emulation software for a Palm?
- Sherman
What's the point? This would've been interesting 10 years ago, but nowadays it's pointless.
You can get to your Mac console on ethernet via the firmware shell (I don't remember exactly how but it's there), so you don't need a serial console for that.
And as for surfing and listening to MP3s, I have Opera on my Zaurus with a wireless connection, talking to the SLiMP3 web server. From there I can control the music on ANY computer or SLiMP3 in the house (PS: the slimp3 software rocks and doesn't require the slimp3 device!). I even made a custom "theme" for the server pages that renders nice on the Z screen.
I can even stream music to my neighbor's PC and control the music from my Z. Now THAT'S a story!
If only the PC bios supported TCP/IP so I could safely reboot and upgrade FreeBSD PCs at work..... tell me how to do THAT (without a kvm).
You should be able to get abluetooth dongle that will allow remote control functionallity. www.macosxhints is the best place to start for any technical osx knowledge.
Finally, a reason to port Rogue to Mac OS X!
I don't mean to be a troll here, but I have to agree with other posters that, beyond saying "I can do that", there are limited uses for this outside of a server environment. And in the server environment, Apple has the XServe, which, IIRC, has a serial console port built in.
But you gotta love that someone has done it, I guess.
The CB App. What's your 20?
OK, so the article tells us how to enable logins from a serial port. That's great, but that's really only 1/2 the battle.
For various reasons (mainly driver development in a cramped office), I like to run serial CONSOLES. This means I want to see the kernel messages on the serial port, not on a VGA monitor. This allows me to log all kernel messages, even messages from a machine which crashed (hence syslog is not running). Otherwise, its easy for important messages to scroll off screen and be lost when the system crashes.
When running linux, getting a serial console is as simple as passing some parameters to the kernel (console=ttyS0). Similar options exist for FreeBSD, Tru64, Solaris, etc. All of them will use a serial port for a console.
With OS-X, I've been able to enable some extra verbosity on the serial port, and I'm able to get
an openfirmware prompt on the serial port, but I can't figure out how to make the serial port the actual system console. I know it must be possible, because the X serves are supposed to be able to do it.
Does anybody know how to do this on a "normal" g4 with a serial port (g4port)??
this stuff gets a full web page these days. it used to be just man pages. not even man.cgi.
This might answer your questions (look at section 6):
http://www.netbsd.org/
Short answer:
setenv input-device ttya
setenv output-device ttya
You would have been better served by a laptop with pcimcia wifi.
Friends don't help friends install M$ junk.