**** BEGIN LOGGING AT Thu Oct 12 02:59:56 2006 Oct 12 06:13:58 help Oct 12 06:14:12 anyone know how to get fastcgi working with apache? Oct 12 16:40:30 hello all, I have lighttpd running on unslung, trying to get gd image support working. Installed php-gd, still no good, any ideas? Oct 12 18:41:13 anyone know how to get fastcgi working with apache? Oct 12 18:45:13 DrJ, probably a better question for #apache or for Google... Oct 12 18:58:45 I'm trying to mount an iso image as a loopback on unslung 6.8 .. anyone help ? Oct 12 18:59:03 no probably not joshin Oct 12 18:59:07 because I already have Oct 12 18:59:16 and they say, what is the nslu? Oct 12 19:00:09 * DrJ isn't even sure if it is possible on the nslu Oct 12 19:02:27 the nslu2 is irrelevant. You say that you're trying to get it working on linux. Oct 12 19:02:33 Or at the very worst, arm or armeb linux Oct 12 19:04:05 anyone know how to get fastcgi working with apache? Oct 12 19:06:38 Ok, i have figured out, with help from this channel, that the slug needs a disk with EXT3 format in order to save changes to the users and groups Oct 12 19:06:38 Therefore I have an additional question. Oct 12 19:06:38 I have an ntfs formatted disk, but I need to change this to ext3.How do I do this. Can this be done from the web gui? I use the original firmware. Oct 12 19:07:34 DrJ have you tried google? Oct 12 19:08:27 you should try the unslung firmware Oct 12 19:08:27 it allows you to do so much more with your nslu2 bad Oct 12 19:08:27 The first hit I get is http://www.metahtml.org/documentation/manual/apache-fastcgi.mhtml Oct 12 19:08:27 * DrJ was pretty disappointed with the orginal firmware Oct 12 19:08:51 the web server is gay, the ftp server is gay (you can only download), I was mislead by the box Oct 12 19:12:20 DrJ, Yes, I have surrendered, I have to install it :) Oct 12 19:12:29 :) Oct 12 19:12:37 you will thank yourself Oct 12 19:13:06 * DrJ , despite being stupid, was able to set up the print server (cups) on it too Oct 12 19:13:11 and, actually, got it to work Oct 12 19:19:27 boring, i dont get this "test telnet Redboot" Oct 12 19:19:37 but the instructions says that i must Oct 12 19:20:01 ithe instructions for installing unslung that is Oct 12 19:23:51 DrJ, i i don't get this totally wrong it seems to me as if I would need to have the disk properly formatted and ready to use from the beginning installing. Oct 12 19:23:51 This because the nlsu2 has so little internal memory that it need the external. Oct 12 19:23:51 Is this correct? Oct 12 19:25:22 no, sorry, that is only needed if installing any additional stuff Oct 12 19:26:13 that is just a test to make sure you can fix the nslu2 if you happen to brick it Oct 12 19:26:30 odds are you will not brick it, as long as you follow the instructions you wont Oct 12 19:26:39 I was completely clueless and didn't brick mine Oct 12 19:26:43 so I doubt you will either Oct 12 19:27:14 just do exactly what the instructions say Oct 12 19:27:59 golden rule: never, EVER, assume you already know what to do without reading the instructions Oct 12 19:30:28 Well i shall see if ii can get this right Oct 12 19:30:54 this is the main problem Oct 12 19:30:54 3) The external disk that you use as the target for package installation must Oct 12 19:30:54 be (or have previously been) formatted by the NSLU2. Oct 12 19:31:30 my disk is formatted to ntfs, but ill need it to be formatted inEXT3 Oct 12 19:32:57 It is only possible to unsling to Oct 12 19:32:57 a disk that has been formatted by the NSLU2 - you cannot unsling to a Oct 12 19:32:57 FAT or NTFS disk Oct 12 19:33:05 format it from web console Oct 12 19:34:45 Yes, bu I can not find out how to do that, using the original web gui Oct 12 19:35:03 admin page Oct 12 19:35:36 it tells u in the manual Oct 12 19:35:39 nope Oct 12 19:36:00 where? Oct 12 19:37:50 I must be blind :( Oct 12 19:44:13 administration -- advanced -- disk Oct 12 19:48:50 Yes! I found it. Oct 12 19:48:50 I must say that the web gui is extremely crappy. Oct 12 19:48:50 I formatted the disk, no information was given about to what format. Oct 12 19:48:50 I hope it will beEXT3 :) Oct 12 19:48:57 yes Oct 12 19:49:06 :) Oct 12 19:50:10 Thank you all :) Oct 12 19:50:26 yw Oct 12 19:51:47 Now I have to change to unslung, cant stay with this crappy original software Oct 12 19:52:23 depends what you want to use slug for Oct 12 19:53:25 for storing files .. original fw is fine Oct 12 20:03:46 * CieD watches Oct 12 20:03:58 my slug just arrived Oct 12 20:04:41 and I'm trying to work out which firmware to use Oct 12 20:05:15 * joshin runs OpenSlug and GentooSlug Oct 12 20:05:35 * VasqueZ runs unslung Oct 12 20:05:57 Uhuh.. well, I use ubuntu and debian normally, so I'm looking at debianslug atm Oct 12 20:06:33 the slug will be used as a server here at home, essentially a tiny linux box Oct 12 20:06:34 Debianslug isn't bad. It is debian on top of a little endian version of openslug Oct 12 20:07:05 is my thinking correct then? Or is there a better solution? Oct 12 20:08:18 One of my slugs is a fileserver and the other is a general linux box. (It runs irssi.) Oct 12 20:08:18 i use mine as a media server and irc bouncer Oct 12 20:08:37 ok, well, I'm in the ball park then with my firmware selection, best start downloading then Oct 12 20:08:44 thanks Oct 12 20:08:55 tho .. if i can't figure out loop device .. i may change to openslug Oct 12 20:09:08 What problems are you having VasqueZ ? Oct 12 20:09:33 Load kernel module, mount -o loop filename mountpoint... easy as pie Oct 12 20:09:43 when i try to mount iso as loop.it complains no spare loop devs Oct 12 20:09:58 tried insmod loop Oct 12 20:10:06 no such module Oct 12 20:10:49 sposed to be included in 6.8 acording to wiki tho Oct 12 20:16:54 need to find where to add extra loop devices i think Oct 12 20:19:08 i have loop0 and loop1 in /dev .. but i think they're for the disks .. not sure though Oct 12 20:21:49 VasqueZ, modprobe doesn't find it? Did you update-modules? Oct 12 20:22:23 And did you check to make sure that it was installed? Oct 12 20:22:55 wiki says it's included as a kernel module in 6.8 Oct 12 20:24:00 Additional kernel modules provided: Oct 12 20:24:00 * loop.o Oct 12 20:24:00 * isofs.o Oct 12 20:24:00 * keyspan.o Oct 12 20:24:00 * netconsole.o Oct 12 20:25:34 and yes .. modprobe can't find it Oct 12 20:33:04 VasqueZ, is it on your machine? Oct 12 20:33:30 If not then you are going to need to download and install it from the unslung feed. Oct 12 20:34:42 which package is it ? Oct 12 20:35:35 <_apollo_> hi Oct 12 20:35:59 <_apollo_> I have a question regarding loading a firmware on a nslu2 box Oct 12 20:36:09 <_apollo_> I guess this is the place to ask :) Oct 12 20:36:57 <_apollo_> is it possible to load a firmware without copying it into the flash? Oct 12 20:37:48 <_apollo_> (I ran this: load -r -v -b 0x01000000 -h 192.168.0.99 firmwareX.bin) Oct 12 20:38:27 <_apollo_> and it seems to me that the old firmware was loaded after I did reset :( Oct 12 20:40:29 VasqueZ, remember the part of this conversation where I told you that I ran GentooSlug and Openslug? :) Oct 12 20:40:37 yus Oct 12 20:40:41 How the heck should I know. Look at the feeds. Oct 12 20:40:49 i have Oct 12 20:41:24 i'll keep looking at a solution Oct 12 20:41:34 i think loop is loaded tho Oct 12 20:41:46 kernel*loop* would be my guess... Oct 12 20:41:46 do you have a url to the feed? Oct 12 20:41:53 what does lsmod say? Oct 12 20:41:56 as it complains about no 'extra' loop devices Oct 12 20:41:59 what does dmesg say? Oct 12 20:42:07 good point Oct 12 20:42:21 lsmod doesn't list it Oct 12 20:42:31 never looked at dmesg Oct 12 20:43:39 http://ipkg.nslu2-linux.org/feeds/unslung/modules/cross/6.8-beta/kernel-module-loop_2.4.22.l2.3r63-r9_ixp4xxbe.ipk Oct 12 20:44:11 ipkg install kernel-module-loop Oct 12 20:44:33 doh ? Oct 12 20:44:49 :p Oct 12 20:44:55 ;-) Oct 12 20:46:17 ipkg list |grep loop Oct 12 20:46:31 That would have been even easier. :) Oct 12 20:47:10 i read that the module was included Oct 12 20:47:27 didn't realise i had to install it Oct 12 20:47:37 I'd imagine that meant that it was included in the build or in the feeds. Oct 12 20:47:45 must be Oct 12 20:47:55 well, i hope so Oct 12 20:48:09 With 8M of flash, very few non-essential things are added. Oct 12 20:50:26 still does amazing things though Oct 12 20:50:55 Heck yeah. Especially when you strip the web interface out. :) Oct 12 20:51:59 not tried that .. it's my comfort blanket ;-) Oct 12 20:54:08 <_apollo_> sorry to interrupt, I'm interesting in a quick question... is it possible to load a firmware into memory, without writing it into flash? Oct 12 20:55:28 i don't think so Oct 12 20:55:43 fw is probably too big ? Oct 12 20:55:59 <_apollo_> 8MB Oct 12 20:56:20 <_apollo_> so, I ran load -r -v -b 0x01000000 -h 192.168.0.123 firmware.bin and then 'reset' Oct 12 20:56:47 VasqueZ, this is possible Oct 12 20:56:48 <_apollo_> but it didn't seem to work (the old one was loaded).. so I'm not sure if it was supposed to work Oct 12 20:57:12 _apollo_, yes. It is possible. Oct 12 20:57:26 _apollo_, http://www.nslu2-linux.org/wiki/HowTo/TestAnImageInRamUsingRedBoot Oct 12 20:57:41 it is an option to "turnup" Oct 12 20:57:59 I don't know if turnup is on the original or unslung firmwares though. Oct 12 20:58:12 <_apollo_> evildevil: thanx! Oct 12 20:58:50 <_apollo_> actually, I interesting in testing the ramdisk, so that link should be perfect for me :) Oct 12 21:00:26 <_apollo_> oh sorry, it apparently knows both the kernel and ramdisk Oct 12 21:05:42 _apollo_, there's a paragraph about splitting the flash image into it's parts Oct 12 21:05:49 see http://www.nslu2-linux.org/wiki/HowTo/SplitAnImageIntoPartsUsingSlugTool Oct 12 21:06:40 VasqueZ, did it work? Oct 12 21:06:51 yes ish Oct 12 21:06:59 i have the module loaded Oct 12 21:07:48 Ok. Progress... Oct 12 21:07:48 defo thx Oct 12 21:07:48 just trying to sort out the syntax for the mount command Oct 12 21:08:20 and the proper path to the mountpoint Oct 12 21:08:54 mount -o loop was a no go Oct 12 21:09:04 Show me the command you tried. Oct 12 21:09:51 mount -o loop image.iso /public/test Oct 12 21:10:22 <_apollo_> evildevil: thanx, it worked for me to split the image, but it should work to load directly the whole firmware :).. if it doesn't, I'll try to upload the kernel and the ramdisk separately Oct 12 21:11:10 VasqueZ, what was the error and is /public/test a directory Oct 12 21:12:05 # mount -o loop suse.iso /public/test Oct 12 21:12:05 mount: Mounting /root/suse.iso on /public/test failed: Invalid argument Oct 12 21:12:32 i think it's gonna be more like Oct 12 21:13:06 mount -t iso9660 suse.iso /public/test -o loop Oct 12 21:13:25 dunno if slug understands cdfs tho Oct 12 21:13:42 Probably. Normally mount seems smart enough to figure out what the filesystem is. Oct 12 21:13:54 VasqueZ, ipkg list |grep cdfs :) Oct 12 21:14:24 nothing Oct 12 21:14:43 Jeez, be creative. :) Oct 12 21:14:46 but at least i learned that trick 2nite :-) Oct 12 21:15:47 kernel-module-isofs Oct 12 21:15:55 there's an isofs module Oct 12 21:16:06 :) Oct 12 21:17:07 hmm Oct 12 21:17:14 no errors Oct 12 21:18:29 which is good Oct 12 21:18:57 does df show it? Oct 12 21:19:15 yus Oct 12 21:19:42 615 meg Oct 12 21:19:51 bout cd sized i's say Oct 12 21:19:55 :D Oct 12 21:21:29 Cool! Enjoy! Oct 12 21:21:43 thx Oct 12 21:23:07 Happy to help! Oct 12 21:24:27 I appreciate it .. just some perms to sort then edit fstab then i can turn me old nfs server into a mame box :D Oct 12 21:26:39 oo Oct 12 23:56:44 Cool, my slug with gentoo on it finished building glibc-2.5. Oct 12 23:56:52 Nothing like a slug on the bleeding edge! Oct 12 23:59:23 how long does it take to build gentoo on the thing? Oct 13 00:00:45 A gcc-4.1.1 & glibc2.4 "emerge -e world" using distcc to an A64 took 28 hours. Oct 13 00:01:02 Someone else tried it natively on his slug and it took far longer. :) Oct 13 00:01:27 A fattened slug (upgraded memory) would have shortened the time dramatically. Oct 13 00:01:47 distcc probably helps too.. Oct 13 00:04:41 Yes, very much so. Oct 13 00:04:49 Offloads both CPU and memory load. Oct 13 00:10:26 what if you offload all compilation to the PC? Oct 13 00:11:29 still have to uncompress all the files, do all the preprocessing, do all the linking, and so on. Oct 13 00:11:46 that's right Oct 13 00:12:05 Memory is by far the biggest headache. I am going to have to see about adding more. Oct 13 00:12:29 If I had 128MB, it wouldn't have touched swap. **** ENDING LOGGING AT Fri Oct 13 02:59:57 2006