**** BEGIN LOGGING AT Fri May 26 09:59:57 2006 May 26 10:15:22 what does it mean to "unslung to an external drive"? May 26 10:20:26 do you know what unslung is? May 26 10:23:29 a replacement firmware? May 26 10:23:32 yes May 26 10:23:45 i just thought you didn't need an external drive for it May 26 10:23:55 and in order to use it more effectively you need to install additional software May 26 10:24:04 ok May 26 10:24:05 which doesn't fit on the nslu2's flash May 26 10:24:20 does that require formating the drive? which fs? May 26 10:24:26 in fact you might ruin your nslu2 by just trying to install and filling up the flash May 26 10:25:12 yes it requires formatting but nslu2's web admin pages do that for you May 26 10:25:37 fs is ext3 May 26 10:25:42 hm... ok. thanks. that will require an additional hd for a backup May 26 10:25:49 nice May 26 10:27:08 i guess i'll just have to try the different firmwares and see which one i like best May 26 10:29:03 unslung is the easier imho May 26 10:29:47 i'm a debian user, but i think running debian on such a slow box will be kind of painful May 26 10:29:59 it depends what you expect from it May 26 10:30:15 yeah, i guess :-) May 26 10:31:18 make your needs simple and straightforward and it'll work beautifully :P May 26 10:32:33 in other words: don't make it work like a horse :P May 26 10:33:57 hm, i just want a httpd, samba and backuppc. maybe a torrent client. May 26 10:34:24 those three no probs - haven't found any good torrent program so far May 26 10:34:47 either they don't work at all/with some trackers or they're unbearably heavy on cpu May 26 11:09:21 well.. i'm pretty sure now.. DebianSlug is much slower than unslung on nslu2.. much much slower May 26 12:44:26 hi all May 26 12:44:38 is it possible to replace the harddisk, keeping all the files May 26 12:45:23 and settings? May 26 12:55:52 bazz-, i don't see why not.. if you image the old disk to the new one May 26 13:04:25 hrm someone told me that gave problems May 26 13:04:49 anyways, i'm doing a dd if=/dev/sda of=/dev/sdb May 26 13:04:56 will take some while though May 26 13:05:00 hope it'll work :] May 26 13:07:15 bazz-, are the two disks the same size? May 26 13:07:31 the new one is 300, the old one 250 May 26 13:07:36 the old one is a maxtor May 26 13:07:48 takes a lot of power, the enclosure can't handle it May 26 13:07:59 it doesn't boot up properly most of the time May 26 13:08:05 so i changed it to the newer one May 26 13:08:26 i'll resize the largest partition to fill up the entire disk after dd is done May 26 13:08:30 bazz-, won't the partition table be missing the extra 50? May 26 13:08:43 yeah, but i'll resize it afterwards May 26 13:09:43 i'd try booting it before resizing.. just to rule out problems from resizing May 26 13:09:59 ok thx for the tip :) May 26 14:28:23 Je suis attaché **** ENDING LOGGING AT Fri May 26 14:40:27 2006 **** BEGIN LOGGING AT Fri May 26 17:02:11 2006 May 26 17:26:20 mika_ :) May 26 17:31:43 hi May 26 17:36:06 Hi, bought a NSLU2 today and already into trouble... somebody there that can help me with some questions? May 26 17:41:07 ~ask May 26 17:41:08 If you have a question, just ask, maybe someone have an answer... sometimes. May 26 17:45:01 tried to flash the device with the latest Linksys firmware. Flashed from the web ui.. It said that it would take about 5 minutes... Now, about 20-30 minutes later it Ready/Status LED are still flashing Amber and green... I guess something did go wrong. Can I reboot the device? Or will it be broken afterwards? May 26 17:47:55 baronen, you could try it, if it wont work, you should read http://www.nslu2-linux.org/wiki/HowTo/TelnetIntoRedBoot and http://www.nslu2-linux.org/wiki/HowTo/RecoverFromABadFlash May 26 17:50:49 okey.. thanks... but I think it is a little bit strange that updateing from and to linksys original firmware fails. May 26 17:54:05 baronen, that depends on the firmware on the nslu, with unslung >= 5.5 it wont work via webif May 26 17:57:52 my first step was just to upgrade to latest linksys original firmware....( before unslung - ing ) so it was an original linksys firmware that failed from web-ui May 26 18:24:12 ok... it rebooted correctly. puh May 26 18:29:56 ahh... now it flashed correctly... will try to flash to unslung soon May 26 19:11:08 if you want use auto-completition, you need a shell, which support this feature, e.g. bash May 26 19:12:40 what is the default shell? (i.e. what shell do i have now?) May 26 19:13:13 busybox? May 26 19:13:27 ah ash. May 26 19:13:28 busybox, on unslung-5.5 in version 0,6, dunno which version it is in unslung-6 May 26 19:14:11 does anyone have any idea what might be wrong here.... May 26 19:14:36 i have added /unslung/rc.samba (contents here: http://pastebin.com/739907) May 26 19:15:21 and samba_snippet.txt (contents here http://pastebin.com/739913 - ignore line 7, it came from 'less') May 26 19:15:47 when i boot the slug, it mounts the disc (rc.samba line 2) May 26 19:16:08 but it doesn't perform the cat (and append snippet to /etc/samba/smb.conf) May 26 19:16:21 as a result, the drive is not shared May 26 19:16:48 if (however) i perform the cat command myself, it works (and the share is created) May 26 19:16:53 you should use an absolute path for the snippet.txt file May 26 19:17:14 hmmm maybe it's the path that is the problem. what is the working May 26 19:17:28 ah yes, thanks caplink811_log May 26 19:17:32 np May 26 19:17:49 okay, next question :) May 26 19:18:21 considering what http://pastebin.com/739913 looks like, can you see a reason why i can only list the files when connected over samba (no reading, no writing)? May 26 19:19:56 hm, owner of /mnt/share is admin, and the group is everyone? May 26 19:20:32 i think the owner is probably root May 26 19:20:36 i created it as root May 26 19:20:43 chmod? May 26 19:21:22 the default on all dirs/shares managed with the webif is admin.everyone, so, yes May 26 19:25:30 ah yes, like /share/hdd/ May 26 19:27:26 so if i just do: chmod ug+rw /mnt/share/ May 26 19:27:35 this should do the trick? May 26 19:28:04 chown, and chgrp may help you May 26 19:30:03 right excellent. cheers caplink811_log May 26 19:30:31 np May 26 19:34:58 all working like a dream now on boot. May 26 19:35:47 one other thing. is it possibe to add my own shares to be visible via ftp? or if the ftp part a closed module of the linksys software? May 26 19:35:49 ~emulate rwhitby May 26 19:35:50 well, my work here is done May 26 19:36:36 s/if/is May 26 19:36:44 iwo, if you use unslung-6.8, which contains b-ftp (imho) then it is a closed thing (imho), but you could install vsftpd or proftpd May 26 19:37:18 k thanks May 26 19:37:20 with which you could maintain the conf files May 26 19:37:41 true, would make things easier May 26 19:37:53 thanks caplink811 May 26 19:43:06 can anyone tell me what files are used to generate the smb.info file in /share/flash/conf/share or perhaps by what process they are generated? May 26 19:43:52 I assumed they were generated at boot time and anytime the web based configuration had been modified. May 26 19:44:38 smb.conf, smb.info, or share.info ? May 26 19:52:21 smb.info since that is the file linked to by /etc/samba/smb.conf May 26 19:54:35 imho, /sbin/rc.bootbin is responsible May 26 20:00:11 hmm, okay. do you know if there is any information about what files contain the source information /sbin/rc.bootbin uses to create the /share/flash/conf/share/smb.info file? I thought that /share/flash/conf/smb.conf may be used as it contains all the samba config information up to the shares, but that seems not to be the case. May 26 20:05:49 no, because it is a linksys executable, and the sourcecode isn't available... if you want do some special things with samba, you should install samba3, and maintain your own config in /opt/etc/samba May 26 20:27:49 okay, i understand. But I assume that the source configuration data used to write to /share/flash/conf/share/smb.info must be stored somewhere on the drive in human readable format. Can you confirm that this is not the case, or is it just difficult to determine because rc.bootbin is in binary form? Regardless, I have upgraded to samba 3.022-1 using ipkg. What I am trying to do now is ensure compatibility with the web confi May 26 20:27:49 guration interface. May 26 20:28:56 btw, i forgot to mention I am using unslung 6.8. May 26 20:31:29 those informations are stored in the flash (see http://www.nslu2-linux.org/wiki/Info/BootFlash), and are recovered at the boot time by /sbin/rc.bootbin, so, no human radable format, and no chance to change anything on it May 26 20:35:59 Je suis détaché May 26 20:41:59 chloubs, merci May 26 20:45:15 thanks. that's what i needed to know. so really, the only opportunity to maintain compatibility with the web interface and to be able to modify the samba server config is to use a diversion script to make modifications to /share/flash/conf/share/smb.info after boot? May 26 20:45:53 imho, yes May 26 20:47:52 okay, thanks for clearing that up. too bad the full source isn't available from linksys though. **** ENDING LOGGING AT Sat May 27 02:59:56 2006