**** BEGIN LOGGING AT Wed Oct 22 02:59:57 2008 Oct 22 03:17:31 whats up guys, I have a quick question. when you df how can you save the results? Oct 22 03:17:47 and is there a way to do it automaticaly? Oct 22 03:19:58 df > Oct 22 03:20:03 so like Oct 22 03:20:20 df > /root/df-logs/log1 Oct 22 03:20:50 you can do it automatically with a cronjob Oct 22 03:20:59 and it will save as log(one) Oct 22 03:21:16 well, you would need a script to increment that number Oct 22 03:21:19 one or jk"l" Oct 22 03:21:41 letter or number? I cant tell the difference Oct 22 03:22:56 well, actually Oct 22 03:23:00 the better way to do it arthur9210 Oct 22 03:23:04 would to be maybe just append Oct 22 03:24:47 why? Oct 22 03:25:17 so like: echo `date` >> log; echo df >> log; echo >> log Oct 22 03:25:47 keep it all in one file Oct 22 03:26:05 I was wanting to have one file dflog and have it updated every few seconds. Oct 22 03:26:20 so you want to overwrite, not keeping past results? Oct 22 03:26:26 yes Oct 22 03:26:31 why? Oct 22 03:26:38 might as well just do df when you need it Oct 22 03:26:56 I want to add it to my site Oct 22 03:27:03 do it with php then Oct 22 03:27:17 err, not that good with php Oct 22 03:27:19 Oct 22 03:27:22 done Oct 22 03:27:23 . Oct 22 03:28:02 how does that work? Oct 22 03:29:19 well, actually I'm sorry Oct 22 03:29:23 that wont work because it wont print Oct 22 03:29:28 but I can give you one that will Oct 22 03:30:02 if its not to much trouble Oct 22 03:30:07 its not Oct 22 03:30:09 one sec Oct 22 03:33:15 http://ww2.jwjkp.com/code.php Oct 22 03:33:26 that will give you this: http://ww2.jwjkp.com/df.php Oct 22 03:35:31 its current every time you reload :) Oct 22 03:35:48 btw Oct 22 03:35:57 if you are wanting system info arthur9210 on your webpage Oct 22 03:36:07 try phpsysinfo Oct 22 03:36:32 http://ww2.jwjkp.com/phpsysinfo/ <--phpsysinfo running on my nslu2 Oct 22 03:36:36 that exactly what I was loking for! thanks! Oct 22 03:37:30 my php script or the phpsysinfo? Oct 22 03:38:08 both Oct 22 03:38:22 ah :) Oct 22 03:38:44 I wanted to make something that would show disk usage Oct 22 03:38:57 but this is way better! Oct 22 03:39:33 where did you get it? Or did you make it? Oct 22 03:40:11 I did not make it Oct 22 03:40:15 I did edit it a bit though Oct 22 03:40:22 here, I'll give you my version Oct 22 03:40:32 the version you get from the internet will not show it as running SlugOS Oct 22 03:40:38 since it does not know slugos even exists Oct 22 03:41:31 http://ww2.jwjkp.com/phpsysinfo.tar Oct 22 03:42:59 cool, thanks alot. This will save so much time. Oct 22 03:43:59 you did install php with lighttpd right? Oct 22 03:44:37 uh, no I did not think I would need it Oct 22 03:45:06 well, if you want to run any of that php stuff I just supplied Oct 22 03:45:08 you need it :) Oct 22 03:45:13 there is a quick howto on the wiki Oct 22 03:45:16 its pretty easy Oct 22 03:45:59 ok I'll do that in a few Oct 22 03:46:41 btw, thanks for giving me a reason to look at my phpsysinfo Oct 22 03:47:04 Np Oct 22 03:47:06 I realized by looking at that, that my swap drive was not swapped Oct 22 03:47:13 had an error in my /etc/fstab Oct 22 03:47:18 no idea how that got messed up Oct 22 03:47:29 this one? http://www.nslu2-linux.org/wiki/HowTo/DeployPHPWebAppUsingFastCGI Oct 22 03:47:32 * DrJ has been running without any swap for a while I guess Oct 22 03:47:47 yep Oct 22 03:47:50 ok Oct 22 03:48:50 all you really need to do is: opt install php php-fcgi Oct 22 03:49:07 and: opt install libstdc++ Oct 22 03:49:13 I think you may already have the second one though Oct 22 03:49:22 and then add the stuff to lighttpd.conf Oct 22 03:49:26 and restart lighttpd Oct 22 03:52:09 add the stuff at "Or lighttpd"? Oct 22 03:53:04 yep Oct 22 03:53:20 you only need to add the parts at the bottom Oct 22 03:53:29 starting with this line: fastcgi.server = ( ".php" => Oct 22 03:54:20 wait Oct 22 03:54:22 take that back Oct 22 03:54:40 at the top, you will also need to add this line: "mod_fastcgi", Oct 22 03:54:52 I dont have the file ~/test-php/lighttpd-php.conf Oct 22 03:55:01 yea Oct 22 03:55:10 yours is /opt/etc/lighttpd/lighttpd.conf Oct 22 03:55:23 one second Oct 22 03:55:26 don't change anything in that Oct 22 03:58:17 http://ww2.jwjkp.com/code.php Oct 22 03:58:19 there Oct 22 03:58:25 change it to the content of that page Oct 22 03:58:34 I edited it to meet your setup Oct 22 04:00:02 Do I just add it to the end? Oct 22 04:00:05 no Oct 22 04:00:13 replace the entire file with that Oct 22 04:00:17 thought so Oct 22 04:00:43 ok Oct 22 04:01:25 /opt/sbin/lighttpd -D -f /opt/etc/lighttpd/lighttpd.conf Oct 22 04:02:28 crap Oct 22 04:02:28 what is that for? Oct 22 04:02:31 sorry Oct 22 04:02:34 I messed up Oct 22 04:02:38 it ok Oct 22 04:02:53 reload http://ww2.jwjkp.com/code.php Oct 22 04:03:00 replace the lighttpd.conf file with that Oct 22 04:03:12 I had /opt/etc/share Oct 22 04:03:17 it should've been /opt/share Oct 22 04:03:44 and that other line restarts lighttpd Oct 22 04:03:47 so Oct 22 04:03:57 replace lighttpd.conf again with the new content at that web address Oct 22 04:04:04 then do that line to restart lighttpd Oct 22 04:04:18 ok Oct 22 04:04:35 then do this command: echo > /opt/share/www/test.php Oct 22 04:04:44 then try http://192.168.1.77/test.php Oct 22 04:04:49 should say: hello world Oct 22 04:05:26 oh wait, hehe Oct 22 04:05:27 man Oct 22 04:05:32 that echo line wont work Oct 22 04:05:46 it did not work, but the php works Oct 22 04:05:50 good Oct 22 04:05:57 then just forget that other line Oct 22 04:06:01 it was just to test it Oct 22 04:06:15 if you unpack that phpsysinfo I gave you to /opt/share/phpsysinfo Oct 22 04:06:27 then you should have it working at http://192.168.1.77/phpsysinfo Oct 22 04:06:41 it works Oct 22 04:06:45 awesome? Oct 22 04:06:47 eh Oct 22 04:06:49 awesome! Oct 22 04:06:52 totaly Oct 22 04:07:23 how safe wold it be to show my ip in this irc? Oct 22 04:07:29 would* Oct 22 04:07:45 you mean this IP: 69.126.194.42 Oct 22 04:07:47 :) Oct 22 04:07:49 XD Oct 22 04:07:52 http://69.126.194.42:8081/ Oct 22 04:08:06 wow your awsome Oct 22 04:08:24 you take my breath away Oct 22 04:08:49 :) Oct 22 04:08:54 you didn't change it to port 80 Oct 22 04:09:00 like I had in that code.php page Oct 22 04:09:06 I know Oct 22 04:09:11 why not? Oct 22 04:09:20 port 80 is the standard HTTP port Oct 22 04:09:27 its cuse my isp blocks port 80 Oct 22 04:09:32 out Oct 22 04:09:35 oh Oct 22 04:09:38 sucks for you Oct 22 04:09:47 ehh Oct 22 04:10:02 10mbps down 5 up Oct 22 04:10:47 that your internet speed? Oct 22 04:11:03 10Mb/s down Oct 22 04:11:09 nice Oct 22 04:11:13 5Mb/s up Oct 22 04:11:55 It might go up to 15 if it feels like it, but rarely Oct 22 04:12:00 down* Oct 22 04:12:17 I only have 3Mbps down, .4 Mbps up :( Oct 22 04:12:20 Ok with this done I can sleep tonight Oct 22 04:12:27 Isp? Oct 22 04:12:42 embarq DSL, formally known as sprint Oct 22 04:12:47 I got optimum online Oct 22 04:12:51 yea, I know Oct 22 04:12:54 :) Oct 22 04:12:56 HOW Oct 22 04:13:02 O_O Oct 22 04:13:18 by your address Oct 22 04:13:32 Do you know my SS? Oct 22 04:13:33 ool-457ec22a.dyn.optonline.net Oct 22 04:13:47 XD Oct 22 04:13:57 which is an optimum address Oct 22 04:14:09 optonline.net Oct 22 04:14:21 man its late 12:15 Oct 22 04:14:42 See you tomorrow Oct 22 04:14:43 I'm okay with my down speed usually Oct 22 04:14:45 could be faster Oct 22 04:14:50 but I hate my upload speed Oct 22 04:15:04 yeah Oct 22 04:15:05 but, I have a 100Mbps server I can offer downloads on for my bigger downloads Oct 22 04:15:17 I only host small things on my nslu2 Oct 22 04:15:25 like those logs and codes I've given you Oct 22 04:15:32 or little things like that phpsysinfo package Oct 22 04:15:38 thanks for those Oct 22 04:15:42 np Oct 22 04:16:12 good night, gtg be for mom finds me XD Oct 22 04:16:20 haha Oct 22 04:16:24 how old are you btw? Oct 22 04:16:25 lol Oct 22 04:16:26 just wondering Oct 22 04:16:27 shh Oct 22 04:16:34 16 Oct 22 04:16:35 * DrJ is 22 Oct 22 04:16:41 I know Oct 22 04:16:43 yea, you have school then tomorrow Oct 22 04:16:48 read your site Oct 22 04:16:51 yea Oct 22 04:17:04 I use to stay up to like 12:30 every night I was in high school Oct 22 04:17:07 watching david letterman Oct 22 04:17:16 some times even stayed up for the late late show Oct 22 04:17:16 cool Oct 22 04:17:25 always paid for it in the morning Oct 22 04:17:34 yeah Oct 22 04:17:39 I would be like Oct 22 04:17:42 stupid stupid me Oct 22 04:17:47 then do it again the next night Oct 22 04:17:57 yup Oct 22 04:20:18 well, good night Oct 22 13:53:31 How do I install Finch on debian/nslu2 Oct 22 14:00:11 hi do you have openwrt on nslu2? Oct 22 14:40:18 DOH Oct 22 14:40:23 Dead man tell no tales Oct 22 14:42:05 IT WORKS Oct 22 14:42:13 it realy does Oct 22 14:42:52 FR33L4NC4: EEj ik hier Oct 22 14:43:07 FR33L4NC3 joe rielie ar Oct 22 18:22:55 what is the best firmware for nslu2 ? (i've tried debian but the memory (ram) is too loow :() Oct 22 20:51:02 what is the best firmware for nslu2 ? (i've tried debian but the memory (ram) is too loow :() Oct 22 20:55:34 yes, you repeat again and again... Oct 22 20:56:18 m8: Of course this depends on your needs and your expertise Oct 22 20:56:30 but imo, SlugOS/BE Oct 22 21:18:26 DrJ good :| Oct 22 21:18:28 but the password ? Oct 22 21:18:39 i i've tried to install but i don't have the pass °_ Oct 22 21:22:28 m8: of course you read the http://www.nslu2-linux.org? Oct 22 21:24:37 yes!!! Oct 22 21:28:00 'opeNSLUg' doesn't working? Oct 22 21:28:14 mm Oct 22 21:28:21 yes but.... :| Oct 22 23:26:37 With unslung, can i use a fat32 filesystem for storing files and installed packages, or i need to use an ext3 disk somewhere? **** ENDING LOGGING AT Thu Oct 23 02:59:57 2008