**** BEGIN LOGGING AT Thu Sep 06 02:59:56 2007 Sep 06 08:20:20 Hi Sep 06 08:21:35 Can someone help me with a question on the UnSlung firmware..? Sep 06 08:35:31 Eddy_ ask the question first Sep 06 08:39:34 Thanks Sep 06 08:40:32 OK - I have unslung my NSLU2 to a disk2 and it all works fine. I am having problems adding a 500gb NTFS drive as disk1 as the NSUL2 crashes when I copy data to it Sep 06 08:40:43 from what I have read this is due to the NTFS driver Sep 06 08:41:21 hmm Sep 06 08:41:35 What I would like to do is format the 500GB to ext3 and add it to port1 - but I believe this means I will have to leave both disks plugged in Sep 06 08:41:56 ntfs driver from kernel doesn't support writing properly Sep 06 08:42:05 therefore, is it possible to move the disk is disk2 to disk1 Sep 06 08:42:21 and just run the unsling script again, or do I need to re-flash then re-unsling Sep 06 08:42:24 i thought the NTFS support was (at best) flakey Sep 06 08:42:49 as I don't want the 500GB to be on all the time Sep 06 08:42:57 .. hope that all makes sense.. ;) Sep 06 08:43:00 there is ntfs-3g driver with write support but it works on fuse and uses lot of cpu Sep 06 08:44:09 hmm, ok.. I would be happy with both drives as EXT3 - but would like know how to move the drive with the root file system to the disk1 port Sep 06 08:45:18 Eddy_ some external drives can be turned off, if they are unused Sep 06 08:47:03 That's what I am hoping to do. But I need to move the current unslung drive from port2 to port1 Sep 06 08:49:37 why ? Sep 06 08:54:32 sorry, because if I have two EXT3 formatted drives plugged in and have unlung to disk2, when I plug disk1 in it will copy the config to both drives Sep 06 08:54:56 which will make the system reliant on both drives being on when I boot the system Sep 06 08:56:02 u also need to copy mbr Sep 06 08:58:10 OK - so do you think I can get away with booting from flash memory, plugging the disk into port1, reformatting then running the unsling script Sep 06 08:58:20 or should I reflash and start again from scratch Sep 06 09:01:05 u don't have reflash nslu2, copy mbr, make similar partition layout on 2nd disc, and copy rest of data, everything should work Sep 06 09:02:57 OK - I'll give that a try... Thanks for your help Sep 06 09:03:57 it will be the fastest way i think :) Sep 06 09:04:31 ta. Sep 06 18:37:19 I'm having troubles getting vsftpd to work. the server is running, but when I log in (anony or otherwise) I get a read timeout Sep 06 18:37:42 I'm not really linux savvy, so I don't know where to being troubleshooting Sep 06 18:59:48 Labyr|nth, that happens when you try to connect from your internal n etwork? Sep 06 18:59:57 yep Sep 06 19:02:14 same subnet too Sep 06 19:19:37 Labyr|nth post your config somewhere (some nopast server ie. phpfi.com) Sep 06 19:22:20 sec Sep 06 19:24:10 is there a way in nano to select the entire doc? Sep 06 19:24:48 i don't know Sep 06 19:28:08 http://phpfi.com/261158 Sep 06 19:31:39 Labyr|nth u can log in, but there is no data flow after that ? Sep 06 19:32:26 I'm not even sure how far I'm getting with logging in... there's no feedback. The only message I receive is that Ive a read timed out Sep 06 19:32:40 obviously no directory listing or motd etc Sep 06 19:33:06 hmm everything looks ok... Sep 06 19:33:33 maybe there is something in log file ? Sep 06 19:33:45 i've even opened up the router, but i'm not really concerned about it because it's all local Sep 06 19:33:53 i'll check the log, but last time, i had no output Sep 06 19:34:00 strange :/ Sep 06 19:34:37 hrmm logfile doesn't exist Sep 06 19:35:09 i think there is one option missing: syslog_enable=yes Sep 06 19:35:34 or logfile doesn't exist;) Sep 06 19:35:37 as u say Sep 06 19:36:50 touch /var/log/vsftpd.log && chmod 666 /var/log/vsftpd.log Sep 06 19:36:59 Labyr|nth, you use inetd/xinetd to start the ftp server? Sep 06 19:37:06 yep Sep 06 19:37:41 i just tried restarting it but received an "address already in use" - unable to listen to socket Sep 06 19:37:53 which firmware? Sep 06 19:37:55 perhaps another server is running? Sep 06 19:38:00 most recent Sep 06 19:38:04 openslug Sep 06 19:41:16 rather unslung 6.8 Sep 06 19:41:52 hm, 1st what client do you use? 2nd what happens when you set listen=yes and listen_port=7000 in the vsftpd.conf, and try a telnet ip_slug 7000? Sep 06 19:43:02 cyberduck or osx's own ftp client Sep 06 19:43:29 with unslung-6.8 you should disable the integrated bftpd before you try an alternative server Sep 06 19:45:44 xinetd won't let me restart Sep 06 19:45:53 any concerns there since I've edited vsftpd.conf? Sep 06 19:46:54 and telnet is refused on 7000 Sep 06 19:47:26 there is no need to restart xinetd, just fireup /path_to_vsftpd/vsftpd /path_to_vsftpd_conf/vsftpd.conf Sep 06 19:50:50 okay,... dumb question... i can't seem to find the path to vsftpd Sep 06 19:51:19 hm, which vsftpd Sep 06 19:51:54 no vsftpd in /opt/local/bin /opt/local/sbin /bin /sbin /usr/bin /usr/sbin Sep 06 19:52:23 i think it has to be started through inetd Sep 06 19:52:26 interesting Sep 06 19:52:46 should i ipkg remove and reinstall it? Sep 06 19:53:14 no Sep 06 19:54:33 at least, inetd or xinetd should knows where to find the executable, check /etc/inetd.conf or /etc/xinetd.d/ftpd or /opt/etc/xinetd.d/ftpd for the path Sep 06 19:59:25 . Sep 06 19:59:49 hrmm /etc/xinetd.d/ftpd didn't exist, and the others had no reference Sep 06 20:00:47 ps -ef | grep inetd results in what output? Sep 06 20:01:02 just a sec... i didn't notice i was disconnected from my ssh session Sep 06 20:01:13 * Labyr|nth is a blind dumbass :P Sep 06 20:04:01 okay first i saw why I was kicked out of my session: when I tried to run /opt/sbin/vsftpd, I got the message saying vsftpd wasn't configged as a standalone server and then was booted Sep 06 20:05:21 so. you haven't added listen=yes in the vsftpd.conf... Sep 06 20:06:02 yes I have... it's at the bottom Sep 06 20:06:21 that's ok Sep 06 20:07:04 and listen_port=7000 too? Sep 06 20:07:10 yes, both Sep 06 20:07:53 then vsftpd should run in standalone mode, when you could locate the vsftpd binary... Sep 06 20:09:36 i'm afraid it won't Sep 06 20:10:42 inetd.conf has this line: ftp stream tcp nowait root /opt/sbin/vsftpd /opt/etc/vsftpd.conf Sep 06 20:10:47 would that cause issues? Sep 06 20:14:39 thanks for the help tho... i'll do some playing over the next few days and see where I land. at the least, I've learned a few new things Sep 06 20:15:40 probably not, it is only interesting when you connect the nslu on port 21 (ftp), but with listen=yes, and a listen_port=7000, vsftpd should sit along and wait for connect on this port Sep 06 20:17:16 how can I restard inetd? Sep 06 20:17:20 restart Sep 06 20:17:42 i'm hoping that will help Sep 06 20:18:10 because if I understand this correctly, restarting inetd (or xinetd) will cause vsftpd to restart as well, right? Sep 06 20:20:01 no, inetd/xinetd is a kind of a superdaemon, which waits for connections on different ports, and when someone want to connect a particular port, then it looks in the conf file for a program which should be started... could be telnet when someone want to connect on port 23 or ftpd when someone knocks on port 21 Sep 06 20:20:25 i see Sep 06 20:20:29 the server applications only runs when someone want to use it, this is the "benefit" Sep 06 20:20:40 ahh Sep 06 20:20:42 less memory usage Sep 06 20:20:58 but a little longer startup time of the application Sep 06 20:21:36 those well known ports are defined in /etc/services Sep 06 20:22:45 right, so vsftpd runs as a daemon which is being cloaked by another daemon (inetd)... the fact that vsftpd is having issues is independent of the fact that inetd exists Sep 06 20:23:46 i suppose the task is to rip vsftpd from inetd so that vsftpd will run all the time, without inetd. right Sep 06 20:23:48 ? Sep 06 20:31:28 caplink811-log: hey theree Sep 06 20:32:04 running vsftpd is just a test Sep 06 20:32:12 hi MiKa_ hows live going? Sep 06 20:32:24 fine.. 2e cat here..lol Sep 06 20:32:37 get it tonight Sep 06 20:32:57 And you? busy.. Sep 06 20:33:47 by the way my old nslu2 is working again only the power adapter is broken Sep 06 20:42:23 it is a good idea, to have 2 of these beings around :) Sep 06 20:43:02 2 slugs or 2 cats ? :)\ Sep 06 20:43:13 yeah, busy within the business hours, but i'm at home atm, have to go to frankfurt next week.. Sep 06 20:43:22 the latter one Sep 06 20:43:42 and probably the 1st too ; Sep 06 20:43:44 ) Sep 06 20:43:58 lol..both Sep 06 20:50:59 caplink811-log: Did u look at (x)friskserver ? Sep 06 20:54:14 MiKa_, shame on me, forgot this :( Sep 06 20:54:35 noproblem..lol.. it have no hurry Sep 06 21:14:59 caplink811-log: i gona sleep.. we wil speak later Sep 06 21:15:16 gn8, MiKa_ Sep 06 21:19:00 gn8 for you to... maybe a litle later.. but you have to go soon also.. or you must have holyday Sep 07 00:21:13 i'm having trouble getting my slug into upgrade mode Sep 07 00:21:38 i'm holding the reset button while powering up, then I release when it turns red. Sep 07 00:21:56 but the ready/status light now blinks amber Sep 07 00:22:25 not red/green like it's supposed to Sep 07 00:28:29 uno que se va de vacaciones dos semanas, nos vemos a cuidarse **** ENDING LOGGING AT Fri Sep 07 02:59:56 2007