**** BEGIN LOGGING AT Sun Jan 20 02:59:57 2008 Jan 20 09:45:59 hello Jan 20 09:54:14 I'm after some help, i can't seem to get my OenSlug setup to use a USB drive as / ( so I can install packages etc) Jan 20 09:54:38 turnup disk -i keeps failing Jan 20 10:10:34 worked it out - thanks for the help Jan 20 11:59:40 hi all Jan 20 12:00:15 can i WOL my nslu ??? Jan 20 12:04:57 can i WOL my nslu ??? Jan 20 12:16:38 i guess so... Jan 20 12:17:36 You could try Jan 20 12:20:28 hmmthis cant be good... Jan 20 12:20:34 only 700kb free ram Jan 20 12:24:51 Dennisb1: 700 kb is plenty as long as you are swapping - this is linux! Jan 20 12:25:44 im not swapping Jan 20 12:25:45 lol Jan 20 12:25:52 i ant to run apache Jan 20 12:26:44 now need to fing the apache conf.. Jan 20 12:27:07 see about setting up a swap file rather than a swap partition - apache is a hog Jan 20 12:27:17 haveyou tried lighttpd Jan 20 12:27:19 ? Jan 20 12:27:25 no not yet Jan 20 12:27:30 how do i unstall something Jan 20 12:27:43 has a lot of the feature of apache without the baggage Jan 20 12:28:08 what firmware you using Jan 20 12:28:18 well i want php Jan 20 12:28:18 unslung Jan 20 12:28:24 ipkg Jan 20 12:28:39 ya use ipkg Jan 20 12:29:08 ipkg update Jan 20 12:29:13 ipkg intall apache Jan 20 12:29:20 yeah but i want to remove lol Jan 20 12:29:22 check for a how to on nslu2 -linux Jan 20 12:29:41 nslu2-linux.org for a "how-to" Jan 20 12:29:41 ah remove Jan 20 12:30:14 i use php on lighttpd as a fast cgi - again how-to on nslu2-linux.org Jan 20 12:30:24 yeah remove Jan 20 12:30:26 ok but do you need swap for that Jan 20 12:31:00 swap is in general a good idea lighttpd is "light" but with php uses that bit more memory Jan 20 12:31:16 hmm swap needsd to be on the root device? Jan 20 12:31:17 again i suggest a swap file Jan 20 12:31:28 wel anywhere really Jan 20 12:31:45 ok great Jan 20 12:31:50 because the root is flash hehe Jan 20 12:32:06 flash disk and not good for that thingy Jan 20 12:32:26 http://www.nslu2-linux.org/wiki/HowTo/AddAdditionalSwapSpace Jan 20 12:33:14 yeah swap is constantly in use so may wear out your flash - there are different opinions on this TBH Jan 20 12:35:08 yeah i will do read it in a bit Jan 20 12:35:17 just found something to add a usb webcam on the nslu :/ Jan 20 12:36:05 sto^: afaik not possible to wake a slug on lan.device itself doesnt support it. it is possible to wake other machines using the slug however but not the slug itself Jan 20 12:36:13 hmm i forgot to turn on my harddisk Jan 20 12:36:36 yeah never tried that but have added a sound card and bluetooth. im using slugos thouhg Jan 20 12:38:48 a sound card? Jan 20 12:38:56 what th? Jan 20 12:38:57 yeah usb snd card Jan 20 12:39:06 get 'em on ebay Jan 20 12:39:09 for the beep? Jan 20 12:39:10 hehee Jan 20 12:39:25 no for playin' mp3s Jan 20 12:39:29 :-) Jan 20 12:39:29 hmm Jan 20 12:41:50 why dos that thingy has so less usb ports ... :( Jan 20 12:41:57 damn Jan 20 12:42:16 gets al a wireing mess Jan 20 12:42:31 here a cable here a hub here a cable... Jan 20 12:42:32 damn Jan 20 12:42:33 sto^: it is possible that with the dev of the slugos4.8 firmware and the opensourcing of the ethernet driver that this is somewhow possible and maybe worth checking with someone. else but if the hardware doesnt support it i dont see how it could Jan 20 12:42:51 or just hit the button with a robot Jan 20 12:43:13 still effectif hehe Jan 20 12:43:32 yeah it gets messy!! robot or x10 plug then you have to control the x10 plug?!??! Jan 20 12:43:42 ah oki Jan 20 12:48:38 hmm that swap file will that be created on thehard disk or on the flsh as it is described... Jan 20 12:49:28 yeah you'll need to leave your hardisk on in future... you can set it to mount anywhere you like. Jan 20 12:49:56 type mount command to see where your disks are mounted Jan 20 12:50:46 hmmm that still dont explain things Jan 20 12:50:53 but you could mount to flash i guess - like i said opinions differ on this...i dont cause of flash wear and tear Jan 20 12:51:09 well where is your ext hdd mounted Jan 20 12:51:12 ? Jan 20 12:51:30 uhhh i guess sdb1 Jan 20 12:51:41 yah was just tying that Jan 20 12:54:07 dd if=/dev/zero of=/mnt/sdb1 bs=1024 count=256k Jan 20 12:54:08 so that Jan 20 12:55:09 hmmmm on a other howto i see omehthing aboutdestroy data Jan 20 12:55:10 no thx Jan 20 12:55:32 a good 800Gb at data lost... no hehe Jan 20 12:55:40 well yeah put it in a subdir eg. /mnt/sdb1/.slug/swapfile Jan 20 12:56:03 dd if=/dev/zero of=/mnt/sdb1/.slug/swapfile bs=1024 count=256k Jan 20 12:56:21 just in case you are sharing the root of your exthdd Jan 20 12:56:42 yeah doublecheck your mount point Jan 20 12:56:47 for your hdd Jan 20 12:57:04 make sure you can cd to it and see the files you know are on it Jan 20 12:57:22 -sh: cd: can't cd to /mnt/sda1 Jan 20 12:57:30 make sure the .slug dir exists ie create it Jan 20 12:57:39 ok ok then dont do anytrhing Jan 20 12:57:54 /dev/sdb1 on /share/hdd/data type ext3 (rw,noatime) Jan 20 12:57:55 thought you said it was sdb1 Jan 20 12:58:19 yeah could be fine - you cd'd to sda1 (above) Jan 20 12:58:58 hmm im to scared that something go's wrong hehe Jan 20 12:59:21 -sh: cd: can't cd to /dev/sdb1 Jan 20 12:59:23 yeah so create the swapfile on /share/hdd/data/.slug Jan 20 12:59:51 cd to that directory to make sure etc. Jan 20 13:00:23 im im stuck at something Jan 20 13:00:24 i see Jan 20 13:00:25 > Jan 20 13:00:27 at prompt Jan 20 13:00:47 ok... ls Jan 20 13:00:53 dont work Jan 20 13:00:59 its like im stuck :/ Jan 20 13:01:16 hmmmm Jan 20 13:02:47 what the.. Jan 20 13:02:50 im locked out of ssh Jan 20 13:02:59 the root pass dont work anymore:/ Jan 20 13:03:34 nice... Jan 20 13:03:51 did you run any commands? Jan 20 13:04:04 yes cd /share/hdd Jan 20 13:04:16 no thats fine Jan 20 13:04:37 yeah i tought so.. Jan 20 13:05:21 brb, rebooting thing Jan 20 13:05:52 have you rebooted... you may need to unplug the hdd if that wasn't in before. as in make sure the devices that were connected last time you booted are connected. Jan 20 13:06:27 its all the same as before Jan 20 13:07:49 its booting i hope Jan 20 13:20:52 tupid windows drivers for my webcam when i pull out my cam i get a blue screen of death... biut im back last word that i have seen is mine Jan 20 13:34:27 hm Jan 20 13:55:17 hi all, It's unlcear for me if I can load the Debian firmware to my nslu while it is still running unslung firmware. Jan 20 13:59:12 maby you havend formatted your flahs disk before you install it Jan 20 14:00:23 you need to completly erease the partition table of the unslung disk before you try debian Jan 20 14:03:47 ok, say I install a new prim disk instad of the unslung disk Jan 20 14:03:55 that can too Jan 20 14:04:02 then you shud have dabian Jan 20 14:04:05 debian Jan 20 14:04:30 as long as you remove the unslung disk at boot Jan 20 14:04:39 ok, so no need to go back to linksys firmware etc. just move from working unslung system to debian Jan 20 14:04:44 yeah Jan 20 14:05:05 ok, cool, and back to unslung? ;) is that an option Jan 20 14:05:11 ofcourse Jan 20 14:05:19 you need to boot in flash mode Jan 20 14:06:00 same as you did from unslung todebian Jan 20 14:06:12 but then backwards Jan 20 14:06:49 liking it already! just 1 more Q. If I don;t like my current unslung customization and the fact it's on a flashdisk I want to remove and use a HDD, how does that work? Jan 20 14:07:10 uhh Jan 20 14:07:27 i guess you need to install the unslung on your harddisksame Jan 20 14:07:31 as youdid on your flash disk Jan 20 14:07:38 so no firmware loading Jan 20 14:07:42 no Jan 20 14:07:52 just the same unsling using the telnet Jan 20 14:07:58 yepor s Jan 20 14:08:02 to a fresh HDD Jan 20 14:08:04 yep or ssh if availible Jan 20 14:10:08 only your config files are ofcourse not taken with you Jan 20 14:11:49 thats no problem Jan 20 14:13:41 Dennis thank you very much Jan 20 14:15:26 yw Jan 20 14:28:33 hmmm still looking for a solution to have my hp network printer connected with my nslu so it can scan to the nslu storage Jan 20 14:54:20 Dennisb1: Samba? Jan 20 14:54:42 Or are you thinking of a direct conection? Jan 20 15:06:59 Well if i install the hp software on my windows pc i can on the all in one machine select my pc and then it will be scaned to some special shared folder Jan 20 15:07:11 so i need the software from hp for linux i guess Jan 20 15:58:09 hmm, Jan 20 16:00:32 I have just got my nslu2 working with slugosbe. How do i install rtorrent? I tried ipkg install rtorrent, but it dind't work Jan 20 16:04:12 good quistion Jan 20 16:04:22 nice idea for bringing that to mind to try on my own one hehe Jan 20 16:12:12 hey guys Jan 20 16:13:27 hello Jan 20 16:15:48 havign trouble etting up user wit unslung. i set user now, and correct password, but what is correct default path i should be setting to (also want to be able to browse this from xp when i d/l with rtorrent) Jan 20 16:20:50 uhhh dunno sorry Jan 20 16:22:14 hi Jan 20 16:22:31 ok, matybe you can help me another way. i wanna cd to rotot dir of particula user... is #/. home? (because i get "-s illegal charachter" displayed Jan 20 16:30:40 uh Jan 20 16:30:55 ls /shared/*mount point*/folder.... Jan 20 16:31:00 i mean cd* Jan 20 16:34:59 i wanty to know what my mount pioint is Jan 20 16:37:41 typ mount Jan 20 16:47:50 hmmm i guess its better to have a hard disk then a flash disk for use on the nslu2 Jan 20 16:55:57 hmm is it possible to every night at 23:00 to unmount a harddisk without turning off the nslu Jan 20 16:56:52 just turn it off or ? Jan 20 17:03:58 crontab? Jan 20 17:04:22 hmm yeah well it dont need to run but if i run a command or something Jan 20 17:04:28 or just can a pull out the usb cable Jan 20 17:04:51 because the usb disk is 2x 500GB in one and makes allot of noise when im sleeping... or at least TRYING :/ Jan 20 17:06:43 but i run on the second harddisk a small 2.5 inch a web server and want to keep that on ofcourse Jan 20 17:12:11 hmm still thinking of a mysql server on that thiny Jan 20 17:41:54 hmmm mysql can run without swap wow Jan 20 17:47:33 great thing is broke Jan 20 18:02:09 wheer should users have home dir? Jan 20 18:06:31 in sub directories to the home dir? Jan 20 18:07:03 how do i restart samba without reboot? Jan 20 18:19:48 uh Jan 20 18:20:08 /usr/sbin/samba restart ? Jan 20 18:32:15 Dennisb1: Don't know what firmware you're using, but it should be: /etc/init.d/samba restart Jan 20 18:32:29 This will restart the daemon Jan 20 18:32:57 i dident ask the quistion mcwurst did ;) i just answerd Jan 20 18:33:25 LOL! OK. That's what happens when I only read the last 2 lines Jan 20 18:33:54 :) Jan 20 18:43:55 stupid root password Jan 20 18:44:11 lol Jan 20 18:44:18 I cant login anymore :( Jan 20 18:44:29 i cant even typ uNSLUng :'( Jan 20 18:44:35 im stupid Jan 20 18:45:39 lol Jan 20 18:46:10 im crazy i guess because im sure i typed it good... and still its wrong Jan 20 18:46:20 my hands start hurting :( Jan 20 18:50:17 tis is so crazy Jan 20 18:53:02 good this is recovery from bad flash time Jan 20 18:55:45 ohno... the tool is crashing at install Jan 20 18:59:25 dammit recovery mode dont work Jan 20 18:59:54 Cheesus. I can't ssh into my nslu2 any more. Jan 20 19:00:39 I was changing turnup init. And now I can't log in. Is there something i can do to change it back Jan 20 19:00:42 ??? Jan 20 19:01:16 yeah recovery :/ Jan 20 19:01:17 or telnet Jan 20 19:02:40 how do i recover? Jan 20 19:03:08 http://www.nslu2-linux.org/wiki/HowTo/UseTheResetButtonToEnterUpgradeMode Jan 20 19:03:27 but you can reboot first that thing ot use telnet.. Jan 20 19:03:51 brb rebooting Jan 20 19:04:12 i have tried that. But that didn't solve it!!! Jan 20 19:08:49 I tried also by telnet but that didn't work either Jan 20 19:48:23 why doesn't the debian installation firmware recognize any of my hard drives? Jan 20 20:02:23 Is there any way to completly erase the internal memory? So that all old settings will be lost? Jan 20 20:32:36 how do I enable complete reprogram switch in upslug2? Jan 20 21:17:49 whats command to set folder permisions to everyone? Jan 20 21:18:58 chmod 777 /dir/to/folder Jan 20 21:19:13 cheers :) Jan 20 21:20:48 nope. still got root file permisins Jan 20 21:21:10 ls -la Jan 20 21:22:07 nope... drw-rw-rw- 2 root root 4096 Jan 20 17:49 . Jan 20 21:22:07 drwxrwxr-x 4 root root 4096 Jan 20 17:49 .. Jan 20 21:22:43 what dir are you trying make available to everyone Jan 20 21:23:58 .... /home/david Jan 20 21:24:34 try this: chmod -R 777 /home/david Jan 20 21:29:17 i have an openslug dev env, and i need to upgrade bitbake to 1.8.10 Jan 20 21:29:20 how do i do that? Jan 20 21:33:25 anyone experiens with mysql on nslu Jan 20 21:45:34 the debian installation firmware doesn't recognize any of my hard drive. Any one knows a way around this. It worked in openslug. Jan 20 21:48:49 can't cd to /home/david/ ...why am i getting this anyone? i set up user called david with password, bt its not mapping that to home Jan 20 22:21:03 mwester, mediatomb seems rather good... Jan 20 22:21:04 :) Jan 20 22:23:40 Only thing is.. It doesnt seem to pickup album names and such... Jan 20 22:28:16 my slubosbe install doesn't have a /etc/default/scsi-idle file, it's referenced in the wikipage about usb hd spin down, do i have to create this file myself? **** ENDING LOGGING AT Mon Jan 21 03:00:03 2008