**** BEGIN LOGGING AT Fri Sep 02 02:59:56 2005 Sep 02 06:14:06 hi can anyone tell me how to lock a user with proftpd in a special directory so that he can only see this directory? Sep 02 08:39:18 Heya guys... I'm having some problems getting my raid1 running on my slug. Can anyone help me out? Sep 02 08:40:04 I'm following the Raid1onUnslung5 HowTo with a couple of 300G drives Sep 02 08:41:52 I ran through the howto once and got to the reboot on the single drive, and the slug never booted, so I decided to try the process over from the start. Sep 02 08:42:33 So, I've now repartitioned the "blank" drive again. Sep 02 08:42:47 And am trying to mount the partitions. Sep 02 08:43:06 md4 and md3 mounted. Sep 02 08:43:15 But md2 and md1 won't mount. Sep 02 08:43:50 # /opt/sbin/mdadm --create --level=1 --raid-devices=2 /dev/md4 /dev/sdb4 missing Sep 02 08:43:57 mdadm: /dev/sdb1 appears to contain an ext2fs file system Sep 02 08:43:58 size=292872948K mtime=Fri Sep 2 08:17:26 2005 Sep 02 08:43:58 Continue creating array? y Sep 02 08:43:58 mdadm: SET_ARRAY_INFO failed for /dev/md1: File exists Sep 02 08:44:39 size=292872948K mtime=Fri Sep 2 08:17:26 2005 Sep 02 08:44:39 Continue creating array? y Sep 02 08:45:02 scratch those last two. Sep 02 08:45:09 lines... Sep 02 08:45:25 Anyway, it's erroring out there, and I'm unsure how to proceed. Sep 02 08:54:12 ahh... Sep 02 08:54:20 md: can not import scsi/host0/bus0/target0/lun0/part2, has active inodes! Sep 02 08:54:20 md: error, md_import_device() returned -16 Sep 02 08:54:24 from dmesg Sep 02 09:31:04 hi folks, anyoine around to answer some questions? Sep 02 09:51:09 heebix: I don't think so. Sep 02 09:51:26 haha, im having trouble with adding users Sep 02 09:52:28 I'm having problem with RAID1 setup. Sep 02 09:53:04 thats beyond me :) Sep 02 09:53:12 Me too, it seems... Sep 02 09:53:32 im just trying to get users to be able ot login/ftp to see all my mp3s Sep 02 09:53:53 Not using SMB shares? Sep 02 09:54:03 Via FTP? Sep 02 09:54:27 well i have two drives, one which is ext3 which is where the rootfs is Sep 02 09:54:35 today i mounted my fat32 drive with all my fun stuff Sep 02 09:54:40 ah Sep 02 09:54:45 Can't help you there. Sep 02 09:54:51 and i can view it as root but when i do an ls as a different user i get permission denied Sep 02 09:54:58 gm Sep 02 09:54:59 hm Sep 02 09:55:13 so i set up my users wrong or i didnt mount with the right permissions Sep 02 09:55:43 yeah, or something. Sep 02 09:55:48 I don't think I can help you. Sep 02 09:56:08 Uh, chmod -r 777 / would prolly fix it. =) Sep 02 09:56:25 But, you know, don't do that. Sep 02 09:56:36 what would do that Sep 02 09:56:39 err Sep 02 09:56:42 what would that do Sep 02 09:56:49 Give all users all access on all files. Sep 02 09:57:16 if i did chmod -f 777 /"myshare" would that work? Sep 02 09:57:22 Actually, iirc, fat32 doesn't support file perms correctly Sep 02 09:57:28 or, at all. Sep 02 09:57:46 so what you are saying is i shouldnt have it with ext3 fs? Sep 02 09:57:49 Like, in windows you can set perms on files in a NTFS drive, but not a fat32 Sep 02 09:58:22 hmmm Sep 02 09:58:31 Uh, I'm saying you should copy your files off, reformat that drive via the web ui, then copy your files back on. Sep 02 09:58:38 Then it'd work. Sep 02 09:58:40 dammit Sep 02 09:58:44 heh Sep 02 09:59:00 But, that drive would not be readable from windows (via usb). Sep 02 09:59:07 It'd be all network access from there on out. Sep 02 09:59:08 i had them as ntfs, then yesterday i went through the trouble of reformating it fat32,... Sep 02 09:59:21 They wouldn't really help you either. Sep 02 09:59:35 the slug is linux and cannot write to a NTFS partition. Sep 02 09:59:38 no i knew i couldnt use ntfs Sep 02 09:59:42 thats why i went to fat32 Sep 02 09:59:51 You need to format it via the slug. Sep 02 09:59:56 so i could have it read, and be able to bring it to other friends computers Sep 02 09:59:56 And then copy your files onto it. Sep 02 10:00:02 ah Sep 02 10:00:07 It's probably possible. Sep 02 10:00:11 But I'm no expert. Sep 02 10:00:27 we have the technology to rebuild him! Sep 02 10:00:28 :) Sep 02 10:00:47 =) Sep 02 10:03:29 are you trying to set up raid for backup purposes? Sep 02 10:03:35 Basically Sep 02 10:03:41 I have two 300G drives. Sep 02 10:03:47 nice Sep 02 10:03:49 And I wanna run RAID1 as opposed to nightls. Sep 02 10:03:50 i bought this for work Sep 02 10:03:50 ies Sep 02 10:04:07 and realized i wanted it at home more, so i took it home to host my files for me Sep 02 10:04:09 I bought this cause I've been running my home systems without backup for far too long. Sep 02 10:04:13 heh Sep 02 10:04:34 I have snmp running on my as well, being graphed by cacti. It's slick. Sep 02 10:05:00 http://vger.pudding.org/cacti/graph_view.php?action=tree&tree_id=2&leaf_id=10 Sep 02 10:05:17 i just figured i had too much crap to back up (80gb of musc, 50gb of video, 30gb of mail and misc files) Sep 02 10:06:14 Ahh... I think I just found where I went wrong on my RAID1 setup... Sep 02 10:06:36 Didn't copy the init files from the wiki into system. I looked up ones that were already on the drive. Sep 02 16:31:06 lord ByronT , how goes it :) Sep 02 16:32:05 just making some serial cables Sep 02 16:32:16 sounds fun :) Sep 02 16:32:19 i have a question Sep 02 16:32:39 i need to set up the scenario Sep 02 16:32:42 k Sep 02 16:32:44 i have two drives Sep 02 16:32:58 disk 1 has ext3 fs and is running everything great Sep 02 16:33:09 today i mounted a fat32 drive to disk 2 port Sep 02 16:33:43 when i go into my mp3 folder on the fat drive and do an ls -l it takes about an hour to list all the folders Sep 02 16:33:58 is this because the processor is slow, its fat32, or do i need to enable smart? Sep 02 16:35:18 I really don't know - but that does seem excessively slow Sep 02 16:35:51 seems like my mp3 folder (around 21GB) will do a ls -alR in about 5 minutes Sep 02 16:36:09 i have 82GB Sep 02 16:37:07 that is a bit.... Sep 02 16:37:45 you could do some testing - copy all the mp3s to a ext3 partition and do a ls -alR there and stopwatch it Sep 02 16:38:08 if it takes same time, then you know it's not fat32 that is the issue Sep 02 16:38:22 you haven't overclocked yet, have you? Sep 02 16:38:26 nope Sep 02 16:38:33 should i? Sep 02 16:39:22 after you're satisfied that your NSLU2 is working fine and you're not going to return it, then it definitely provides a speed increase Sep 02 16:39:50 oh i dont plan on returning it, if i didnt hack it , it would still be a wonderful tool Sep 02 16:40:00 how much of a speed increase are we talking? Sep 02 16:40:22 the CPU is supposed to be a 266MHz spec'd processor Sep 02 16:40:41 linksys - either on purpose or by mistake - has it clocked to 133MHz Sep 02 16:40:48 interesting Sep 02 16:41:09 http://www.nslu2-linux.org/wiki/HowTo/OverClockTheSlug Sep 02 16:41:36 i was about to ask whether it was done with software, good thing im good with a soldering iron Sep 02 16:41:40 at the bottom of that page, there are some benchmarks Sep 02 16:41:52 some ppl have done it with nail clippers.... Sep 02 16:43:28 oh i can do that in about 3 seconds Sep 02 16:43:51 ive pulled resistors like that off with tweezers before Sep 02 16:47:23 ByronT : does it matter if SMART is enabled on the hard drives? Sep 02 16:47:39 would not matter at all AFAIK Sep 02 16:47:46 ok Sep 02 16:48:30 when i get home im going ot try and get the samba share running, if that is still slow then ill assume its the FS since disk 1 is fast Sep 02 16:48:53 have fun Sep 02 16:49:04 thanks Sep 02 17:34:16 i would like to thank the develops of both the unslug firmware and the wiki for such excellent work Sep 02 17:34:30 * chotchki just got the stupid device flashed ;) Sep 02 19:26:13 chotchki: you're welcome. The best way to thank us is to help others as they are starting off too, and by correcting any obsolete information in the wiki ... Sep 02 20:23:25 hey guys im having some problems figuring out how to expand the slug.... whats the easiest way to start loading up the packages? Sep 02 20:24:11 or should i reflash with the openslug firmware? Sep 02 20:36:28 ipkg install foo? Sep 02 20:36:47 ByronT: how do i get a port open to do that Sep 02 20:36:59 all i have is the web interface right now Sep 02 20:37:19 have you followed the directions on unslinging? Sep 02 20:38:40 all i have done it load the unslung firmware Sep 02 20:38:45 is* Sep 02 20:39:40 * chotchki searching for wiki doc on unslinging Sep 02 20:43:02 i see that i have to run /sbin/unsling but how do i get shell access to do so? Sep 02 20:43:23 or do i have to do a chroot trick? Sep 02 20:44:43 with the unslung firmware there was a README Sep 02 20:45:01 I take it you did not read the README Sep 02 20:45:21 grrr stupid READMEs curse them!!! Sep 02 20:45:34 * chotchki kicks himself and goes and looks for it Sep 02 20:49:21 ByronT: thank you for your endless patience with me man :) Sep 02 20:49:44 np... but you almost got yourself into real trouble... Sep 02 20:49:58 I edited and authored that README Sep 02 20:51:25 o crap Sep 02 20:52:04 wow i could understand how close i was to a massive stupid slap Sep 02 20:53:09 we give some slack in here... usually just enough to hang yourself... ;) Sep 02 21:01:19 well if i keep my record up ill be dead in no time ;) Sep 02 21:02:25 as long as you learn... Sep 02 21:02:56 the only person that has been kicked was someone who asked the same question over and over and over and *never* followed directions Sep 02 21:03:05 yay Sep 02 21:03:21 im safe.....well sorta Sep 02 21:06:36 as long as i can reflash via reboot and wipe the drive, i really cant screw anything up TOO badly Sep 02 21:06:45 redboot* Sep 02 21:06:54 correct Sep 02 21:22:43 ByronT: the final step in the readme is about verifying where the slug loaded from.... /dev/ram0 is commented out in the fstab, is that enough for a verification? Sep 02 21:23:12 run df and mount in a telnet session Sep 02 21:23:17 post your output here Sep 02 21:24:39 http://rafb.net/paste/results/duMsIQ34.html Sep 02 21:25:26 you're unslung Sep 02 21:25:34 cool Sep 02 21:39:38 ahh sweet bash Sep 02 21:45:21 ByronT: what flavor of unix does the init scripts take after? it doesnt seem to be like fedora's or gentoo's Sep 02 21:45:49 I'm not sure I understand the question Sep 02 21:46:39 you might be wanting to look at the wiki information on the boot process Sep 02 21:50:10 it doesnt seem to have /etc/init.d/foo for the scripts and a /etc/rc.d/rc.0/foo symlink to indicate the runlevel that the service should start at Sep 02 21:50:23 ah Sep 02 21:50:30 the boot page didnt tough on that Sep 02 21:50:39 touch* Sep 02 21:50:42 unslung places all of it's packages under /opt Sep 02 21:50:59 so there's /opt/etc/init.d Sep 02 21:52:05 you have to remember that unslung is "linksys plus" - so we don't really mess too much with the linksys boot and linksys image except to allow the unslung packages to be added/started Sep 02 21:52:13 okay, but how does it know to start a service? or does it just execute everything in /opt/etc/init.d? Sep 02 21:52:19 ahhh ic Sep 02 21:52:33 hence the idea of diversions scripts (search the wiki) Sep 02 21:54:21 now thats odd ball....using 0 to indicate an error Sep 02 21:55:15 but if i want a fully hacked system i should start on the path to openslug... right? Sep 02 21:55:48 if you want a system free of linksys binaries, openslug or opendebianslug is more appropriate Sep 02 21:58:31 okay **** ENDING LOGGING AT Sat Sep 03 02:59:57 2005