I'm writing some scripts I plan to release and it would be helpful to know when I'm running on a device with Optware as opposed to a conventional server or...
8757
oddballhero
Oct 27, 2012 10:13 am
Well, they're usually smaller.........
8758
oddballhero
Oct 27, 2012 10:15 am
They have a bunch of stuff under /opt ..........
8759
oddballhero
Oct 27, 2012 10:17 am
You can type ipkg and it will like it ................
8760
Anthony Takata
htwiz2005
Oct 27, 2012 10:51 pm
Going out on a limb, but looking for the /opt directory is typically a good way, or doing a "which ipkg" and see if it exists. ... [Non-text portions of this...
8761
Ron Guerin
ron@...
Oct 27, 2012 10:52 pm
... What is? The physical size of the unit? ;) ... So do lots of systems that aren't running Optware. ... I was thinking of testing for the existence of...
8762
Ron Guerin
ron@...
Oct 28, 2012 3:29 pm
... /opt is on everything[*]. That would only be useful as a test to see if you were running on a Unix, Linux or BSD system of some sort. That could be...
8763
oddballhero
Oct 29, 2012 4:35 am
You need to ask Brian Zhou or some of the other powers that be what ipkg and Optware's future will be. Optware seems to have spread, and people are still...
8764
Anthony Takata
htwiz2005
Oct 29, 2012 4:48 am
Oh! If all you're doing is testing for writeability, just see if you can "touch" said file. If it exists afterward, use it, otherwise use /opt :) ... [Non-text...
8765
Narendra
narendra_rat...
Nov 5, 2012 4:30 am
8766
Narendra
narendra_rat...
Nov 5, 2012 4:30 am
8767
Narendra
narendra_rat...
Nov 5, 2012 4:30 am
8768
Narendra
narendra_rat...
Nov 5, 2012 4:30 am
8769
Narendra
narendra_rat...
Nov 5, 2012 4:31 am
8770
Mike
diskcrasher
Nov 11, 2012 2:34 am
Hi, I installed this package on my NSLU2 but cannot figure out how to get the daemon to run. I don't see anything for it under init.d and I'm not even sure...
8771
Anthony Takata
htwiz2005
Nov 11, 2012 6:26 am
I'm not familiar with this package, but if it's not in init.d (since it actually sounds like a network service), you might find it in xinetd. You can always...
8772
Mike
diskcrasher
Nov 13, 2012 3:25 am
That's the problem--it39;s not running and I'm not sure how to get it running....
8773
Anthony Takata
htwiz2005
Nov 13, 2012 5:59 pm
Huh. I just downloaded it and am exploring the package structure now. It doesn't seem to have any scripts to start it. Per the man page at...
8774
oddballhero
Nov 14, 2012 12:20 am
You did not mention what you were running on you NSLU2, like SlugOS, Debian, OpenWrt, Unslung? Here is the Optware script (S70net-snmp) for my SlugOS setup....
8775
Mike
diskcrasher
Nov 14, 2012 2:26 am
I finally found the binary and was able to launch it. I then did an snmpwalk against it and there wasn't much there other than uptime. Was hoping to at least...
8776
Anthony Takata
htwiz2005
Nov 14, 2012 5:42 am
Yeah, I don't use snmp (couldn't get anything to work at all ;) ) so I don't know what to say to that. It seems like this package is version 1.0 of the most...
8777
oddballhero
Nov 14, 2012 6:40 am
I actually use net-snmp - 5.4.2.1-1 which works pretty well on the slug (available on Unslung)....
8778
Anthony Takata
htwiz2005
Nov 14, 2012 4:15 pm
Huh. Turns out I apparently have the net-snmp package installed and running as well? I used the command: snmpwalk -c public -v 1 -t 30 localhost and it spit...
I could try installing the full blown snmpd package and see what I get. Just didn't want to bog down the slug running a service that I really don't need that...
8781
Anthony Takata
htwiz2005
Nov 15, 2012 5:03 am
I would foresee that it wouldn't do too much to the system performance, unless you're querying things constantly (like, every second a full tree walk or...
8782
Mike
diskcrasher
Nov 16, 2012 7:10 pm
I haven't been able to find an answer to this simple question other than a couple posts about someone using a 1.5TB drive. Does the NSLU2 have an external...
8783
Anthony Takata
htwiz2005
Nov 16, 2012 8:07 pm
I have a 2 tb drive myself. It mostly depends on if you are going to natively format it or keep it in windows format. Performance may decrease with much higher...
8784
Mike
diskcrasher
Nov 16, 2012 11:56 pm
ext3 is fine for me. Was hoping I could just clone the existing drive over to a new (larger) one, expand the partition using parted running on a Linux box, and...
8785
Anthony Takata
htwiz2005
Nov 17, 2012 1:49 am
Yeah, that should be fine. ... [Non-text portions of this message have been removed]...