**** BEGIN LOGGING AT Wed Oct 04 02:59:57 2006 Oct 04 09:49:34 having small problems with using the nslu2 as a web server Oct 04 09:49:43 i've got a page up and working find Oct 04 09:49:55 http://lunarlamp.dyndns.org Oct 04 09:50:36 i can add other pages to the root website folder and these work (e.g. chmod.html is at ...org/chmod.html) Oct 04 09:50:57 however, if i create a new folder and place an index.html within that, they don't work Oct 04 09:51:06 i get a garbled nslu2-webinterface page Oct 04 10:06:20 Hello. Oct 04 10:06:22 I have a question regarding the ftp Oct 04 10:06:24 I wish to install a ftp server on my NSLU2. I will use this ftp server to reach my files from work and so on. Oct 04 10:06:26 Could anyone give me a hint on which firmware to user and which ftp server that matches. Oct 04 10:06:28 Maybe this has been discussed in some forum, but I have trouble finding it. Oct 04 10:06:30 Many thanks Oct 04 10:08:17 http://www.nslu2-linux.org/wiki/Site/Search?q=ftp&pagename=Site%2FSearch&action=search Oct 04 10:08:17 there are lots of ftp options Oct 04 10:08:17 i'm using unslung and am literally just about to set one up Oct 04 10:08:17 heh Oct 04 10:41:11 well Oct 04 10:41:21 i;'ve set up vsftpd to get ftp access Oct 04 10:41:35 but at the moment i can only get access from my lan, and not via the interweb Oct 04 10:44:42 lol, stupid me Oct 04 10:44:47 i opened the wrong port on my router! Oct 04 10:50:02 ok, cool Oct 04 10:50:04 tnx Oct 04 10:53:54 Maybe it is not necessary to change firmware? Oct 04 10:53:55 Maybe its supported in the original firmware now days? Oct 04 10:57:35 i;m using unslung 6.8 Oct 04 10:57:44 i/ve not really used the original, so don't know what it can do Oct 04 11:59:43 Well im not a Linux person so i rather not do anything if I dont have to. Oct 04 11:59:43 But there maybe a lot of advantages with, for example, Unslung. Oct 04 12:01:07 wel i think there are Oct 04 12:01:11 i'm hosting a website from mine Oct 04 12:08:33 hehe, how cool is that Oct 04 12:09:50 this little thing has more to it than meets the eye... Oct 04 12:18:10 a lot lot more! Oct 04 12:18:25 read on the webpage some of the uses Oct 04 12:18:47 http://www.nslu2-linux.org/wiki/Applications/HomePage Oct 04 13:14:17 bad-h use can activate ftp in the original firmware Oct 04 13:14:31 its somewhere in the admin pages Oct 04 13:15:10 -use + you Oct 04 13:54:58 lo all Oct 04 14:05:48 hey :) Oct 04 14:06:02 anybody alive? Oct 04 14:09:27 I'm faking it Oct 04 14:09:40 hehe you're doing a great job Oct 04 14:10:03 could you help me with some (i guess pretty easy) questions concerning unslung? Oct 04 14:11:15 hmmm... I can attempt answers... it's been a while since I've been around though Oct 04 14:11:28 ok. let's see what happens Oct 04 14:12:03 k.. but I'm grabbing some coffee first! Oct 04 14:12:25 i used the factory webinterface to upgrade from firmware R24 to unslung 6.8 as described in http://www.nslu2-linux.org/wiki/HowTo/InstallUnslungFirmware Oct 04 14:12:55 now, my unslung tells me I installed it to flash memory... i intended to install onto the attached HDD Oct 04 14:20:44 i'll be afk for 20 mins or so... if you have any hint for me... go ahead, I'll check back Oct 04 14:23:49 sorry about that... I had to start a fresh pot too Oct 04 14:26:14 CHAAAOS - i think when you're halfway though (i.e. have flashed the new firmware but have yet to unslung) it will say that it is running off the flash Oct 04 14:27:39 I'm trying to partition an attached USB2 drive (firmware is debianslug), but when I write the changes, it seems to hang on "Calling ioctl() to re-read partition table." Oct 04 14:27:48 do you guys have any idea why? Oct 04 14:28:15 i've never used debianslug i'm afraid Oct 04 14:28:24 and never see that kind of error message on any normal os :s Oct 04 14:28:47 do you recommend unslung for new NSLU2 ppl? Oct 04 14:29:28 unslung is the most "basic" Oct 04 14:29:34 but it's pretty powerful i think Oct 04 14:30:09 ok.. maybe I'll start with that Oct 04 14:30:27 I'm hoping to run some applications that may require something more powerful than unslung Oct 04 14:32:14 ack, how do I get the original linksys firmware back on the device? Oct 04 14:33:10 same method as installing debianslug? Oct 04 14:33:40 if possible, i don't knwo if debianslug has a web interface, but you can try that - look on the website Oct 04 14:33:47 ok Oct 04 14:42:28 back :) Oct 04 14:43:26 debianslug didn't have a web interface way back when I was really involved so I sorta doubt it has one now.... Oct 04 14:43:30 getting the original firmware back on is possible with sercom Oct 04 14:43:40 i did that before and it works fine Oct 04 14:44:04 in any case, learning to put the slug in upgrade mode and flashing with sercomm or upslug is the preferred / recommended route Oct 04 14:44:43 CHAAAOS, it sounds like you're only halfway through the unslinging process - meaning you've got the firmware on the device, but you haven't unslung to a hdd yet Oct 04 14:45:38 ByronT: aaah. what do I have to do to actually initiate unslinging then? Oct 04 14:45:51 i thought getting the firmware on it is all I have to do Oct 04 14:46:02 have you read the guide? Oct 04 14:46:05 it explains there :-) Oct 04 14:46:12 boot without hdd attached, telnet in, attach hdd, unsling to hdd Oct 04 14:46:14 reboot Oct 04 14:46:29 Lunar_Lamp: you mean RTFM? ;) Oct 04 14:46:31 if it makes you feel better, i did the exact same thign the other week - couldn't work out what i had forgotten Oct 04 14:46:39 that was the basic method (when I wrote / cleaned up the doco way back back back when....) Oct 04 14:46:49 CHAAAOS - yeah ;-) I just can't remember the URL or i'd give it to you Oct 04 14:46:58 it's URL now? Oct 04 14:47:09 holy carp, things have changed.... Oct 04 14:47:22 I worked with a README.txt over and over.... Oct 04 14:48:57 hmm, that's a point, CHAAAOS - go to the web interface, and i think there is a documentation section Oct 04 14:49:05 of course, it's only been since last November that I was really involved.... Oct 04 14:49:20 whoa, i don't think I am halfway done... when trying to change my admin password, it says "file not found" Oct 04 14:49:31 i should redo the firmware installation Oct 04 14:49:35 hey! that even works still Oct 04 14:50:48 CHAAAOS, you don't have to reflash Oct 04 14:51:06 you're just at the mid point of the actual unslinging process Oct 04 14:52:15 cool Oct 04 14:52:44 i wanted to change the password from my former one to admin since I read some things only work with pw=admin Oct 04 14:53:49 not sure about that. the webinterface admin/admin is the only time that the user "admin" is used (AFAICR - As Far As I Can Remember) Oct 04 14:54:44 elsewhere, you either use root or a normal user, or for instance, you use an admin type password that is set in .conf files for the particular app Oct 04 14:54:58 such as CUPS or mt-daapd Oct 04 14:55:59 but before I start the whole firmware stuff, I need to format the HDD by the NSLU2, right? Oct 04 14:57:36 yes Oct 04 14:58:14 strange... it said "file not found" but the password was reset anyway Oct 04 14:59:31 ok, that's off topic Oct 04 15:09:07 ah, there we go: as soon as I telnet in, it tells me i am running from internal flash Oct 04 15:09:19 and now? Oct 04 15:10:31 now attach HDD, make sure it's recognized and then unsling to it Oct 04 15:11:09 by using which command? load"unsling",8,1? ;) Oct 04 15:12:22 you need to verify with the doco but it was just unsling /dev/hdXX Oct 04 15:12:38 (yes, it's been that long ago for me) Oct 04 15:12:53 aaaah... believe me or not, i haven't seen that syntax in the dozens of pages I've been looking at Oct 04 15:12:59 no, it was NOT ebay or else Oct 04 15:13:28 hmm Oct 04 15:13:34 i;m not sure if that's it... Oct 04 15:13:50 nslu2 is booting with formatted ext3 attached Oct 04 15:15:43 http://download.berlios.de/unslung/Unslung-6.8-beta-README.txt Oct 04 15:17:20 whoops... something happened Oct 04 15:18:57 i'll put that TXT file under my pillow tonight Oct 04 15:19:41 I put a lot of time into that TXT file! (well 5.5 and earlier versions anyway....) Oct 04 15:23:52 anyone had success accessing RedBoot telnet? Oct 04 15:23:54 having problems Oct 04 15:24:41 I use a serial connection so Telnet access is dead easy Oct 04 15:28:08 is it normal that the telnet session end as soon as I login? Oct 04 15:28:49 by pressing enter after typing the password, it tells me "welcome to unslung..." and then "connection lost" Oct 04 15:29:15 that's sorta wierd Oct 04 15:29:36 i like weird stuff... as long as I have the overview Oct 04 15:30:06 i'll read the README and I'll be back tomorrow with more experienced questions :) thanks for today, guys Oct 04 15:30:37 bye Oct 04 17:19:51 wow Oct 04 17:20:10 from the way that the guide to open up the slug is written it sounds like you have to be careful not to break it Oct 04 17:20:16 but i just can't get the case off Oct 04 17:20:27 no harm of breaking it unless it's between the pressure of my thumgs Oct 04 17:20:31 the slug is def winning atm Oct 04 17:21:40 the first time to open the slug can be sorta tough Oct 04 17:22:02 sorta tough? Oct 04 17:22:06 once you get it apart, it's a bit easier to understand exactly what pressure needs to be exerted and exactly where Oct 04 17:22:07 my thumbs are dieing Oct 04 17:22:08 heh Oct 04 17:22:26 if i manage it i'm going to be taking photos to explain Oct 04 17:22:28 the tabs that catch aren't where you're pressing (probably) Oct 04 17:22:34 almost certainly Oct 04 17:22:38 rwhitby's pictures are pretty good Oct 04 17:22:53 :-o Oct 04 17:22:58 i haven't seen any... Oct 04 17:23:43 Lunar, check these: http://www.rwhitby.net/nslu2/serial.html Oct 04 17:24:32 see where the 3 catches are? start at the top and work your way to the bottom of the slug Oct 04 17:25:52 are there catches on both sides? Oct 04 17:26:06 i'm sure i can dislocate the top ones, but i can't get the middle done at all Oct 04 17:27:40 middle is gone! Oct 04 17:28:59 hmm, seriously, are there tags on both sides or just one? Oct 04 17:29:27 ok - both Oct 04 17:29:28 and woohoo Oct 04 17:29:30 i;m in Oct 04 17:38:04 now i can#t kill the R83:-( Oct 04 17:57:08 hi Oct 04 17:57:16 can anyone help me with an nslu2 problem? Oct 04 17:58:59 Ask your question, if anyone knows the answer they will tell you, but people come and go so you may not get an answer on the first attempt. Oct 04 18:00:35 I just got it tonight and flashed in Unslung 5.5 which worked fine - I then installed ftpd-topfield. When I tried to ftp to it, it said it couldn't find the topfield - which is because I had unplugged it before the flash - so I connected it and rebooted, now I can't seem to access the thing at all! Oct 04 18:01:02 when I turn it on, I just get a single orange power/status led - then sometimes after a while, it beeps and goes green... Oct 04 18:01:08 any ideas what's going on? Oct 04 18:01:49 Why would you flash in Unslung 5.5? The latest version is 6.8. But anyway, do NOT use any Linksys tools at this point or you will brick your device. Oct 04 18:02:33 The doc I was reading said above 5.5 will fit into the device itself with ftpd-topfield - above this needed a usb memory stick Oct 04 18:02:37 There are people who can help you recover from this but NOT if you use the Linksys tool that erases the boot loader, so don't do that. Oct 04 18:03:02 I just tried to use the cd to scan for the device but it didn't find it - is that ok? Oct 04 18:03:39 Once you have unslung, don't try to use Linksys tools. Oct 04 18:03:45 ok Oct 04 18:03:58 But you didn't hurt anything just trying to scan for it. Oct 04 18:04:03 phew Oct 04 18:04:20 so do I need to re-flash? - funny it worked fine after flashing, all I did was reboot Oct 04 18:04:36 There is a specific utility called "erase all" or something like that that will brick your device. Oct 04 18:04:42 ok Oct 04 18:04:50 so any ideas what I should do next? Oct 04 18:05:16 are you able to access redboot? Oct 04 18:05:18 Re-flashing may help, but first, can you access it using the web interface? Oct 04 18:06:15 caribous right, if it beeps and turns green - it should answer Oct 04 18:06:38 drif_: I read something about sercomm on the wiki so I downloaded it, held in the reset while turning on and it went read but when I released, it didn't go green/red - so I tried again - now it just stays orange..... Oct 04 18:06:52 caribou7: no - can't seem to see it on the network Oct 04 18:07:08 and for some reason, it wont go green now - it's just sat with an orange light Oct 04 18:07:34 ichilton: in which stage you have released the button? Oct 04 18:08:15 ichilton: have I understood correctly - you are playing within internal memory only? Oct 04 18:08:15 drif_: correct Oct 04 18:08:15 drif_: no memory stick connected Oct 04 18:08:15 uh, I wish you haven't filled up the thing... Oct 04 18:08:15 oh Oct 04 18:08:19 is that what i've done? Oct 04 18:08:47 that might have happened Oct 04 18:08:49 all I did is flash in 5.5 and install ftpd-topfield from the url (_didn't_ run ipkg-cl update!) like the doc said Oct 04 18:08:58 I have never dared to play with it ;) Oct 04 18:09:12 I value my slugs too much Oct 04 18:09:18 any ideas what I do now then? Oct 04 18:09:32 it just seems to be sat with an orange led now... Oct 04 18:10:08 ichilton: I repeat my question (I might have missed) at which stage you have released the reset-button? Oct 04 18:10:13 when trying to access redboot Oct 04 18:10:23 ah Oct 04 18:10:23 or actualyl upgrade-mode Oct 04 18:10:27 actually Oct 04 18:10:39 I held it in, turned it on and waited Oct 04 18:10:46 it went red after about 20 secs Oct 04 18:10:49 so I let go Oct 04 18:10:51 waited Oct 04 18:11:00 but it didn't flash red/green like it said it should Oct 04 18:11:05 so I tried again (a few times) Oct 04 18:11:15 but no matter how long I held it, nothing seems to happen now - just orange Oct 04 18:11:52 well, it not question for how long really...it's rather short timeframe Oct 04 18:12:17 so what can I try? Oct 04 18:14:55 just turned it off and left it a bit Oct 04 18:14:59 turned it back on Oct 04 18:15:04 and got a flashing green light now Oct 04 18:15:14 beep Oct 04 18:15:16 solid green Oct 04 18:15:27 is that good? Oct 04 18:16:10 try webgui Oct 04 18:16:22 or ping it Oct 04 18:16:29 yep, just tried Oct 04 18:16:43 can't see it on the ip I gave it (10.30.1.253) or 192.168.1.77 Oct 04 18:19:29 any ideas what to try now? Oct 04 18:25:55 but no webgui? Oct 04 18:26:09 oh, can't Oct 04 18:26:10 sorry Oct 04 18:26:10 nope Oct 04 18:26:11 misread Oct 04 18:26:43 just doens't seem to answer on the network Oct 04 18:28:09 so what can I try now? Oct 04 18:28:15 i've got a linux box and a windows box here Oct 04 18:28:26 what's the easiest way to get out of this mess? Oct 04 18:28:57 upslug2 I guess Oct 04 18:29:00 i've got a 64mb and a 512mb usb stick, so I could use Unslung 6.8 Oct 04 18:29:16 are you able to talk me through what to do? :) Oct 04 18:29:29 i'm sat with it on the sold green led now Oct 04 18:29:49 s/sold/solid/ Oct 04 18:29:51 ichilton meant: i'm sat with it on the solid green led now Oct 04 18:30:04 :-) Oct 04 18:30:25 could you check via linux box if upslug2 for some reason could found your slug Oct 04 18:30:30 find Oct 04 18:31:10 woohoo - i've managed to de-underclock my slug! Oct 04 18:31:26 drif: do you have a download link handy for upslug2? Oct 04 18:31:39 which distribution you're running? Oct 04 18:31:45 few already provide it Oct 04 18:31:52 like debian I recall Oct 04 18:31:56 gentoo Oct 04 18:31:59 ubuntu Oct 04 18:32:06 check repository Oct 04 18:36:33 drif: ok, installing the debian one now Oct 04 18:36:36 drif: what next? Oct 04 18:37:18 upslug2 installed and I can --help on it and the nslu2 is sat with the solid green light Oct 04 18:38:10 what does simply typing upslug2 return Oct 04 18:39:35 root@dipsy:~ # upslug2 Oct 04 18:39:35 [no NSLU2 machines found in upgrade mode] Oct 04 18:40:05 ok Oct 04 18:40:17 you'll just have to reboot it Oct 04 18:40:38 and try to release in time Oct 04 18:40:44 :-\ Oct 04 18:42:23 ok Oct 04 18:42:27 so press and hold power Oct 04 18:42:39 it beeps and turns off Oct 04 18:42:44 power? Oct 04 18:42:58 so now I press and hold reset, press power and it should go red after about 10 secs, yes? Oct 04 18:43:09 don't count - just watch the led state Oct 04 18:43:20 and react Oct 04 18:43:38 yay Oct 04 18:43:41 red and green Oct 04 18:43:49 now upslug2 Oct 04 18:43:53 it should see it Oct 04 18:43:54 root@dipsy:~ # upslug2 Oct 04 18:43:55 [no NSLU2 machines found in upgrade mode] Oct 04 18:44:09 do I need to bring up the orig ip range - 192.168.1.x? Oct 04 18:44:40 root@dipsy:~ # ifconfig eth0:1 192.168.1.2 netmask 255.255.255.0 up Oct 04 18:44:40 root@dipsy:~ # upslug2 Oct 04 18:44:40 [no NSLU2 machines found in upgrade mode] Oct 04 18:44:41 humm Oct 04 18:44:49 a sec Oct 04 18:44:56 slug is flashing red and green quickly.. Oct 04 18:45:15 which ip's you have now in use? Oct 04 18:45:18 on the linux box Oct 04 18:45:33 10.30.1.2 on eth0 Oct 04 18:45:48 and I just brough up 192.168.1.2 on eth0:1 Oct 04 18:45:51 192.168.0.x Oct 04 18:45:55 try that Oct 04 18:45:57 ok Oct 04 18:46:21 root@dipsy:~ # ifconfig eth0:2 192.168.0.2 netmask 255.255.255.0 up Oct 04 18:46:21 root@dipsy:~ # upslug2 Oct 04 18:46:21 [no NSLU2 machines found in upgrade mode] Oct 04 18:46:28 :-( Oct 04 18:46:52 try accessing straight with mac Oct 04 18:47:05 do you have the image handy? Oct 04 18:47:09 shall I try sercomm on the windows pc - i'm on the linux one now so it's hard to change the ip - the windows one I can change away Oct 04 18:47:21 which image? - shall I get Unslung 6.8? Oct 04 18:47:37 beats me - still using 5.5b Oct 04 18:47:42 ok Oct 04 18:48:04 I have always used upslug2 Oct 04 18:48:23 no experience from sercomm Oct 04 18:49:00 ok Oct 04 18:49:05 downloading image to this pc now Oct 04 18:49:46 mac address label says LKG7.... is that right? Oct 04 18:50:25 it's same form was ifconfig's 'HWaddr' Oct 04 18:50:39 was=like Oct 04 18:50:44 sorry was=as :P Oct 04 18:50:55 humm Oct 04 18:50:59 so how can I find it's mac? Oct 04 18:51:17 nothing else on the sticker? Oct 04 18:51:35 LKG7CCA7E Oct 04 18:51:37 and a bar code Oct 04 18:52:24 nothing above? Oct 04 18:52:40 like numbers and letters in a row Oct 04 18:52:58 just the serial number Oct 04 18:53:11 hm, strange Oct 04 18:53:16 I have another sticker above Oct 04 18:53:38 sec Oct 04 18:54:40 actually, nothing on my slug either Oct 04 18:55:15 there's field which says MAC but there's a sticker with barcode and hostname... Oct 04 18:55:32 same here Oct 04 18:55:41 very clever move. Oct 04 18:56:13 ok, i've tried the windows box with sercomm in all 3 ip ranges - and it doesn't seem to find it either :( Oct 04 18:57:15 maybe you should try reboot once again Oct 04 18:57:35 just unplug it and put it back in? Oct 04 18:57:49 ? Oct 04 18:57:56 what do you mean reboot? Oct 04 18:58:04 your slug Oct 04 18:58:07 ok Oct 04 18:58:15 just pull the power and put it back in you mean? Oct 04 18:58:41 yes Oct 04 18:58:51 don't forget pressing reset Oct 04 18:58:53 like before Oct 04 19:17:13 ichilton - Just a thought, check to make sure you don't have a firewall on your Linux or Windows box that might be restricting access to the 192.168.x.x range. Other than that you could try asking again this evening, maybe someone else will have some ideas. Oct 04 19:18:55 cchumm strange Oct 04 19:18:58 it's just started working! Oct 04 19:19:09 I wasn't getting an ethernet light before but now I am Oct 04 19:21:03 yay, and ftp is working Oct 04 19:21:08 so what the heck was going on Oct 04 19:21:17 I tried different network connections and everything Oct 04 19:21:18 oh well Oct 04 19:21:24 thanks for your help both of you! Oct 04 19:22:16 You're welcome. You might consider this http://www.nslu2-linux.org/wiki/Unslung/UpgradingToUnslung6 but maybe "if it isn't broke don't fix it" would also be a good approach. Oct 04 19:22:56 ichilton: you're welcome Oct 04 19:23:04 It would certainly be easier to upgrade when you don't have serious data stored on the drives yet, though. Oct 04 19:23:13 I normally prefer to always run the latest version, but if all i'm using it for at the moment is ftpd.topfield, then it seems daft to use up a memory stick Oct 04 19:23:15 Your call. :-) Oct 04 19:23:24 would a 64mb stick be enough though? Oct 04 19:23:34 for what? Oct 04 19:23:35 You don't NEED a memory stick to run 6.8 Oct 04 19:23:45 If you have a hard drive. Oct 04 19:23:50 lol Oct 04 19:24:03 that's even worse! Oct 04 19:24:21 I run two hard drives on 6.8, no memory sticks at all. Oct 04 19:24:48 But then I am using it primarily for storage. Oct 04 19:25:09 yeah, I only want it to access my topfield pvr box Oct 04 19:25:09 ichilton: for which purpose you got your slug? Oct 04 19:25:31 that was my original reason as well... Oct 04 19:26:01 so now what do you use it for? Oct 04 19:44:04 ichilton: ftp, samba, php-httpd, mysql, topfield-ftpd, storage, screen, irssi+bitlbee - everything I guess :P Oct 04 19:44:39 sshd of course Oct 04 20:18:54 drif: ah :) Oct 04 20:19:24 so what do you have connected to it? Oct 04 20:21:39 topfield and hdd? Oct 04 20:21:57 ah, ok Oct 04 20:22:18 so you can access the hd via a share over the network - and ssh into it and use it like a linux box? Oct 04 20:22:27 or access the topfield of course Oct 04 20:22:40 yes, via ftp from some pc Oct 04 20:22:43 or locally Oct 04 20:22:49 which I often use - hence the hdd Oct 04 20:22:54 locally? Oct 04 20:22:54 among many other reasons Oct 04 20:23:14 yes, I connect via ftp to local port 2121 which is running ftpd-topfield Oct 04 20:23:24 ah, ok Oct 04 20:23:24 from slug itself Oct 04 20:23:27 gotcha Oct 04 20:23:52 does it matter which port the topfield goes into and which the hd/memory stick goes into? Oct 04 20:28:49 depends on the unslung version I think Oct 04 20:29:19 on 5.5b upper is connected to topfield Oct 04 20:29:23 on my machine that is Oct 04 20:41:29 ok Oct 04 20:41:52 so now i've got it working, what do I have to do to add a hd or memory stick? Oct 04 21:15:37 1) Get money, 2) Find transportation to a store that sells them, 3) exchange money for item, 4) find transportation back, 5) figure out how to open the damn plastic hard shell container Oct 04 21:16:52 6) get Band-Aid to stop bleeding where edge of packaging cut your finger, 7) remind me which distribution you're running **** ENDING LOGGING AT Thu Oct 05 02:59:57 2006