CHBMB

Community Developer
  • Posts

    10620
  • Joined

  • Days Won

    51

Everything posted by CHBMB

  1. Yep, got bwm-ng installed Used sh -xv s3.sh and watched carefully, everything was working up until the point it was supposed to go to sleep and it stated that libx86-1.1-i486-1.tgz wasn't installed. So added the line installpkg /boot/packages/libx86-1.1-i486-1.tgz to my go file and hey presto, seems to be working now. Thanks Joe. Never would have done it without your help. Neil
  2. Thanks Joe, I understand that it's not officially supported, my problem is that I've got s3 working fine, just have a problem with the script I originally posted so it never goes into s3 sleep. My server is only used for streaming so makes perfect sense for it to be asleep for large portions of the day/week. Still hoping someone could be kind enough to look at my script and advise!
  3. I agree, it would be a bad idea, especially for a beginner, especially since it has only been out for a few days. 4.7 is a MUCH better version for your production use at this time. Most of us doing the testing have 5.0b4 on a second server, one used for testing. I'm using 5.0b4 on my sole setup, BUT do have all my data backed up, so if it all went horribly wrong I can just recopy 6TB of data to a fresh array. Having said that it seems to work fine and as long as you're careful I think it's ok, oddly I'd never in a million years dream of using MS beta software in the same fashion. I'm still having a problem with permissions though in this version, the new script works fine, but if I create a directory in my cache drive although it will show up in my shares I cannot access it from two of my PCs. Rerunning the permissions script fixes the issue though. It may be the way I'm using the cache drive though and I'm not sure if I've tried copying directly to the user share which would in effect just do what I'm doing anyway automatically. I'm loving the new 5.0 UnRAID though, truly wonderful. Just got to get as sleep script working, install the final version of 5.0 when it's released and then leave well alone. Neil
  4. Montr has kindly given some input and another angle for me to try, but due to work pressures haven't yet given it a go. There is plenty of information on the forum and I've done my best to digest it as much as possible but just need some help with this last bit. I can recommend having a good read of http://lime-technology.com/forum/index.php?topic=3657.0 It certainly helps, as you can read in my first post there are essentially three different commands to get your server to go to sleep depending on what version of UnRAID you're using and whether your MB works with each one. I have had to use the s2ram method, which does work beautifully for me, however the other two methods were somewhat unreliable on my hardware causing my box to hang when resuming requiring a dirty reboot and recheck of parity afterwards.
  5. Thank you, when I have a little more time I will try your script, like the functions available in the one I already have but I think it may be useful to try a different approach and see if that works.
  6. Ooops didn't attach the s3.sh file as it wasn't allowed, now renamed it s3sh.txt and it's below EDIT: Now using 5.0b4 s3sh.txt
  7. Hi everyone, New UnRAID user here. Came from using WHS but became frustrated and fed up of my HD movies stuttering over my homeplug network so migrated to an UnRAID pro setup. Still have my WHS array so my data is safe so for that reason I am using the 5.0b3 release. Have to say I'm very very impressed. With the help of the forums here and the wiki so far I've got UnRAID up and running, installed unMENU, apcupsd, AirVideo to stream stuff to my iPhone, Bandwidth Monitor NG, iStat, UnRAID status alert sent hourly via e-mail and monthly parity check, pci utils, SMART tools and Clean Powerdown. Never thought I'd get that far as I'm a linux newbie! Now I'm having problems with S3 sleep, Can't get it working at all with the default echo -n mem >/sys/power/state command. No problems, went down the S2Ram route instead. Can telnet into my UnRAID server and use the command /boot/custom/bin/s2ram -f Which works beautifully and responds faultlessly to WOL from any of my other PCs or my iPhone. However I'm trying to use the S3.sh script that has been posted in the forums here and this is where I'm stuck. I have a number of PCs on my network but actually the only one I'm really interested in is my HTPC and don't want my server to go to sleep if it's either on or preferably if it's streaming. Most of the HTPC use is for Live TV which is all driven locally via MediaPortal and For The Record. The IP address of my UnRAID box is 192.168.1.1 and my HTPC is 192.168.1.3, I have DHCP enabled on my Router (WNDR3700) but all my PCs are on reserved IP addresses therefore essentially static. The script is residing in the boot\custom\bin\ folder and is called s3.sh and s2ram is in the same directory. I have installed libx86-1.1.10i486 and my go file includes the line /boot/custom/bin/s3.sh & #| at now + 1 minute I've attached my s3.sh file and would be most grateful if anyone who is a little more experienced at Linux than me could take a look and tell me why it's not working. (I have edited it in EditPad Lite using the Unix LF format) I have left the configuration going for over 24 hours now but my UnRAID box has a severe case of insomnia. Thanks for any help and I've also included my syslog as well (although I have just rebooted my server after turning DHCP off in my UnRAID configuration. ATB and Thanks to the UnRAID Team for such a superb piece of software. Neil syslog-2011-02-08.txt
  8. Thanks Peter, One thing that confuses me is that if I probe the HDDs then do I need to alter the lines if [ $checkHDDs = $yes ] then # probe the flash drive at your peril HDDs=$((for d in $(ls /dev/[hs]d? | grep -v "$flash"); do hdparm -C $d | grep active ; done) | wc -l) else HDDs=0 fi echo $HDDs If so how do I get round the problem of the drives being allocated different sd values each time I reboot?
  9. I can confirm that S3 is working on my server with the command Joe stated above,tested 2 times. //Peter I want to say that my suspend an waking have been working great during the last week, using this script s3_notHrHdTcpIp.sh I can't get sleep working with the new comand but then again I couldn't get it working with the old one. Finally discovered s2ram and installed it and all is working perfectly. Just need to get a script together now to automate it all. Peter is there a chance you could upload yours so I could have a look please, I'd really appreciate it if you gave me some directions on how to use it too. EDIT: Just seen your post above!!! Ignore me, sorry! ATB Neil PS. Am I the only one finding the interface with 5.0b3, especially when using unMENU, a lot more responsive.
  10. Worked great for me too, had some share problems with some of my PCs but not others, this has sorted it all out. EDIT: Created a new folder in my Movies share with my Windows 7 desktop, but was unable to access it on any of the other PCs on my network. Rerunning usr/local/sbin/newperms fixed the issue. Very much looking forward to the next beta release and eventually the stable version 5,
  11. Incidentally I'd like to congratulate Tom on all his hard work. I'm very much a Linux and UNraid newbie and have changed my server OS from WHS to UNraid about two weeks ago. Strange that I feel more than comfortable using the 5.0 beta release whereas I'd never in a million years use a MS beta, Let's face it their final releases contain enough bugs!
  12. Is S3 sleep supported in UnRaid 5, is the proc\acpi command been replaced with the cat state one? Yes, it has been replaced. To go to sleep, the following worked on my server echo -n mem >/sys/power/state Of course, I've never been able to wake it up, but I've always been able to put it to sleep. Thanks will try that at some point.
  13. Here's a screenshot of mine. But just checked and you're right there is no DFS tab on my music share.
  14. Oh Peter, Did the Windows 7 trick work for you? Was your problem the same as mine? ATB Neil
  15. This is what I've got under the APC info is UNmenu UPS Status (from /sbin/apcaccess status) APC : 001,036,1061 DATE : Wed Feb 02 16:26:49 Local time zone must be set--see zic manual page 2011 HOSTNAME : Server RELEASE : 3.14.3 VERSION : 3.14.3 (20 January 2008) slackware UPSNAME : Server CABLE : Custom Cable Smart MODEL : Back-UPS ES 700G UPSMODE : Stand Alone STARTTIME: Wed Feb 02 16:16:39 Local time zone must be set--see zic manual page 2011 STATUS : ONLINE LINEV : 236.0 Volts LOADPCT : 49.0 Percent Load Capacity BCHARGE : 100.0 Percent TIMELEFT : 12.5 Minutes MBATTCHG : 10 Percent MINTIMEL : 5 Minutes MAXTIME : 120 Seconds SENSE : Medium LOTRANS : 180.0 Volts HITRANS : 266.0 Volts ALARMDEL : Always BATTV : 13.6 Volts LASTXFER : Unacceptable line voltage changes NUMXFERS : 0 TONBATT : 0 seconds CUMONBATT: 0 seconds XOFFBATT : N/A STATFLAG : 0x07000008 Status Flag MANDATE : 2010-10-08 SERIALNO : 5B1041T28900 BATTDATE : 2000-00-00 NOMINV : 230 Volts NOMBATTV : 12.0 Volts FIRMWARE : 871.O2 .I USB FW:O2 APCMODEL : Back-UPS ES 700G END APC : Wed Feb 02 16:27:24 Local time zone must be set--see zic manual page 2011
  16. Yes, I had this problem too, has taken me ages to find out what the problem was! Finally stumbled on it more by accident than design. Navigate to your network in Windows 7, and double click on tower, you should be able to see your shares. Right click on any that aren't accessible, and select properties, then click on the DFS tab, then the clear history button. All should be fine after that. (I have no security on any of my UnRAID shares at the moment.) My question is... Is S3 sleep supported in UnRaid 5, is the proc\acpi command been replaced with the cat state one? Was trying to get S3 working in 4.7 but was having a few problems. Thought I'd try the 5 beta but now the button in UnMENU doesn't even work.