**** BEGIN LOGGING AT Tue Jan 22 02:59:56 2008 Jan 22 03:00:26 sure, why not Jan 22 03:00:34 any car has room Jan 22 03:00:41 A small marine battery to feed the slug wouldn't be too costly or big, I suspect. Jan 22 03:00:50 yep, i agree Jan 22 03:01:29 It would also make it easier to integrate "going green" into the project ;) (you know - the part where you cover the roof in solar panels to charge the marine battery ;) ) Jan 22 03:01:48 the engine compartment is rather restrictive. a big wall of clean-looking coverings that scream "bring me to a mechanic, do not work on me". but i should be able to mod the stock b attery compartment enough to accomodate a small accesory battery Jan 22 03:02:01 mwester, already considering the solar panels Jan 22 03:02:23 not so much for green factor, but to lengthen the time the car can stay parked with the slug still booted Jan 22 03:02:30 Cool. Sparkfun electronics has some neat stuff, small but looked interesting. Jan 22 03:02:39 to date, and that's only around 10 days, my car slug has remained constantly booted Jan 22 03:03:06 Do you have the I/O and the power filtered? Jan 22 03:03:11 no Jan 22 03:03:40 it's powered by a generic universal dc-to-dc cigarette lighter adapter, 2A max output, 12 bucks from best buy Jan 22 03:03:44 Hmmm... no noise problems, then? Must not be an American car, then ;) Jan 22 03:03:58 wired to an unswitched circuit, with a cig lighter jack installed behind the glove box Jan 22 03:04:17 it's not american, it's german, audi. but i'm not doing any audio from the slug Jan 22 03:04:52 Ah, ok -- so it does have whatever isolation is provided by the adaptor, at least. I was going to mention that a marine battery would have the additional benefit of electrical isolation from the rather hostile electrical system of the typical auto. Jan 22 03:05:13 audio is via my ipod touch. dice electronics cradle connected to a line-in hacked onto my factory stereo by me, drilled 2 holes iin the back, installed rca cables, replaced thecasette player's line level audio in Jan 22 03:05:17 who needs cassette deck? Jan 22 03:06:07 then i had hard wired another cig lighter adapter under the dash and plugged an ipod charger into that. had an awfully noisy ground loop. changed the wiring such that the ipod charger is powered off the stereo's wiring harness, now it's fine Jan 22 03:06:51 Cool! Jan 22 03:06:52 so, noise doesn't affect the slug. currently the slug is only used as a router, to provide internet access via my ev-do cell phone, to the car Jan 22 03:07:23 phase 2 will be making nslu2 talk to my tomtom gps so i can log where i drive to a mysql db Jan 22 03:07:25 Surely it can do more than that, though. Jan 22 03:07:39 phase 3 is connecting nslu to car's ecu via diagnostic port Jan 22 03:07:49 to log fuel economy and performance data Jan 22 03:07:51 Now that's neat. You need a display though. Jan 22 03:08:01 display = ipod touch Jan 22 03:08:07 :) Jan 22 03:08:13 serve web apps off slug to ipod touch over 802.11 Jan 22 03:08:22 http://bistromath.org/geekcar Jan 22 03:08:31 see how ipod is mounted in a cradle easy to reach for the driver Jan 22 03:08:34 Add bluetooth, just to make it complete. Jan 22 03:08:47 i have a bluetooth dongle plugged into the slug now Jan 22 03:09:44 Love it! I presume you'll be writing this project up when you get it done? Jan 22 03:09:56 i'm working on a way for the slug to accept bluetooth audio connections, relay them over tcp/ip to a remote machine, and have the remote machine relay them to a bluetooth device. mainly so i can leave my cell phone in the car plugged into the slug, and have it relay phone calls to a bluetooth device in my home or office over 802.11 which has a ton longer ranger than bluetooth Jan 22 03:10:09 not wehn i get it done... next time i go up to RI my friend is going to help me write it up Jan 22 03:10:11 for now just pics Jan 22 03:10:35 the nslu2 stuff i have done is easy. the most interesting hjacking is the ipod touch Jan 22 03:11:00 have been overriding obj-c methods in the default UI app (springboard) to make it behave how i want, not how apple wants =) Jan 22 03:11:16 s/hjacking/hacking/ Jan 22 03:11:22 Actually, I find the neat part to be that the entire project is the re-purposing of consumer gear to do something new. Jan 22 03:11:34 yes! me too Jan 22 03:11:56 i have always, my whole life, had a fascination with combining multiple bits and integrating them into something more than the sum of their parts Jan 22 03:12:50 originally i was going to make a native ipod touch/iphone app to display a UI, and send all interactions to a server on another machine.. then i thought duh, just make them web apps and serve them to the ipod off the slug Jan 22 03:13:31 and if i want to run x11 apps, i've already put Xvnc on the slug, so I can run an x server on it with a vnc virtual display. have a vnc client on the ipod. Jan 22 03:15:33 I've been thinking that we finally have the necessary ingredients to realize an older concept for technology. There was a project some years ago to create the environmentally-aware computer -- which would re-configure itself when you moved it from (for example) your desk to a conference room. Jan 22 03:16:18 With the proliferation of GPS, wifi access points, and bluetooth devices, there's a lot of information that a device can now use to gain awareness of its surroundings. Jan 22 03:17:22 For example, I'd like my cell phone to automatically go on silent mode when it senses the presence of the bluetooth keyboard in the executive conference room. An auto might like to know that it is parked at work, or near a Starbucks... Jan 22 03:17:34 yeah Jan 22 03:17:41 that is the type of thing i am working on Jan 22 03:17:50 Dunno what you might do with that sort of information, but you have all the hardware... Jan 22 03:18:11 one thing that annoyed me is, the ipod touch/iphone, you cannot specify different prefs profiles for when it is docked/charging and when it's on battery Jan 22 03:18:38 i want it to auto sleep (but keep playing music) after 30 sec on battery, but when charging, don't do it Jan 22 03:18:49 so i started coding a daemon to do that Jan 22 03:19:32 then i thought, hey, it'd be cool if i can have a different profile of prefs entirely, depending on whether i am at home, work, in the car, etc. so, i'm going to have it also be able to specify a different profile depending on what wireless netowrk you're on. Jan 22 03:20:14 I wish you could do the same with an accelerometer -- if the device hasn't moved in some period of time, then enter some sleep state. It seems like a generic concept that should apply to many things -- turn off the TomTom if the car hasn't moved for a while, to save power. Jan 22 03:20:39 the jailbroken ipod already does cool stuff as integrated as you're talking about. i put firefly streaming media server on it. so, when i walk into work, it automagically jumps on the wireless there, and seconds later, my ipod appears as a shared music library for anyone who happens to be running itunes Jan 22 03:20:42 too cool Jan 22 03:20:58 Great projects! Jan 22 03:21:09 mwester, i'm going to be doing exactly what you said Jan 22 03:21:29 ipod touch has accelerometer as well as touch screen Jan 22 03:22:05 when it's charging, and it gets significant acceleromter movement, ie, i picked the thing up, i want it to wake Jan 22 03:22:36 but, the cooler thing is.. normally, you push a button to wake it up, and get the stupid "slide to unlock" on the touch screen. you slide it to unlock, then do what you want. well, i already wrote some preloaded methods that override the locking stuff Jan 22 03:22:43 so now i just push a button, it wakes up, and i do my thing Jan 22 03:23:25 next, i'm going to take it a step further. touch the screen, it wakes up. the touch screen is capacitive, so it takes an actual finger to be sensed, not just pressure. so it wouldn't wake in my pocket. Jan 22 03:24:06 Imagine if that were a standard cell phone feature: "If the GPS says we're are near a movie theatre, and the accelerometer goes quiet, then automatically silence the ringer, until we get moved about enough to be sure we're to wake up" Jan 22 03:24:07 should have these options out of the box. but in a week or 2, i'll wrap it up in a nice prefs screen, and release it as a package Jan 22 03:24:18 totally, mwester Jan 22 03:24:19 i agree Jan 22 03:24:26 stuff should be that integrated Jan 22 03:24:31 eventually it will be Jan 22 03:24:40 right now, it's freaking pathetic. Jan 22 03:24:55 i have a tomtom gps. it navigates great, but its point of interest database sucks. Jan 22 03:25:05 i've also got a moto q on verizon, with bluetooth and google maps Jan 22 03:25:50 the tomtom has bluetooth. can google maps on my cell phone use the tomtom to know where i am? then let me search, and when i find a destination, push one button to have it send the destination to my tom tom via bluetooth, so the tomtom can navigate there? Jan 22 03:25:55 hell no. Jan 22 03:28:14 Everyone is trying to make a better whatever-it-is-that-they-sell, and not enough of them are looking to broaden what it is that they do. Good thing a lot of these devices are hackable... :) Jan 22 03:28:56 amen Jan 22 03:29:26 i absolutely adore how so many embedded devices are unix based now. Jan 22 03:30:05 used to love hacking at my empeg stereo back in 2001. now in my car at any given time i have 3 unix devices, and they'd be unix even if i'd never hacked them. Jan 22 07:56:55 Helooooooo Jan 22 07:57:19 greetings Jan 22 07:57:34 a i got a quistion :) Jan 22 07:57:48 and that on this morning :/ Jan 22 07:58:03 Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 62 bytes) Jan 22 07:58:12 in /home/www/gallery2/modules/core/classes/GalleryUtilities.class on line 1234 Jan 22 07:58:22 why is the script that m using not working on my nslu :/ Jan 22 07:58:46 idk Jan 22 08:20:25 hmm Jan 22 08:57:09 synko? Jan 22 08:57:14 you where http expert right Jan 22 09:46:15 this is crapmax Jan 22 09:46:29 php clients is 4 and there are like 10 processes Jan 22 10:45:53 Dennisb1: Jan 22 10:50:31 Dennisb1: the rtgui, right? Jan 22 10:51:10 Dennisb1: "there are like 10 processes" of what? Jan 22 10:53:47 no phgp Jan 22 10:53:52 php Jan 22 10:53:55 i havent install rtorrent yet Jan 22 10:55:17 but i gotto go home Jan 22 10:55:17 bye Jan 22 11:24:24 so annoying... Jan 22 11:26:50 "PHP_FCGI_CHILDREN" => "4",@lighttpd conf Jan 22 11:27:00 and still i see 10 childrn... Jan 22 11:27:36 even 20... Jan 22 12:01:49 ok i will choose apache then.. lighttpd is crap Jan 22 12:17:29 Invalid command 'MaxSpareServers', perhaps misspelled or defined by a module not included in the server configuration i dont like this Jan 22 12:19:08 O.o Jan 22 12:19:08 U bent niet gemachtigd om deze pagina te bekijken Jan 22 12:19:17 Your not allowd to look at this page or something in english Jan 22 12:24:52 grmbl Jan 22 12:27:47 anyone here know anything about drives showing omb/0mb free after downgrading to 5.5? will it go back to normal if i go back to 6.8? Jan 22 13:55:13 i had the save i just formated Jan 22 16:04:44 anyone here can give me some info? Jan 22 16:33:10 hi Jan 22 16:33:45 hi Jan 22 16:33:51 I´m trying to make a webcam work for unslung Jan 22 16:34:05 but i´m having problem Jan 22 16:34:33 the webcam is supported by uvc Jan 22 16:35:14 how can you get uvc on unslug Jan 22 16:43:28 i keep getting kicked off my ssh session while installing debian Jan 22 16:44:16 smultron, whilst formatting? Jan 22 16:44:20 yeah Jan 22 16:45:17 its a swap/memory issue then Jan 22 16:45:21 what size is the hard drive? Jan 22 16:45:31 8GB flash stick Jan 22 16:46:21 should i manually partition the disk? Jan 22 16:48:18 or format it in another computer, then put it in the slug? Jan 22 16:50:00 the latter is more likely to work... the other option if i remember correctly, is get the swap sorted, start another ssh shell, mount swap.. format rest.. Jan 22 16:50:27 that sounds complicated... i'll try the first way Jan 22 16:53:05 yeah, another computer is more likely to work Jan 22 16:55:16 barnseenio, now got mediatomb, firefly/mt-daapd and twonkymedia on my nslu2 Jan 22 16:55:16 hehe Jan 22 17:04:32 * Reedy_Boy notes this is obviously not a permenant arrangement Jan 22 17:08:17 hmm... problems: mediatomb doesnt pickup ID3 tags of WMA... (but of course, its still under active production), twonkymedia isnt free (not overly major)... and firefly.. nothing yet.. Jan 22 17:08:29 its obvious its rather soundbridge integrated Jan 22 19:01:28 i cant get the spindown package to work with my freecom drive (even tho it states it should work) Im using unsling 6.8... is it possible it will work with alternative firmwares, ie openslug? Jan 22 19:03:59 reedy... you reckon changing my firmware from unsling to slugos may help me get the spindown working? Jan 22 19:04:53 wally4793, please use my display name Jan 22 19:04:57 otherwise i dont get pinged ;) Jan 22 19:05:16 i dont know if you need such a drastic move as to slug os - its hardly for the linux beginner... Jan 22 19:05:25 Did yu post it on the yahoo mailing list? Jan 22 19:05:35 yeah no replies :-) Jan 22 19:05:54 i didnt realise it pinged you when you used screen name sorry Jan 22 19:06:19 yeah, it makes my client flash/notify me :) Jan 22 19:06:35 there must be something your doing wrong/wrong with the package Jan 22 19:07:15 it sees really straight forward. ipkg update, then ipkg install spindown. then call the script with /opt/bin/spindown Jan 22 19:07:21 as i cant believe it just *doesnt* work Jan 22 19:08:35 ive know its /dev/sdb i need to spindown and have tried various incarnations of the command... -d 300 /dev/sdb should shut it doen in 5 minutes Jan 22 19:09:50 is there anything on spindown --help Jan 22 19:09:59 as i dont have it on my unslung nslu2 as that memory stick died Jan 22 19:09:59 i emailed the author and put a message on the mailing list to no avail... its a nuisance having to switch everything off ... the drive makes a racket and will no doubt cost a few trees or polar bears in global warming lol Jan 22 19:10:08 heh Jan 22 19:10:27 not sure if spindown killed the flash.. or its time was just up (more likely) Jan 22 19:10:49 no help Jan 22 19:10:53 --help i mean Jan 22 19:11:46 man spindown Jan 22 19:11:50 i dunno if thats right Jan 22 19:12:13 man spindown? Jan 22 19:13:09 yeah, its another way of the help Jan 22 19:13:55 whats the link again wally4793 ? Jan 22 19:14:02 ive read the webpage for the spindown package and... 1 sec Jan 22 19:14:37 hmm Jan 22 19:14:43 this memory stick seems not so bed now :/ Jan 22 19:15:02 http://vladimir.grouzdev.free.fr/public/spindown. Jan 22 19:15:35 its sdb and its installed and configured using ikpg... gotta run now.. if you get chance to have a look ill catch up with ya later. cheers Jan 22 19:16:54 ill have a look Jan 22 19:16:58 not promising much Jan 22 19:17:55 wally4793, did you remount the drive..? Jan 22 19:18:53 ignore that Jan 22 20:06:38 any luck reedy_boy? Jan 22 20:06:54 my chick is here hence i had to run... she doesnt get geeky stuff lol Jan 22 20:06:55 not really.. Jan 22 20:06:59 heh Jan 22 20:07:10 spindown -d in its simplest form should run.. Jan 22 20:07:24 it is "running" isnt it when you run it as a daemon - ie ps aux shows it?# Jan 22 20:07:57 im pretty sure, assuming the ikpg package is the correct one, ive done it correctly. ive tried spindown -d ..ive never checked i will now Jan 22 20:08:37 spindown -d 300 /dev/sdb is listed in "ps aux" Jan 22 20:09:54 brb Jan 22 20:29:44 hi! How do I remove users with unslung? Jan 22 20:32:19 <_caplink811> with the webif?! Jan 22 20:34:39 no from openssh. I added the package adduser. But i can't find anything for removing the with userdel. Jan 22 20:40:13 mcwurst_: see http://www.nslu2-linux.org/wiki/HowTo/ChangePasswordsFromTheCommandLine Jan 22 20:40:35 find the persistent location of system passwd file with the above page Jan 22 20:41:32 to remove a user, just do "sed -i -e '/^username/d' /etc/passwd /share/hdd/conf/passwd" Jan 22 20:41:49 to remove a user, just do "sed -i -e '/^username:/d' /etc/passwd /share/hdd/conf/passwd" Jan 22 20:42:45 ok i'll try... Thanks eno Jan 22 20:47:25 hmm. I don't seem to get i right. if I want to remove the user maxx. How would I write that? Jan 22 20:57:29 sed -i -e '/^maxx:/d' /etc/passwd /share/hdd/conf/passwd Jan 22 20:57:45 assuming you're using hard disk Jan 22 20:58:10 eno: do you do packaging for openembedded ? Jan 22 20:58:19 scant: no Jan 22 20:58:37 i need saned updated Jan 22 20:58:54 and my cross dev env is messed up Jan 22 20:59:14 ask in #oe Jan 22 20:59:35 or, if the setup is specific to nslu2, in #nslu2-linux Jan 22 21:00:03 that's what i wrote. By doing this, it doesn't automaticly erase the maxx directory in /home? Jan 22 21:00:48 mcwurst_: no, it only removes account from the unslung slug Jan 22 21:01:00 so that user can no longer login Jan 22 21:01:26 to remove the directory, you can just "rm -rf /home/maxx" Jan 22 21:01:35 ok cool :-) Jan 22 21:02:04 the removing process does not have to be too automatic Jan 22 21:16:59 there's something is still something wrong. when i now againg adding user maxx. I recive the message user maxx is in use Jan 22 21:37:22 I have made a configuration file for rtorrent where do I save it so that rtorrent uses it on startup? Jan 22 21:38:50 mmm how do i unmount because when i plug out a device the samba crashes Jan 22 21:43:23 Dennisb1, umount /wherever/mount Jan 22 21:43:48 mcwurst_: $HOME/.rtorrent.rc Jan 22 21:44:23 doesn't need to be in a users directory? Jan 22 21:44:30 thats what home would do.. Jan 22 21:44:57 on unslung, don't put upload_rate in .rtorrent.rc Jan 22 21:45:05 crashes rtorrent Jan 22 21:45:50 Ok! great, thanks for the advice. Jan 22 21:54:49 Hmm, The thing is still the issue with the users that i wanted to delete. I wanted to delete user maxx because i for some reason there where something wrong with the password. So i tried to delete maxx, just to add him again. but there is something that doesn't work while deleting. So i can't put the .rtorrent.rc file in maxx's home dir. Jan 22 21:55:19 cat /etc/passwd Jan 22 21:55:25 is max still listed? Jan 22 21:56:53 mcwurst_: did you tried deluser? Jan 22 21:58:03 Reedy: nope he's not. arualavi: the command doesn't exist. Jan 22 21:58:21 ipkg install deluser? Jan 22 21:58:47 ipkg install busybox Jan 22 21:59:14 cannot find package userdel. Jan 22 21:59:26 try what eno said Jan 22 21:59:31 he knows what he's on about ;) Jan 22 21:59:33 snlu2 uses busybox? (sorry i'm on a fsg3 :-) ) Jan 22 21:59:41 */snlu2/nslu2 Jan 22 21:59:57 i think its a case of you *can Jan 22 21:59:59 * Jan 22 22:00:01 arualavi: busybox is just another optware package Jan 22 22:00:35 eno: yes, i mean if it is not installed by default on a slug Jan 22 22:01:37 arualavi: the built-in one is called slingbox Jan 22 22:01:55 probably some variation of old busybox Jan 22 22:02:09 optware busybox is quite up-to-date Jan 22 22:04:53 so maybe a soft link to slingbox do the trick Jan 22 22:05:05 ln -s /bin/slingbox /bin/deluser Jan 22 22:09:32 no, deluser is not built in slingbox Jan 22 22:09:43 pardon me. but i think i have miss informed you guys. After typing adduser maxx. It returns that the group name maxx is in use. Not user maxx. Don't know if there is any differance or not Jan 22 22:10:21 mcwurst_: there's also a /etc/group file Jan 22 22:10:25 arualavi: That didn't change anything (of what i know of Jan 22 22:10:31 ok Jan 22 22:11:47 is it safe to remove the line "maxx:x:1000:"? Jan 22 22:11:51 ya Jan 22 22:12:00 thanks!!! Jan 22 22:12:06 damn i had a BSOD now i still dont know how to unmount Jan 22 22:12:23 how do add this the wiki? Jan 22 22:12:26 umount /path/folder Jan 22 22:12:30 o thx Jan 22 22:12:34 no dev? Jan 22 22:12:56 you can just do it to whether its mounted to Jan 22 22:13:00 ok Jan 22 22:13:01 ie /mnt/flash Jan 22 22:13:03 ty Jan 22 22:13:06 is it easy to run a script on the nslu2? im a windows user and want to try the spindown script (the spindown package doesnt work for me) Jan 22 22:13:16 hmm yeah i still want that too Jan 22 22:13:27 wally4793, yeah Jan 22 22:13:28 create it Jan 22 22:13:32 chmod +x name Jan 22 22:13:35 ./script Jan 22 22:13:36 to run it Jan 22 22:14:27 the script is on the wiki.. what extension do i save the text as and how do i transfer to the slug? Jan 22 22:14:30 ok im going to bed thx for the help Jan 22 22:14:32 .sh Jan 22 22:14:42 doesnt have to have an extention Jan 22 22:14:45 not? Jan 22 22:14:46 wally4793, script link? Jan 22 22:14:49 nah Jan 22 22:15:03 http://www.nslu2-linux.org/wiki/FAQ/SpinDownUSBHarddisksScript Jan 22 22:15:06 its just better form, sh = shell script IIRC Jan 22 22:15:25 it mentions freecom in it which is my drive :-) Jan 22 22:15:36 so does that other one ;) Jan 22 22:15:42 true! Jan 22 22:15:45 :-P Jan 22 22:15:48 copy it from http://www.nslu2-linux.org/wiki/FAQ/SpinDownUSBHarddisksScript?action=edit Jan 22 22:15:57 between the markup Jan 22 22:16:06 hmm will it work on a usb disk with 2 disk's inside? Jan 22 22:17:33 i have the file named "spindown" now on my desktop... how and where do i put it? Jan 22 22:17:55 easiest way is to do it via shell Jan 22 22:18:01 ssh? Jan 22 22:18:03 ya Jan 22 22:18:07 can i use telnet? Jan 22 22:18:08 what text editor do you have installed? Jan 22 22:18:11 yeah either or Jan 22 22:18:14 i use notepad Jan 22 22:18:20 on windows Jan 22 22:18:29 not have one in unslung? Jan 22 22:18:43 no i can put one on... which one is best? Jan 22 22:18:51 its all preference Jan 22 22:18:56 i find nano the easiest to use Jan 22 22:19:12 ok 1 sec Jan 22 22:20:05 do i need to edit the spindown script? Jan 22 22:20:11 for my setup i mean Jan 22 22:20:22 logfile=/var/log/ex-hdd-power Jan 22 22:20:22 devicelink=/dev/freecom Jan 22 22:20:22 mountdir=freecom Jan 22 22:20:28 those may need changing Jan 22 22:20:31 the log shouldnt Jan 22 22:20:49 ok nano is installed... how do i bring it up? Jan 22 22:21:06 if you browse to where you want the script Jan 22 22:21:12 nano spindown.sh Jan 22 22:21:17 or just spindown, doesnt overly matter Jan 22 22:21:33 he file is on my windows desktop tho... how do i move it to the slug? Jan 22 22:21:40 just wait... :P Jan 22 22:21:44 ok Jan 22 22:21:54 you got the nano window up? Jan 22 22:22:16 nope... says no such file Jan 22 22:22:35 touch filename Jan 22 22:22:46 it just lets me create it via nano Jan 22 22:23:16 from telnet, you probably need to setup PATH, or use /opt/bin/nano Jan 22 22:23:35 suggest to install openssh Jan 22 22:23:38 oh yeah.. depends on the shell your using Jan 22 22:23:48 ill install openssh Jan 22 22:24:07 1 sec Jan 22 22:24:25 do i use putty for openssh? Jan 22 22:24:29 yeah Jan 22 22:24:36 its all coming back lol Jan 22 22:24:52 you can also install winscp for file transfer Jan 22 22:26:39 what settings do i need to enter for putty, ive put the ip in.. where do i put password? Jan 22 22:27:11 you put in the IP, make sure its on ssh Jan 22 22:27:17 click open Jan 22 22:27:22 it will ask for username and password Jan 22 22:27:41 kewl im in :-) Jan 22 22:27:43 under Connection/Data you can specify username Jan 22 22:27:59 nano has worked this time :-) Jan 22 22:28:49 right click has pasted the text for the script.. Jan 22 22:29:19 how/where do i save? Jan 22 22:29:33 yep, that's an easy way to do it if the text is not too long Jan 22 22:29:33 ctrl + o Jan 22 22:29:35 enter Jan 22 22:29:41 ctrl + x Jan 22 22:29:46 (control and x) Jan 22 22:31:02 ok i think that has saved somewhere Jan 22 22:31:09 press ls Jan 22 22:31:13 called it spindown Jan 22 22:31:15 it should show you it in your current dir Jan 22 22:31:36 left shift? Jan 22 22:31:45 nooo Jan 22 22:31:47 type ls Jan 22 22:31:51 and press enter Jan 22 22:31:53 like windows dir Jan 22 22:32:13 from the openssh prompt? Jan 22 22:32:32 ya Jan 22 22:33:36 i have nano.save and spindown Jan 22 22:33:46 right Jan 22 22:33:51 probably your home directory.. Jan 22 22:34:11 ideally need to move it somewhere a bit better placed IMHO Jan 22 22:34:27 so now i need to run the spindown directory... yeah i think so... its harder that dos for moving stuff... whats up with cd, rd copy etc! lol Jan 22 22:34:39 spindown script i mean not directory Jan 22 22:34:42 mv spindown /etc/spindown Jan 22 22:34:46 probably Jan 22 22:35:32 will it create a directory for me? if i specify one that doesnt exist? ill also install the file browser eno recommended Jan 22 22:35:59 dont think it will create a directory Jan 22 22:36:07 spindown currently is just a folder Jan 22 22:36:20 *file Jan 22 22:37:12 yeah a text file, right? Jan 22 22:37:18 ya Jan 22 22:37:47 so i need to move it to a folder such as /bin/spindown? Jan 22 22:37:55 then run it a script? Jan 22 22:38:02 that wouldnt be a folder Jan 22 22:38:14 this is where extensions can become confusing Jan 22 22:39:10 winscp is not on ipkg Jan 22 22:39:32 so i have the file on my home directory... now what? its like school :-) Jan 22 22:40:28 wally4793: winscp is a free windows software Jan 22 22:40:50 oh sorry... and it will allow me to transfer files to the slug? Jan 22 22:41:23 Ok. i read from the wiki pages, that when using unslung one should only add users using the web interface. Jan 22 22:41:50 wally4793: yes Jan 22 22:41:59 First of all this new users home directory isn't a sub folder in home Jan 22 22:42:00 wally4793, chmod +x filename Jan 22 22:42:15 second i cant ssh in with this new user Jan 22 22:42:45 ok so i type chmod =x spindown Jan 22 22:42:49 + Jan 22 22:42:57 ya Jan 22 22:43:06 mcwurst_, it will need a shell setting Jan 22 22:43:12 look at the /etc/passwd Jan 22 22:43:23 does it say /dev/null at the end of the user line? Jan 22 22:43:32 yes Jan 22 22:43:43 you need to change that Jan 22 22:43:45 to /dev/sh Jan 22 22:43:56 as it needs a shell to login with Jan 22 22:44:45 winscp seems a good way of transferring/moving/editing files etc Jan 22 22:46:03 mcwurst_: change /dev/null to /bin/sh Jan 22 22:46:20 or change to /opt/bin/bash if you have bash installed Jan 22 22:46:47 eno/reedy_boy... i ran the chmod and it moved onto a new line as if it had worked is there a way of checking the scropt is runnin? Jan 22 22:46:59 you need to run it now Jan 22 22:47:03 ./spindown Jan 22 22:47:10 it will probably execute then close Jan 22 22:47:18 so when it gives you your prompt back it will be done Jan 22 22:47:38 You guys!!! I owe you big time!!! Jan 22 22:47:46 oh right... Jan 22 22:48:12 i get markup:no such file, markupend:no such file Jan 22 22:48:32 i said not to include them Jan 22 22:48:35 hehe :d Jan 22 22:48:39 nano spindown Jan 22 22:48:43 remove the lines Jan 22 22:48:47 oh right ill remove them Jan 22 22:48:52 then ctrl + o, enter, ctrl + x Jan 22 22:49:41 ive done it using winscp Jan 22 22:49:50 do i need to chmod gain Jan 22 22:49:54 again Jan 22 22:50:40 makes life easier to make sure Jan 22 22:50:51 ok i ran it again and it went on to the next line as if it has worked.. Jan 22 22:51:11 ya Jan 22 22:51:29 what about the first three lines... do i not need to alter them? Jan 22 22:51:53 the log you shouldnt Jan 22 22:52:03 but the other 2 you will need to change to match your device Jan 22 22:52:09 ie /dev/sda or whatever Jan 22 22:52:33 i thought thats what you meant.... im getting there slowly :-) Jan 22 22:53:17 what about mountdir? Jan 22 22:53:55 cat /etc/fstab Jan 22 22:54:01 should tell you where.. Jan 22 22:54:35 which line do i need? Jan 22 22:54:37 And the quest continues... :-). when i start rtorrent. It says could not read resource file ~/rtorrent.rc Jan 22 22:55:01 does it have the right permissions? Jan 22 22:55:57 mcwurst_: what user are you logged in as? echo $HOME Jan 22 22:56:15 i changed the permission to chmod 777 .rtorrent.rc Jan 22 22:58:03 the command to power down the drive is sg_start --stop /dev/sdb (in my case) .. is this correct? Jan 22 22:58:13 eno: logged in as maxx. i don't understand the echo $home line. I 'm sorry my linux skills are a bit limited :-( Jan 22 22:58:42 wally4793, would sound right Jan 22 22:58:54 mcwurst_, just literally type "echo $home" into the shell and press enter Jan 22 22:59:11 "echo $HOME" Jan 22 22:59:25 ls -l $HOME/.rtorrent.rc Jan 22 22:59:26 returns just a blank line Jan 22 22:59:32 ok so i put that into the shell and it didnt power down the drive.... maybe my drive is not listening to the command hence the spindown package wasnt working? Jan 22 23:00:00 mcwurst_: that does not seem right Jan 22 23:00:27 what is the output of "id" command? Jan 22 23:01:12 also HOME in capital letter Jan 22 23:01:23 ill let you sort out mcwurst for a while guys i know im hogging Jan 22 23:01:31 id= "uid=2000(maxx) gid=501(everyone) Jan 22 23:01:49 ok, good Jan 22 23:02:03 output of "echo $HOME" ? Jan 22 23:02:25 "echo $HOME" is still just a blank line Jan 22 23:03:13 grep maxx /etc/passwd Jan 22 23:04:08 we want to know the home field of your passwd line Jan 22 23:04:19 the 2nd from last field Jan 22 23:04:24 maxx:scsvMDII9UzI:2000:50::::/bin/sh Jan 22 23:04:46 ok, you'll need to fill in that field with /home/maxx Jan 22 23:05:10 after /bin/sh Jan 22 23:05:11 ? Jan 22 23:05:56 the field before /bin/sh, fields are separated with : Jan 22 23:07:19 maxx:scsvMDII9UzI:2000:50:::/home/maxx:/bin/sh Jan 22 23:07:19 assuming you use /home/maxx Jan 22 23:07:50 after that's done, re-login with maxx Jan 22 23:08:04 now "echo $HOME" should show /home/maxx Jan 22 23:09:20 and so it does! Jan 22 23:10:05 mcwurst_: can you launch rtorrent now? Jan 22 23:13:05 no. I can't Wrong number of arguments. Is the error this time, Jan 22 23:14:01 07... Jan 22 23:14:57 does it say ~/.rtorrent.rc:nn: Wrong number of arguments ? Jan 22 23:15:48 $ rtorrent Jan 22 23:15:48 rtorrent: Error in option file: ~/.rtorrent.rc:1: Invalid start of name. Jan 22 23:16:17 ok, sounds like syntax error in .rtorrent.rc Jan 22 23:16:20 sorry wrong file Jan 22 23:17:19 this is it: Jan 22 23:17:21 $ rtorrent Jan 22 23:17:21 rtorrent: Error in option file: ~/.rtorrent.rc:34: Wrong number of arguments. Jan 22 23:18:10 mcwurst_, use a paste bin and post your config Jan 22 23:19:24 paste bin? the contents of the directory? and the .rtorrent.rc file? Jan 22 23:19:40 http://www.pastey.net/ Jan 22 23:19:50 contents of the rtorrent.rc file Jan 22 23:20:35 FYI, i only have two lines in my .rtorrent.rc on unslung Jan 22 23:20:47 port_range = Jan 22 23:20:54 check_hash = no Jan 22 23:21:41 port_range is set to something like 6000-6005 Jan 22 23:21:54 http://www.pastey.net/81086 Jan 22 23:21:59 that depends on your router port forwarding setting Jan 22 23:22:16 quite a bit in there Jan 22 23:22:59 hehe. Well it's copied from my ubuntu rtorrent.rc Jan 22 23:23:35 different version of rtorrent probably use different rtorrent.rc format Jan 22 23:23:48 i'd suggest you just make a backup Jan 22 23:24:11 and delete all lines except the port_range line Jan 22 23:25:13 the version of rtorrent on slug probably is newer than your ubuntu one Jan 22 23:26:53 and now invalid port range argument Jan 22 23:28:06 tada Jan 22 23:28:08 works Jan 22 23:28:11 !!! Jan 22 23:28:29 :-) Jan 22 23:29:06 you'll want to install screen or dtach Jan 22 23:32:33 which one is better? Jan 22 23:33:04 dtach is smaller with less functionality Jan 22 23:34:12 well that sounds about it then. Less is more, you know. Any good how to within reach? Jan 22 23:34:56 http://www.nslu2-linux.org/wiki/HowTo/KeepRemoteConsoleSessionRunning Jan 22 23:35:43 Thanks! Checking it out. Jan 22 23:35:51 or "dtach --help" Jan 22 23:36:35 hey eno you still there? Jan 22 23:36:46 yes Jan 22 23:37:56 ive located another script (for spindown) based on scsi-idle. Ive installed scsi idle and edited the script i need... put the command chmod +x spindown2 (the script name) and it seems to go ok but when i try ./spindown2 i get no such file? Jan 22 23:39:11 output of "head spindown2" command? Jan 22 23:39:30 lists the script Jan 22 23:39:46 right, i wanna see the first few lines of the script Jan 22 23:40:16 #!/bin/sh Jan 22 23:40:16 disk=$1 Jan 22 23:40:16 interval=$2 Jan 22 23:40:16 state=`grep disk_io/proc/stat` Jan 22 23:40:16 count=$interval Jan 22 23:40:16 up=1 Jan 22 23:40:19 how do i change my default terminal to bash in the NSLU? Jan 22 23:41:40 wally4793: i dunno Jan 22 23:42:28 mcwurst_: set /opt/bin/bash in the place of /bin/sh in /etc/passwd Jan 22 23:42:45 ok thanks anyway Jan 22 23:42:48 to make it stick, see http://www.nslu2-linux.org/wiki/HowTo/ChangePasswordsFromTheCommandLine Jan 22 23:43:01 thanks Jan 22 23:43:39 is there any way to get the whereis command on the nslu2 Jan 22 23:45:05 DrJ: ipkg install util-linux Jan 22 23:45:31 that has whereis? Jan 22 23:45:50 omg Jan 22 23:45:52 thank you Jan 22 23:46:35 what other commands did that give me? Jan 22 23:48:34 ipkg files util-linux Jan 22 23:49:32 nvm, I found a link for it Jan 22 23:49:37 http://freshmeat.net/projects/util-linux/ Jan 22 23:50:24 Fuck i rebooted my nslu2 just to find out and now it doesn't boot. Jan 22 23:52:30 hmm. think it's okay. it's probably just scanning the hard drive Jan 23 00:02:20 thanks for all help eno! really appretiate it. But this is it for me today. Jan 23 00:02:38 mcwurst_: have fun Jan 23 00:02:50 :-) **** ENDING LOGGING AT Wed Jan 23 02:59:57 2008