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!"
Actually, OS X runs on my old 233 MHz G3 tower, which came out around a year before the iMac, which was Apple's first USB equipped Mac. However, this computer does have a USB card in it.
Vonal Declosion
Well, my point was that if you're on a newer Mac that doesn't have a serial port, that you can use a USB serial adapter and OS X will happily use it as a regular tty.
Chris -- http://www.bitter.net/
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!
Actually, it will run on almost anything, just it doesn't want to. What many people are doing nowadays is buying old clones and using XPostFacto (try versiontracker.com) to install OS X where it wouldn't normally go. Like on a UMAX clone with a G4 800Mhz upgrade card in it.
- Sherman
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
It would really be a story if you could do this without his knowledge. Hehehe... suddenly, Celine Dion plays through his speakers at top volume, and he can't turn it off....
It would really be a story if you could do this without his knowledge. Hehehe... suddenly, Celine Dion plays through his speakers at top volume, and he can't turn it off....
I don't think I'm ever getting a shell account again on one of my friend's machines because of that.
"Hey, look, a whole directory full of reggae MP3s. And he's got mpg123 installed. Ah, it's only 2am, I'm sure Steve's still up."
For the record, it's not something people find amusing.
--saint
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)??
At no time in Macintosh history did they have an industry-standard serial port, so you will need some kind of adapter to use a regular tty with any Macintosh.
Information wants to be anthropomorphized.
This might answer your questions (look at section 6):
http://www.netbsd.org/
Short answer:
setenv input-device ttya
setenv output-device ttya
Actually, if we're getting pedantic (or historic in this case) the 128K, 512K, and 512KE all sported DB-9 serial ports.