<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>


<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>

I have a SATA drive in an ventilated external USB enclosure connected 24/7 to a NSLU2 running Debian arm (soon to be armel).&nbsp; It has the filesystem on it so it stays on all the time.&nbsp; It has<br>been up for a few months and I only reboot it after flashing the kernel. I don't forsee any problems of leaving it on all the time.<br><br>I also have an ALIX embedded firewall from Netgate with the intention of running OpenBSD on it.&nbsp; I got it configured with pfsense since I don't have a CF reader yet.&nbsp; From the pfsense webgui, I noticed that you can send Wake-on-LAN packets to machines on your network.&nbsp; I'm going to be able to turn on my fast OpenBSD testbox this way and not have to leave it running all the time.<br><br>Is it possible to send WOL packets in OpenBSD?&nbsp; If you have a similar setup, you can keep the drive in another machine with a WOL enabled NIC and use it on demand. <br><br>&gt; Date: Mon, 27 Oct 2008 18:27:44 -0800<br>&gt; From: brakeb@gmail.com<br>&gt; To: openbsd-newbies@sfobug.org<br>&gt; Subject: power down USB<br>&gt; <br>&gt; I have an ALIX box with two USB ports on it.  I plugged in an<br>&gt; external, bus powered 160 GB drive.<br>&gt; <br>&gt; Here is a scenario of what I'd like to do:<br>&gt; <br>&gt; 1. I plug in the drive, OpenBSD senses the drive in the USB hub, and I<br>&gt; can mount it.  Leave for work.<br>&gt; 2. I'm at work.  I SSH in to the server, and mount the drive.  I<br>&gt; transfer items off of it, and am done with the box.<br>&gt; 3. I realize that leaving my little bus powered drive running all the<br>&gt; time will only be detrimental, so I umount the drive, and issue a<br>&gt; command that allows me to power off the USB port/hub it is plugged<br>&gt; into, so as to save the drive.<br>&gt; 4. Later, I realize I need to put something on the portable drive, so<br>&gt; I SSH in and issue a command to power up the USB hub. OpenBSD<br>&gt; re-senses the drive, and I can re-mount it.<br>&gt; <br>&gt; Is this scenario possible with openbsd without console access, or<br>&gt; rebooting the server?  Cause, you know, it would be nice to have...<br>&gt; <br>&gt; I did read the name pages for usbhidctl(1), usbhidaction(1), uhid(4),<br>&gt; uhidev(4), and usb(4).  Nothing mentioned power control...<br>&gt; <br>&gt; Regards,<br>&gt; Bryan Brake<br>&gt; _______________________________________________<br>&gt; Openbsd-newbies mailing list<br>&gt; Openbsd-newbies@sfobug.org<br>&gt; http://mailman.theapt.org/listinfo/openbsd-newbies<br></body>
</html>