**** BEGIN LOGGING AT Sat Jul 23 23:59:56 2005 Jul 24 03:06:37 Newsflash: NSLU now running SlimServer. Everything seems OK :-) Jul 24 06:20:21 ok folks... I got to go. Wiki is updated with slimserver experience :-) Jul 24 09:04:11 hi , could you help me ? i have some troubles with spindown my maxtor hdd :( Jul 24 09:05:19 define troubles pls Jul 24 09:05:53 i have unslung 3.18 (i try with 5.5 it is same) Jul 24 09:07:00 i have 2 applis. 1 vsftpd and thttp (web server) Jul 24 09:07:56 when these programs runs the maxtor hdd not spin down after 10 min but when i kill them it is ok :s Jul 24 09:08:33 vsftpd runs standalone, or is started by inetd? Jul 24 09:10:09 i try standalone and inetd :s via /unslung/rc.xinetd :s but i have th same thing :s Jul 24 09:11:09 hm, inho, both applications open their logfiles, so, if there are open files, the disc shouldn't spin down Jul 24 09:11:56 log are in /var/log it is flash memory ? not ? Jul 24 09:12:21 1st, you could try to prohibit the logging Jul 24 09:12:25 how disable log ? Jul 24 09:12:38 optware logs are usually on /opt/var/log Jul 24 09:13:40 yes oups a mistake Jul 24 09:13:59 have a looj in the conf files vsftpd -> /opt/etc/vsftpd.conf, for your webserver, i don't know where the conf file is Jul 24 09:14:06 s/looj/look Jul 24 09:15:34 2nd, you could read this http://www.nslu2-linux.org/wiki/HowTo/SetSpinDownTimeOnMaxtorOneTouch Jul 24 09:15:37 yes i disable vsftpd_log_file= ? by vsftpd_log_file ? Jul 24 09:15:48 last chapter about the ramdisk, may help you too Jul 24 09:16:24 logs uses syslog ? or not ? Jul 24 09:16:27 imho, comment out the line Jul 24 09:16:39 may be kill syslogd ? too ? Jul 24 09:17:49 if you use the origin linksys syslogd, which logs to /var/log, it is useless, cause these syslogd can not log for other applications Jul 24 09:18:26 http://www.nslu2-linux.org/wiki/HowTo/HowToRunYourOwnSyslogd Jul 24 09:21:26 and for my thttpd dameon :s there are no log and no pid file :s and hdd don't spin off Jul 24 09:23:29 when i kill my thttpd dameon it works :( hdd spin down after 10 min Jul 24 09:24:21 you could use lsof to examine which files, if there are any your webserver keeps open Jul 24 09:24:55 yes i installed lsof too Jul 24 09:25:18 but no files :s seems open Jul 24 09:25:33 no log and no pid files :s Jul 24 09:32:50 but my normal thttpd keeps /home/httpd/html open, dunno where your html files are Jul 24 09:56:35 howdy Jul 24 09:58:05 hi Jul 24 10:00:47 folks: i have a small problem with vi and setting my term variable Jul 24 10:01:39 i installed termcap and ncurses but still vi seems one line off unless i put my TERM=vt100 Jul 24 10:02:41 if somebody has an answer i'd thankfull Jul 24 10:07:45 bbl Jul 24 10:31:31 Klendathu, didn't understand your problem, vi displays 24 lines.. Jul 24 10:52:22 caplink811_log, it seems others ran into the same problem Jul 24 10:52:36 i just set my term to vt220 Jul 24 10:53:02 which makes it 24 lines effectively Jul 24 11:06:26 hm, using putty/ssh as client, setting TERM=xterm-pcolor, vi displays 24lines, but only 24 lines, even the windows is 34 lines high :-( Jul 24 11:45:41 yes Jul 24 11:45:54 sorry i was already busy with imap :-) Jul 24 19:41:33 hey byron? Jul 24 19:41:38 yes? Jul 24 19:41:53 (and you have to be the luckiest person in catching me online) Jul 24 19:42:02 hehe Jul 24 19:42:06 I can't seem to format the first drive Jul 24 19:42:06 seeing that I am at my father-in-law's house... Jul 24 19:42:09 oh Jul 24 19:42:18 in the web interface I click format, but it doesn't do anything Jul 24 19:43:03 wait Jul 24 19:43:04 nevermind Jul 24 19:43:07 it's actually doing it now Jul 24 19:44:32 it can take a while... :) Jul 24 19:46:31 ok so once it's done, what do I do next? Jul 24 19:47:09 follow the readme... :) Jul 24 19:47:18 setup users... Jul 24 19:47:25 gain root telnet access Jul 24 19:48:10 ok but how do I start over from scratch Jul 24 19:48:49 you've flashed v24 or v25 firmware, right? Jul 24 19:48:55 nope Jul 24 19:49:09 what firmware are you running then? Jul 24 19:49:16 the 5.5 unslung still Jul 24 19:49:21 k Jul 24 19:49:43 after format finishes, unplug all hds Jul 24 19:49:46 reboot Jul 24 19:49:56 ok Jul 24 19:50:07 telnet in and "rm /.sda1root" Jul 24 19:50:21 reboot (still no hds plugged in) Jul 24 19:50:30 telnet in again (whith no hds plugged in) Jul 24 19:50:40 then plug in freshly formatted hd Jul 24 19:51:01 use "df" and "mount" to determine when the hotplug has finished Jul 24 19:51:23 once /dev/sda1 is mounted rw, then /sbin/unsling disk1 Jul 24 19:51:32 after that finishes "sync" Jul 24 19:51:36 and then "reboot" Jul 24 19:51:52 you're back to "Unslung" with rootfs on hd 1 Jul 24 19:52:00 plug in Disk 2 Jul 24 19:52:21 and after waiting appropriate amount of time, copy all your data off of disk 2 onto disk 1 Jul 24 19:52:46 ok Jul 24 19:52:47 at this point, you should probably consult the wiki as to determine how to get the auto backup running again Jul 24 19:52:55 yeah I can do that Jul 24 19:53:01 then /sbin/unsling disk1 Jul 24 19:53:03 what does that mean? Jul 24 19:54:43 once /dev/sda1 is mounted rw, then /sbin/unsling disk1 <- that means from the telnet prompt, after hotplugging the drive and ascertaining that it is rw, unsling disk 1 which is done by giving the command "/sbin/unsling disk1" Jul 24 19:55:30 uh oh, so it just finished formatting, I rebooting with no hd's plugged in and now I can't login as root Jul 24 19:55:53 password should be "uNSLUng" Jul 24 19:56:01 and you have to enable telnet Jul 24 19:56:15 ah perfect! Jul 24 19:56:41 rm: cannot remove `/.sda1root': No such file or directory Jul 24 19:56:41 # Jul 24 19:57:19 what about "rm /.sda2root"? Jul 24 19:57:30 same error Jul 24 19:58:25 ok, then just reboot Jul 24 19:58:36 ok Jul 24 20:01:20 ok it's doing the "/sbin/unsling disk1" command Jul 24 20:01:26 sweet Jul 24 20:01:38 and what did you mean by "sync" ? Jul 24 20:02:00 it just makes sure that there are no waiting disk writes in memory Jul 24 20:02:15 oh ok its just a command to type, cool thanks Jul 24 20:02:38 wow that wasn't half as complicated as I thought it was going to be Jul 24 20:19:19 hey byron are you still around? Jul 24 20:19:42 well thanks for all your help =] Jul 24 20:19:55 just barely Jul 24 20:20:02 (around, that is) Jul 24 20:20:49 just wanted to say thanks for all your help Jul 24 20:31:30 no problem **** ENDING LOGGING AT Sun Jul 24 23:59:56 2005