Slashdot Mirror


Running Old Desktops Headless?

CajunArson writes "I recently dug up an old P4 that is in fine working order and did what any self-respecting Slashdotter would do: I slapped Linux on it to experiment with making an NFSv4 server. One other thing I did was to remove the old AGP video card to save on power, since this is a headless machine. Now, I removed the video card after the installation, and I'm doing just fine as long as the machine will boot to a state where networking works and I can SSH to it. My question: Is there a good solution to allow me to log into this box if it cannot get on the network? I'm looking for solutions other than slapping a video card back in. In my case, I will have physical access to the machine. A few caveats to make it interesting: This question is for plain old desktop/laptop systems, not network servers designed to run headless. Also, I am aware of the serial console, but even 'old' machines may only have USB, and I have not seen any good documentation on how and whether USB works as a substitute. Finally, if there is any way to access the BIOS settings without needing a video card, that would be an extra bonus, but I'm satisfied with just local OS access starting from the GRUB prompt."

347 comments

  1. Gentoo?? by Anonymous Coward · · Score: 0, Funny

    I use Gentoo; how does this affect me?

    1. Re:Gentoo?? by CrashandDie · · Score: 1

      (Score:0, Funny)

      Is that like a bad joke?

    2. Re:Gentoo?? by cibyr · · Score: 1

      Almost. It's the setup for a bad joke; the punchline being "I'll let you know when it's finished compiling!" (But you knew that, didn't you?)

      Haw haw haw. Those silly Gentoo users, always compiling stuff! Why don't they like the Ubuntu developers compile it for them like everyone else?

      What I don't get is why Gentoo gets singled out for "compiling" jokes. Why doesn't anyone makes these jokes about BSD or macports?

      --
      It's not exactly rocket surgery.
    3. Re:Gentoo?? by ta+bu+shi+da+yu · · Score: 1

      I first noticed it in this article, comparing Gentoo users to ricers.

      --
      XML is like violence. If it doesn't solve the problem, use more.
    4. Re:Gentoo?? by TheRaven64 · · Score: 1

      I'm not sure if it's changed now, but compiling from source used to be the only way of installing on Gentoo. In contrast, on *BSD there are binary packages which use the same system as the ports tree and source installs are only used when the binary packages haven't been created yet, or when you want a non-standard set of compile options. When Gentoo was launched, it was accompanied by lots of marketing material that was strongly critical of running binary packages. After seeing people take more than two days to install their new OS, it became seen as quite a joke. People who use *BSD generally install from binary, so have a working system immediately, and then upgrade from ports if required.

      --
      I am TheRaven on Soylent News
    5. Re:Gentoo?? by uninformedLuddite · · Score: 1

      If I have told you once, then I will tell you a thousand times. It is GENTOO so you will need to recompile the kernel.

      --
      The new right fascists are bilingual. They speak English and Bullshit.
  2. Yes by Anonymous Coward · · Score: 0

    use a USB/serial adapter.

    1. Re:Yes by supernova_hq · · Score: 1

      Exactly. All usb/serial devices appear as /dev/ttyUSBX where X is from 0 to n.
      So if you have 1 adapter, it would be /dev/ttyUSB0

      Just make sure the adapter is plugged in BEFORE you boot it up, or the machine won't see it when it tries to create the console tunnel.

  3. Serial console by timeOday · · Score: 4, Informative
    A serial console. As far as I know, this is what serial ports were actually put into computers for in the first place.

    The question about bios settings is a good one though, and I don't know.

    1. Re:Serial console by Anonymous Coward · · Score: 0

      Did you even read the summary? He specifically mentioned that he knows about serial console and many of these machines might not have serial ports.

    2. Re:Serial console by tverbeek · · Score: 5, Funny

      Yes, he added several conditions, effectively saying "No, I don't want to do this the easy or logical way; I want to make this unnecessarily difficult, by disabling every form of I/O built into the machine except one (the NIC), but still having a way to interact with it (other than that one)." I recommend clairvoyance and telekinesis. :)

      --
      http://alternatives.rzero.com/
    3. Re:Serial console by value_added · · Score: 5, Informative

      A serial console. As far as I know, this is what serial ports were actually put into computers for in the first place.

      Sigh. I wish more people (the home user Slashdot types) would just go buy a serial cable (and/or serial+USB adapter) and see for themselves how trivial it is to set up, and how valuable that setup can be. There's plenty of reasons why one would *want* to rely on serial, aside from the usual "What if the network is down?" scenario.

      For added fun (when there's more than one computer involved), consider something like this

      The question about bios settings is a good one though, and I don't know.

      For the OP and most of us, that's a noop. What I would have suggested instead of a powerhungry P4 (or even PIII), is a soekris box. There's no VGA at all, so the BIOS (and everything else) is accessible via serial only. My "headless" VIA boxes are a PIA by comparison.

      Granted, Soekris boxes are typically used to perform networking functions, but setting one up with a hard drive (laptop or SSD ideally) and running a web, IMAP, NFS, Samba, etc. server is common enough and performance is perfectly adequate. A few bucks more, but hey, they're rackmountable so you can impress your friends and neighbours. :-)

    4. Re:Serial console by merreborn · · Score: 4, Interesting

      I actually worked on a small project that involved deploying headless desktop-based Debian servers to locations all over the continental US.

      We'd fed-ex the boxes, and most of the time, they'd show up with a hard drive detached, or worse (one fedex ground shipment from CA to FL knocked the RAM right out of the slots on one box). What was worse, we didn't have any technical expertise on site to speak of, so even simple problems were hard to diagnose.

      The ASUS motherboards we were using happened to have serial ports, and the BIOS also happened to natively support pumping text-mode input/output over said serial interface -- so you could edit BIOS settings, tweak bootloader settings, put the machine in single user mode and fsck the whole disk, etc. etc. all over serial.

      We experimented with plugging these things into serial-over-ip devices; specifically, one like this one -- although I think we paid about $60 each. Results were mixed. For one, it was pretty painful getting things operating at a reasonable serial bitrate (especially for curses-esque interfaces like the BIOS settings interface -- characters were getting lost), and making them reliably accessible over IP wasn't easy either. You could configure these things to "phone home" when they were powered on, but the configuration interface and documentation was pretty bad.

      If I recall correctly, KVM over IP devices were a bit more pricey.

      So, long story short, when it comes to low-cost remote server management, in my experience, there's something of a lack of quality offerings.

    5. Re:Serial console by Anonymous Coward · · Score: 0

      And they don't draw nearly the power of an old P4: Yikes-o-rama, the power costs alone suggest that the P4 should go into the recycle bin.

    6. Re:Serial console by Sociable+Scientician · · Score: 1
      This is generally a good suggestion, but note this caveat from the HOWTO you linked to:

      "Unlike minicomputer systems, the IBM PC was not designed to use a serial console. This has two consequences. Firstly, Power On Self-Test messages and Basic Input/Output System (BIOS) messages are sent to the screen and received from the keyboard. This makes it difficult to use the serial port to reconfigure the BIOS and impossible to see Power On Self-Test errors."

    7. Re:Serial console by schon · · Score: 5, Funny

      I recommend clairvoyance and telekinesis.

      Now, now, there's no need for snarkiness. We can accommodate the specs without resorting to hocus-pocus and imaginary abilities.

      The solution is quite simple - he just needs to get a lemon (although lemon juice might suffice, it's not optimal, as I'll explain further.)

      How it works is simple - you put a 1/2" slice of the lemon in your mouth, then stick in the end of the ethernet cable. The juice from the lemon reacts with your metal fillings and the copper from the network cable, generating electricity, which can then be used to set up an ethernet link by humming at the correct frequencies.

      Once slice of lemon will provide approximately 8 to 10 minutes of power for this - be careful not to slice the lemon too thick or thin - too thin and you'll run out of power too soon, and too thick and you'll be wasting the juice in the center (This is why lemon juice is suboptimal - it washes away too quickly, so you'll be needing to "recharge" every 20-30 seconds.)

    8. Re:Serial console by SQLGuru · · Score: 1

      I'm curious if those small USB 'monitors' would work for this. You'd only need to plug it in as needed and could use it on your main machine when not being used on the server. Or, he could always get a USB video card.

    9. Re:Serial console by NotBornYesterday · · Score: 2, Funny

      Well, helpdesk personnel are often expected to be psychic in order to diagnose problems where the end user has no clue, so if he's been in Tech Support, I really don't see a problem with the clairvoyance part.

      --
      I prefer rogues to imbeciles because they sometimes take a rest.
    10. Re:Serial console by 1s44c · · Score: 4, Informative

      Did you even read the summary? He specifically mentioned that he knows about serial console and many of these machines might not have serial ports.

      Some machines don't have serial ports. The easy solution is to buy a serial card for these machines.

      Everything else is more expensive and more complex.

    11. Re:Serial console by Almonday · · Score: 2, Funny

      If only ESP was a supported protocol... ;-)

      --
      Posterity, my posterior.
    12. Re:Serial console by Anonymous Coward · · Score: 1, Insightful

      I wish more people would RTFA before replying, why would he buy a new machine when the point of the exercise is to make use of an old one that he already has?

    13. Re:Serial console by CTuso · · Score: 0

      If you have physical access to the machine, ensure it has a static IP (or the computer you are connecting to it has a dhcp server installed on it) and just connect through the router, or cross connect through the ethernet... log in as normal. If you have a spare port on the router it connects to, there shouldn't be an issue if static is assigned, just leave a spare cable to connect your troubleshooting computer to...

    14. Re:Serial console by aj50 · · Score: 1

      Perhaps because people other than the story writer will read this thread?

      I'm currently looking to build a home server and would have considered a soekris except that they're quite expensive and I'd like something with a little more grunt and disk space.

      --
      I wish to remain anomalous
    15. Re:Serial console by geekprime · · Score: 0, Troll

      Can anyone tell me the model motherboard that has NO serial ports on it?

      In all the time i have been working on computers I can't say that I've EVER seen a PC type computer without at least ONE serial port built in, Ever.
      Heck, even every laptop I've ever seen had a serial port...

    16. Re:Serial console by nine-times · · Score: 1

      There are also USB to serial converters.

    17. Re:Serial console by laffer1 · · Score: 1

      And your last computer was bought 5 years ago?

      Intel DP965LT, Asus M4A78 Plus (AMD based) motherboards. Then there's my new toshiba laptop. Walk into best buy and look at them.

    18. Re:Serial console by Anonymous Coward · · Score: 0

      Wow. What a stupid response.

    19. Re:Serial console by barrkel · · Score: 1

      My Toshiba Portege R500 has 3x USB, 1x S400 IEEE 1394, 1x VGA, 1x Gigabit ethernet, headphone and mic connections, and a card reader. No serial port.

      My slightly older Acer cheapo has 3x USB, 1x VGA, 1x S-video, 1x 10/100 ethernet, 1x modem phone connector, headphone and mic, and a card reader. No serial port.

      My GF's Eee 1005HA has 3x USB, 1xVGA, 1x 10/100 ethernet, headphone and mic, and a card reader. No serial port.

      Maybe you should get out more - a visit to your local overpriced computer store should suffice.

    20. Re:Serial console by jcrousedotcom · · Score: 1

      In all the time i have been working on computers I can't say that I've EVER seen a PC type computer without at least ONE serial port built in, Ever. Heck, even every laptop I've ever seen had a serial port...

      When is the last time you bought (or looked at) a new laptop? I am running a Dell Latitude E6500.... I have 3 USB, 1 SATA, 1 VGA, 1 10/100/1000 Ethernet, 1 Modem, 1 HDMI. No serial. While I agree, they should still be there, the last time I think I actually used one was to get into a router.... My old (read - really old) laptop had a serial so I was golden. Lots of machines out there are USB only.

      --
      Illiterate? Write for free help!
    21. Re:Serial console by C0vardeAn0nim0 · · Score: 1

      last time I've seen a new laptop that DID have a serial port was three years ago when I got this latitude D610 that i use to this day at work.

      since we have to manage a whole bunch of unix boxes here, the day management decides to replace these crappy old dells, i hope they're clever enough to buy a couple of USB->serial adapters, because i doubt they'd be able to find new notebooks with RS232 ports built-in.

      as for desktops, many new motherboards don't have them anymore. this spells doom to RS232 on consumer class PCs, so for the future me and my kind (unix sysadmins) will be left with USB adapters for old boxes and network connectivity for servers with lights-out cards. thankfully all new unix hardware built on the last few years have them.

      --
      What ? Me, worry ?
    22. Re:Serial console by BigSes · · Score: 1

      If you're going through the trouble of getting lemons, why not just borrow Ford's "thinking cap" from Zaphod. Should institue a good ten mintues of focus, surely enough to solve the problem.

    23. Re:Serial console by icebike · · Score: 2, Insightful

      > The easy solution is to buy a serial card for these machines.

      No.

      By far the easiest solution is to leave the VGA card in the machine.

      Removing it to save power is a pointless exercise. As long as you don't have a monitor running removing the card saves virtually nothing.

      Unpower floppys, CD readers, and all the fans you can get away with, but yanking video cards just silly.

      What makes this post especially silly is that many older machines have on-board video anyway.

      --
      Sig Battery depleted. Reverting to safe mode.
    24. Re:Serial console by Anonymous Coward · · Score: 0

      If that story is true, you must not have packed the machines properly. I've bought many computers over a number of years now which have been shipped to me via FedEx and UPS, and when I moved from CA to GA I shipped six computers as well as a bunch of guitars and other delicate musical equipment via FedEx. Never had a single problem. Of course, I packed (and insured) everything properly.

    25. Re:Serial console by Sique · · Score: 3, Informative

      .. which need an already loaded OS to work... so what if GRUB is fucked up for some reason and the USB driver is not loaded yet to operate the serial console?

      --
      .sig: Sique *sigh*
    26. Re:Serial console by Sique · · Score: 1

      All the Lifebook laptops from Fujitsu I am using at work have serial ports. And I am using the port quite often.

      --
      .sig: Sique *sigh*
    27. Re:Serial console by Hognoxious · · Score: 1

      I've always found them to be a PITA to set up and unreliable, and that's with the vendor's drivers under an officially supported OS (you know which one)

      Manufacturers seem to change chipsets for some devices randomly such that you can have one that works in Linux and the same model number next to it on the shelf doesn't. I'd say good luck, you'll need it.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    28. Re:Serial console by geekprime · · Score: 2, Informative

      The Intel DP965LT has a serial port header right on the motherboard, check the manual, page 11 labeled P described on page 12.
      pdf of the manual at
      http://www.intel.com/support/motherboards/desktop/dp965lt/sb/CS-022910.htm

      The Asus M4A78 Plus ALSO has a com1 port on the motherboard, you can look at the pretty pictures on newegg, it's in the lower right corner labeled com1, it's a light blue header.

      So we still don't have any motherboards without serial ports...

      I will concede however that they seem to have done away with them on many laptops (although I can't buy one that dosen't have one, configuring real routers & etc requires serial)

      Oh, and I just want to say that the EEE is more a netbook type device than a laptop type device.

      Question, are the USB serial adapters properly supported in linux (and windows) yet? The last time I tried one the drivers were crap and it wouldn't work above 1200 baud.

    29. Re:Serial console by geekprime · · Score: 1

      And what kind of jerk marks an honest question as troll?

      I may have been wrong about the laptops, however all of mine DO have 9 pin serial ports.

    30. Re:Serial console by aled · · Score: 2, Funny

      No luck; my motherboard only supports the MS ESP 1.0 protocol which is incompatible with most minds...

      --

      "I think this line is mostly filler"
    31. Re:Serial console by ArtemaOne · · Score: 1

      I'm glad someone mentioned serial connection quickly, but if you are worried about power consumption, get a Pentium 4 as far away from your outlets as possible.

    32. Re:Serial console by multiplexo · · Score: 2, Funny

      Well at least MS ESP isn't as bad as Vista, ESP edition. You want to know how bad that was? Well remember that movie Scanners. Yeah, it was kind of like that.

      --
      cheap labor conservatives - they want to keep you hungry enough to be thankful for minimum wage.
    33. Re:Serial console by Anonymous Coward · · Score: 0

      Easy. Your honest question was posed in a very rude way. Additionally about 2 minutes of research on your favorite hardware reseller would have answered it.

    34. Re:Serial console by Satanicolas · · Score: 0

      that is no troll troll is not a substitute for disagree

    35. Re:Serial console by Satanicolas · · Score: 0

      Since you find his question really rude you must be a Politically Correct wimp dear Anonymous Coward
      I hope you that your feeling are hurt everyday

    36. Re:Serial console by Eudial · · Score: 1

      When push comes to shove, you could pretty much any I/O port conceivable.

      --
      GAAH! MY PRINTER IS ON FIRE!!! PUT IT OUT! PUT IT OUT!
    37. Re:Serial console by raddan · · Score: 1

      It depends on the BIOS, but with the exception of some server BIOS, I've rarely seen the ability to manipulate BIOS via serial console on Intel-type hardware.

      One notable exception are the boxes made by Soekris. You can (and are expected to) do everything via serial console. For low-demand services (e.g., internal DNS server), we stick them on these things. Diskless, fanless, usually consume something like 1W. You have to develop a process for setting them up, though, because it's not as easy as popping a CD in and installing. I make images in VMWare and then dd them to CompactFlash.

    38. Re:Serial console by cpghost · · Score: 1

      I'm currently looking to build a home server and would have considered a soekris except that they're quite expensive and I'd like something with a little more grunt and disk space.

      I'm running a small SoHo router/server on a first generation Soekris net4801 with FreeBSD, and a 2.5" HDD. The machine runs PPPoE, pf, postfix, imapd, lighttpd, etc... very well. I also used it as NFS, DHCP and TFTP server in addition to that, but I turned off NFS later for soekris-unrelated reasons.

      All in all, I'm still very happy with the net4801 + FreeBSD combo, after all those years; though IMHO, 128 MB RAM is a bit cramped... should I need to run more daemons in the future. A net5501 would be a dream, as far as I'm concerned.

      --
      cpghost at Cordula's Web.
    39. Re:Serial console by drinkypoo · · Score: 1

      I have a Geode LX800-based system (from DT and not Soekris, but the chips are the same) and it's a dog. A P4 may be stupidly inefficient but it does the work of ten embedded-class systems. I'm going to have to upgrade my miniserver from what it is now to perhaps my P3-850 Stinkpad because it just can't cut the mustard for simple things like filesharing — there's no IEEE1394 (and BTW, getting it on MiniPCI is spendy) and USB storage consumes too much CPU. Right now I have a MyBook 1TB hooked up via USB2 and I'm peaking at about 7MB/sec from the disk and over 100Mbps ethernet, less if the machine is doing anything else.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    40. Re:Serial console by jabuzz · · Score: 1

      Try the Supermicro X7SLA-H motherboard. Has an Atom 330 processor (so it's 64bit and dual core) along with 4 SATA ports, dual GbE, some PCI and PCI express expansion slots and a serial port with a BIOS that supports redirection over the serial console, all in a Flex ATX board. The max of 2GB RAM is a bit limiting, but otherwise the best low power home mini server board that I can find.

      It also has a fan on the Northbridge, but there are plenty of silent after-market coolers to fix that.

    41. Re:Serial console by Anonymous Coward · · Score: 0

      A dab from a hot glue gun does wonders for keeping components in place during shipping.

    42. Re:Serial console by BronsCon · · Score: 1

      I have a Gateway Profile 4 that was given to me with a failing GPU. I got Ubuntu Server installed on it just in time for the GPU to die completely. At this is an all-in-one system, there is no chance of replacing the GPU.

      I have to be present to physically press the enter key at every boot, but the system has been running just fine like this since last October. My solution, if I ever need to see what's on the screen is to dump the screen buffer to lpr. Works great for the few (2) times I've needed it.

      Get a good UPS and don't do anything stupid with the system, it will last you many more years. Don't reboot if you don't have to.

      Unfortunately, in my case the serial ports are disabled and I did not get into the BIOS and enable them before the GPU died.

      Just practice the disk check / recovery process a few times in your distro of choice, memorize the keystrokes, and you can do it just fine headless if you ever need to.

      Also, periodically cat the contents of each drive to a series of files on another drive. You can cat these files back to the drive (or to a new drive) to recover if anything catastrophic happens. I've been lucky and not needed to rely on this, but that doesn't mean that you will.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    43. Re:Serial console by mysidia · · Score: 1

      Use another server to PXE boot the former to a custom rescue image that has SSH enabled for you to remote login with.

      Fix whatever you did that broke network access. Save changes, turn off netboot server, reboot.

    44. Re:Serial console by Anonymous Coward · · Score: 0

      The easy solution is to buy a serial card for these machines.

      Especially when they're only 10 bucks at the local mom & pop hardware store.

    45. Re:Serial console by value_added · · Score: 1

      I'm running a small SoHo router/server on a first generation Soekris net4801 with FreeBSD, and a 2.5" HDD. The machine runs PPPoE, pf, postfix, imapd, lighttpd, etc... very well. I also used it as NFS, DHCP and TFTP server in addition to that, but I turned off NFS later for soekris-unrelated reasons ... A net5501 would be a dream, as far as I'm concerned.

      Indeed. It's not unusual for a server (at home, or otherwise) to sit there and do nothing for most of its uptime. When people say "I want something beefy" I'm left wondering if they really know what they want. Or need.

      To help put things into perspective, those ubiquitous blue plastic boxes running Linux (DD-WRT) off camera-grade flash are running at what, 233MHz?

      If I had a choice between a used PIII, or a PIV box, I'd opt for the PIII. But because I want the advantages of Soekris boxes (low power, no noise, BIOS over serial, etc.), I'm only too happy to compromise a bit on performance and get something more suitable. Yeah, those little fuckers do cost a bit more, but so does my time.

      Knowing your hardware "just works" means no checking compatibility lists and none of the dicking around associated with consumer-grade computers.

    46. Re:Serial console by Anonymous Coward · · Score: 0

      Or a USB to TTY converter, which I use (since I only have the one serial port, and two devices that need it). Same comments about GRUB hold true, except for /dev/ttyUSB0 ..

      By the way, here in the real world we do use serial ports for more than just dumb terminal access .. we have devices like printers, programmers, scopes that need serial streams. I have an ancient mouse that plugs into the serial port. I even have a huge tablet that plugs into the serial port.

    47. Re:Serial console by leromarinvit · · Score: 1

      Yeah, these things suck under Windows. New adapter? Reinstall driver. Plug it into a different USB port? Reinstall driver.

      But I've never seen one which doesn't "just work" on any reasonably recent Linux distro (2.6 + udev). Plug it in, and after a second or so you'll have a new device node /dev/ttyUSBn.

      That said, I don't think these would be a good idea for a serial console. After all, you need it when things go wrong, not when everything's working fine.

      --
      Proud member of the Ferengi Socialist Party.
    48. Re:Serial console by mobets · · Score: 1

      HP tried to drop serial ports as an option for their business notebooks a few years back. Customers complained and they were back the next year.

      --

      It was me, I did it, I moved your cheese
    49. Re:Serial console by laffer1 · · Score: 1

      And none of them came with the cable to use the serial header. So they do not come with serial ports, only headers. You would still need to buy something to get them to work.

      When did real routers come up? One could buy something else to do the configuration such as an old terminal. I purchased a terminal for 29 cents two years ago and use it with my sun hardware. (comp usa store closing)

    50. Re:Serial console by geekprime · · Score: 1

      The port is avalable, it's on the motherboard.
      I have about 10 of those header to serial cables around and they are less than $2 on monoprice, with the slotcover, so that's really not an issue.

      My point is, It DOES EXIST ON THE MOTHERBOARD.

      To remind you, I restate MY original question,
      "Can anyone tell me the model motherboard that has NO serial ports on it?"

      Apparently, you cannot.

      Real routers come up because I have to only buy real laptops with serial ports in them so that I can actually do my job on the days that it involves configuring routers & etc.

      Do you just skim the posts? They really aren't that long.

    51. Re:Serial console by sjames · · Score: 1

      Things are improving. The lost characters might have been a fault in the BIOS itself. The older ones just did a continuous screen scrape and sometimes didn't properly poll the serial UART.

      That much has improved, but BIOS serial support still has plenty of annoyances. First and foremost, the default setting is off for some stupid reason. Surely it's easier for someone using a monitor and keyboard to turn it off (or just ignore it) than it is for someone with no monitor to turn it on! If the problem you're trying to fix remotely is that the CMOS lost it's settings, it's a real problem! A little thought would make it all work a lot better.

      KVM over IP have their own set of annoyances. Way too many of them have some funky not-quite-vnc so that you need a java enabled browser to get a crappy console view (and no chance of making it work over an ssh tunnel). Others require a proprietary client that runs on both kinds of OS... XP and Vista.

    52. Re:Serial console by laffer1 · · Score: 1

      Now laptops don't have motherboards? You admitted many don't have serial ports. I think you need to define "port" here. I think most people include either an integrated "port" or a header + dongle to be a port. You know, something you can use with most devices without attaching extra parts. I've given you two examples of motherboards without integrated serial ports and that contain no dongles in the box to make those headers you claim exist useful.

      I still don't get your use of "real" here. My laptop is certainly as real as the thinkpad it replaced. The new one does not have a legacy integrated serial port. Both laptops can run windows, linux and BSD. Just because you need a serial port, does not mean most people do. My mother still uses a modem to get on the internet, but that doesn't mean everyone needs a 56k modem anymore.

      I don't care about your job.

      That was not your original question. The original question limited it to PC (i'm assuming you mean IBM compatible). If we use the more general definition of personal computer, I would of course site apple computers as a counter example. As they can run windows, I don't think you can argue they're not PCs. They even have intel processors these days. So please find a serial port on an iMac.

    53. Re:Serial console by jawtheshark · · Score: 1

      I've rarely seen the ability to manipulate BIOS via serial console on Intel-type hardware.

      My Tyan Tiger MPX S2466 can do it... But then, I don't think it boots without a graphics card in it. (I put a very very very old NVidia card in the AGP slot.)

      --
      Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
    54. Re:Serial console by BrightSpark · · Score: 1

      Thanks. I haven't laughed so hard on /. for a good while. Though with TCP/IP over power sockets now this solution could get even more suboptimal :-)

    55. Re:Serial console by redhog · · Score: 1

      "For added fun (when there's more than one computer involved), consider something like this [kd85.com]"

      Bah! You just buy some $20/ea USB-serial cables, a $10 USB-hub and plug it into any old junk of a computer ($0), then plug the other ends (The serial port ends) into each of your servers. DONE :) No need to make stuff complicated/expensive.

      --
      --The knowledge that you are an idiot, is what distinguishes you from one.
    56. Re:Serial console by 2meen · · Score: 1

      As long as you don't have a monitor running removing the card saves virtually nothing.

      Do you have a source for that? In my world, I don't see how turning the monitor off (or rather having the OS put the monitor to standby/off/whatever), would do anything to lower the power usage. Anything still drawing to the screen (a screen saver, a game or something) would still be active with the monitor in standby/off so how would that lower the power used? Or nowadays when you have folding@home or similar using the GPU for processing, it would definitely still use a lot of power?

    57. Re:Serial console by dissy · · Score: 1

      .. which need an already loaded OS to work... so what if GRUB is fucked up for some reason and the USB driver is not loaded yet to operate the serial console?

      In that case you want a PC Weasel card.
      They come as either PCI or ISA and emulate a video bios to the machine so it will actually function (Without on-board video, or a video card, a major component of the boot code as part of the video bios will be missing)

      http://www.realweasel.com/intro.html

      It can emulate CGA character sets over a serial line.
      It also has a cable out of it to connect to your ps2 keyboard jack.

      In most cases, this card will let you run non-server hardware as if it was a server, with most of the bare-metal access you would expect.
      If someone can drop an install CD in the drive, this card will let you connect to the machine over serial, send alt-control-delete to reboot, and perform a remote install of a text based OS.

      The PCI version is $350, while the ISA version is $250.

    58. Re:Serial console by icebike · · Score: 2, Informative

      A vga card just does not draw that much.

      Running headless, there would be a static image or black screen shown. Why would anything be drawing to the screen?

      (There is no reason any sane person would run a screen saver on a headless system, or even use runlevel 5).

      If he wanted to do Folding At home with his GPU he wouldn't be yanking out the AGP card now would he!?!??

      Substituting a trash-bin VGA card, (which every harware hacker has 8 or 10 of in the back room) saves power over anything with a smart GPU, and saves all the power that is worth saving while still preserving a monitor hook-up capability for emergencies.

      Leaving the current AGP cards in place running at the run-level 3 black screen saves just about as much. The card is not doing anything.

      --
      Sig Battery depleted. Reverting to safe mode.
    59. Re:Serial console by toddestan · · Score: 1

      My short experience with those is that they only work once the OS has loaded a driver for them. So they would be useless for poking around in the BIOS or with boot CDs and the like. The drivers were also for Windows only. Well, they might have had a Mac driver (don't remember right now), but certainly nothing for Linux.

    60. Re:Serial console by Trongy · · Score: 1

      My less old Latitude D630 still has a serial port. The current Latitudes don't seem to have a serial port. Some business class laptops still have serial ports - for example the Toshiba Tecra M10

    61. Re:Serial console by geekprime · · Score: 1

      OOO! aren't we pedantic! Way to be a dick to someone you don't know when you are clearly wrong.

      As far as laptops having motherboards, why are you putting words into my mouth just so you can be a jerk about it? My question was not about laptop motherboards. I was wrong about ALL laptops having serial ports and I admitted that a few posts up.
      Also, you can't generally go buy either a mac motherboard OR laptop motherboard off the shelf at microcenter et al, so what's your point?

      Moreover, Whats YOUR fucking problem?

      The example motherboards you provided DO have serial ports, RTFM.
      Saying that they don't is just like saying that motherboards don't have sata or pata ports because the cables don't come with and aren't already plugged in.

      FYI, the serial header cable generally IS supplied by the mfgr in the box with the motherboard. If you don't buy your motherboards from a reputable enough dealer that you get ALL the parts without having to pay extra for them it's not my problem.

      I'd LOVE to know how you think you can use a serial port AT ALL without attaching any "extra parts"...

      Frankly, I don't expect you to care about my job. Point of fact however, If I can't do my job with a laptop afaiac it's as useful as a toy. No more or less useful than an xbox, wii or eee, but nothing I can do actual money making _work_ with.

      Mac's & iMacs & Mac laptops have the same problem, no serial ports, not work machines.
      It's a shame too, pretty much all of my dev tools have linux versions I could probably make work on my mini but without the port to talk to the programmer for the roms & pic devices it's pointless.

      Good enough?
      It is for me and frankly I couldn't give a handful of flying monkey shit less about your opinion as you have already told me that you are incapable of reading the manuals for or even looking at the pretty pictures of the motherboards you have incorrectly shown as being examples of "motherboards without any serial ports".

      As a matter of fact, your attitude and your telling me that the board "dosen't have a port" because you aren't smart enough to plug in the cable pretty much tells me ALL I need to know about you.

      Congrats, you are the very first person on /. to make me want to go see if there is a block list.
      Good Job.

    62. Re:Serial console by tkw954 · · Score: 1

      A serial console.

      And if you don't want to lug around a laptop (or your modern laptop doesn't have serial), the HP-48G makes a nice terminal device.

    63. Re:Serial console by UnixUnix · · Score: 1
      >> Some machines don't have serial ports

      >>

      Indeed -- but their motherboards might. I did locate unused pins labeled "serial port" on one, tapped into them, made a serial cable and presto!... my old 56k dialup modem was happily singing again, side by side with its more advanced networking brethren.

    64. Re:Serial console by yuhong · · Score: 1

      >Unfortunately, in my case the serial ports are disabled and I did not get into the BIOS and enable them before the GPU died. You could in theory manipulate the BIOS settings from Linux. The CMOS is perfectly accessible from an OS, you just have to figure out what offset in the CMOS to manipulate in order to enable the serial ports.

    65. Re:Serial console by BronsCon · · Score: 1

      Trial and error on a system I can't recover from the type of issues it would cause... nah.

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    66. Re:Serial console by C0vardeAn0nim0 · · Score: 1

      good to know. thanks.

      --
      What ? Me, worry ?
    67. Re:Serial console by Anonymous Coward · · Score: 0

      (This is why lemon juice is suboptimal - it washes away too quickly, so you'll be needing to "recharge" every 20-30 seconds.)

      I find Lemon Jello/Jelly to last longer than plain lemon juice. If you don't have that you can make a substitute out of lemon juice and petroleum jelly, I did try KY Jelly but being water soluble it lasted little longer than plain lemon juice.

  4. Just put the vid card back? by Anonymous Coward · · Score: 5, Insightful

    Maybe I'm way off base here, but putting in an old low memory (2-32MB) APG card isn't going to draw that much power. I totally understand your issues with wanting to run a headless machine, I have a few myself. But honestly I've found it's just a LOT easier to leave a cheapo card in the rig so that if something comes up I don't have to crack open a case.

    1. Re:Just put the vid card back? by mikael_j · · Score: 1

      Exactly, it seems like the OP should just stick a weak video card in the box. It's a lot less troublesome than setting up a serial console or something along those lines (serial console on a machine designed to work with a serial console is a lot easier than doing it on some random $500 desktop).

      /Mikael

      --
      Greylisting is to SMTP as NAT is to IPv4
    2. Re:Just put the vid card back? by Anonymous Coward · · Score: 1, Informative

      It's tempting to use an old P4, but I don't think it's worth it in the long run based on the extra power consumption from the CPU. My old P4 used around 80 watts, that's almost $6 a month (assuming 10 cents a kwh). I decided to get an MSI wind PC which uses an Atom core ($135 from newegg). This still uses around 30 watts of power, most of it in the chipset. I'm hoping at some that they will sell equivalent devices that use under 10 watts. Once that happens it will be a no brainer to use these devices as fileservers, the power savings alone will make it worth it.

    3. Re:Just put the vid card back? by AmiMoJo · · Score: 2, Informative

      The Rage Pro 8MB is the ultimate low power card, and comes in PCI format. Less than 1W power use at idle, and supported by Linux and Windows with built-in drivers. Until 2007 many Intel servers had them on the motherboard, before ATI introduced a new line and Intel moved to their own chips.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    4. Re:Just put the vid card back? by dov_0 · · Score: 1

      I've just set up a headless linux box myself for file/print serving and as a remote music player (using Xforwarding over SSH so the music player shows up on my laptop desktop, but the files, process and more importantly the speaker setup are all on the server). Only way to get into the BIOS that I could figure was to slap a monitor back on the box. Unfortunately I just found that the @#$%@#$%@$%@$% PS2 socket is busted so I can't enable WOL and I WANT MY WAKE ON LAN! What's the use of a headless box if you have to walk over to turn in on? Seriously. Just put in an old VGA card from somewhere.

      --
      sudo mount --milk --sugar /cup/tea /mouth /etc/init.d/relax start
    5. Re:Just put the vid card back? by DaveAtFraud · · Score: 1

      Even better... I have an ancient S3 2MB PCI video card I use when I just want to see if an old MB will boot. It is passively cooled and, obviously for something of this age, requires no additional power beyond what's available from the PCI bus..

      My suggestion to the original poster is to try to find such an old card and realize that it draws so little additional power that the convenience is worth it. As with your suggested Rage Pro 8MB, most servers come with similar embedded graphics because the incremental cost of both including the graphics and running it is so minimal.

      Cheers,
      Dave

      --
      They that can give up essential liberty to obtain a little temporary safety deserve neither safety nor liberty.
      Ben
    6. Re:Just put the vid card back? by couchslug · · Score: 1

      If the card has a fan, remove the HSF and epoxy an old passive heatsink in its place.
      Epoxy works well enough (no need for thermal paste) and if you use enough you don't need heatsink brackets.
      Just slather away. :)

      --
      "This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
    7. Re:Just put the vid card back? by tinkerghost · · Score: 1

      I recommend 5 minutes with a soldering iron & replace the PS2 socket with one from a dead motherboard. I have a bin full of them that I've pulled off of dead MB's for exactly that reason - PS2, USB, NIC,serial, parallel, just about anything actually. I find customers tend to break just about anything that plugs into something else. Customers who've broken a vital port are usually very willing to pay me to replace it rather than fork out $$ for the board and my time.

    8. Re:Just put the vid card back? by Anonymous Coward · · Score: 0

      It'll take 5 years to pay for itself. That's not allowing for the fact that tht cost is upfront and the savings are in future. Epic fail.

    9. Re:Just put the vid card back? by Xin+Jing · · Score: 1

      I'm running a P4 and an ATI x1300 adapter. After using the Asus PSU calculator http://support.asus.com/PowerSupplyCalculator/PSCalculator.aspx?SLanguage=en-us, I found out that will all my extras connected, I'm not providing enough juice! What's interesting is that after selecting my mobo, cpu and ram, the 200w juice requirements don't change when I add my video adapter. It's when I tack on all the case fans, hard drives and usb stuff that it spikes to 500w. If I wanted to trim my power consumption, I' be better off buying a multi drive, and picking up a wireless keyboard and mouse.

    10. Re:Just put the vid card back? by AmiMoJo · · Score: 1

      The reason I suggested the Rage is that it is so common, practically a de-facto standard for servers. 8MB is enough for descent resolutions, and it runs completely passive too (not even a heatsink on the chip). On top of that it's a well designed and well understood architecture, compatible with almost any motherboard and easily available on eBay.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    11. Re:Just put the vid card back? by dov_0 · · Score: 1

      Best case scenario it'll be a bad solder joint (like 95% of electronic problems). Thanks for the tip. I wasn't sure it was that easy to do...

      --
      sudo mount --milk --sugar /cup/tea /mouth /etc/init.d/relax start
    12. Re:Just put the vid card back? by pipatron · · Score: 1

      That's funny, since each USB port on your computer can not and is not allowed according to spec to deliver more than 2.5W. One harddrive is at most 10W when operating (not idle), and a case fan, well, if any case fan will draw more than a few watts I think it'll melt from the heat. Somehow I think your PS calculator wants you to buy a seriously overpowered and expensive powersupply. How strange.

      --
      c++; /* this makes c bigger but returns the old value */
    13. Re:Just put the vid card back? by Xin+Jing · · Score: 1

      You're right, it does seem a bit hungry: 1 120mm fan, 1 90mm fan, 2 80mm fans, a Cool Master cpu cooler, 4 DDR2 500meg dimms, 2 Maxtor 300g HDs, 1 SB Audigy 24bit, 1 Trendnet wi-fi adapter, 1 ATI x1300 video card, 1 usb keyboard, 1 usb mouse, 1 usb camera, 1 usb bluetoth dongle, 1 usb HP printer, all powered by 400w with Asus saying I need a 500w psu.

    14. Re:Just put the vid card back? by fm6 · · Score: 2, Interesting

      Which brings us to the fundamental mistake in the question:

      This question is for plain old desktop/laptop systems, not network servers designed to run headless.

      There's actually no such thing as a "server designed to run headless", at least not in the x86 world. All the widely used server designs evolved out of desktop PCs.

      Until recently, my job was documenting Sun x64 servers. Every single system I worked with at Sun had an embedded video adapter. A system might go through its entire working life without a monitor being plugged into that adapter, but it was always there. And these were all "green" systems, designed to minimize energy consumption. Indeed, we sometimes lost a few sales because our PCI slots didn't provide enough power to handle high-end video adapters. Yes, people do buy servers and then use them as workstations!

      I didn't work with SPARC systems at all, but I know the low- and medium-end Sun systems all come with embedded video adapters as well. It just doesn't add anything to the manufacturing or operating cost of the system, and although it's rarely needed, working around it's absence can be a real pain.

      I think maybe the high-end SPARC servers lack any kind of video port. But not to save power! I imagine these are the last remnants of the days when Sun relied on proprietary tech a lot more than they do now. I do know that these are the only Sun products that are still manufactured in Sun factories, instead of being outsourced.

    15. Re:Just put the vid card back? by AmiMoJo · · Score: 1

      There are x86 servers available with BIOS access over serial port.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    16. Re:Just put the vid card back? by fm6 · · Score: 1

      So what? They still have video cards, right?

    17. Re:Just put the vid card back? by AmiMoJo · · Score: 1

      No, they have no video chip at all. Many are used for routers and the like.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    18. Re:Just put the vid card back? by fm6 · · Score: 1

      Dude, routers are fundamentally different from servers,. They have hardware support for their routing function. That's why Cisco dominates that market. They were the first to realize that you can't just stick routing software on a regular system and have a cost-effective router.

      Incidentally, the Sun servers I was talking about also allow you to access the BIOS over a serial connection. I wasn't saying that they couldn't be operated without a KVM. (Obviously, that's a non-start6er if you have thousands of servers in a data center.) I was shooting down the assumption that KVM support is not a normal feature of servers.

    19. Re:Just put the vid card back? by AmiMoJo · · Score: 1

      I'm not talking about dedicated routers, I'm talking about standard x86 PCs that only have serial console access because they are designed to just run some flavour of Unix or Windows Server and act as routers, mail servers, domain controllers etc.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    20. Re:Just put the vid card back? by fm6 · · Score: 1

      Link?

    21. Re:Just put the vid card back? by AmiMoJo · · Score: 1

      http://www.pcengines.ch/alix.htm

      http://www.soekris.com/

      http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/15351-15351-3328412-241644-241475-1121516.html

      You have been able to get serial over TCP/IP for a while too, and Intel even build it in to some boards:

      http://software.intel.com/en-us/articles/using-intel-amt-serial-over-lan-to-the-fullest/

      Now stop being a retard and google your own fucking links.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    22. Re:Just put the vid card back? by fm6 · · Score: 1

      http://www.pcengines.ch/alix.htm

      http://www.soekris.com/

      Do you recall that we were talking about servers? These aren't even systems. They're boards, used for building embedded applications.

      Now you're going to accuse me of weaselling. I did say "servers". Servers generally come with a chassis, a power supply, and (drum roll please) embedded adapters. Show me any x86 server — hell, any x86 system that works off-the-shelf without having to be built into something — and I'll admit I was wrong.

      http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/15351-15351-3328412-241644-241475-1121516.html

      I'm actually familiar with that puppy. It's the HP competitor for one of the Sun servers I used to work with. And guess what? It's got an embedded video adapter. As you'd know if you read your own fucking link.

      http://software.intel.com/en-us/articles/using-intel-amt-serial-over-lan-to-the-fullest/

      I'll say it one more time, then I'm going to give up. I never said that server systems don't support headless operation. Of course they do. I only said that video support was standard in x86 servers.

      Now stop being a retard and google your own fucking links.

      Dude, I never get into a Slashdot flamefest without Googling for a few links to help make my case. It's just that I usually don't bother to Google for links that support something I know not to be true.

      Pretend that you're a grownup for a few seconds, and admit that you had your facts wrong. Which happens to all of us. So suck it up and admit it. It might be hard on the ego, but it's a lot less work than the rhetorical hoops you have to jump through to avoid admitting a mistakes.

    23. Re:Just put the vid card back? by DaveAtFraud · · Score: 1

      Funny thing is that I just got forced to put this scheme into action. Apparently, my PCIe video card crapped out so I swapped in an old (not quite Rage/S3/Trident vintage but close) PCI video card. lspci now shows my video as:

      01:08.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15) (prog-if 00 [VGA controller])
              Subsystem: nVidia Corporation Device 001f
              Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
              Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
              Memory at fa000000 (32-bit, prefetchable) [size=32M]
              Expansion ROM at fe020000 [disabled] [size=64K]
              Capabilities: [60] Power Management version 1
              Kernel modules: nouveau, rivafb

      Time for a run to Microcenter to pick up a new video card.

      Cheers,
      Dave

      --
      They that can give up essential liberty to obtain a little temporary safety deserve neither safety nor liberty.
      Ben
  5. Control Card? by malevolentjelly · · Score: 4, Insightful

    I know there's a type of card that will push the serial interface through the network, if having a serial console (like running HyperTerminal in windows with a Null Modem cable plugged in) is not sufficient. That should allow you to get to the bios without having the monitor plugged in-- that's the theory, at least.

    Also, if you're using this system as the lowest wrung sort of server, you might want to look into simply buying some Via Nano or Intel Atom hardware and just creating an ultra low-wattage server. Older desks were not renowned for their power efficiency, so over a few months, if its running 24/7, more efficient hardware might actually pay for itself in terms of energy costs, especially if you're somewhere with expensive power like California. It might be clever to cannibalize your old systems for hard disks and such and use them in this low power system, since the power usage of the hard disk will be largely a software problem, etc.

    1. Re:Control Card? by Joce640k · · Score: 1

      Another good idea...

      There's brand new intel-Atom based machines for $200 and they only consume about 10 watts - probably less than losses due to inefficiency in the old 486's power supply.

      --
      No sig today...
    2. Re:Control Card? by Sponge+Bath · · Score: 3, Insightful

      That's a reasonable suggestion.

      If he truly needs a light weight, always on server then a new mini is a good idea. Modern, low power with a built in console. He can get just as much technical fun from setup and tweaking. If he is so impoverished he can't afford the $200-$300 then he probably does not need to be upgrading the old box and running it around the clock.

      Personally, I've lost fascination with dinking around with old hardware. If I have a specific solution to implement or new skill to learn, I prefer a more forward looking approach with things that are new.

    3. Re:Control Card? by Idiot+with+a+gun · · Score: 1

      I agree whole heartedly. Plus with a system like that, you'll actually have a decent video card you can use for BIOS settings changes, upgrades, etc.

      Although I'd like to point out, that if you set it up well, you shouldn't have to need to change any settings like that. Most modern Linux distros allow for updates through the console (Ubuntu, Debian, etc.), so I'm a bit baffled why you're so concerned about it. And I can't really think of many reasons to change BIOS settings that often.

    4. Re:Control Card? by MightyMartian · · Score: 1

      I'm looking at replacing our VPN routers with an IPTables/OpenVPN solution. One location doesn't have room for a full-sized PC. Has anyone used any of these minis in that sort of environment?

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    5. Re:Control Card? by evilviper · · Score: 1

      I know there's a type of card that will push the serial interface through the network, [...] That should allow you to get to the bios without having the monitor plugged in-- that's the theory, at least.

      Yes, if you've given-up on your goal of saving electricity, you can plug-in another card that will do this...

      AND it will cost more than buying a slightly older SERVER which has real, actual serial-port management built-in...

      Right now, an old P4-era Xeon will run you under $100 for a dual socket motherboard with serial management built-in, 3+GHz Xeon CPUs, and a couple gigs of ECC ram.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    6. Re:Control Card? by mishehu · · Score: 1

      Before the advent of the atom processor, I did set up some systems with Via C7 chips in them (and thus the via padlock crypto chip), and had them booting off of a custom install on an SD card. They are currently still in production, and are handling iptables and OpenVPN (using AES encryption) for network-to-network VPN'ing.

    7. Re:Control Card? by Eil · · Score: 1

      Also, if you're using this system as the lowest wrung sort of server, you might want to look into simply buying some Via Nano or Intel Atom hardware and just creating an ultra low-wattage server.

      I did exactly this a few months ago and don't regret it one bit. These days, you can get an Intel Atom 330 (64-bit, dual core) motherboard + CPU, a low-power 1TB disk, memory, and case + power supply all for under $200 total. Works just dandy for a home/office file server. I replaced my old power-hungry second-hand desktop masquerading as a file server with one of these and went from over 100 watts of power consumption to less than 50. I did the math and it'll take at least two years for the machine to pay for itself, but I figure I can keep it in service for at least 10.

      And to answer the submitter's question, the motherboard comes with everything you'd want onboard including video, networking, USB, and serial, so how to get at the console is rather a moot point.

    8. Re:Control Card? by VoltageX · · Score: 1

      I use a Fit-PC2 (www.fit-pc2.com). Plugs into my TV via HDMI, also comes with an adaptor for DVI. Apparently uses 7 watts.

      --
      "Anonymous could not immediately be reached for further comment." - International Business Times
    9. Re:Control Card? by bhtooefr · · Score: 1

      Something like this: http://www.realweasel.com/pcivga.html

      Looks to the computer like a text video card, but has an RS-232 interface instead of a VGA interface.

    10. Re:Control Card? by mobets · · Score: 1

      That's neat, but $350 is a bit much.

      --

      It was me, I did it, I moved your cheese
    11. Re:Control Card? by Anonymous Coward · · Score: 0

      Better yet -- there's refurbished Atom machines on sellout.woot.com today for $160, including a built-in fold-up recovery console and integrated UPS. Add either a USB HDD or a large SD card (to avoid wearing out the 4GB internal SSD) and you're in business.

      In fact, I have an old Eee 701 with a USB 1TB drive and a Part 15 FM transmitter as a NAS/torrent server/mpd server.

      Still, though, the break-even point between a $0 machine you have and a $160 Eee has got to be a year or so; unless you're pretty sure you'll have the same machine running that long, it's still not worth it. Mine made sense because the Eee _was_ an obsoleted piece of kit, but I'm not sure I'd buy one to replace it if it conked out -- one of my old towers would do fine, and I tinker with my network enough that I'd probably replace it anyway...

    12. Re:Control Card? by Lennie · · Score: 1

      Maybe a Soekris box will do ?

      --
      New things are always on the horizon
    13. Re:Control Card? by Anonymous Coward · · Score: 0

      ...and as a plus - a netbook or similar has got built in 4 HOUR UPS (perfect for home server) and can be setup to automatically shut down in case of power failure :)

    14. Re:Control Card? by Anonymous Coward · · Score: 0

      That's neat, but $350 is a bit much.

      True, but if he wanted to go the cheap route, he would get a $5 pci serial port card and go with the standard serial console method.

      If he wanted to go the correct route, he would get an older cheap server class machine with built in remote console support.

      The summary ruled out both of those options, so this is what is left :)

    15. Re:Control Card? by TheThiefMaster · · Score: 1

      http://www.dynamicarcade.co.uk/pictures/Matchbox_mini.jpg

      That's my home router (I got sick of my real home router locking up on me, and wanted a mini-itx to tinker with). Built from a Jetway J7F2 Fanless 1.2GHz Eden C7 Mini-ITX Motherboard with Jetway 3x Gigabit LAN Motherboard Module, 512 MB of DDR2-667, and a 4GB compact flash card in a laptop-hdd-bay-mountable CF adapter, all in a Thin Client Fanless case. Running linux, with IPTables for NAT.
      Something like that should be plenty powerful enough.

      Incidentally if anyone knows how to set a linux machine with a dynamic public IP up as an IPv6 tunnel (6to4 presumably) for my LAN, that would be awesome to know.

    16. Re:Control Card? by Lord+of+Hyphens · · Score: 1

      Where? And are these boards all using SCSI or IDE/SATA drives?

      --
      "I've spent my whole life figuring out crazy ways to do things. It'll work." -- Montgomery Scott, "Relics"
    17. Re:Control Card? by saintlupus · · Score: 1

      I've had luck using Linksys WRT54GLs, reflashed with DD-WRT, for branch office VPN routers.

      (Yeah, yeah, look at Tomato, I know. Haven't had problems yet, so I haven't looked to switch.)

      --saint

    18. Re:Control Card? by evilviper · · Score: 1

      Motherboard $60: http://www.ascendtech.us/itemdesc.asp?ic=MBTAS2729G2NR
      http://www.gearxs.com/gearxs/product_info.php?products_id=11075

      2.7Ghz Xeon $12: http://www.starmicro.net/detail.aspx?ID=632 (3GHz+ CPUs went up, stock may be low right now)

      512MB ECC PC2100 $7: http://www.trustprice.com/651566/hp-genuine-512mb-ddr-266.html

      Note: All from a 5 minute quick search. A little effort would find better prices and alternate equipment.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  6. Good luck by gravos · · Score: 2, Informative

    Most of the Dell and IBM servers I've used will let you get to the BIOS/GRUB over a serial console with some configuration, but I've never seen a desktop motherboard that would do it. If you really care about power consumption the easiest route is probably to buy a cheap, low-power itx board that has VGA built in and skip the console altogether. Plus, that way you don't need a laptop to talk to the box, just an old monitor.

    Anyone know some tricks to get serial console to work with grub on a desktop mobo?

    1. Re:Good luck by Bert64 · · Score: 2

      You would need a lights out management card, many servers have them built in but they're not usually found on desktops.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    2. Re:Good luck by mariushm · · Score: 3, Interesting

      Even easier, go to eBay and get a PCI video card for a couple of dollars. I got an ATI Rage with 8MB of memory for something like 2$ plus about 4$ shipping. It's only a few watts, which if you really freak out about power usage, you can recover by lowering the CPU voltage and the frequency to a bit lower than the normal. Well, anyways you'll make it more economic simply by replacing the power supply with a 80-85+ certified one, but it's probably more expensive than the whole computer, or the money saved in 2-3 years.

    3. Re:Good luck by Useful+Wheat · · Score: 5, Insightful

      You're all putting WAY too much thought into this. The easiest way to do this is to take a magnet and manually adjust your hard drive until it has the SSH capability you're looking for. Everyone has at least 1 or 2 good magnets laying around, and with a steady hand this could become a great do it yourself project. Plus, you get epeen bragging rights when people start talking about how they used to code in assembly. You coded with a magnet and a HD.

      Wait? That would be a pain in the ass? Almost impossible?

      The AGP card is rated for 63 watts, maximum. Over a year that's 552 kWh. Paying for electricity at $0.15 a kWh you run into an additional $6.90 a month to run the AGP card.

      1. Find a quarter in your couch cushions.

      2. Plug the damn thing in for the 10 minutes it would take to setup a remote SSH connection using the suggestions people have put in this thread.

      3. Pay the additional power bill with the quarter.

      4. Move on with your life

      5.....

      6. Profit!

    4. Re:Good luck by Anonymous Coward · · Score: 5, Informative

      Grub works just fine with serial console. Add the following lines to your grub.conf:

          serial --unit=0 --speed=38400 --word=8 --parity=no --stop=1
          terminal --timeout=10 serial console

      Also, make sure to add:

          console=tty1 console=ttyS0,38400n8

      to your "kernel" line for linux boot images so the kernel will send console messages to the console. Of course the kernel itself must be configured to support serial console too!

    5. Re:Good luck by KillerBob · · Score: 2, Interesting

      Even easier, go to eBay and get a PCI video card for a couple of dollars. I got an ATI Rage with 8MB of memory for something like 2$ plus about 4$ shipping. It's only a few watts, which if you really freak out about power usage, you can recover by lowering the CPU voltage and the frequency to a bit lower than the normal. Well, anyways you'll make it more economic simply by replacing the power supply with a 80-85+ certified one, but it's probably more expensive than the whole computer, or the money saved in 2-3 years.

      I'd agree with buying a cheap video card from e-bay. A few years ago, my local 2nd hand computer supplier put out a bin of old video cards, and I picked up about 20 ATI Mach64's with 512k-1mb of memory each... :) they work great in servers. :)

      As to the OP's question... whatever happened to using a KVM? They're pretty inexpensive, and really easy to get your hands on. If it's just a play server, set it on the floor next to your regular computer, and use your existing keyboard/mouse/display. Most modern KVM's will emulate a connected display and input devices so that the computer will never know that it's not connected, meaning you don't have to tweak/configure anything in the computer to get it to run headless.

      --
      If you believe everything you read, you'd better not read. - Japanese proverb
    6. Re:Good luck by BrokenHalo · · Score: 2, Interesting

      Most motherboards come with some sort of on-board GPU. Since this situation is a server machine, there's no reason to run an X server, so there's no reason to install any more sophisticated graphics card. Even the crappiest on-board GPU I have come across on PC hardware (which incidentally happens to be a SiS unit back in 1996) can cope with text-mode I/O in a TTY.

      But if the server is to run headless, all you need is a good syslog system (which should be set up by default) and ssh.

    7. Re:Good luck by Sam36 · · Score: 0

      Typically there is a small speaker on the bottom of the computer case just below the hard drive bay. Use the magnet in that.

    8. Re:Good luck by Anonymous Coward · · Score: 0

      LMAO adjust the hard drive with a magnet and somehow this was moderated insightful? I guess some mods have a sense of humour :-)

    9. Re:Good luck by aled · · Score: 1

      Damn, I have no mod points :-)

      --

      "I think this line is mostly filler"
    10. Re:Good luck by ucblockhead · · Score: 1

      If that AGP card is being used to generate a $ prompt (i.e. X is not running), it is extremely unlikely it is hitting its maximum power usage...or even a tenth of its maximum power usage.

      If I were the original story author, the first thing I would do would be to plug in a Kill-o-watt and determine exactly what the power consumption was, before going through lots of effort to get rid of the card.

      --
      The cake is a pie
    11. Re:Good luck by dotancohen · · Score: 4, Funny

      You're all putting WAY too much thought into this. The easiest way to do this is to take a magnet and manually adjust your hard drive until it has the SSH capability you're looking for.

      Butterflies. What the OP needs are butterflies.
      http://xkcd.com/378/

      --
      It is dangerous to be right when the government is wrong.
    12. Re:Good luck by the_humeister · · Score: 1

      Your figures are higher than they should be because the GPU and memory on ATI cards (and NVidia cards for that matter) can be downclocked with open source programs.

    13. Re:Good luck by iamhassi · · Score: 2, Interesting

      "As to the OP's question... whatever happened to using a KVM?"

      Still requires a video card.

      My question is has he tested the motherboard to see if it'll boot without a video card? I've seen many a board that would error if a card wasn't found. If a card is required then just deal with the $6 a month, or if you really wanna do something get a 9 watt Geforce 7300 for under $20 on ebay which would use $8 in electricity a year at 10 cents/kw-hr.

      But according to this chart even the greatest 3D video cards of 2006 only used 30 watts at idle, which is $26 a year, and if this is a old P4 then it's probably not even using a 3D card as modern as that. I'd say just leave the card in there and not worry about it, it's probably costing a dollar or two a month at most.

      --
      my karma will be here long after I'm gone
    14. Re:Good luck by mysidia · · Score: 1

      It's drastic, but coreboot with a FILO payload and console on serial port.

      May also have a USB EHCI Debug Port option

      It also provides debugging output to the serial port eg

      LinuxBIOS can report all errors and hardware failures over the serial console. A normal BIOS, even with serial console extensions, will initialize the serial port too late in the game for some failures to be detected, and it will usually fail if the CMOS is cleared.

    15. Re:Good luck by hairyfeet · · Score: 5, Informative

      Actually there is an even cheaper and easier way to do it.....go talk to your friendly neighborhood local mom and pop repair shop. We are the biggest packrats there is and often have drawers filled with old PCI cards of all shapes and sizes. We are also usually quite bored and will happily sell you parts cheap, especially if you are doing something cool with them like a server, instead of dealing with the usual "I got a bug looking at pron again. Here fix it" which is what our days usually consist of. I personally have everything from a 2Mb Matrox card up to a 64Mb MX400 lying in my GPU drawer.

      So go talk to your local repair shop. you'll find if you BS with us a little we're happy to let you go through the goodie drawers and will sell you cheap anything you want. Think of it like a cheap flea market for PC parts. We just really hate throwing working hardware away when we might find a use for it someday. And before somebody goes "WTF you gonna do with those old crappy GPUs?" I would point not only to this article, but point out the fact I just sold a 12Mb S3 graphics card to a guy for a whole $5 including popping it in for him. It was supposed to be just to get him through until we could get him an AGP card (which I was out of at the time) but the S3 worked great on his Win2K office PC so he said "if it ain't broke, why fix it?".

      Those old PCI cards with 8-16Mb of RAM really didn't use hardly any juice at all, probably less than the average IGP does today. 20 minutes worth of BSing with your local repair guy and I'm sure you'll get one for a couple of bucks, with no shipping or waiting. Then if you want to get fancy you can pick up one of the cheapo KVM switches at Newegg, and if you have a problem with your server just "clicky clicky" on the keyboard shortcut and you are good to go. I paid a whole $30 for mine but Newegg has the same model for $26 or $16 for a 2 port. Since you already have the P4 this would be the easiest way to go headless and still have access if something goes wrong.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    16. Re:Good luck by genewitch · · Score: 1

      I hereby anecdotal-ly verify this message to be true. Every small repair shop i have worked at has tons of old hardware, including some harder to find stuff, as well. all in all, this solution is one of the better ones i've seen (even though it does require spending money!)

    17. Re:Good luck by Anonymous Coward · · Score: 0

      Have you got the attention span of a 2 year old? Read the whole fucking comment, you idiot! Is there anything you might consider insightful there?



      I thought so.

    18. Re:Good luck by Patch86 · · Score: 1

      Agreed. I put a bid on an eBay item once, labeled "10 old video cards, don't know exactly what they are" and won it for about £15. A couple of classics in there, including a GeForce 2 and a Voodoo3, and a whole bunch of OEM ones I didn't recognize and had to Google.

      Bargainous. Never needed to worry about kitting out my old-hardware machines again. Well worth it.

    19. Re:Good luck by Anonymous Coward · · Score: 1, Informative

      The AGP card is rated for 63 watts, maximum. Over a year that's 552 kWh. Paying for electricity at $0.15 a kWh you run into an additional $6.90 a month to run the AGP card.

      It's not about the money: it's about the waste of power.

      My solution: dump the AGP card in a bag and tape it to the inside of the box. When stuff goes wrong plug it back in, fix the problem, then unplug it. Not an elegant solution, I know, but functional, cheap, easy, and energy efficient.

    20. Re:Good luck by Anonymous Coward · · Score: 0

      Yeah really, how often or what is going to happen that you will not be able to connect via ssh over the network? I have a headless redhat 7.3 server that has been doing SMB/procmail/fetchmail/syslog/imap and some other small crap for the house since probably 1997 (was Redhat 5 or 6 something and a Pentium I then) and the only time it is EVER off is when we go on vacation or I am fixing or swapping to bigger HD's. I havent had to plug a monitor and KB into it for probably 8 years. The root OS is on a Quantum Fireball 1280A (1.2GB IDE) and still going. SSH is not going to just "fail", if so, it is a user error ;)

    21. Re:Good luck by PIBM · · Score: 0, Redundant

      I'm sorry but real geek will user a butterfly. (This time, x-emacs ain't started!)

      See http://xkcd.com/378/

    22. Re:Good luck by Phoobarnvaz · · Score: 1

      if you want to get fancy you can pick up one of the cheapo KVM switches at Newegg, and if you have a problem with your server just "clicky clicky" on the keyboard shortcut and you are good to go. I paid a whole $30 for mine but Newegg has the same model for $26 [newegg.com] or $16 [newegg.com] for a 2 port. Since you already have the P4 this would be the easiest way to go headless and still have access if something goes wrong.

      Have done that here all ready with an old P4 on a 2 port KVM switch I got from that Arkansas discount store for about $25 about 5 years ago that I put my PVR-150 in with XP Home running GBPVR. With it sitting in an old case next to my Sony 32" HDTV...doesn't look pretty...but saves me tons of money from not paying TIVO or DirecTV monthly extortion fees. Running it through my router...it's networked and I can copy programs over to my AMD quad-core for editing/processing to an AVI.

      If I could find a cheap 4 port for the same cost as this 2 port...that would be the best thing I would love to do.

      --
      Don't worry about the world coming to an end today. It's already tomorrow in Australia. - Charles M. Schulz
    23. Re:Good luck by Anonymous Coward · · Score: 0

      If you are prepared to run a P4 24/7, power consumption would seem to be pretty low on your list of priorities. Just rip the fan off an old G-Force 2 and bung it in. My current server is an old laptop with a (mostly) dead keyboard. It's lowish power, small, quiet, and has a display built in!

    24. Re:Good luck by Anonymous Coward · · Score: 0, Funny

      "Most motherboards come with some sort of on-board GPU"

      Sorry, but if do think so you are not old enough to talk on this thread. Off my lawn.

    25. Re:Good luck by indi0144 · · Score: 1

      Bonus points when you resurrect the broken machine from an accountant guy who is finishing the report @ 10pm Sunday when the old VGA (Savage something)toasted in his P3 win 98 machine. A PCI video card with 1Mb (yes 1 Mb, Diamond Max?) and some tweaks here and there.. EPIC WIN! 200 bucks in 2 hours and geek points doubled showing my marketing dept ID. Gotta love that old toasters and retarded accounting software.

    26. Re:Good luck by hairyfeet · · Score: 1

      Hey, got a cheapy from a fellow Arkie, good for you! I would suggest you look at that $26 KVM I linked to earlier. I am not only using it myself, but have sold several of them and the $16 two port versions. If you will look they actually come with the KVM cables at that price, and I have found them to be quite reliable. It doesn't do anything fancy like route sound and mike, but for $26 it can't be beat.

      I have my gamer PC, a 1.1Ghz Celery Netbox, and the 733Mhz old XP office machine I am currently typing this on, and I still have a port free for working on customers PCs. Not bad for less than $30! I have found them to be easy and reliable, they have the switch on top as well as the "scroll lock, scroll lock, (number)" switching method. So if you need a good cheap KVM I would highly recommend them.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    27. Re:Good luck by Hal_Porter · · Score: 1

      I think he should write some NASM code for an expansion rom as follows.

      Set up the serial port for 115200 baud. Hook the transmit and receive interrupts. When you receive characters stuff them into the keyboard buffer in the Bios data area. Hook INT 10 calls to stuff sequences of escape codes into the serial transmit buffer. Empty the serial rx buffer and fill the serial tx buffer as necessary in ISRs. Once all your ISRs are in place return back to the Bios.

      Then he could flash it into EPROM and put it into the bootrom socket of an old network card. Then again, I like doing stuff like that so maybe this application is just an excuse.

      If you do it, put the source code on your website and see if anyone offers to pay you to customise it. You'd be surprised - the world is a big place and there's always a few hundred people interested in something like this but unable to do it themselves from scratch.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    28. Re:Good luck by alnicodon · · Score: 1

      I don't know about pre-grub time, but SGA Bios is a damn cool looking bit of x86 asm from Google themselves, meant to be cast in one of your BIOS option ROMs (wtf ? does it hurt ?? maybe some answers, as usual, on Wikipedia) that enhances your VGA console output with serial port IOs. Used by Google (themselves) for their servers farms, or so they say.

      Al.

    29. Re:Good luck by emilper · · Score: 4, Insightful

      the processor is a P4 ... why worry about the power consumption of the AGP card ?

    30. Re:Good luck by KillerBob · · Score: 2, Informative

      Most low-end motherboards come with some sort of on-board GPU.

      Fixed that for you. :) Most high-end motherboards don't have an on-board GPU, because most people who'd be willing to spend $250 on a motherboard (when you can get one for $60) probably won't balk at buying a discrete graphics card, and in fact, probably plan on buying a discrete graphics card anyway, because integrated graphics tend to be a generation or two out of date.

      If I were building my own server, I'd make sure to get a motherboard that had on-board graphics (as long as chipset and I/O were up to snuff). If I were re-tooling old hardware, it's a coin toss as to whether I'd have on-board graphics. Point of fact, the only systems I have ever bought that had onboard graphics were purpose built for something that doesn't require gaming. They're both HTPCs, and they're both still in use.

      --
      If you believe everything you read, you'd better not read. - Japanese proverb
    31. Re:Good luck by SHaFT7 · · Score: 1

      the HP Lights-Out Edition II is a PCI card that I've had success installing into some desktops. it is a full length cards, so mini atx cases need not apply. can be had on ebay for less than $50

    32. Re:Good luck by Chelloveck · · Score: 1

      If I were the original story author, the first thing I would do would be to plug in a Kill-o-watt and determine exactly what the power consumption was, before going through lots of effort to get rid of the card.

      Amen, brother. My guess is that the power savings from removing the video card is insignificant compared to the power needs of the rest of the machine. Get a Kill-A-Watt; street price is less than $20. Let the thing run for a few hours with the card and without, and see if there's any noticeable difference.

      Unless you think you're going to need a console frequently, or are going to be doing this with a lot of machines, it's almost certainly going to be better to just plug in a monitor. Just keep in mind that PS2 keyboards often can't be hot swapped. You may want to keep one plugged in all the time so you can use it without rebooting.

      --
      Chelloveck
      I give up on debugging. From now on, SIGSEGV is a feature.
    33. Re:Good luck by sumdumass · · Score: 1

      Not only that, the video card isn't going to be operating at maximum capacity.

      I think his objective was to provide a worse case usage. In that, he was very effective.

    34. Re:Good luck by Anonymous Coward · · Score: 0

      the easiest route is probably to buy a cheap, low-power itx board that has VGA built in and skip the console altogether.

      The easiest route to getting an old desktop running headless is to buy a new board? Possibly true, but not really true to the op's question.

    35. Re:Good luck by hairyfeet · · Score: 3, Interesting

      And THAT sir is why we PC repair guys are packrats and never throw anything working away. You just never know when somebody is gonna desperately need that old crap!

      My story like that is I had a guy practically in tears walk into the last shop I was hired gunning for, holding an old ISA card and asking for a PC that would fit it. I thought the guy was gonna cry when the boss said "I don't think we got anything that will take that" as he had hit every shop between his work and us, and all had told him a minimum of 2 weeks to get something that would work. I said "I got a couple of old gamer rigs in my closet at home that'll take that" and thought the guy was gonna kiss me.

      It turned out that old card was a CNC controller for a lathe that made custom scroll work on columns, that he was the owners son who had FINALLY trusted the guy enough to put him in charge while he went on vacation, and naturally the lathe controller chose that week to go tits up and he had a $50k job due in 3 days and without the columns he would lose the job. he ended up paying me $300 for a pair of old boxes that weren't worth $100 together PLUS a full days pay at time and a half PLUS paying Doug to let me off for the day PLUS paying me to drop everything and spend the day setting it up for him. It turned out this lathe was made in like 86, the company went tits up in 89, and so naturally it would ONLY run in DOS 3. Lucky for him I still knew all my old DOS commands and the HDD (which was a 40Mb, IIRC) was still good so I could clone it.

      All told I made close to $1000 for a single day's work, and he got not only the lathe up and running, but a spare 233MHz so the next time it happened he would be ready to go and not have any downtime. I set the 233Mhz up in the office in the corner and showed him how to boot once a month to keep the HDD spinning, and when his dad came back the man was so impressed he gave his kid a raise and more responsibility. So it just goes to show that you never know when that old POS you are hanging onto might be worth money. And if you ever need an old part your local mom and pop shop is a wealth of old hardware at cheap prices. So go talk to your local PC repair shop guy, you'll find a wealth of hardware cheap, and a great source for the DIY builder.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    36. Re:Good luck by lukas84 · · Score: 1
  7. Don't break it by nOw2 · · Score: 1

    The obvious answer is to not get it into a state where the network fails.

    You mention servers which are designed to run headless, but that isn't really true. Many servers are just basic machines with or without video output but are hosted too far away to easily see the screen. Remote access systems like Dell RAC/HP ILO are still fairly rare, in my experience.

    Its been a few years since I broke a server badly enough to need to see the screen. Silly iptables.

    1. Re:Don't break it by Bert64 · · Score: 1

      Most decent servers have some kind of lights out or serial console capability built in... Only extremely lowend servers don't (typically based on cheap desktop boards) and those are really best avoided if you care about what you're hosting.
      Even older highend workstations (sun, sgi etc) always had serial console capability built in, while the servers typically had full lights out (aside from the console, you get full power cycle ability, hardware monitoring etc).

      Speaking of ILO tho, i have some HP DL140 and DL145 servers, which seem to only support one serial port in total (ie you can use the physical port *OR* you can use the virtual one supported by ilo).. There's no way of using the ilo as the system serial port, and gaining use of the second port (i would like to connect a serial cable to it and use it to connect to another server that only has serial capability - no ilo).

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  8. serial tty by SgtChaireBourne · · Score: 2, Informative

    If that box and another both have serial connections, then use the serial console: Get a null-modem cable. Connect that to another box. Make sure the you add console=ttyS0,19200n8 or some variation to the append line in your grub entries. On the client side use cu aka tip, minicom or PuTTY to make the serial connection, making sure that bps, parity and stop bits match.

    --
    Beta is broken and the link to classic doesn't work. Stop wasting our time or there won't be anybody left here.
    1. Re:serial tty by Antique+Geekmeister · · Score: 1

      This is the typically ideal solution, when there's other hardware around to take advantage of. C-Kermit is also your able-bodied manservant for getting all the settings right for the client.

      Unfortunately, some BIOS's have never worked well for setting the BIOS interface at anything other than 115.2 KBaud, at least without an undocumented BIOS update. And guess what you need to to the BIOS update? You guessed it: Windows and boot-time console access. I ran into this problem with some new Linux servers and a vendor who'd never bothered to test their serial-over-IP setup.

      Also, simply saying "use a null-modem cable" isn't enough. Remember that many modern machines don't have a serial port, which the original poster mentioned. I've also seen low-end rack servers that didn't, and proving only USB has gotten more common. Setting up a USB-serial or USB->USB console access takes some time as well, and our poster didn't say he had the money for the more sophisticated modern KVM's that do KVM over IP reliably. I've searched before for a toolkit to do KVM over IP from an identically installed computer, but found nothing for handling the video. It's a shame, really, such a device could be very handy for remote operations staff rather than my having to walk them through grub or BIOS options over the phone.

  9. Try this by Anonymous Coward · · Score: 1

    Make a script like this (pseudocode FTW):

    If (hasBootedButWithoutFunctionalNetworkng()){
                  removeTheGRUB(); //so that it'll boot via PXE (takes a functional OS image from the network, with a sane SSH implementation)
                  reboot();
    }

    BTW, you need to have a PXE (DHCP + TFTP) server on the network, and to configure the BIOS to boot from netwok if it can't find a bootable HDD. Also, a CDROM as first-boot-priority helps... a lot (you can make/read backups, boot from a LiveCD with a SSH daemon)

    1. Re:Try this by Tokerat · · Score: 1

      If (hasBootedButWithoutFunctionalNetworkng()){ diaf(); //Network booting won't work without the network }

      FTFY

      --
      CAn'T CompreHend SARcaSm?
    2. Re:Try this by s4m7 · · Score: 1

      pxe network functionality is independent of OS drivers - it's bios level. So if your linux kernel module for your card isn't loading for some reason, a pxe boot will still be able to fetch the "sane" image provided that the cabling or card itself isn't physically malfunctioning.

      --
      This comment is fully compliant with RFC 527.
    3. Re:Try this by Anonymous Coward · · Score: 0

      Uh... you wanna read that again?

    4. Re:Try this by rootofevil · · Score: 1

      say, for example, the cable is bad, or the card needs to be powercycled for some reason. where is your PXE god now? also, youve just ruined a perfectly good grub boot sector (not that its terribly hard to replace, but youve done it without needing to).

      --
      turn up the jukebox and tell me a lie
    5. Re:Try this by s4m7 · · Score: 1

      I don't use pxe, I don't like pxe, i was just pointing out the error in the parent's reasoning. but a bad cable needs the cable replaced: if pxe doesn't pull a valid image it won't reinstall. and your card shouldn't need powercycled since the whole machine just powercycled otherwise the BOOT-TIME pxe wouldn't have activated. as for overwriting grub... what? go read about how pxe works before you start spouting.

      --
      This comment is fully compliant with RFC 527.
  10. USB device card by Anonymous Coward · · Score: 0

    You can try to get a USB device card, configure kernel to act as serial-over-USB, and set mingetty or something to allow login on this tty port. But it won't display anything until kernel boots.

    Also you could get a usb-rs232 converter and attach it to server's COM port. It perhaps has one or two...

  11. Serial header on the motherboard by blakeyez · · Score: 5, Interesting

    As many others have mentioned, the serial console is the way to go. Even if there's no DB9/DB25 serial port out the back, there's likely at least one serial port header on the motherboard. The header/pinout is generally standard, so go digging in that 'really old parts' box that we all have and see if you can dig up a DB9 port mounted on a plate to mount where a card would normally go. It will have a ribbon cable to attach it to the motherboard...

    1. Re:Serial header on the motherboard by SgtChaireBourne · · Score: 3, Informative

      As many others have mentioned, the serial console is the way to go. Even if there's no DB9/DB25 serial port out the back, there's likely at least one serial port header on the motherboard. The header/pinout is generally standard, so go digging in that 'really old parts' box that we all have and see if you can dig up a DB9 port mounted on a plate to mount where a card would normally go. It will have a ribbon cable to attach it to the motherboard...

      Very good point. The cables are easy to find, too: e.g. http://www.pccables.com/07120.htm (That's a random cable picture and not an endorsement of the company. YMMV, Caveat Emptor, etc.)

      --
      Beta is broken and the link to classic doesn't work. Stop wasting our time or there won't be anybody left here.
    2. Re:Serial header on the motherboard by Anonymous Coward · · Score: 0

      Be aware that there are two different pinouts for the serial port header.
      The first is for cable wired as in the parent-linked figure.
      The second is for mass-terminated cable.

    3. Re:Serial header on the motherboard by short · · Score: 1

      There are really _three_ different pinouts, all the possibilities have been exercised. :-)

  12. Real Weasel by Anonymous Coward · · Score: 0

    Intro

    PCI version exists, idea is that it emulates a VGA card and passes it via the serial.
    Keyboard & Video supported through the card.
    They have a demo to play with (or at least they did at one point).

    The only major thing I can see against it: $350 for the PCI version. ($250 for ISA) on their order page (and the cert @ the order page seems to have expired)

    1. Re:Real Weasel by orangesquid · · Score: 1

      I have a weasel. It rocks and does what you would expect. Anything you can do with a keyboard and monitor (unless the BIOS puts the machine into non-text mode on startup with no option for non-graphics all just to print a bullshit logo, which some do...) can be done via serial connection. Just get an old 25mhz sparc sun box or something to connect to the serial port, and you instantly have another network node that lets you screw with the bios.

      (The question is, how did PCs become servers without this kind of functionality already??? ... I'm sure you've seen the datacenters where people walk around with fancy tablets to plug into PC 'servers' just to reboot them .... efficient?!?!?!)

      --
      --TheOrangeSquid Is it any wonder things seem so awry? We swim in a sea of confusion and don't have to think to survive
    2. Re:Real Weasel by IceFreak2000 · · Score: 1

      Thanks for posting that link dude - I never knew anything like this existed; now I know it does, I'm ordering one!

      --
      Life is like a sewer; what you get out of it depends on what you put into it...
    3. Re:Real Weasel by mysidia · · Score: 1

      No I haven't... What are those fancy tablets called, where can I find one? I can think of some nice uses for an integrated device with a portable monitor+keyboard...

      scary... OOB management should be standard minimal requirements on servers; no important server should ever be deployed without it, much like no really important server should be deployed without backups or with just 1 mechanical hard drive instead of a RAID array..

  13. You can still buy SP add-in cards by Anonymous Coward · · Score: 2, Interesting

    They ARE still available, and for as little as $15. USB/serial port adapters do work for outgoing connections from a laptop or PC, but you will probably need an adapter card for the 'server' if it does not have a serial port.

    1. Re:You can still buy SP add-in cards by HTMLSpinnr · · Score: 1

      Can this be addressed by the BIOS/GRUB/kernel at boot time?

      --
      $ man woman *
      -bash: /usr/bin/man: Argument list too long
  14. USB Monitors by Anonymous Coward · · Score: 1

    There are a variety of 7" size USB monitors available now, can't remember the company who makes them...Would be perfect for running shell only.

    1. Re:USB Monitors by flyingfsck · · Score: 1

      It is funny that you say that. My terminal is an EeePC 701 with a USB_Serial adaptor and Cutecom.

      --
      Excuse me, but please get off my Pennisetum Clandestinum, eh!
    2. Re:USB Monitors by Jerry+Smith · · Score: 1

      There are a variety of 7" size USB monitors available now, can't remember the company who makes them...Would be perfect for running shell only.

      http://www.hetmag.nl/nieuws/gadgets/953-mimo-usb-displays sells them, 'cute' displays but not quite functional (yes i want one).

      --
      All those moments will be lost in time, like tears in rain. Time to die.
  15. Serial or custom hardware only, I'm afraid by Enleth · · Score: 1

    Either you use a serial console or buy special, expensive hardware that emulates the video card and keyboard. Well, if you're lucky, you can get some used remote administration cards relatively cheap off eBay, but they might require at least some cooperation from the mainboard, or be designed for some particular type of server hardware and might not work with what you have.

    As for PCs without a serial port, you could try a USB to serial converter. I'm almost certain it won't work with the builtin kernel-level serial console mode, but should be fine with mingetty spawned from inittab (there should be a commented out example entry in your inittab, take a look), as long as the relevant kernel modules get loaded early enough - so just compile them in to be sure. When looking for the converter itself, try to get one based on an FT232 or Prolific PL2303 chip.

    --
    This is Slashdot. Common sense is futile. You will be modded down.
  16. KVM over IP by fishthegeek · · Score: 3, Interesting

    KVM over IP might be what you're looking for.

    KVM over IP Network Card

    I've never done business with this company. I just googled and took the first link.

    --
    load "$",8,1
    1. Re:KVM over IP by DigiShaman · · Score: 1

      That card is also $500, which is (most likely) more than the value of the computer. Kind of important if you plan on building a "cheap" headless server.

      --
      Life is not for the lazy.
    2. Re:KVM over IP by antifoidulus · · Score: 1

      Um, wouldn't you still need a video card for that? After all, the KVM isn't acting as a video card, is it? From the site:

      WAN LAN Multifunction breakout cable port (connects to system Video, USB, Keyboard, Mouse & Video) External Power Adapter

    3. Re:KVM over IP by fishthegeek · · Score: 1

      I agree it's expensive but there's no reason to think one (or one like it) couldn't be found on ebay or other place.

      --
      load "$",8,1
    4. Re:KVM over IP by elsJake · · Score: 1

      Here's a cheaper ($200 + shipping) and open source design/ software implementation. http://www.opengear.com/product-okvmpci.html Found them by searching for an open source kvm over ip implementation. http://okvm.sourceforge.net/kvmoverip.html

    5. Re:KVM over IP by Anonymous Coward · · Score: 0

      somehow I think the OP is looking for a solution that's considerably cheaper than $500.

      KVM over IP might be what you're looking for.

        KVM over IP Network Card

      I've never done business with this company. I just googled and took the first link.

    6. Re:KVM over IP by Anonymous Coward · · Score: 0

      Unfortunately, the particular card you meantioned requires a sperate video card. IT uses the PCI slot for power only, and uses a breakout cable to plug into the PS/2 keyboard port, a USB port, the serial port and the monitor port, as well as a power brick (to power the adapter when the computer is off).

      The card may use the USB port for both serial and mouse, although if there is a PS/2 port available, the bios might not support Usb keyboards.

      It would most certainly be possible to design a nearly identical device that also has simple (2d acceleration only) PCI video card support. It might even be possible to throw a USB host, in too, such that the card requires only the Ethernet Cable and perhaps an external power brick so it can use more power when the computer is off than the PCI standby power provides.

      I would not be surpised to find out that such a PCI USBhost/VideoCard/IP-KVM switch does not exist, considering that one would be relatively straightforward to design, especially since to the IP KVM subsystem it would look the same as a solution external to the PC, or using a breakout cable.

      In fact, to be honest, I would probably base such a system on the very card you showed, since it has full web configuration, a built in VNC server, and even support for emulating a floppy or cd drive plugged in via USB, to allow file transfers (for the floppy) or Software/OS installs (CD).

  17. Video card may be the least of your power worries by CSMatt · · Score: 3, Interesting

    I have no idea how much power your AGP card used, but unless it was a gaming rig in its glory days, the CPU probably absorbs most of the power, especially since you mentioned that it is a Pentium 4. I would see if there are any power-saving features in your BIOS and enable them, undervolt your processor to just the speed that you need, and get a cheap PCI video card for when problems occur. I've never used the serial port for diagnostics, but I don't think it will help much if you ever run into a situation where your system won't boot.

  18. There is a very simple solution ... by Zero__Kelvin · · Score: 1

    Put the card back in, get everything working and set up to boot to runlevel3 (networking, no GUI), and then remove the card. After that you can SSH in to your hearts content. Why jump through a hoop of fire when you can more easily walk around it?

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    1. Re:There is a very simple solution ... by Anonymous Coward · · Score: 0

      I think the OP is looking for a solution in the case where networking has failed...

    2. Re:There is a very simple solution ... by Zero__Kelvin · · Score: 1

      "I think the OP is looking for a solution in the case where networking has failed..."

      Well then, it's a damn good thing that I offered up the simplest solution then ! (What part of my advice requires a network to work?)

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    3. Re:There is a very simple solution ... by Anonymous Coward · · Score: 0

      "I think the OP is looking for a solution in the case where networking has failed..."

      Well then, it's a damn good thing that I offered up the simplest solution then ! (What part of my advice requires a network to work?)

      How does your advice solve the problem? You told the questioner to setup the computer the way that he was going to set it up in the first place.

  19. Live CD? by Zocalo · · Score: 1

    How about having a tested Live CD or other recovery disk that will boot the machine and get it on the network? If the machine ever fails to boot due to a local config problem, then you can boot off the CD, log in remotely and then manually mount the local partitions in order to fix problems.

    --
    UNIX? They're not even circumcised! Savages!
    1. Re:Live CD? by Anonymous Coward · · Score: 0

      If you're insisting on no video card, this is probably the best idea. Since the machine is most likely to not come up when you've done something to screw up the boot loader, or a power failure occurs and fdisk fails to run automagically, booting from CD will bypass the immediate problem and let you check the logs to figure out what is wrong.

      However, as others have said, put a cheap pci video card in the thing. Video cards don't draw that much power when they are displaying a static text-mode only screen, and the convenience of having a card when you need it will outweigh any savings in power that it brings. (Because, as also has been said, if your that power conscious, then you should be getting a new atom based machine instead of using the old P4)

    2. Re:Live CD? by RiotingPacifist · · Score: 1

      what CD do you recommend? Are there any good (reliability is worth more than features) CDs that come with sshd running by default?, I use a basic slaxCD with remote ssh (need to select that "module"), but it takes a while for all the menus to autoselect as it is designed for use by a person.

      --
      IranAir Flight 655 never forget!
  20. serial connection by fermion · · Score: 1

    If you had rs-232 ports on both machines, a calbee and a null modem will establish a physical connection that can be read by any number of programs. I wonder if the same could be done with bluetooth if an adaptor canb be f found for the older machine.

    --
    "She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
  21. iLO by Crudely_Indecent · · Score: 2

    Have a look on ebay for a compaq iLo PCI card. This is a network-attached video card (also providing keyboard and mouse) allowing an administrator to get an actual screen (like VNC) over a network connection.

    You'll have access to bios as well!

    --


    "Lame" - Galaxar
    1. Re:iLO by Slashcrap · · Score: 2, Informative

      Have a look on ebay for a compaq iLo PCI card. This is a network-attached video card (also providing keyboard and mouse) allowing an administrator to get an actual screen (like VNC) over a network connection.

      You'll have access to bios as well!

      This would be a good idea if the machine was an HP server and literally the worst fucking idea I've ever heard if it isn't. An iLO card will work in certain HP servers, an RSA card will work in certain IBM servers and a DRAC card will work in certain Dell servers. A generic card which will work in anything does not exist. These things aren't generic peripherals.

  22. Serial by Anonymous Coward · · Score: 0

    Aeons ago I built myself a small ISA card with just a 2K EPROM on it that redirected video BIOS calls to an ANSI terminal over serial port. It also stuffed received keys in the BIOS ring buffer. A speed of 38400 allowed a smooth transition BIOS -> LILO (no GRUB at that time) -> Linux console.

    These days it may be possible to use a network card with a boot ROM socket.

    Some mobos worked with this card to change CMOS settings because they used BIOS calls to display the menus. Newer ones seem too colorful and flashy to not require direct video memory access and some also have mouse support that would be difficult and slow to support over BIOS calls.

  23. Didn't find a good solution by gweihir · · Score: 3, Interesting

    I have been doing something similar for half a decade now, in a firewall/storage/NAT server running Debian stable. I found that the only really critical operation is changing the kernel, and for that I have a vido card handy (by now I use a low-power board with integrated graphics). For other things, including updates, I just cross my fingers.

    The options that are there to do without the spare video card are basically IPMI (expensive, needs special mainboard), virtualisation and a serial console + remote reset capability. A serial console needs for your kernel to come up, and in fairness, also needs remote reset capability. It also needs a second computer to connect the serial line to. I used that for a test machine in a computer cluster with good results for several years.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    1. Re:Didn't find a good solution by evilviper · · Score: 1

      A serial console needs for your kernel to come up,

      That's horrendously idiotic.

      You don't configure the kernel for a serial console, you CONFIGURE THE BOOT LOADER for it:

      http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-boot-loader.html

      It also needs a second computer to connect the serial line to.

      Yes, and managing the system over the network needs a second computer to make the connection as well... What's your point?

      With serial-port management, you can have a single PC connecting to an unlimited number of headless machines. On the low-end, a few USB-Serial adapters can give even a low-end PC dozens of serial ports these days. A bit higher-end are console servers (which you telnet/ssh into), or serial port muxes (which give a machine dozens, if not hundreds of REAL serial ports to use).

      I have been doing something similar for half a decade now

      How very sad that in all those years you couldn't spend a couple minutes searching the web, or asking anyone who knows ANYTHING about the subject. Either one of which would have quickly resolved your problem. This is beginner stuff.

      I must suggest you refrain from giving advice to anyone, ever again, since you apparently speak authoritatively on subjects you know next to NOTHING about...

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    2. Re:Didn't find a good solution by Anonymous Coward · · Score: 0

      actually you can configer grub to comeup on the serial console plus the kernel can also startup on the console. Look up how to do this, of course unless you are lucky enough to have serial enabled BIOS then you may need a video card to alter your BIOS settings. Best bet is to leave auto detect harddrives on.

    3. Re:Didn't find a good solution by mysidia · · Score: 1

      You don't configure the kernel for a serial console, you CONFIGURE THE BOOT LOADER for it:

      Actually, you need to configure 3 (or 4) things for it:

      1. (if available) BIOS for console redirection, so you can change BIOS settings.
      2. Boot loader, so you can change boot loader settings.
      3. Kernel so you can get kernel boot and error messages on the console.
      4. You need to setup a Getty in /etc/inittab, so you can actually log in on the console port and run commands, if the system is booting up successfully.
    4. Re:Didn't find a good solution by gweihir · · Score: 1

      Bad day?

      And what ever will going serial into the bootloader help you if you do not have a working kernel on the target? The solution I used was loading the kernel over TFTP, but that requires a fileserver and is not an option for the OP.

      As to serial, my point is that you need a second computer RIGHT BESIDES the first one. If you do not get that point, you have obviously never done this. And you seem to completely forget that this is about a low-low-cost solution, as the OP wants to reuse its P4 computer.

      Incidentially, I know very well what I am talking about, but you seem to not to, or at least to not have read the original article. Otherwise you would have noticed that a second computer, remote serial over the net, etc. are all not an option here due to cost.

      In adition to your poor attention to detail, you also seem to have emotional control issues and I advise you to seek professional help.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    5. Re:Didn't find a good solution by evilviper · · Score: 1

      And what ever will going serial into the bootloader help you if you do not have a working kernel on the target?

      You can select a different (non-default) kernel to boot. If you've intentionally deleted your previously-working kernel, you're an idiot, and beyond help.

      you need a second computer RIGHT BESIDES the first one.

      I have RS-232 going well in excess of 100' on a regular basis. I'm not sure exactly what the practical maximum is, but I haven't run into it yet.

      And you seem to completely forget that this is about a low-low-cost solution, as the OP wants to reuse its P4 computer.

      A conserver can be had for under $100.

      In adition to your poor attention to detail, you also seem to have emotional control issues and I advise you to seek professional help.

      I assume EVERYONE who ever points out your mistakes has "emotional control issues," right?

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  24. PXE by ei4anb · · Score: 1
    If the headless box fails to boot due to a problem with the filesystem then it often helps to have a PXE boot image ready on your DHCP server http://en.wikipedia.org/wiki/Preboot_Execution_Environment that you can use to boot the box. Some BIOS try a PXE boot if they fail to boot from disk or disc but you may have to press some key to start the PXE boot so try it once before you pull the video card (recursive advice, sorry).

    Use a live CD distro (I use Damn Small Linux) as a starting point for building the boot image but most do not allow you to SSH in so you will have to customise the image a little to ensure that sshd is running and that you have an account that you can ssh login to that has sudo/su access.

    You should be able to figure out where your BIOS parameters are stored in the battery backed CMOS RAM and make a backup that you can later restore via the PXE booted image if your BIOS settings get lost.

  25. Wow, serial console kiddos. by jsimon12 · · Score: 1

    I have to say I am surprised that the whole concept of serial consoles, serial cards and what not are completely lost on the Windows generation.

    Here are the kernel configs for using a serial dongle (costs around 5 bucks) on a USB port for as a serial console.

    If you don't want to do that buy a serial port on a PCI card (costs around 10 bucks) or just buy a cheap watchdog card (most expensive least work since it emulates vga over serial).

    1. Re:Wow, serial console kiddos. by rainmaestro · · Score: 1

      Doesn't surprise me too much. I'd never used a serial port (I'm 25) until my current job as a network admin and had to deal with some Sun servers with no vid cards (and a stuffed switch that wouldn't accept connections through the web console).

      Hell, between the 6 machines in my home office and the 5 in my work office (not counting all the gear in the server room, of course), there is not a *single* serial port to be found. Unless you're managing "real" servers or networking gear, serial ports are seldom seen anymore.

    2. Re:Wow, serial console kiddos. by Marcos+Eliziario · · Score: 1

      Hum...
      How do you think people debug the kernel with windows?

      Of course the public that have to debug the windows kernel over a serial connection is the same demographics that need to debug the linux kernel (device driver authors)

      --
      Your ad could be here!
    3. Re:Wow, serial console kiddos. by Anonymous Coward · · Score: 0

      Heh, I grew up on an consulting engineer's corporate leftovers (23yo) - I was puzzled the first time I saw a computer that wasn't a Mac without a serial port.

  26. Have you considered an old, low power vga card? by popo · · Score: 1

    Tossing your AGP card makes sense, but have you considered throwing in an absolutely minimal ISA VGA card?

    e.g: http://www.cablesonline.net/25isavgavidc.html

    The power requirements would be minimal, and you could run a few similar boxes through a monitor-switch so you wouldn't even need a dedicated monitor....

    --
    ------ The best brain training is now totally free : )
    1. Re:Have you considered an old, low power vga card? by larien · · Score: 1

      Urm, ISA hasn't been provided on PCs for ages - it would need to be a PCI card, surely? That said, the effect is largely the same, find the most minimal graphics card you can and slot it in.

    2. Re:Have you considered an old, low power vga card? by Anonymous Coward · · Score: 0

      The last computer I had with an ISA slot was a amd k6-2 400 and my wife had a celeron 466mhz. (p2 era) Why not use VLB why your at it on that beefy 486.

  27. Or shut it down. by AndGodSed · · Score: 2, Funny

    True story - I was working late one night and was busy shutting down everything in my office before going home. One by one I closed terminals on my laptop until typing 'shutdown now' in the last one.

    I was still packing stuff and reached over to put my laptop in my bag and blinked at the terminal message 'connection to servername lost.'

    With horror I realised that I had shut down our main mailserver! I had forgotten that I was still in an SSH session after reading through exim logfiles trying to find a missing e-mail that a client had insisted was stuck in our server.

    This machine is an hour's drive from the office, and the support techs at the IDC took almost 30minutes to get up from their desks and walk down the corridor to push the power button. Talk about service. It is literally a five minute job!

    When I phoned my colleague who was responsible for the server I said "Guess what I just did!?"

    He laughed and joked "Probably shut down the mailserver?"

    When I confirmed he responded "*groan* I forgot to alias that command! Sure I aliased poweroff, but not shutdown!"

    Good Times.

    1. Re:Or shut it down. by raddan · · Score: 2, Informative

      Save yourself some pain and put something like this in your /etc/profile:

      export PS1="${USER}@`hostname -s`:\w$ "

      That particular one is for ksh; it might work for bash, too. I don't really use bash.

      You could even make the machine name flash red if you wanted to.

    2. Re:Or shut it down. by xaxa · · Score: 2, Informative

      You might be interested in molly-guard (available in Debian/Ubuntu, and presumably others):

      The package installs a shell script that overrides the existing shutdown/reboot/halt/poweroff commands and first runs a set of scripts, which all have to exit
        successfully, before molly-guard invokes the real command.

        One of the scripts checks for existing SSH sessions. If any of the four commands are called interactively over an SSH session, the shell script prompts you to enter the name of the host you wish to shut down. This should adequately prevent you from accidental shutdowns and reboots.

        This shell script passes through the commands to the respective binaries in /sbin and should thus not get in the way if called non-interactively, or locally.

      22:56:13 rock:~ > sudo shutdown -r 5
      W: molly-guard: SSH session detected!
      Please type in hostname of the machine to shutdown: box
      Good thing I asked; I won't shutdown rock ...
      W: aborting shutdown due to 30-query-hostname exiting with code 1.

      (I only have it installed on my server, so getting the question is enough to make me hit ^C. Also, my prompt is yellow on my home PC, red on my work PC, cyan on servers, and includes the hostname, so I'd need to be really tired to make a mistake.)

    3. Re:Or shut it down. by Minwee · · Score: 1

      This is why most serious servers allow you to remotely power them back up via some kind of ILO or RAC device which runs independently of the CPU or even an old SRM or ARC console which is active after the OS shuts down. If a server is worth keeping up, then it's probably worth spending a little extra for server class hardware and connecting and configuring the management port.

      If for some reason this isn't possible, there's always the option of an IP accessible power bar which lets you power cycle the server remotely. An eight plug power bar with a web interface costs less than $200, so it's hard to justify the cost benefits of letting a critical server sit around for an hour or more waiting for someone to walk up to it and push the power button.

    4. Re:Or shut it down. by David+Jao · · Score: 1

      If you install acpid on your laptop, you can shut down your laptop cleanly by pressing the power button. Once you get into the habit, it's a pretty failsafe method of guaranteeing that you shut down the right machine.

    5. Re:Or shut it down. by Anonymous Coward · · Score: 0

      Very very handy, thanks for sharing that one. Much appreciated.

  28. USB video card? by Lockblade · · Score: 1

    There are some new external video cards that don't require anything but drivers and a USB port, such as the EVGA UV Plus. AFAIK, all USB video cards use a DisplayLink chipset, and there are rudimentary drivers here. It's not a very elegant solution, but if you want to use any sort of GUI, this should work.

    1. Re:USB video card? by amRadioHed · · Score: 1

      Doesn't having drivers for this USB monitor imply having a bootable OS too? They don't seem like they would work for the bios or grub.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
  29. Boot loaders support serial comsole by pcjunky · · Score: 1

    I used to do this in lilo I tink grib supports it also. Don't know if this works with usb serial adapters.

    Dell servers have a usfull feature. Redirect bios to serial. This gives you the bios until the kernel loads. After this the kernal must do it. For serail console after boot look for the line in /etc/initab thats looks like this:

    #s1:12345:respawn:/sbin/agetty -L ttyS0 9600 vt100

    remove the #

    1. Re:Boot loaders support serial comsole by coryking · · Score: 1

      Use the VGA. It doesn't eat power. Your CPU is what is going to eat power.

      The problem is the cost to maintain old hardware is usually higher than just buying new hardware. For starters, my guess is you've got antique IDE drives in there that have seen better days. Those things draw a bit of power, but worse they are nosy. Then you've got the old power hungry CPU and all the loud fans needed to cool it. On top of that, your case is probably old enough that it too has loud fans.

      What I'm trying to say is you are better buying a new motherboard that fits into the case. Maybe get one that will take your old ram and has a legacy IDE port on it. Every one of these budget boards will have a vga port on it you can use. Better, the new CPU's and their bios will manage your fans so they are whisper quiet. I know you didn't say "has to be quiet", but for me personally, unless they are going into a data center I try to build all my machines to make zero noise.

      No matter how you slice it RS232 is a pain in the ass for an application like yours anyway. You always have to fool with the baud, the XON/XOFF crap, the parity, all that. If you get one of those never-working USB->RS232 adapters you will just add a pile of complexity. I've never had one of those work right--ever.

      Do you remember what you had that serial port to? I dont. I'd love to hear how people smarter than me manage to remember what the damn baud rate is on their gear instead of having to fool with minicom for 10 minutes to get to the console on my sun box.

    2. Re:Boot loaders support serial comsole by coryking · · Score: 1

      (and wow, I guess I replied to a comment instead of to the story... not trying to hijack you, just need my tea)

    3. Re:Boot loaders support serial comsole by dentar · · Score: 1

      > Those things draw a bit of power, but worse they are nosy.

      I once had an old IDE drive that got into my bank statements and checkbooks. It then went to the bank and withdrew some cash and headed to Mexico. It then called my mother to inform her about what I had been doing for the past few months. It even made up some stuff. Damn nosy old IDE disks!

      --
      -- I am. Therefore, I think!
    4. Re:Boot loaders support serial comsole by Jeremy+Erwin · · Score: 1

      Why is your console running at 9600 bps?

    5. Re:Boot loaders support serial comsole by Anonymous Coward · · Score: 0

      Maybe a sticker on the box indicating port settings instead of relying on memory?

  30. Useless by Anonymous Coward · · Score: 0

    There is little point in using USB since it requires that at least the kernel has started and the USB devices can be detected.

    Usually if you get to that point the system is OK.

  31. Two suggestions by ctrl-alt-canc · · Score: 1

    Some years ago I added a device like this to a BSD box that I used as a NFS server in my home network. There are several projects like this available in internet using different microcontrollers. Simply map the terminal push buttons to perform some useful commands (like starting a safe reboot script), and you have an emergency exit for your box. You might also try this: start a VNC server on your box at boot time, and set up as well a network connection using either the serial port or better a USB port (using usbnet). This should allow you to access the system X display through USB/serial. I am afraid however that there is not an easy solution for accessing remotely the BIOS screen before the OS starts.

  32. I've got better advice for ya by dvh.tosomja · · Score: 0

    1. Throw it to trashbin
    2. Buy any NAS
    3. Save fortune on power consumption
    4. When it fail, you wouldn't need graphic card either

  33. Coreboot by Anonymous Coward · · Score: 1, Interesting

    http://www.coreboot.org if your motherboard is supported

  34. Get a newer PC by Anonymous Coward · · Score: 0

    I'm all for green stuff, recycling, etc, but P4's were incredibly power hungry processors. A new low power dual core will be faster while drawing draw 50% or less power than that old P4, and pay itself in less than one year thanks to lower bills. Especially if it stays up 24/7 since you wrote it would be used as a server.

    1. Re:Get a newer PC by agnosticnixie · · Score: 1

      That. I've kept two boxes running since I was a teenager and I'm 24, when I turned them off for the last time, I did a quick calculation and came to the conclusion that I could probably have run 5 years younger hardware and replace both more efficiently for half the power - and now that same box could be replaced at more power for a fifth to a tenth of the power.

  35. Recycle your computer by Bob+Esponja · · Score: 2, Interesting

    And buy one Sheeva Plug Computer http://www.marvell.com/featured/plugcomputing.jsp. I bought one and now I save about 245 W per hour. I love this wonderful machine. I have an apache/mysql/webcam, mldonkey, bittorrent, ssh, samba, print server and nfs services and run fine!

    1. Re:Recycle your computer by Anonymous Coward · · Score: 0

      245 W per hour

      That's like saying "50mph per day". (1W is 1 Joule per second.)

    2. Re:Recycle your computer by c6gunner · · Score: 0

      and now I save about 245 W per hour

      Cool! I save 250 galons per megabyte!

    3. Re:Recycle your computer by bendodge · · Score: 1

      I'm curious. How would you do an initial distro install on that? Boot from USB and use the headers to control the install? (I'm a Linux noob wanting to make a cheap RAID 1 NAS.

      --
      The government can't save you.
    4. Re:Recycle your computer by hansamurai · · Score: 2

      Sheeva dev kits have a great wiki:

      http://www.openplug.org/plugwiki/index.php/Getting_the_Plug_Computer_Running_with_an_Operating_System

      Mine's due to arrive on the 11th, can't wait.

    5. Re:Recycle your computer by Bob+Esponja · · Score: 1

      Hi: It has a boot prompt called uboot (like a BIOS). You can get this console via mini-USB serial port. It's runs after SO and you can configure many things there like boot order, partitons, tftp/bootp servers etc. I'm from Spain and I spend the sending cost because is more efficient than some PC running 24h day Regards

  36. remote head by TheSHAD0W · · Score: 1

    A related question... How much in the way of resources does it take to run a GUI app on a box when the X-server is running on another machine? I'm sure it largely depends on the app; a web browser? An IRC client? The gimp is probably right out. :-P

  37. PC Weasel by Anonymous Coward · · Score: 0

    http://www.realweasel.com/

    Love the landing page- product is kinda pricey though..

    There's even an online demo, though, it's a little touch and go sometimes.

  38. serial is your friend by OrangeTide · · Score: 1

    PCI RS232 card is highly compatible with software and inexpensive, but what P4 doesn't have at least one serial port on it?
    A cheap low-power video card could be an option (get one used, since it's an old machine).
    As for accessing BIOS, if you had a server motherboard then you'd just flip the option on in BIOS to access it over serial port(you pick the port, bitrate and the emulation mode). But given that you are asking and just pulled out some old system I'm going to guess that this option was not available to you.
    For around $350 you can get a card that has serial console output, but appears to the PC as a simple VGA card (Real Weasel), although for that price you could buy any number of other things to replace your P4.

    --
    “Common sense is not so common.” — Voltaire
  39. hardware switch the gfx card off by Anonymous Coward · · Score: 0

    build a hardware switch mounted outside the case to disable the video card.
    in case of network or other error turn off machine flick switch to re-enable and power on, after maintenance repeat to disable.

  40. If you video card is something like a GeForce 6800 by gukin · · Score: 1

    then sell it on e-bay and get an atom mobo. There are quite a few older, decent systems that need AGP video cards. nVidia has stopped supporting the older TNT and some GeForce 2 cards and the best AGP card that can be purchased is a 7300. The P4 processors were energy hungry beasts, sure you can clock a 3Ghz P4 down to 375 Mhz but it will still use more power and be slower than an Atom.

    Of course once you've got your Atom mobo then you might consider a green power supply, and a smaller case and . . . .

  41. Emergency Access Daemon by loswillios · · Score: 1

    Provides remote access to your device even if IP and firewall configuration settings are defunct http://nuwiki.openwrt.org/inbox/ead

  42. P4 != "old" by foldingstock · · Score: 1

    Since when did people start considering P4 machines "old?" I can do almost everything on my P4 desktop that I can do on my Core2Duo laptop, save for some higher-end graphics rendering. The P4 chip is not slow, by any means. P3, sure. but P4? Please. Kids today are incredibly spoiled. Get off my lawn, etc etc.

    Related to the topic, it would be trivial to configure console login via the serial port. Since this P4 is so "old," it should have a serial port. OpenBSD provides an option for serial login during the install. Many linux distributions do as well.

    1. Re:P4 != "old" by laffer1 · · Score: 1

      It appears they made P4 chips until 2008 (if you believe wikipedia), but the core architecture was out in 2006.

      http://en.wikipedia.org/wiki/Pentium_4

      So in computer terms, 3 years is a long time. You can do a lot with a P4 chip, but compared to a recent quad core or even dual core Intel or AMD chip, it's not that impressive. Think about an i7 vs a Pentium 4 2.8Ghz with HTT.

    2. Re:P4 != "old" by TeknoHog · · Score: 1

      The P4 chip is not slow, by any means. P3, sure. but P4? Please.

      That's a really unfortunate comparison. If you look at performance per watt (or MHz), the P3 runs circles around the P4. That's why the P3 was used as the basis for Pentium M, which in turn became the Core. In other words the P3 design was better to begin with, and went much further, and the P4 is 'old' in the sense of being inefficient.

      Especially in an always-on server project, you're better off with almost anything else besides the P4.

      --
      Escher was the first MC and Giger invented the HR department.
  43. My ideas by Eravnrekaree · · Score: 1

    I have often felt the need for this kind of feature. Not because i removed the video card. But because I didnt always have a monitor connected as i installed the system in a cabinet, and for purposes of remote diagnosis. There is the serial port idea but you need to plug it into another computer. Another option might be to see if any serial to ethernet solution exists, then you can login to the serial port through an ethernet connection. Some network cards have a netboot feature but i dont think this is what we are looking for. I couldnt really find any simple solution for the problem. The serial to ethernet seems interesting but i dont know if that exists. Most boot problems seem to originate with the Linux boot up process and filesystem scans but these may be rectified with the new filesystems. Once control has been passed to Linux from the BIOS, it really should be possible for linux to run some sort of ssh service to allow access even while the kernel is still booting. Maybe a solution that would require a hardware level addition is to allow BIOS settings to be modified from the OS after boot.

    1. Re:My ideas by Eravnrekaree · · Score: 1

      Probably having the SSH run while the kernel boots (at least in the very early phases, but perhaps not in later phases) may not be realistic, but filesystem mounting, where most boot time problems seem to occur, can be delayed until after the kernel is booted, as long as the system files can be accessed from the filesystem. This probably would require some kernel level features to be added and so on. So certainly at that point Linux could start an SSH to debug the filesystem problems. But, with newer filesystems, you probably shouldnt have the bootup stalled with a demand for an fsck, and with ext2 you may be able to have fsck run automatically. I have had Linux bootups stop because of demands to run fsck on the ext2 filesystems.

      With linux bootups becoming more reliable due to better filesystems, maybe it will become rarer that there are regular problems with Linux booting. Accessing the BIOS settings from Linux is a neat idea but I am sure does not probably exist.

  44. You won't like the options by kencoe · · Score: 1

    You could use any of the various server-based out-of-band management solutions, but only if your MB supports them. The trick here is that they will use more power than your AGP card, or a PCI FIFO card, and will cost FAR more than either of these other solutions. Is that really what you want?

  45. Serial, even if by USB by Anonymous Coward · · Score: 0

    Attaching a terminal to a serial port is the way to go, it's easy and effective. If your computer doesn't have a conventional serial port on it, there are USB-to-serial dongles which will create a serial port for you - I'd imagine modern Linux supports this (BSD did ~5 years ago when I used this solution for embedded installations).

  46. AMI MegaRAC or similar PCI card by yoshac · · Score: 1

    Get an AMI MegaRAC, Dell DRAC or similar. They plug into the PCI bus and provide a java console over separate ethernet. Also have hooks to power/reset the system remotely. Servers use IPMI for similar, but these PCI cards are as close as you'll get for a desktop.

  47. PCWeasel ordering problems by Futurepower(R) · · Score: 1

    As you said, when you try to order one, it says, "The security certificate presented by this website has expired or is not yet valid. "

    Very interesting, if it were $30.

    1. Re:PCWeasel ordering problems by Anonymous Coward · · Score: 0

      Sure, but send some mail to the address on the site (info@realweasel.com) and they can still sell them to you.

  48. Re:There is a very simple solution ...indeed by quist · · Score: 1

    If his intent is to 'just make it work', this is the way to go. I've built LTSP style rigs going back to the days of KDE 1.x and 486's/Pentiums; good initial set-up and ssh have served. Once the BIOS settings are solid, there is little reason to go mucking there again.

  49. Mimo USB Monitor by psyopper · · Score: 1

    http://www.mimomonitors.com/ 7" LCD, 800x480, USB monitor Pretty sure there's a Linux driver for it somewhere, too lazy to look. I'm also too lazy to see if someone else already mentioned this idea.

  50. Use the video card by Seth+Leichter · · Score: 1

    Just put the video card back in. If you're not doing 3D you won't draw much power. 2D requires a lot less juice than the 3D modes, and I expect the console mode to use a lot less than an X session.

    And there's no other way to manage the BIOS. Servers made to run headless have extra hardware to redirect BIOS access over the serial port. An old desktop can not do it.

  51. Network Console on Acid by Futurepower(R) · · Score: 1

    Network Console on Acid.

    Typical self-defeating open-source project title. *grin*

  52. Er... by ucblockhead · · Score: 1

    Why not just put the AGP card in a box next to the machine and put it back in if you ever get in a situation where it doesn't respond to SSH?

    But how much power do you really think you are saving, here? If the original card was some ass-kicker power hungry thing aimed at gamers, your best bet might be to just go spend $15 on some low-end crappy (and low power consuming) graphics card. Hell...most self respecting geeks I know have ten of those in their garage.

    --
    The cake is a pie
  53. KISS by Anonymous Coward · · Score: 0

    PCI Video card.

    If your kernal stops booting/working. Serial/USB/potatoes/onions, or anything else you want isn't going to work. (Short of expensive and useless additional hardware that you don't want).

    Put in a floppy drive, make a boot floppy with network card driver that will allow you to terminal into the machine mount your drive and fix whatever you messed up. Push the floppy in all the way and reboot to recover.

    Depending on the bios, you could also use a bootable cdrom that had you 'hit space' while the computer is booting etc (write it down on a post-it note! what to hit and when).

    No other solution will replace a local video card/keyboard.

    If your network card stops working? Well being able to shell in via TTY on a serial port won't fix it anyhow.

  54. PCI = 15 insertions only!!! by GPLHost-Thomas · · Score: 1

    Hi,

    I just wanted you to take care that, with the PCI standard, the average slot (AGP, PCI, etc.) is designed to withstand only 15 insertions minimym. That means that if you constantly plug and unplug your video board to save a bit of power, sooner or later, your connector will die.

    As for the USB, there are very inexpensive USB to serial adapters. As much as I know, these are in the very standard that was out when the first USB 1 went out, and almost (if not all) USB serial adapter will work smoothly in Linux. The only issue is that, to run this, you will need a kernel driver. So I don't think you will be able to actually see anything with it when at the grub prompt. Your only hope here might be a modified BIOS. Maybe you could look at open source BIOS replacement to do this trick, I don't know if there's even a solution here. What I know is that getty (or mingetty, depending on your distribution) WILL work with any serial adapter, including USB ones, by simply tweaking /etc/inittab. Just make sure that the USB to serial adapter module is loaded BEFORE init runs. The most easy way could be to have the driver included NOT as a module, but directly in the kernel.

    I hope that helps.

    1. Re:PCI = 15 insertions only!!! by CajunArson · · Score: 1

      Hi, original poster here. Thanks for the info, especially with the wear on PCI connectors which I was not actually aware of. I'm hopefully in a situation which will not require me to plug-unplug stuff often (if at all). From what I've seen, you are right with the USB serial adapters, since they do work but you don't actually get to see the GRUB menu due to the extra kernel drivers needed.

      I actually wrote my question for situations where my "experimentation" leads to an OS configuration that's broken and requires me to jump in starting at the GRUB menu to start fixing things. That's my main problem with the USB-TTY solution, but thanks for the info.

      --
      AntiFA: An abbreviation for Anti First Amendment.
    2. Re:PCI = 15 insertions only!!! by mysidia · · Score: 1

      No.. PCI edge connectors have a minimum durability of 50 mating cycles....

      Most of the ones in actual use will survive over 100, some over 500.

      However, this number goes down considerably as the connectors age. Corrosion can significantly reduce the durability of the connector.

      If your board is 5 years old, the connector may fail after 4 or 5 cycles. The connector ratings apply primarily to hardware that is less than a year old.

  55. Blind? by gmuslera · · Score: 1

    Having no screen could be seen as analogous of being blind (ok, you can see the keyboard) Maybe some of the existing solutions for blind people in linux could do the work. Else you could get creative with the speaker and the command prompt (i.e. 2 beeps if last command returned non-zero :)

  56. Two NICs by dentar · · Score: 1

    Slap a 2nd NIC into the box and hard code the IP address to a private network and slap a loopback connector onto it so it's hot and will come up. Then if the "real" network goes down, you can jack up to the old nic and ssh in.

    --
    -- I am. Therefore, I think!
  57. Serial Ports are still on Motherboards by MSDos-486 · · Score: 1

    Even though a machine may not have Serial ports on the mother board it could still have them. Most motherboards will have a connector to plug in a serial port interface. You just need to get a interface for it, they are pretty easy to find. No PCI card needed.

  58. So 90's... by Anonymous Coward · · Score: 0

    First off, most machines won't boot without a video card -- you get the repeating three beeps, and that's it. The reason is that you can't set the bios without video. So that's two out of three requirements shot in the head.

    But why spend 15 or even 12 watts on something so ancient as a soekris or VIA or Atom? My PogoPlug (or Sheevaplug) runs Fedora or Debian at 1.2GHz at FOUR watts, and costs $99 new. Runs NFS, Samba, whatever.

    Take that old P4 and put it where it belongs: In an Indonesian toxic waste dump, where people are mutating third eyes.

  59. Replace the MB by MrFrank · · Score: 1

    If the point is to re-use the old P4, then get a low power PCI video card. If the point is to have a low power server to play with, get something like this: http://www.mwave.com/mwave/skusearch_v3.asp?scriteria=BA25456. Can be found else were, not giving props to MWave. Or if a dual core system is wanted, get this one: http://www.newegg.com/Product/Product.aspx?Item=N82E16856167037.

    Just need to add memory (SO-DIMM DDR2) and a HD. I went with the first as the single core Atom uses about 3.5 watts less than the dual core. I also went with two WD "green" HDs. It should pull about 50 watts when up and running.

    1. Re:Replace the MB by MrFrank · · Score: 1

      Sorry, I had a different train of thought when writing the title. Should now read "what is the end goal, reuse old equipment or low power server".

  60. Headless network servers by Bromskloss · · Score: 1

    network servers designed to run headless

    So, how would one access one of these?

    --
    Swedish plasma phys. PhD student; MSc EE; knows maths, programming, electronics; finance interest; seeks opportunities
    1. Re:Headless network servers by Clover_Kicker · · Score: 1

      ssh, or RS232 in a pinch.

  61. KVM over IP by Anonymous Coward · · Score: 0

    Similar price to the PC Weasel, single-port KVM over IP:

    http://www.lantronix.com/it-management/kvm-over-ip/securelinx-spider.html

  62. RTFLDP by itomato · · Score: 5, Informative
    From the Remote Serial Console HOWTO http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-boot-loader-grub.html
    GRUB:

    Define the serial port and configure GRUB to use the serial port, as shown in Figure 4-6. Figure 4-6. GRUB configuration for serial console

    serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
    terminal serial

    --unit is the number of the serial port, counting from zero, unit 0 being COM1. Note that the values of --parity are spelt out in full: no, even and odd. The common abbreviations n, e and o are not accepted. If there is mysteriously no output on the serial port then suspect a syntax error in the serial or terminal commands. If you also want to use and attached monitor and keyboard as well as the serial port to control the GRUB boot loader then use the alternative configuration in Figure 4-7.

    Kernel:

    The Linux kernel is configured to select the console by passing it the console parameter. The console parameter can be given repeatedly, but the parameter can only be given once for each console technology. So console=tty0 console=lp0 console=ttyS0 is acceptable but console=ttyS0 console=ttyS1 will not work. When multiple consoles are listed output is sent to all consoles and input is taken from the last listed console. The last console is the one Linux uses as the /dev/console device. The syntax of the console parameter is given in Figure 5-1. Figure 5-1. Kernel console syntax, in EBNF

    console=ttyS<serial_port>[,<mode>]
    console=tty<virtual_terminal>
    console=lp<parallel_port>
    console=ttyUSB[<usb_port>[,<mode>]

    Quite a bit more info at tdlp.org..

    1. Re:RTFLDP by CajunArson · · Score: 2, Interesting

      Hi, original question-poster here. Thanks for the information, but I was wondering if GRUB would work over a USB serial console as well. I've heard that serial console support works fine after the kernel is up and the USB drivers are in place, but can GRUB run over a USB serial adapter as well?

      --
      AntiFA: An abbreviation for Anti First Amendment.
    2. Re:RTFLDP by PhireN · · Score: 1
      No, a USB to serial adapter requires USB drivers, which grub just doesn't have.
      Other options include:
      • Installing a separate copy of linux as the a 2nd option in grub. GRUB can be configured to change its default boot option before booting. Then configure your first linux copy to set the grub default back to its self after networking is up and running.
      • Enable network booting in your bios, and configure another computer to act as a BOOTP server to serve a copy of grub and a configuration file.
      • Some motherboards which might not have a serial port on the backpane will still have a serial port header on the motherboard. Its just a matter of getting an adapter.
    3. Re:RTFLDP by itomato · · Score: 1

      I quess it depends on your machine and your grub version.

      http://www.gnu.org/software/grub/manual/grub.html#Serial-terminal

      Here's an interesting tidbit on the subject: http://www.advogato.org/person/pedro/diary/64.html

      However, grub does not understand USB *anyway*, so unless you are lucky enough to have a BIOS which supports USB serial ports as native devices (like it does for keyboards and mice), your USB dongle will not allow you to control your bootloader. Period. This is because making a USB serial port work requires a functional USB subsystem, which is more than a bootloader is supposed to handle. As of now, it's not clear if or when grub will support USB. So laptops are screwed.

      But a desktop machine can us a PCI card, right? You'd like to think that, wouldn't you? Unfortunately, grub only knows the standard IO ports (memory addresses and IRQs) for COM 1-4 (units 0-3 in grub parlance) -- which means if your PCI serial card appears at a different address, grub will not be able to use it. There is code in the pipe for PCI expansion serial ports in grub, but I'm not sure of its status. It doesn't work in my Hardy Heron Ubuntu, although I'm hopeful that this will work reliably in the future. (If so, then PCI cards could be a good solution for "desktop" PCs.)

  63. You mean like this? by Jim+Efaw · · Score: 1

    In the late 1990s, I worked at an ISP that had at least a third of the market in a metro of about 200,000 people. I wanted to clear the virtual IP aliases (eth0:1, eth0:2, eth0:3...) on the main DNS/mail/web server, so I could run a script to renumber them cleanly with the next command. By remote, from home, on a Friday night:

    for a in {,1,2}{0,1,2,3,4,5,6,7,8,9}; do ifconfig eth$a down; done

    "Wow, that's lagging. I wonder what's burning cycles. Uh, wow, I can't even get an echo back..."

  64. Make sure you clean it up before use! by hilather · · Score: 1

    I remember a few years ago I found one of my old P3 computers hiding in a basement and turned it into a network storage / linux router. I would off load time intensive stuff to it so my desktop wouldn't be as bogged down while I was gaming. Well, one day I was SSH'd into it and it was going really slow, and then it stopped responding all together. So I went to my basement to investigate.... It turned out the reason it wasn't responding was that the old power supply on the P3 had caught fire. Nothing too serious, I could only see the smoke coming out of it. I just unplugged everything an moved it outside to cool off. Anyways, the point is, make sure you clean it up before using it! Get all that dust and crud out before you set it up and forget about it. I suppose that probably goes left unsaid, but honestly I neglected to, so I suppose others could forget/be too lazy too.

    1. Re:Make sure you clean it up before use! by jawtheshark · · Score: 1

      That's funny... I replaced the powersupply of my mother in laws P4 this weekend. Of course, I didn't have compressed air with me to clean it so this is bound to happen soon again in the future. *sigh*

      --
      Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
  65. Headless Sun SPARCStation by Anonymous Coward · · Score: 0

    I have a Sun SPARCStation/IPX running Solaris 7. The 20" monitor died, so that is a headless system.

    1. Re:Headless Sun SPARCStation by Lennie · · Score: 1

      I have an old Sun Sparcstation 4 I don't use anymore, but I did get myself a proper monitor cable so I could connect any monitor ( with DE-15 on one end and DB13W3 on the other ). I now have a Soekris box.

      --
      New things are always on the horizon
  66. USB Serial port by TheDawgter · · Score: 1

    If the machine doesn't have a serial port, you could use a USB serial port and plug it in when necessary.

    If the network is down but the ethernet port still works you could try a crossover network cable connected to a laptop.

    Leaving out the video card is a good idea if you can, the power requirement will be reduced. If you're into hardware hacking you could add a switch to the video card power bus line and leave the card in the box.

  67. Re:If you video card is something like a GeForce 6 by Anonymous Coward · · Score: 0

    the best AGP card that can be purchased is a 7300.

    I have a 7600GS AGP in my AMD 64... and i'm sure you can get better than that but I can't remember which... IIRC its a card in the ATI HD range...

    But yeah, if the AGP card is worth something, sell it, semi-powerful AGP cards are getting harder and harder to find...

  68. Summary of issue and options by Jdodge99 · · Score: 1

    More to the point re: power savings -- can you in fact shut down most of the video? -- how much power are we talking about?
    I understand that when a high end gpu is loaded up it sucks down power like no tomorrow -- but how much does it burn at idle?
    Assuming you don't boot X, can you put the graphics card to sleep pending a keypress?

    1. Bios setup through serial console -- the great majority of motherboards do not support this -- but you might try LinuxBios (now known as coreboot) http://coreboot.org/ supports serial console.
    2. A number of non-server Asus "enthusiast" boards do support remote/serial console I believe the A7N8-X did, and a few others - check, you might get lucky.
    2. Serial support -- most medium old desktops kept a single serial port on the motherboard -- many systems didn't pin these out -- but check your manual and scrounge for old serial header to d-sub slot fillers.
    3. People mentioning laptops re: lack of serial ports -- this is a discussion about headless desktops -- keep your mind on the problem and solutions and stop spitballing -- laptops don't go headless.
    4. If it's a desktop without serial ports put in an add in card. Hopefully a common one that the kernel and grub will both be able to see (and presumably coreboot if you go that route for bios level serial)

    I would not recommend trying to work out USB -> Serial for your console -- you'll almost certainly not be able to make it work with grub (pending some savant deciding to add PL203 support to grub)

    Again -- how much power are you saving by going absolutely headless? Did you measure? I've generally assumed load from AGP card at rest is minimal -- am I wrong?

    - Jeff Dodge

    1. Re:Summary of issue and options by Jdodge99 · · Score: 1

      Power usage:

      This guy on the silent pc forums seems to indicate he saved probably 2w, possibly 5w of power by removing his RAGE XL card. -- This is admittedly an older card -- but even if it's 5w -- at 24x7 we're looking at less than $6 per year at 12c / kwh.

      Link: http://www.silentpcreview.com/forums/viewtopic.php?p=453510&sid=c07f21d546ad78002ce04fee65b0e989

  69. Not an advert, but... by TwoScoopsOfPig · · Score: 1

    ... USB monitors exist. Small, not terribly effective for 3D rendering, but they work well for anything you'd be doing in an emergency like you described. Asus makes some, as does MIMO (and theirs are touch-capable, some with webcams). They're all run off of a single USB plug (two if your ports are underpowered) and have respectable resolutions.

    --
    #include <disclaimer.h>
    #include <beer.h>
  70. Should've used Google by guruevi · · Score: 1

    There are several ways you can do this. Since you want to get in the BIOS on boot time as well, this gets trickier than just a serial console.

    1) Re-attach a cheap video card (PCI will do)
    2) Use a networked KVM (internal or external). I have had really good experiences with the eRIC KVM switches from Raritan but there are several available, even an open source one (okvm.sf.net). There are also some external ones that are great although they are usually geared at connecting multiple machines. So depending on your future plans, you can get either.
    3) Get/have a server motherboard with IPMI (most recent (2-5 yo) rackmountable servers do have these)

    --
    Custom electronics and digital signage for your business: www.evcircuits.com
  71. USB Serial by azrider · · Score: 1

    USB to serial convertor works just fine. I use it on headless PC's and Sun Netras

    --
    And ye shall know the truth, and the truth shall make you free.
    John 8:32(King James Version)
  72. If you're running a P4... by Ant+P. · · Score: 1

    you've already lost the power battle. Just leave a video card in it.

  73. Clarify your question by CranberryKing · · Score: 1

    The beginning of your post sounds like you are talking about a specific machine of yours, then you seem to be asking about machines in general. Which is it? For your P4, the answer to the serial port question is, 'does it have a serial port?' If so, use it. Most P4s should have one. My core 2 still does. Not sure why you 'wouldn't be able to get on the network' that you built a NFS server for.. And generally, for headless servers, you set your BIOS to how you need it and forget it. What changes do you need to make continually?

    Linux is pretty solid. If you can get the box to power on you shouldn't have any problems booting up and sshd should be dutifully there waitin for ya. If your not confident the machine can boot reliably, you probably shouldn't use it for a file server.

  74. graphics over USB w/ DisplayLink for Linux by psychcf · · Score: 1

    You could always go with a DisplayLink monitor, it lets you push an image over USB. Someone did this on a router with openWRT installed: http://sven.killig.de/openwrt/slugterm_dl.html

  75. Will it pass POST? by JImbob0i0 · · Score: 2, Interesting

    It's a P4 desktop.... so presumably it isn't designed for headless use on the mobo/BIOS behaviour.... Haven't seen this mentioned yet - but part of the POST sequence is initialising video and most boards will fail POST with no video interface... even if it was an old ISA/PCI card... which pretty much makes all this moot.

    1. Re:Will it pass POST? by Psyborgue · · Score: 1

      I'm surprised this wasn't mentioned. Anybody who's ever had a video card fail or tried to start a desktop without it should know that.

    2. Re:Will it pass POST? by Anonymous Coward · · Score: 0

      If you clowns would read the article, you would see he clearly made it past this, as he states that everything IS CURRENTLY WORKING as long as the machine boots up far enough to get ssh accessible. It is clearly one of those motherboards that allows you to set the BIOS not to stop on that error.

      Don't people like you ever worry, that one day you will be being considered for a job or promotion, and some boss will google your usernames and see all your half-baked and ill-informed posts, and just decide "this fellow has nothing of importance to contribute to my orgranization" ?

      As Tom Sawyer told Huck Finn, "if I were that stupid, I wouldn't let on". If you are going to post random stupid crap, follow my example -- go AC.

    3. Re:Will it pass POST? by xaxa · · Score: 1

      My server is an old AMD something (similar age to a P4), and the BIOS has an option "Halt on: All errors / All but keyboard / All but monitor / All but keyboard or monitor / Nothing". It controls the "Keyboard error: press F1 to continue" message.

      It was probably a top-of-the-range desktop motherboard when purchased though.

    4. Re:Will it pass POST? by SheeEttin · · Score: 1

      Some BIOS have a "Halt on..." option. The settings are something like "no keyboard", "no video", "all errors", "all but keyboard", and "no errors". Setting it to "no errors" will cause it to not halt on a no-KB or no-video error.

  76. "Real" servers can do it by billcopc · · Score: 2, Insightful

    Many server-class machines have something called IPMI (IP Management Interface), sometimes called LOM (Lights-Out Management). It is essentially KVM over IP, but built into the motherboard, sometimes via a small add-on card.

    If you're playing around with desktop equipment, you should know that most boards will refuse to boot if a video card isn't detected. If you're trying to do this the cheap way, pop in the simplest video card you can find, hook it up to a KVM and get on with your life.

    I run a bunch of headless machines here, they're all fully-functional PCs. When something breaks, I just whip out a USB keyboard and a VGA extension cord, and deal with it. The rest of the time it's all SSH and/or serial.

    --
    -Billco, Fnarg.com
    1. Re:"Real" servers can do it by yuhong · · Score: 1

      Except that in this case, the board do work without a video card. Read the article

  77. You've still got a keyboard, right? by jonadab · · Score: 2, Interesting

    Assuming the PS/2 interface still works, you can still log in locally and work blind. It's a little slower, because you have to stop and think more about what you're doing (e.g., tab completion is a good deal less useful), but if you know what you're doing you CAN make it work. Back in the days *before* convenient networking, I used to occasionally have to work blind when a monitor was out for some reason, most commonly to copy files to a floppy disk so I could take them to another computer. Like I said, you have to stop and think, but if you know the system you *can* do it. You don't need to see the output. You can mostly predict what the output is going to be, and if you *do* need to verify some command's output for some reason you can pipe it into a very short Perl script and make it beep once for yes or twice for no, or if worst comes to worst cat the output onto a floppy disk and take it to another computer to analyze.

    HTH.HAND.

    --
    Cut that out, or I will ship you to Norilsk in a box.
    1. Re:You've still got a keyboard, right? by Rikiji7 · · Score: 1

      That's right. I've done the same sometimes, but never thought about having my scripts beeping for different return statuses!

      --
      slashwhat?
  78. Plug the Video card in when you need it by Psyborgue · · Score: 1

    Simple.

  79. What's your budget? by subreality · · Score: 1

    If you have some money to throw at it, here are a few solutions:

    THE solution, that completely solves all your problems, is to get a serial video card: http://www.realweasel.com/ It emulates a VGA card, and spews out all the text over a serial port. As long as you never go into graphics mode, it's the whole solution.... But it's kind of expensive.

    Second to that: Throw away the desktop motherboard. Buy a whitebox server motherboard (Tyan, SuperMicro, etc), and the BIOS will support serial access. ... But it's kind of expensive.

    Next option: IP-KVM adapter. There are plenty of these available that plug into a VGA port and the PS2 keyboard port, and will let you control it via VNC or similar. Works great! But it's kind of expensive.

    But personally, I think your entire premise is broken:

    old P4 that is in fine working order

    No, it's not. By pure virtue of being a P4, the performance per watt is miserable by current standards. It's fine if you just want to experiment, but if you want to actually have a server that you're running 24x7, THROW IT AWAY. I know this is hard to accept, but the fact is, you can buy either a low-power ITX motherboard with an Atom processor for around $70, which will do everything you need in a home server in under 20 watts at idle, or buy a current generation MicroATX motherboard + low end Phenom for about $150, which will draw somewhat less power and completely trounce the P4's performance.

    1. Re:What's your budget? by xaxa · · Score: 1

      By pure virtue of being a P4, the performance per watt is miserable by current standards. It's fine if you just want to experiment, but if you want to actually have a server that you're running 24x7, THROW IT AWAY. I know this is hard to accept, but the fact is, you can buy either a low-power ITX motherboard with an Atom processor for around $70, which will do everything you need in a home server in under 20 watts at idle, or buy a current generation MicroATX motherboard + low end Phenom for about $150, which will draw somewhat less power and completely trounce the P4's performance.

      Interesting thought, I hadn't realised the Atoms were so cheap.

      My home server is a 1.4GHz AMD Athlon, and I don't know how much power the whole setup consumes (it's actually in my parents' garage, as that gives me free remote backups). I wonder if the cost to manufacture a new PC would outweigh the extra power needed to run the old one? (i.e. environmental argument rather than economic one.)

    2. Re:What's your budget? by subreality · · Score: 1

      Interesting thought, I hadn't realised the Atoms were so cheap.

      Example 1.

      Lower cost, lower performance with a C3.

      They will require a power supply optimized for lower loads to reap maximum benefit.

      My home server is a 1.4GHz AMD Athlon, and I don't know how much power the whole setup consumes (it's actually in my parents' garage, as that gives me free remote backups). I wonder if the cost to manufacture a new PC would outweigh the extra power needed to run the old one? (i.e. environmental argument rather than economic one.)

      Get a Kill-A-Watt and have fun measuring all the things in your house. :) Or, if you have a multimeter that can measure AC amps, first measure the AC voltage on the line, then plug the red lead into the amp connector, select amps, and put the meter in series with one side of the power cord (please be careful with exposed 110V lines). Amps * Volts = Watts.

      Ballpark, standard desktop PCs pull 100-200 watts at idle; that's roughly 100 KW-h per month. It's a win both economically and environmentally, unless the manufacture of electronics is far worse than I know about.

    3. Re:What's your budget? by xaxa · · Score: 1

      Interesting thought, I hadn't realised the Atoms were so cheap.

      Example 1. [...]

      Wow! *Really* cheap (...in the USA). The cheapest I can find for something like this in the UK is ~£80 ($130).

      Get a Kill-A-Watt and have fun measuring all the things in your house. :)

      My parents were sent a similar thing by the electricity company, except it's wireless and monitors the consumption of the whole house. The previous (P3?) server used ~60W, but I haven't checked with the current one.

      ...please be careful with exposed 110V lines...

      Yeah... it's 230V here, and their house is old and doesn't have circuit breakers.

      If changing would save ~60W, or 0.06kW * 24h * 365 = 525kWh a year. I think they pay 15p/kWh in the day (17 hours) and 5p/kWh at night (7 hours), so that's £63 a year. Looks like I should upgrade!

  80. Self-respecting Slashdotter? by Anonymous Coward · · Score: 0

    Too lazy to google for your answers, ignoring man and saying you know all about that stuff but you ask anyway. You sound more like an Ubuntu Fanbois, First Class.

  81. Old PCI vga cards by OzFalcon · · Score: 1

    Search your local cleanups for motherboards with integrated gfx.
    Or find some really old PCI vga videos cards on cleanups.

    The key here isn't so much power usage. It's reliability.
    And you DON'T want a card that needs a fan or large heatsinks.
    A cool running old pci card (s3 trio, ati mach64 etc) is going
    to still last longer than a hot running card with or without a
    heatsink (eg nvidia 5200 etc)

    Use a cheap vga switcher to switch between multiple boxes.

    This method is best for quick local logins & maintinance.
    When your machine has a problem, you don't want to be
    rooting round with serial links etc.

  82. USB thumb drive and udev by psionski · · Score: 1

    I was in a similar situation a while ago, and maybe my experience can help you.
    My home server (P4, by the way) was running headless and I was afraid I can lock myself out (wrong iptables rule or something) or the IP address settings could get screwed up, etc. etc. I don't even have a monitor, so inserting the graphics card back in isn't an option.
    The solution was a USB thumb drive I had, and a modified udev script for mass storage, so it would execute a shell script with a particular name from the root folder of the drive. If something did get screwed up, you just open your text editor, write the commands to be executed, and save it on your flash drive. You even can redirect standard output to a file on the drive.
    It kept me safe for years, although if udev can't start, you may have a problem :)

  83. Why make it overly complicated. by johnlcallaway · · Score: 1

    Do what I did...I ran a headless Mepis file server. For the very few times I needed access it when I couldn't use SSH for some reason, I plugged a monitor and keyboard into for 10 minutes. When I bought an new LCD panel, I found that I could plug the HDMI into my desktop, and the VGA into the server and swap back and forth using the digital/analog button. So I plugged in a second keyboard and just kept it on top of the server.

    Keep your video card, and the next time you can't get to the server via the network, press the power button and let it cycle down (you did configure it that way .. right??). Then put the AGP card back in, plug a keyboard and monitor in, fix it, then take it back out again.

    Everything else sounds just way to complicated if you aren't willing/unable to use a serial port for the 1 time a year you will need to do this.

    --
    I rarely read replies, it's my opinion and if you thought about your opinion a little more, I'm OK with that.
  84. Know the BIOS by heart... by genewitch · · Score: 1

    Or cheat - take pictures of the BIOS screens and Photoshop the required key presses to get to each option. Learn what makes the bios BEEP, and make it beep if you get lost to figure out where you are. Timing is everything. Using this method you only need attach a keyboard if your boot fails. Jonadab made a good point about having the scripts beep (or play tones i suppose would work as well) - but if you manually assign an IP address to a network interface on your headless box, as long as the machine actually boots you shouldn't have a problem with getting in through SSH. Just remember that some file systems enjoy wasting time by checking themselves every X days or boots or whatever, and you'll save yourself some frustration. another thing to consider is replacing the motherboard for like $10 with one that has an on board video solution, and only dedicating 7-8 megs of system ram to it. That's how i run my "spare" servers, and i have a bunch of monitors with dual inputs to switch back and forth.

  85. beep beeeep beeeep beep (missing display card) by Anonymous Coward · · Score: 0

    You can forget everything about BIOS access, BIOS is designed to be accessed from the console, there are workarounds on IBM and HP servers (supervisor boards) but not on standard motherboards. Real UNIX boxes, like DEC Alpha systems, got "BIOS" access thru the serial ports if they got a PC like BIOS.
    You could consider a PCI display adapter (an old Matrox would be perfect).
    btw. you do know that PC motherboards are not happy with booting without an display adapter and many will just not boot ?
    I don't know if an USB port may be used as a serial console but I do know that You can buy serial adapters for the PCI bus.

  86. Re:There is a very simple solution ...indeed by mysidia · · Score: 1

    Until one day when the CMOS battery dies, and after a power outage, the system no longer boots correctly (or no longer auto-recovers from power outage).

  87. Butterfly. by refactored · · Score: 1, Offtopic

    Hmm...

    > Butterflies. What the OP needs are butterflies.
    > http://xkcd.com/378/

    XKCD doesn't seem to know emacs key chords very well. C-x M-c doesn't do anything useful....

    Curiously enough
      M-x butterfly
    does amazing physics.

    ;;;###autoload
    (defun butterfly ()
      "Use butterflies to flip the desired bit on the drive platter.
    Open hands and let the delicate wings flap once.  The disturbance
    ripples outward, changing the flow of the eddy currents in the
    upper atmosphere.  These cause momentary pockets of higher-pressure
    air to form, which act as lenses that deflect incoming cosmic rays,
    focusing them to strike the drive platter and flip the desired bit.
    You can type `M-x butterfly C-M-c' to run it.  This is a permuted
    variation of `C-x M-c M-butterfly' from url `http://xkcd.com/378/'."
      (interactive)
      (if (yes-or-no-p "Do you really want to unleash the powers of the butterfly? ")
          (progn
        (switch-to-buffer (get-buffer-create "*butterfly*"))
        (erase-buffer)
        (sit-for 0)
        (setq indent-tabs-mode nil)
        (animate-string "Amazing physics going on..."
                (/ (window-height) 2) (- (/ (window-width) 2) 12))
        (sit-for (* 5 (/ (abs (random)) (float most-positive-fixnum))))
        (message "Successfully flipped one bit!"))
        (message "Well, then go to xkcd.com!")
        (browse-url "http://xkcd.com/378/")))

    Almost more, ahh, umm, curious is the existence of...

    M-x animate-birthday-present

    I'm using a fairly recent "bleeding edge" version of emacs, so your mileage may vary substantially.

  88. NFSv4 server by Lunzo · · Score: 1

    Did anyone else read that as NSFW server, or is it just me?

  89. An entire Slashdot article... by pongo000 · · Score: 1

    ...for a question that, had the poster not been so lazy, could have had answered with a quick Google search? The descent of Slashdot quickens, and after 13 years, I'm beginning to think that Slashdot has outlived its usefulness.

  90. This guy is too cheap to just install a front panel?

    I used to program an RCA 501 using a front panel. Not even a Teletype was attached.

    http://ed-thelen.org/comp-hist/BRL61-0784.jpg

    The machine had a grand total of 40K - K, not Meg! - of actual CORE - magnetic CORE - memory! And it weighed about 20,000 pounds.

    Young whippersnappers, these days! Nobody wantsa work!

    --
    Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
  91. EASIER SOLUTION by Anonymous Coward · · Score: 0

    Windows Server 2008 Enterprise R2

  92. Real weasel by Anonymous Coward · · Score: 0

    Sadly, I think these guys have packed up shop, but this would be what you're after:

    http://www.realweasel.com/

  93. USB Serial Ports Windows Drivers by Cassini2 · · Score: 2, Informative

    Question, are the USB serial adapters properly supported in linux (or Windows) yet? The last time I tried one the drivers were crap and it wouldn't work above 1200 baud.

    In general, USB Serial under Windows is horrible. Windows XP has many USB serial ports with buggy drivers. Most devices that I tested had either data corruption issues, or simply wouldn't do high baud rates, or both. If you use the FTDI chipset based devices, then at least no data corruption occurs at high baud rates. All of the drivers that I used would fail if the USB device was disconnected while RS-232 communication was occurring, and then reconnected again. To recover, Windows XP either had to be rebooted, or the USB port reassigned to a different COM port number. A reboot for a USB driver???

    Also, many older specialty programs won't work with USB serial ports. Essentially, Microsoft slightly changed the behavior of the polled mode ReadFile/WriteFile calls, so USB serial ports behave differently than built-in serial ports. This breaks old software.

    USB serial ports under Windows for antiquated embedded / real-time applications can be a real nightmare. The only success I had at high baud rates was with the FTDI chipset and drivers. Even they, broke old software, and required a reboot if the USB device was unplugged during communications.

    And you are worried about Linux driver support? I'm pretty sure that this is one of those cases where Linux works better than Windows.

    1. Re:USB Serial Ports Windows Drivers by geekprime · · Score: 1

      Thanks,

      Under windows, you are describing exactly my experience with the usb/serial dongles which is why every laptop I have ever bought has a real hardware serial port on board.

      It's good to hear that they work under linux, I can do all my work that would require a serial connection there. It's pretty much just ftp and terminal sessions for that stuff.
      It's nice to know that if I can't get a new laptop with a serial port I'm not entirely screwed.

      Funny, it's been about 3 years since I tried one of them (under any OS), I'm surprised that the windows drivers haven't improved.
      Has anyone tried it in w7? Is it any better? I will try it with the one I have but it IS 3 years old so...

  94. old junk by demonrob · · Score: 1

    and not just repair shops, but the next cleanout is getting closer......

  95. USB Mini monitor? by Anonymous Coward · · Score: 0

    http://www.thinkgeek.com/computing/usb-gadgets/bfa3/

    USB mini monitor from think geek? Has it's own built in video card.

    1. Re:USB Mini monitor? by Lennie · · Score: 1

      Does this work with your BIOS ? I have some doubts.

      --
      New things are always on the horizon
  96. USB display dongle by NekoXP · · Score: 1
    1. Re:USB display dongle by Lennie · · Score: 1

      Again, does this work with your BIOS ? I have some doubts.

      --
      New things are always on the horizon
    2. Re:USB display dongle by NekoXP · · Score: 1

      No, but if he wants BIOS access he's fucked unless he has a server with some kind of IPMI BIOS and service processor to handle BIOS output.

  97. Pentium 4 power saving by Cato · · Score: 2, Informative

    For P4s and Celeron Prescott/Northwood using same technology, just install cpufreqd and make sure it's using the ondemand governor. cpufrequtils is also useful and doesn't clash. The actual work is done by the kernel module p4_clockmod, must be in /etc/modules.

    This makes some difference to power consumption. As for temperature, the best thing I did was to remove the old thermal paste on the CPU/cooler and apply some new Zaward paste - CPU temperature dropped by 20 degrees C (something like 30F).

  98. I do this all the time. by schnogg · · Score: 1

    I host a Virtualbox VM Running windows XP in it. Then I use RDP to connect to the VM from my MacOS workstation to run the one windows application.

    --
    i just put in /. and nothing happens - ??
  99. RIB boards by Anonymous Coward · · Score: 0

    Rib boards were designed for this exact situation. compaq makes them dont know anyone else off the top of my head that does. they were designed for servers and data centers. i believe it has an ethernet serial and one other port. you need 2 of them tho one for the unit you want to watch and the other for the unit that is watching it.do some research.

    if you want i have a couple rib cards i would throw your way for $20 for the pair plus shipping.

    if you want them reply to luciferxf @ gmail

  100. Yeah, Soekris by reiisi · · Score: 1

    Soekris

    Or even kurobox (or, if you read Japanese, here).

    And there are other such devices around that allow you to escape the x86 world.

    --
    Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
  101. power costs by reiisi · · Score: 1

    The OP indicates he's interested in saving power.

    Power costs, especially in areas like where I live, can cover the cost of a dedicated small box like the Soekris boxes, or like Buffalos boxes (see Kurobox at wikipedia) et. al. in just a year or two.

    (And, yeah, a year or two goes quickly, especially since those boxes need practically no maintenance once they're in place.)

    --
    Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
  102. Soekris is good, by reiisi · · Score: 1

    and if you're looking to escape the x86 world, there are other options, like Buffalo's Kurobox (here if you read Japanese).

    --
    Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
  103. 15cents per kwhour by lsatenstein · · Score: 0

    I think you are being ripped off at 15cents. My electricity is at 4cents per kw hour. My home is heated and cooled by electricity. We in Montreal Quebec are spoiled I guess, but with electricity in abundance, we have been encourated to move away from oil or gas heat to it Our electricity is water dam generated power. In winter any heat expended by the PC displaces the heat provided from baseboard heaters. Summer is when we are outdoors more (long hours of daylight), so the PC is used less often.

    --
    Leslie Satenstein Montreal Quebec Canada
  104. PC Weasel by Marauder2 · · Score: 2, Interesting

    The closest thing to a Consumer Desktop Remote Management card I've found is a "PC Weasel" which I saw back in 2000... http://www.realweasel.com/intro.html

    That said, the website hasn't been updated since ~2000, it's expensive, but is the closest thing to what you're asking for, "Headless BIOS access" without going with real server hardware. Personally, I'd just keep a video card in the thing and hook it to a KVM switch... It's not going to pull that much extra power.

  105. Spoiled by Sun by itomato · · Score: 1

    All recent and new Dell servers are designed to run headless.

    They actually have (gasp!) working management interfaces! You can have your head, with some keyboard and feature availability in a browser window, yes, even Firefox.

    Leverage the intelligent platform management interface with 'ipmitool' for even greater control!

    Things are actually progressing, though it has taken the better part of ten years..

    1. Re:Spoiled by Sun by fm6 · · Score: 1

      Sigh. Dude, read what I said in context. I wasn't saying that x86 servers don't support headless operation. I was shooting down Soulskill's assumption that such servers are not designed to support KVM operation.

      Incidentally, Sun servers have out-of-band management features too. And they're a lot more sophisticated than Dell's.

  106. Why remove the AGP card? by Anonymous Coward · · Score: 0

    Why remove the AGP card? Just let the card enter "sleep" mode (don't know enough about Linux to give details) and it will draw next to no power as long as the keyboard/mouse aren't in use. Most newer LCD monitors have a secondary (VGA or DVI) connector, so you don't even have to fiddle with cabling if you need to tweak BIOS settings; just switch inputs and away you go. Would work great with a KVM switch that way, too.

  107. Louis Agassiz' comments on serial cables by SgtChaireBourne · · Score: 1

    Be aware that there are two different pinouts for the serial port header. The first is for cable wired as in the parent-linked figure. The second is for mass-terminated cable.

    One of the reasons the photo has the back off of the DB-9, so you can see what the actual the pinouts are.

    To paraphrase Louis Agassiz, "Go to the catalog; take the cables into your own hands; look, and see the pinouts for yourself!"

    --
    Beta is broken and the link to classic doesn't work. Stop wasting our time or there won't be anybody left here.
  108. Low Power Server? Old Laptop by cyclomedia · · Score: 1

    My OpenLDAP + Mail server is an old HP/Compaq Laptop, it has SSH and webmin running for remote admin which suffices 99% of the time. For the other 1% it sits on a dedicated shelve under the desk so is hooked up to my main monitor, mouse and keyboard via KVM anyway. The advatage of using an old lappy is that it's already low power (12v wall wart), has a built-in uninterruptile power supply (the battery is only good for about 20 mins as it's old, but it'll survive a brown out or human tripping the mains), takes up barley any space and by removing the built in screen, keyboard, floppy and dvd drives to expose the heatsink and make lots of holes it also runs cool and quiet. Granted you can hear the hard drive spinning ... if you actually stick your head under the desk!

    --
    If you don't risk failure you don't risk success.
  109. linux?? by Anonymous Coward · · Score: 0

    I used to do the same..... then I grew up.

  110. oh ya by bekenone · · Score: 0

    bios? nope forget it. everything else is fine thru SSH (even X). your asking certain questions that have no purpose on a site like Slashdot. so hit up the forums for your Distro flavor. don't forget NFS packet sizes vary on some unix. depending on what you use, set it. try not to get spoiled and use someones pretty app, they only make you lazy. Good Luck

  111. Telnet by Anonymous Coward · · Score: 0

    Hypothetically, why can't you telnet in through the USB port, if the ethernet port isn't working?

  112. USB Video card, hub, or paravirt by snadrus · · Score: 0

    USB Video card: I'm fairly certain I saw these around once. It may simplify things, but I don't know if X is ready for random display additions.

    Crossover cable: If you're physically there, plug a laptop into the hub and connect to it. --------

    If it didn't boot though, you may be unable to use either of these. That's when having a lightweight host for a paravirtualized Linux guest sounds good for updates and restarts. TIP: most modern distros recognize they're being paravirtualized and simply work at great speed improvements over CPU virtualization.
    If you're new to this, try Virtual Machine Manager (GTK), the new Redhat web-based one, or anything else that runs atop libvirt.

    --
    Science & open-source build trust from peer review. Learn systems you can trust.