**** BEGIN LOGGING AT Mon Nov 19 02:59:57 2007 Nov 19 15:16:55 ~botsnack Nov 19 15:16:56 :), fendor Nov 19 18:32:52 Hi all! How do I reflash an unslung NSLU2? Want to do this as i cant telnet into it anymore thanks to vsftpd and proftpd Nov 19 18:43:18 why would you want to telnet to it Nov 19 18:43:20 you should use ssh Nov 19 18:46:14 anyway Nov 19 18:46:19 you don't really have to reflash Nov 19 18:46:39 just format your disk and then start back at the unsling step Nov 19 19:04:39 Just to confirm I just need to format the USB drive via the web interface and then unsling Nov 19 19:04:48 Need to look up that step Nov 19 19:08:54 but I do need to telnet in for the unsling step.When I format the drive does this restore the original firmware ? Nov 19 19:34:29 no chib0 if you format a drive it will wipe evrything you have on it Nov 19 19:34:54 hm little late that answer Nov 19 19:56:36 I havent done anything yet. I m just confused on this msg Nov 19 19:56:54 just format your disk and then start back at the unsling step Nov 19 19:57:14 btw Nov 19 19:57:26 you do know that you have to enable telnet before you can use it Nov 19 19:58:00 Yeah this is what I was trying to say . I cant telnet in even if its enabled on the web interface Nov 19 19:59:48 why aren't you using ssh? Nov 19 20:00:29 Well didnt think I would need it as I never log in from outside my network Nov 19 20:03:19 any ideas of what I can do to rectify this ? Nov 19 20:03:37 I think I would just try to solve the telnet prob Nov 19 20:03:38 chib0 loging with root and passw dont works? Nov 19 20:04:01 *log in Nov 19 20:04:34 yup cant telnet Nov 19 20:05:05 you will probably have to reboot nslu2 with no hd attached Nov 19 20:05:07 turn on telnet Nov 19 20:05:19 then edit some files on the hd Nov 19 20:05:33 I keep getting connection lost from host. Telnet is turned on Nov 19 20:06:09 I only edited some xinetd files when I was trying to get vsftpd and proftpd to work Nov 19 20:06:21 why don't you try unplugging hd Nov 19 20:06:28 then turn on nslu2 Nov 19 20:06:30 *Telnet is enabled on the web interface Nov 19 20:06:32 then turn on telnet Nov 19 20:06:36 then see if you can login Nov 19 20:06:37 Ok Nov 19 20:06:45 will try that now Nov 19 20:06:52 I dont need to reboot right Nov 19 20:06:55 if you can, then plugin hd, wait a minute Nov 19 20:06:58 yes Nov 19 20:07:01 you should turn it off Nov 19 20:07:03 unplug hd Nov 19 20:07:05 turn it on Nov 19 20:07:07 k Nov 19 20:07:09 cheers Nov 19 20:07:27 just make sure to not touch ipkg when you are in telnet Nov 19 20:07:34 I ll do it now and report back Nov 19 20:07:35 k Nov 19 20:09:43 you'll need someone who knows about the config files and stuff if you do get in Nov 19 20:09:53 if/when you get in you'll need to plug in hd Nov 19 20:09:55 then do some editing Nov 19 20:17:19 K I can log in Nov 19 20:17:27 now as root Nov 19 20:17:55 but how do I go about plugging in my drive Nov 19 20:18:28 plug the drive's usb cable into the port on the back of the nslu2 Nov 19 20:18:38 k Nov 19 20:18:39 and Nov 19 20:18:51 . Nov 19 20:18:58 edit which files ? Have no clue as I am newbie Nov 19 20:19:05 as I said Nov 19 20:19:06 idk Nov 19 20:19:12 you have to find someone else who knows that Nov 19 20:19:12 k Nov 19 20:19:24 cheers for your help.Much appreciated Nov 19 20:19:28 np Nov 19 20:29:50 does anyone know which files I can configure to restore telnet when using an unslung system and what to do to reattached my USB drive which is where all the unslung files are Nov 19 20:35:01 well to reattach the drive jsut put it in again :). question then is what files to edit Nov 19 20:39:31 if you got no answer in reasonble time one more option is to unsling again.I think you then wil got msg its already done becuse thoose files are already there, but you can remove the old ones on your disk and unsling anyway Nov 19 20:46:10 cheers jannen.that is my exact thought and was going to be my last resort Nov 19 20:50:22 in that case put the unsling command "/sbin/unsling disk2" then you will be told what to do. Nov 19 20:50:53 Ive done it best is to remove old files put in new Nov 19 21:09:47 k cool Nov 19 21:11:17 I get an error Nov 19 21:11:35 Error: This system is unable to properly unsling because certain Nov 19 21:11:58 required mounts are not available Nov 19 21:12:16 This is most probably because you have already unslung this system Nov 19 21:12:45 The flags that indicate an already-unslung system have now been Nov 19 21:12:54 yes thats expected message:) Nov 19 21:13:26 k how do I override this as it wants me to unplug the drive and reboot Nov 19 21:14:57 what i remember when I did that was i removed the old files and then the unsling command worked. Nov 19 21:15:57 wrote mount and look what it says Nov 19 21:16:05 *write Nov 19 21:20:41 This is what I see that is off interest /dev/sda2 on /share/flash/conf type ext3 (rw,sync) Nov 19 21:21:41 so I should reformat/or clean my drive for it to unsling Nov 19 21:22:42 you can reformat it from webinterface Nov 19 21:23:14 yup doing that Nov 19 22:08:24 * mwester notes that this situation is the reason for the repeated advice to install ssh (in the readme, in the wiki, and printed on the web page when one enables telnet). Nov 19 22:09:26 * Reedy_Boy agree's Nov 19 22:09:45 * Reedy_Boy notes the developers are 99.99% correct Nov 19 22:12:53 and 00,01% wrong :P Nov 19 22:14:53 ;) Nov 19 22:30:50 oh well thought i ll never need it so ssh would be thee first thing i ll getr work Nov 19 22:30:52 ing Nov 19 22:31:08 as long as its not diffcult to install ;) Nov 19 22:31:40 ipkg install openssh Nov 19 22:31:46 or ipkg install dropbear Nov 19 22:32:29 chib0: It is the simplest and easiest ipkg install you'll ever do. "ipkg install openssh" and you are done. That's it. No set up. No configuration. No web pages. No nothing. It just works. Nov 19 22:32:51 We wanted to make it as painless as possible to do it the right way (ssh would be in the root image, except that it won't fit). Nov 19 22:33:11 Avoid dropbear -- there are no advantages once you have unslung. Nov 19 22:33:12 :) Nov 19 22:33:44 (SlugOS has dropped dropbear and switched to openssh even for the base firmware image) Nov 19 22:34:39 chib0: Is there a special reason that you wished to use vsftpd or proftpd instead of the one built-in? Nov 19 23:10:06 ok thanks for the advice Nov 19 23:10:16 just got my system working again Nov 19 23:10:29 installing openssh Nov 19 23:10:43 erm didnt know there was a built in server Nov 19 23:10:54 although I did notice a bftpd Nov 19 23:11:09 but by then I had screwed up my system Nov 19 23:12:48 chib0: feel free to edit the wiki pages for the vsftpd and proftpd installs to highlight the pitfalls, and perhaps mention bftpd -- t'would help others, perhaps. Nov 19 23:14:25 Should do that Nov 19 23:15:43 You're not the first who has ended up reinstalling because of those two install procedures; for some reason nobody ever has marked those pages with the gigantic bright red "WARNING!" they deserve, IMO. Nov 19 23:22:24 umm under adminstration/system you can enable ftp Nov 19 23:26:21 thanks guys much appreciated **** ENDING LOGGING AT Tue Nov 20 02:59:57 2007