**** BEGIN LOGGING AT Mon Feb 11 02:59:56 2008 Feb 11 07:55:39 I got my first NSLU2 20:00 and it was unslung and working 23:00, I'm so happy :) :) Feb 11 09:48:33 hi guys Feb 11 09:50:08 is it possible to build a media server where i can play the movies inside the browser Feb 11 10:31:12 Reedy_Boy: i think i'm all done/transferred over to stick/disk now - thanks for your help. Feb 11 10:31:19 :) Feb 11 10:31:41 i think i'll need to transfer my swap over to magnetic disk, as i tried running with swapoff and its laggy Feb 11 10:33:10 mebbe, you can just create a swap file, rather than a full partition Feb 11 10:33:14 although that does kind of negate the whole move over to stick which was supposed to mean my hd wasnt spinning all the time ;-) Feb 11 10:33:21 ahh Feb 11 10:33:26 but, it will depend what your doing Feb 11 10:33:34 it wont be accessing the swap if processes aint doing stuff Feb 11 10:33:39 yeah, its kind of only doing irssi + torrent Feb 11 10:33:42 if its idle, the disk will be idel most o f the time Feb 11 10:33:50 if its torrenting.. the disk would be in use anyway? Feb 11 10:33:55 and when im doing torrent, the disk will be spinning anyway Feb 11 10:33:58 lol Feb 11 10:34:15 cant imagine irssi uses much memory Feb 11 10:35:06 how does it being a file, rather than partition help/matter? Feb 11 10:35:36 well, then you dont have to shrink/repartition your hard drive Feb 11 10:37:06 oh right, for if i move it to the magnetic disk? Feb 11 10:37:30 yeah Feb 11 10:39:18 if i was to repartition, would it mean i have to lose data? or can you just change sizes and stuff lives on? Feb 11 10:40:29 i guess also, i could just throw in an old 128mb memory stick onto the hub and use that Feb 11 10:40:40 yeah, that you could, if you dont really care much about it :) Feb 11 10:40:42 you can repartition without losing data - Partition Magic in windows can do it.. I'd be pretty sure there are Feb 11 17:29:27 hey guys Feb 11 17:29:34 Reedy_Boy yu here yet? Feb 11 17:33:36 any debian users here then? Feb 11 18:06:56 daveyboy_, i am.. Feb 11 18:47:12 hey reedy.... any luck with 2hdd boot? Feb 11 19:10:40 hi there Feb 11 19:23:45 reedy, u get boot with 2hdd working? Feb 11 19:24:58 tune2fs -L root /dev/sda1 Feb 11 19:24:58 tune2fs 1.40-WIP (14-Nov-2006) Feb 11 19:25:13 thats message i get when ever i try and add label (as shown) Feb 11 19:26:09 thats right Feb 11 19:26:12 reboot Feb 11 19:26:19 to take affect Feb 11 19:26:40 i got a problem, im flashing from anstrom to unslug , the upslug hang on * 0+000000 ................................................................ Feb 11 19:26:41 from the last 15mins.. anybody know something? Feb 11 19:28:18 ah right, will try reboot, then in /dev/disk/ should be lables file? Feb 11 19:28:47 aw got u. rebooted already beofre. Feb 11 19:29:36 in by-label Feb 11 19:29:54 yea its a systm file. rebooting just 2 check Feb 11 19:30:03 nano wouldnt let me edit Feb 11 19:30:40 you dont Feb 11 19:30:41 which file? Feb 11 19:31:31 in labels Feb 11 19:31:40 root etc Feb 11 19:31:43 you dont edit those Feb 11 19:31:59 snt trying t edit, just open up and view contents Feb 11 19:32:05 nevermind Feb 11 19:32:48 lol Feb 11 19:34:59 daveyboy_, ok now? Feb 11 19:36:46 just editing fstab at mo Feb 11 19:36:57 * Reedy_Boy didnt bother Feb 11 19:36:58 lol Feb 11 19:37:26 ha how come? Feb 11 19:37:36 cause it'll still mount fine Feb 11 19:37:43 mines on the UUID Feb 11 19:37:51 its only the inital mount, before it uses the fstab Feb 11 19:38:25 ah right. which file? Feb 11 19:38:36 hence why, the fstab UUID trick didnt work Feb 11 19:38:53 if you read the guide... Feb 11 19:39:05 you have to put something into the initramfs... and reflash it Feb 11 19:39:10 which makes it all work nice Feb 11 19:40:29 daveyboy_, work from Kernel command line Feb 11 19:40:32 right Feb 11 19:40:35 then do Feb 11 19:40:35 echo "ROOT=" > /etc/initramfs-tools/conf.d/my-root-device-hack Feb 11 19:40:36 update-initramfs -k all -u Feb 11 19:40:36 update-initramfs: Generating /boot/initrd.img-2.6.18-3-ixp4xx Feb 11 19:40:36 flash-kernel Feb 11 19:40:36 Flashing kernel: done. Feb 11 19:40:38 Flashing initramfs: done. Feb 11 19:40:42 And its all done :)P Feb 11 19:41:15 good stuff Feb 11 19:41:25 will have look now. just on the phone so a bit slow 2day ;) Feb 11 19:54:52 .../etc/initramfs-tools/conf.d/my-root-device-hack: line 1: syntax error near unexpected token `newline' Feb 11 19:55:04 .../etc/initramfs-tools/conf.d/my-root-device-hack: line 1: `ROOT=' Feb 11 19:55:11 should it be sda1? Feb 11 19:58:35 nooo Feb 11 19:58:40 it should be whatever your label is Feb 11 19:58:49 /dev/disk/by-label/root Feb 11 19:59:14 right got you Feb 11 20:01:47 echo "ROOT=" > /etc/initramfs-tools/conf.d/my-root-device-hack ? Feb 11 20:02:53 echo "ROOT=/dev/disk/by-label/" > /etc/initramfs-tools/conf.d/my-root-device-hack Feb 11 20:02:59 and make sure the old file is gone first Feb 11 20:38:11 hi, I have bougth a slug today and tried to install debian, after I have flashed the debian the slug never came back, The ready/status stays always in amber and I see only ethernet in green. I can not connect to my slug. Any help much appreciated. Feb 11 20:38:58 toktay: Do you know the debian install bug? Feb 11 20:39:44 I have read the install guide at http://www.cyrius.com/debian/nslu2/install.html but that did not mention about a bug. Feb 11 20:39:59 What sorta debian install bug? :S Feb 11 20:40:01 I guess I don't Feb 11 20:40:13 if my public folder has two folders, one called music and the other called www, and the web host refers to files in www, can i create a page in the www folder which will point users to the music in the music folder? Feb 11 20:40:16 The only one i know thats outstanding is the large disk format Feb 11 20:40:50 WanderingII, the client will pull from the directory... maybe with a symlink in the WWW directory for music Feb 11 20:40:56 I have 500GB WD drive attached to it. Could it be a problem? Feb 11 20:40:56 it would be able to pass it over.. Feb 11 20:41:11 toktay, you havent got far enough to experience that issue Feb 11 20:41:24 SyNko, What bug? Feb 11 20:41:38 [2007-12-27] The installer is finally working again! Feb 11 20:41:43 uhhmm .. nothing.. Feb 11 20:41:50 yeah, its been fixed :P Feb 11 20:42:18 but still, he hasnt got that far Feb 11 20:42:24 toktay, how long have you waited? Feb 11 20:42:42 half an hour Feb 11 20:43:03 hmm... thats 2 in 24 hours... :/ Feb 11 20:43:10 What IP did you have it on toktay ? Feb 11 20:43:24 :), hey what about the "+" in the upslug2 ? i got during the flash from angstromle to unslung a freeze with 0+0000 ..... :/ Feb 11 20:44:48 the wan port is 85.107.200.22 Feb 11 20:44:55 LAN IP? Feb 11 20:46:54 192.168.1.1 (linksys default address), I believe slug is in default address, but I can not reach it Feb 11 20:47:16 192.168.1.70 is the default IP Feb 11 20:47:23 yes Feb 11 20:47:34 192.168.1.1 too used ;) Feb 11 20:47:35 and if it is indeed on that IP Feb 11 20:47:36 its not going to be Feb 11 20:47:58 Since the NSLU2 does not have an LCD, the installer cannot tell you which IP address to connect to or which password to use. With regards to the IP address, the following strategy is used: Feb 11 20:47:58 If you have configured your network settings through the Linksys web interface to use a static IP address other than the default address 192.168.1.77, these values will be used (including the hostname). Feb 11 20:47:58 Otherwise, DHCP will be used. You can use the MAC address of your NSLU2 to tell your DHCP server to give out a specific IP address to your machine. Feb 11 20:47:58 If no address can be found via DHCP, the default value which Linksys uses will be used: 192.168.1.77 Feb 11 20:49:11 DHCP is active, slug is attached to the router. But the problem is ready/status light never comes back to green Feb 11 20:49:33 IIRC it doesnt Feb 11 20:49:38 cause debian when booted Feb 11 20:49:42 doesnt stay on, it flashes Feb 11 20:50:06 does the router tell you that the nslu2 has requested an ip? Feb 11 20:50:34 I do not know how to monitor that Feb 11 20:50:47 what make/model? Feb 11 20:52:36 wrt54g v2.2 but using Hyperwrt 2.1b1 + Thibor15c Feb 11 20:53:27 pretty sure that will have the option to find it out Feb 11 20:56:27 I have checked from the dhcp clients table. I pretty sure that slug did not as for an IP. Feb 11 20:57:09 does it give a list of active ip connected to it? Feb 11 20:57:22 yes, there are only two computers of mine Feb 11 20:59:55 It has been about 45 min, still amber and no activity in the ready/status light Feb 11 21:00:26 i dont think thats matter too much against the ready/status light Feb 11 21:01:36 Do you think that I should go back to stock firmware back to see everthing is okay? Feb 11 21:11:41 Reedy_Boy: 81.214.79.245 on the wan port Feb 11 21:41:28 if my ip address is 192.168.1.10 whats my subnet mask? Feb 11 21:41:58 whatever you set it to Feb 11 21:42:17 255.255.255.0 ? Feb 11 21:42:18 just 255.255.255.255? Feb 11 21:42:40 oh its zero at the end Feb 11 21:42:54 its a setting WanderingII, it determines the size of your network.. if you set it to 255.255.255.0, your network becomes 192.168.1.* .. if you set it to 255.255.0.0, it becomes 192.168.*.* (that is, you can communicate with anyone within that range) Feb 11 21:43:06 ok cheers Feb 11 21:43:07 but the usual mask is 255.255.255.0 Feb 11 21:43:22 if you set it to 255.255.255.255, you will be alone on your network 192.168.1.10, which is not recommended :) Feb 11 21:43:34 thankyou Feb 11 21:43:50 hehe Feb 11 22:17:31 Hi, I have installed unslug to my new slug after an unsuccessful attempt to install debian, but unfortunately I have problem with telnet, I receive following message "Welcome to Unslung V2.3R63-uNSLUng-6.10-beta Feb 11 22:17:33 -------- NOTE: RUNNING FROM INTERNAL FLASH -------- Feb 11 22:17:35 This system is currently running from the internal flash memory, Feb 11 22:17:36 it has NOT booted up into "unslung" mode from an external drive. Feb 11 22:17:38 In this mode, very few services are running, and available disk Feb 11 22:17:39 space is extremely limited. This mode is normally only used Feb 11 22:17:41 for initial installation, and system maintenance and recovery. Feb 11 22:17:42 Cannot execute /dev/null: Permission denied Feb 11 22:17:44 Connection closed by foreign host." Feb 11 22:17:45 I have 500 GB drive attached to the disk2 of the slug. Feb 11 22:18:02 Any help much appricated. Feb 11 22:18:06 are you logging in as admin? Feb 11 22:18:07 as if so Feb 11 22:18:08 you cant Feb 11 22:18:22 root/uNSLUng Feb 11 22:22:42 anyone know how to fix the default "/" redirection to index.html problem in the latest opt build of AppWeb? Feb 11 22:23:00 surely its in the config? Feb 11 22:23:15 to index.html/index.html/index.php is standard Feb 11 22:23:48 Reedy_Boy I have tried that. As far as I understand that user/passwd are not valid when the drive is attached. I use admin/passwd and can login but kicked out with the previous stated message Feb 11 22:23:59 yeah Feb 11 22:24:04 did you boot it with the drive attached? Feb 11 22:24:08 yes Feb 11 22:24:13 not good Feb 11 22:24:18 try rebooting without it attached Feb 11 22:24:25 reedy_boy: it is, but when you define a dfault page it just ignores it and throws a 404 Feb 11 22:24:35 lol Feb 11 22:24:38 reedy_boy: apparently its a "known bug" http://www.nslu2-linux.org/wiki/Optware/AppWeb :( Feb 11 22:27:48 reedy, just come back to slug.... and tried : update-initramfs -k all -u and get message rgar it has been altered and can not update Feb 11 22:29:05 no idea Feb 11 22:29:51 hummm Feb 11 22:30:28 Reedy_Boy: I have booted up the slug without the drive, I can not activate the telnet deamon from web interface, root/uNSLUng does not work Feb 11 22:30:45 you're gonna have to reflash then Feb 11 22:30:50 as its set the password to the flas Feb 11 22:30:51 h Feb 11 22:32:23 Ok, I will try again Feb 11 22:35:54 reedy u said make sure old file has gone. which old file you refering to? still getting same error message and i trying to track it down Feb 11 22:36:37 the /etc/initramfs-tools/conf.d/my-root-device-hack Feb 11 22:36:44 then recreate it with that redirect Feb 11 22:36:54 ie the echo "whatever" > /etc/initramfs-tools/conf.d/my-root-device-hack Feb 11 22:39:26 hum nope, still same error. let me try the kernal command stff again Feb 11 22:41:58 Reedy_Boy: Thank you very much, I reflashed the slug and able to enter telnet via shell. Feb 11 22:42:05 :) Feb 11 22:42:26 sudo apex-env setenv cmdline 'root=/dev/disk/by-label/root' Feb 11 22:42:41 would that be the command to add the line to kernal? Feb 11 22:42:52 I have not still attached the drive. What should I do, could you please provide some insight. I want to install OpenSSH Feb 11 22:43:31 you can attach the drive after you've logged in via telnet toktay_, then you need to unsling to the drive Feb 11 22:43:36 daveyboy_, i didnt do that Feb 11 22:43:40 tokay is that ure only drive by the way or u running from 2ndd hadd/key drive? Feb 11 22:45:00 I am running a single hadd disk drive. I have not attached it to any port yet. I intent to use the second as described in the unslug page. Feb 11 22:45:34 Reedy_Boy did u just do the section..Root filesystem bug? if so did u do it manual way or build own? its tripping up here somewhere but i cant woek out why Feb 11 22:45:44 i didnt go that far Feb 11 22:45:54 link me again Feb 11 22:46:29 tokay if i were u i would have a usb stick as ure drive that debian is on, then save ure 500 gig for just data.... lot less riskier if u fudge soemthing..... i got my debian on 120 and then a 500gb on other usb Feb 11 22:46:38 http://www.nslu2-linux.org/wiki/HowTo/MountDisksByLabel Feb 11 22:47:07 echo "ROOT=" > /etc/initramfs-tools/conf.d/my-root-device-hack Feb 11 22:47:10 update-initramfs -k all -u Feb 11 22:47:13 # flash-kernel Feb 11 22:47:15 is all i did Feb 11 22:47:30 after the label Feb 11 22:47:34 yea but update-itintr... aint working Feb 11 22:47:45 someone had this yesterday Feb 11 22:47:47 barnseenio, about? Feb 11 22:48:16 moment (i dont get why mine just worked fine.." Feb 11 22:48:17 I am pretty new with the slug, I have tried to install debian, I failed. So I do not want to get into adventure for now. Maybe later. I just want a running slug which I can install custom software Feb 11 22:48:18 ) Feb 11 22:48:26 i added kernal commands i think,so from what i gatehr if i add roo=dev/disk/bylabel/root to kernal command it should work? Feb 11 22:49:31 echo "ROOT=/dev/disk/by-label/root" > /etc/initramfs-tools/conf.d/my-root-device-hack Feb 11 22:49:48 totay, i am noob 2 slug as well. i know what u mean about getting it 2 work, but from my experience i would sugest sticking with debian....lot less hastle later changing, lus DEFF go with usb key drive or 2nd hdd if ure intending to switch Feb 11 22:50:57 daveyboy_, apt-get install initramfs-tools Feb 11 22:51:15 you are missing that Feb 11 22:51:22 ah got u Feb 11 22:51:27 doh somet so stupid haha Feb 11 22:51:56 nope... already had it as latest version it recons Feb 11 22:52:19 let me just update packages and try again Feb 11 22:53:10 ya Feb 11 22:53:14 hmm Feb 11 22:53:18 something seems weird Feb 11 22:53:22 apt-get upgrade Feb 11 22:53:26 hum running upgrade now and only packages it found needing it were: bsdutils mount tar util-linux Feb 11 22:53:28 have you done before? Feb 11 22:53:39 let it Feb 11 22:54:16 yea i was. but no i aint installed as far as i remember Feb 11 22:54:46 nope no joy. Feb 11 22:54:49 yeah, im sure it was default Feb 11 22:55:15 updated, upgraded and it still recons a) already installed and b) same error as before about can not update Feb 11 22:56:41 recon i should try sudo apex-env setenv cmdline 'root=/dev/disk/by-label/root' to add line to kernel command? Feb 11 22:57:02 dunno tbh.. Feb 11 22:57:14 anyone here good with bitbake? Feb 11 22:57:18 will try it. fingers crossed Feb 11 22:57:35 * Reedy_Boy is afk for a bit Feb 11 23:00:40 Hi, could someone please tell what this message means "ipkg update Feb 11 23:00:42 Error: The ipkg command cannot currently be used because this Feb 11 23:00:44 system is running from its internal flash; it is not currently Feb 11 23:00:46 "unslung" to an external disk or flash device. Feb 11 23:00:47 Please complete the process of "unslinging" this system, or Feb 11 23:00:49 resolve the issues that did not permit it to boot from the Feb 11 23:00:50 external device before installing any ipkg packages or updates. Feb 11 23:00:51 " Feb 11 23:00:53 How can I unslign? Feb 11 23:01:02 tokay..be carefull Feb 11 23:01:37 how? Feb 11 23:01:52 ure not supposed to run ipkgs before u unslung (process of cpyng theOS to the hard drive....as the flash is tiny, and not enough room to allow extra programs to be installed (thats what ipkg is) Feb 11 23:02:15 first of all, have u downloaded the unslung firmware and unzipped it? Feb 11 23:02:26 if so look in folder and tehre is a very good readme Feb 11 23:02:41 yes, I have flashed it already Feb 11 23:02:57 yea u have FLASHED it...but thats only half the process Feb 11 23:03:17 u now need to unslung...which as i said is process of copying the OS from the flash to ure hard drive Feb 11 23:06:15 yes, honestly I have missed reading the README!, I was digging the web pages. Thank you very much. My stupidity. Feb 11 23:06:54 haha no probs. to be honest that readme is so much better than most web pages out there Feb 11 23:12:54 brill. got to reflash debian :@ Feb 11 23:21:20 why hen i try to downgrade a pakage with ipkg --force-downgrade update file.ipkg does it automatically download and install the latest version? ?P Feb 11 23:21:28 *hen = when Feb 11 23:23:11 suxx Feb 11 23:24:07 just out of interest pear what u trying to downgrade? Feb 11 23:24:54 daveyboy_ imtrying to downgrde the latest version of appWeb with: http://ipkg.nslu2-linux.org/feeds/optware/wl500g/cross/stable/appweb_2.0.5-7_mipsel.ipk Feb 11 23:26:59 this is what im getting in my shell: Feb 11 23:27:07 # ipkg --force-downgrade install http://ipkg.nslu2-linux.org/feeds/optware/wl500g/cross/stable/appweb_2.0.5-7_mipsel.ipk Feb 11 23:27:07 Downloading http://ipkg.nslu2-linux.org/feeds/optware/wl500g/cross/stable/appweb_2.0.5-7_mipsel.ipk Feb 11 23:27:07 Clearing state_want and state_flag for pkg=appweb (arch_priority=0 flag=16 want=2) Feb 11 23:27:07 Installing appweb (2.1.0-1) to root... Feb 11 23:27:08 Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/appweb_2.1.0-1_armeb.ipk Feb 11 23:27:10 Configuring appweb Feb 11 23:28:19 whats debians default password again? Feb 11 23:34:27 no one has ever tried to downgrade a pkg before? :) Feb 11 23:35:55 yea they have. cant remember what guy used when i heard of ti. googe package downgrade in linux Feb 11 23:43:09 well, they must do it without ipkg, because it simply upgrades anything you install and totally ignores any options Feb 11 23:45:38 force-downgrade Allow ipkg to downgrade packages. Feb 11 23:45:46 -force-downgrade Feb 11 23:47:23 nope, ive tried that: ipkg -force-downgrade install http://ipkg.nslu2-linux.org/feeds/optware/wl500g/cross/stable/appweb_2.0.5-7_mipsel.ipk Feb 11 23:47:40 and immediately after it upgrades to latest Feb 11 23:51:04 pear__, why not 'ipkg remove appweb; ipkg install URL' ? Feb 11 23:53:08 eno, u involved in the debian Root filesystem bug at all? Feb 11 23:53:11 eno: yep, i tried that too! :) Feb 11 23:53:36 daveyboy_: no i'm not Feb 11 23:53:54 k np Feb 11 23:54:22 eno: im wondering if a reboot after the remove might help Feb 11 23:54:26 hmm, ill try Feb 11 23:54:34 i don't think so Feb 11 23:55:01 i guess not too Feb 11 23:55:12 if think its a pro with ipkg itself Feb 11 23:55:15 i cannot believe that "ipkg remove pkg; ipkg install " does not work Feb 11 23:55:27 i do it all the time Feb 11 23:55:44 are you sure it's the right feed? Feb 11 23:55:51 which distro are you using? Feb 11 23:56:39 looks like you're mixing unslung ipk feed with wl500g feed Feb 11 23:56:54 they have entirely different CPUs Feb 11 23:58:35 unfortunately we don't store old versions in the feed anymore Feb 12 00:00:03 aha! well i guess thats the probelm :)) i found the w1500g feed and assumed it was just an old versions repos. (new to slug) Feb 12 00:00:27 eno: do you know if the old pkgs are hiding out on some server somehere at all? Feb 12 00:01:14 i dunno Feb 12 00:01:42 k. ill have a google Feb 12 00:01:54 we only have the old make/appweb.mk in svn repo Feb 12 00:02:46 one needs to build to get the old version Feb 12 00:02:48 eno: ugh, im not up to that just yet :) but ill probably have to once i get the toolchain installed Feb 12 00:03:34 but what problem are you having with 2.1.0 appweb? Feb 12 00:04:01 there're ppl requesting upgrading appweb to 2.4 Feb 12 00:05:00 it's a "known bug" http://www.nslu2-linux.org/wiki/Optware/AppWeb where appweb does not recognize the defaulkt page set in the config file. so you have to explicitly include someurl.net/index.html Feb 12 00:05:13 eno: an upgrade would be nice indeed Feb 12 00:06:14 marceln did an upgrade in Jan., but his commit was not complete, so i have to revert Feb 12 00:07:40 thats a shame. is he still around to hassle for a resubmit do you know? :) Feb 12 00:08:02 haven't seen him for a while Feb 12 00:08:18 maybe you can kindly send a request to the ML Feb 12 00:09:06 yes, i will try that. appweb is definitely a worthwile server to have for the slug...perfect i think Feb 12 00:09:15 hopefully he has some spare time Feb 12 00:12:02 grr... reinstalling debian as kernel is foo bar, and i trying not to overwrite files on hdd, but installing base sstem failed. try 1 more time, but otehrwise its a pain writing over all my stuff **** ENDING LOGGING AT Tue Feb 12 03:00:07 2008