Re: NSA 325 V2 Debian Is Possible!
Addy, Oops, typos in the if statements :) But you get the idea? hdd1 and hdd2 were the old settings. Corrected commands should be: Quoteif [ -d /sys/class/leds/nsa325:green:sata1 ]; then echo...
View ArticleRe: NSA 325 V2 Debian Is Possible!
Is it possible to get USB read/write status on any of the LEDs?
View ArticleRe: NSA 325 V2 Debian Is Possible!
SomeoneOnLine Wrote: ------------------------------------------------------- > Is it possible to get USB read/write status on any > of the LEDs? Not currently. But there is an upcoming kernel...
View ArticleRe: NSA 325 V2 Debian Is Possible!
Hi bodhi, i thought about hdd <->sata .... but then i thougt when you write it, it will be correct. I'm sorry to say, it doesn't work. The leds stay dark :-(
View ArticleRe: NSA 325 V2 Debian Is Possible!
Addy, What is the output of cat /sys/class/leds/nsa325:green:sata1/trigger cat /sys/class/leds/nsa325:green:sata2/trigger And try this for testing the HDD access (if it is mounted as sdb1). See if the...
View ArticleRe: NSA 325 V2 Debian Is Possible!
Hello Bodhi, that's the output. cat /sys/class/leds/nsa325:green:sata1/trigger [none] nand-disk timer oneshot ide-disk1 ide-disk2 heartbeat gpio default-on cat...
View ArticleRe: NSA 325 V2 Debian Is Possible!
addy75, At command line: echo ide-disk1 > /sys/class/leds/nsa325:green:sata1/trigger echo ide-disk2 > /sys/class/leds/nsa325:green:sata2/trigger and try access the disk again.
View ArticleRe: NSA 325 V2 Debian Is Possible!
It works when i typ it in the cli. Putting it in rc.local doesn't work. Will it be possible (when it works) to make the led green, and red only when the drive is written on? Maybe orange when it is on...
View ArticleRe: NSA 325 V2 Debian Is Possible!
addy75, > It works when i typ it in the cli. > Putting it in rc.local doesn't work. > Well, something is wrong in your rc.local! If you post it here, I'll take a look. > Will it be...
View ArticleRe: NSA 325 V2 Debian Is Possible!
This is my rc.local if [ -d /sys/class/leds/nsa325:green:sys ]; then echo default-on > /sys/class/leds/nsa325:green:sys/trigger echo none > /sys/class/leds/nsa325:orange:sys/trigger fi if [ -d...
View ArticleRe: NSA 325 V2 Debian Is Possible!
addy75, Please post the entire content of /etc/rc.local: cat /etc/rc.local Sometime, if there were error that has stopped rc.local somewhere, then these statements could have been skipped. To see if...
View ArticleRe: NSA 325 V2 Debian Is Possible!
#!/bin/sh -e # Initialize LED Triggers if [ -d /sys/class/leds/nsa325:green:sys ]; then echo default-on > /sys/class/leds/nsa325:green:sys/trigger echo none >...
View ArticleRe: NSA 325 V2 Debian Is Possible!
> logread doesn't exist. If i try to install > busybox-rsyslogd (which i've read contains > logread) the system wants to uninstall > openmediavault.... Try logger -s -i "End of rc.local"...
View ArticleRe: NSA 325 V2 Debian Is Possible!
cat /var/log/message -> Data or directory are not existing
View ArticleRe: NSA 325 V2 Debian Is Possible!
addy75 Wrote: ------------------------------------------------------- > cat /var/log/message > -> Data or directory are not existing Do some research on OMV: where is the log file?
View ArticleRe: NSA 325 V2 Debian Is Possible!
I'm half sure that just looking at dmesg would suffice, as the error to execute some commands in rc should be logged there. Otherwise try the answer to the question here to set up a log file and then...
View ArticleRe: NSA 325 V2 Debian Is Possible!
@ bodhi I tried as discriped on the website writte. exec 2> /tmp/rc.local.log # send stderr from rc.local to a log file exec 1>&2 # send stdout to the same log file set -x # tell sh to...
View ArticleRe: NSA 325 V2 Debian Is Possible!
@addy75, Make sure the permission is correct, does it own by root? Like this -rwxr-xr-x 1 root root 1338 Sep 1 00:52 /etc/rc.local
View ArticleRe: NSA 325 V2 Debian Is Possible!
S H A M E on me :-((((( rc.local was set to -r--r--r-- 1 root root.... Sorry bodhi for wasting your time...and thank you for your help.
View ArticleRe: NSA 325 V2 Debian Is Possible!
@addy75, :)) no problem. Sometime the more experience we have, the more we tend to overlook something that trivial :))
View Article