**** BEGIN LOGGING AT Mon Mar 13 10:59:57 2006 **** BEGIN LOGGING AT Mon Mar 13 13:13:21 2006 Mar 13 13:46:55 How can I get ProFTPD to allow anonymous users to follow symlinks Mar 13 13:48:29 put "ShowSymlinks on" in your proftpd.conf and check if the ftp-users have the permission to read the files you want to symlink to Mar 13 13:52:31 EvilDevil - hm the folder it's chowned to is root:root Mar 13 13:52:46 no wait Mar 13 13:52:50 the folder is admin:everyone Mar 13 13:52:58 but the symlink is root:root Mar 13 13:53:07 how come I can't seem to chown the symlink? Mar 13 13:54:45 because the symlink isn't owned by anybody Mar 13 13:55:03 hm actually I've chowned the symlink with chown -h Mar 13 13:55:08 but the FTP still won't follow it Mar 13 13:55:52 The folder is admin:everyone, the link is admin:everyone, I have ShowSymlinks On ... Mar 13 13:55:55 what's the user for anonymous ftp access? Mar 13 13:55:59 ftp Mar 13 13:56:11 and UserAlias anonymous ftp Mar 13 13:56:43 in your proftpd.conf? Mar 13 13:56:54 # Mar 13 13:56:54 # User ftp Mar 13 13:56:54 # Group nogroup Mar 13 13:57:00 something like this Mar 13 13:57:23 Mar 13 13:57:23 User ftp Mar 13 13:57:23 Group ftp Mar 13 13:57:29 Should I change the group? Mar 13 13:57:57 i suggest you chown the directory you want to share to ftp:ftp Mar 13 13:58:23 Hm.. I need other users to be able to access it Mar 13 13:58:48 well.. then add the users to the ftp-group :) Mar 13 13:58:51 My idea was to make a /public/ftp and symlink any other folders I wanted the anon user to have access to Mar 13 13:58:53 ha Mar 13 13:59:10 is that not what 'everyone' is for Mar 13 13:59:29 evildevil@slug:/$ groups Mar 13 13:59:29 evildevil tty www-data users Mar 13 14:00:44 i'm not sure Mar 13 14:18:12 hm i think the everyone is something for samba and windows compability Mar 13 14:19:33 EvilDevil - I made a folder /public/test that is ftp:ftp Mar 13 14:19:47 and made a symlink that is owned ftp:ftp in the ftp user's home folder Mar 13 14:19:57 and it won't follow the symlink :-/ Mar 13 14:25:46 maybe it won't let me go outside the user's home directory? Mar 13 14:27:23 quit Mar 13 16:09:15 EvilDevil: just found this: "http://ipkg.nslu2-linux.org/feeds/openslug/cross/2.7-beta/kernel-module-nfsd_2.6.12.2-r17.1_nslu2.ipk" Mar 13 16:11:21 EvilDevil: it seems to match "kernel-image-2.6.12.2 - 2.6.12.2-r17.1 -" that OpenSlug firmware contained Mar 13 16:12:46 EvilDevil: it is just "http://ipkgfind.nslu2-linux.org/" that fails to find those packages for some reason Mar 13 16:13:53 pahartik? Mar 13 16:16:43 EvilDevil: oh, you are not "EvilGuru [n=freddie@margaret2708.plus.com]"... Mar 13 16:17:35 true :) i was a bit confused. ;) Mar 13 16:18:40 EvilDevil: I just saw something Evil and thought it was same person Mar 13 16:29:16 many are Evil ;-) pahartik Mar 13 16:39:33 hi Mar 13 16:40:00 my slug cant detect my 512 mb flash drive. any ideas why? Mar 13 16:40:04 running unslung 5.5 Mar 13 18:00:01 *sigh* not much life here Mar 13 18:01:08 NAiL: my slug cant detect my 512 mb flash drive. any ideas why? (running unslung) Mar 13 18:01:21 it lights up nicely but cant find it in the web interface Mar 13 18:01:25 its fat Mar 13 18:01:27 Any useful info from dmesg? Mar 13 18:01:36 im no linux shark im afraid Mar 13 18:02:03 well, I don't have an idea. Especially since I don't run unslung. Mar 13 18:02:05 looks like dmesg finds something Mar 13 18:02:21 Vendor: GENERIC Model: USB FLASH DISK Rev: 0302 Mar 13 18:02:21 Type: Direct-Access ANSI SCSI revision: 02 Mar 13 18:04:37 hmm its detected by dmesg alright Mar 13 18:04:37 Vendor: SanDisk Model: Cruzer Micro Rev: 0.1 Mar 13 18:04:37 Type: Direct-Access ANSI SCSI revision: 02 Mar 13 18:06:47 yeah, but does it say anything about sda/b/c after that? Mar 13 18:07:05 try cat /proc/partitions Mar 13 18:07:13 and see if sd* is mentioned Mar 13 18:07:36 Vendor: SanDisk Model: Cruzer Micro Rev: 0.1 Mar 13 18:07:36 Type: Direct-Access ANSI SCSI revision: 02 Mar 13 18:07:36 the host no is 0 Mar 13 18:07:36 * sd_attach:1 Mar 13 18:07:36 Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 0 Mar 13 18:07:37 SCSI device sdb: 1000944 512-byte hdwr sectors (512 MB) Mar 13 18:07:39 sdb: Write Protect is off Mar 13 18:07:41 /dev/scsi/host0/bus0/target0/lun0: p1 Mar 13 18:07:43 WARNING: USB Mass Storage data integrity not assured Mar 13 18:07:45 USB Mass Storage device found at 4 Mar 13 18:08:43 Then I don't know ;) Mar 13 18:08:54 someone who has actually run unslung should be able to answer though Mar 13 18:09:01 see if any partitions are detected, then try mounting it Mar 13 18:09:16 # cat /proc/partitions Mar 13 18:09:16 major minor #blocks name Mar 13 18:09:16 8 0 488397168 scsi/host1/bus0/target0/lun0/disc Mar 13 18:09:16 8 1 488215318 scsi/host1/bus0/target0/lun0/part1 Mar 13 18:09:16 8 2 120487 scsi/host1/bus0/target0/lun0/part2 Mar 13 18:09:17 8 3 56227 scsi/host1/bus0/target0/lun0/part3 Mar 13 18:09:19 8 16 500472 scsi/host0/bus0/target0/lun0/disc Mar 13 18:09:21 8 17 500355 scsi/host0/bus0/target0/lun0/part1 Mar 13 18:10:05 doesnt unslung do this automaticly like the firmware? Mar 13 18:10:09 it does Mar 13 18:10:17 at least for me, with a 512MB cruzer micro Mar 13 18:10:24 well its the same i got Mar 13 18:10:41 have you altered any configuration? Mar 13 18:10:53 hmm only in a startup script Mar 13 18:11:00 actually I remember booting up the box with the stick only half-in...then it wouldn't work until I rebooted the box again Mar 13 18:11:03 that starts slimserver Mar 13 18:11:25 i first plugged it in without stopping the slug Mar 13 18:11:32 is the stick on port 2? Mar 13 18:11:34 the light in disk2 came on at once Mar 13 18:11:41 k Mar 13 18:11:46 yep and a 500gb lacie in disk1 Mar 13 18:11:55 all lights are green so i dont get it :-s Mar 13 18:12:21 type mount, does it show it being mounted? Mar 13 18:12:33 /dev/sda1 on /initrd type jffs2 (rw) Mar 13 18:12:33 /dev/sda1 on / type ext3 (rw) Mar 13 18:12:33 /proc on /proc type proc (rw) Mar 13 18:12:33 usbdevfs on /proc/bus/usb type usbdevfs (rw) Mar 13 18:12:33 /dev/sda1 on /share/hdd/data type ext3 (rw) Mar 13 18:12:34 /dev/sda2 on /share/hdd/conf type ext3 (rw,sync) Mar 13 18:12:40 apparently not Mar 13 18:12:55 try: mount /dev/sdb1 /share/flash/data Mar 13 18:13:01 strangely i *can* go to Mar 13 18:13:09 1/share/flash/data Mar 13 18:13:14 and files are there? Mar 13 18:13:19 and eg create a dir Mar 13 18:13:27 sure, it will go to root filesystem then Mar 13 18:13:31 k Mar 13 18:13:33 unless there is something mounted there Mar 13 18:13:45 mount /dev/sdb1 /share/flash/data Mar 13 18:13:48 didnt do anything Mar 13 18:13:59 do you see the files in /share/flash/data now? Mar 13 18:14:13 hmm theres no data on the card yet Mar 13 18:14:21 i kind of thought i would have to format it Mar 13 18:14:22 type mount again and see if it reports it Mar 13 18:14:36 hmm it does Mar 13 18:14:40 as vfat! Mar 13 18:14:48 "didn't print anything" != "didn't do anything" :) Mar 13 18:15:04 so it can mount it without errors, it's just not doing it automagically it seems.. Mar 13 18:15:05 will it "remember" this mount automaticly ? (im new to linux= Mar 13 18:15:20 no, probably not Mar 13 18:15:51 im logged in as root, where would i fix this then? Mar 13 18:16:13 hmm, try: ps x | grep mount Mar 13 18:16:25 here's my output: Mar 13 18:16:26 # ps x | grep mount Mar 13 18:16:26 412 root 1196 S /usr/sbin/do_umount Mar 13 18:16:26 479 root 1644 S /opt/sbin/mountd Mar 13 18:16:26 755 ttyp0 root 2696 S grep mount Mar 13 18:16:39 I assume mountd does the automounting... Mar 13 18:16:57 is it running for you? Mar 13 18:17:01 446 root 1196 S /usr/sbin/do_umount Mar 13 18:17:01 1041 ttyp0 root 2696 S grep mount Mar 13 18:17:05 I see Mar 13 18:17:19 so the automounting daemon is not running, that's why it doesn't get mounted automagically, I think Mar 13 18:17:27 hmmm Mar 13 18:17:42 try dmesg | grep mountd Mar 13 18:17:53 any errors? Mar 13 18:17:58 nope Mar 13 18:18:01 though not sure if they would go to dmesg.. Mar 13 18:18:13 but i still dont have any shares Mar 13 18:18:20 only DISK1 Mar 13 18:18:46 hmm, I gotta go eat before wife hurts me Mar 13 18:18:52 be back in a while heh :) Mar 13 18:19:01 hehe ok Mar 13 18:30:20 zomb1e, how much usb processes are there ? try ps -ef | grep USB_Detect Mar 13 19:01:32 caplink811_log: 1276 ttyp0 root 2696 S grep USB_Detect Mar 13 19:02:04 but it sounded on joga like the daemon isnt running?! Mar 13 19:02:11 what would cause that Mar 13 19:02:42 there is a faq about that in the wiki Mar 13 19:03:27 hmm i checked the howto and the faq Mar 13 19:03:33 but didnt seem to find something similar Mar 13 19:03:37 http://www.nslu2-linux.org/wiki/FAQ/DiskNotRecognized the part in the middle of the page may help you Mar 13 19:04:14 ok ill try that thx Mar 13 19:06:53 hmm how do i detect if processes are running? Mar 13 19:10:19 ps -ef results in a display of all running processes Mar 13 19:13:07 sure enuf no proc running Mar 13 19:14:00 hmm but no files in /var.state/run Mar 13 19:15:28 try /initrd/var.state/run and as mentioned in the link above you should boot without hd attached Mar 13 19:18:48 ye im rebooting now Mar 13 19:21:08 remove the "/.unslung" and "/.sd??root" files on the internal flash Mar 13 19:21:17 what drive is that precicely Mar 13 19:21:27 (dont want to delete the wrong one :-S ) Mar 13 19:31:05 nyone? Mar 13 19:31:24 imho, there is no reason for that, so don't delete those files Mar 13 19:31:36 so just reboot with drives? Mar 13 19:32:01 the reason why the USB_Detect processes won't start are old pid files Mar 13 19:32:15 without drives Mar 13 19:33:31 do i need to unsling again? (with drives) Mar 13 19:33:38 no Mar 13 19:33:58 hmm just reboot with drives in and problem fixed? Mar 13 19:34:39 no before you delete any usb_detect.pid files which you can found Mar 13 19:34:47 s/no/not/ Mar 13 19:34:47 caplink811_log meant: not before you delete any usb_detect.pid files which you can found Mar 13 19:36:23 ye i deleted the ones in /var/run Mar 13 19:36:30 how can i search from root with ls?` Mar 13 19:38:06 find / -name filename Mar 13 19:39:25 hmm still no disks in web interface Mar 13 19:39:40 and no flash in df Mar 13 19:40:36 also no USB_detect running Mar 13 19:41:02 ps x | grep mount Mar 13 19:51:55 1st reboot without hd attached Mar 13 19:52:09 i did Mar 13 19:52:22 but didnt delete anything since you said i didnt have to Mar 13 19:52:32 so i rebooted again with drives Mar 13 19:52:46 2nd login and search for the pid files in /var and /var.state also in the lock and run subdirectories Mar 13 19:53:07 i did the find now with no hits Mar 13 19:53:32 thats *with* disks Mar 13 19:53:47 3rd reattach the disk, and mount it manually with mount /dev/sda1 /share/hdd/data Mar 13 19:54:04 hmm after trying to mount it theres a new usb_dat.pid file Mar 13 19:54:07 det Mar 13 19:54:36 4th go to /share/hdd/data/var and /share/hdd/data/var.state and search in the subdirs Mar 13 20:12:05 wouldnt find / -name usb_det.pid Mar 13 20:12:08 find those as well? Mar 13 20:18:28 HEY now it automounted Mar 13 20:18:30 :-D Mar 13 20:18:50 i rebooted w/o disks and deleted the pid file and inserted flash Mar 13 20:19:15 then windows found it and asked if i would map it (from the nslu2) Mar 13 20:19:45 its not called "disk 2" though its called FLASH Mar 13 20:20:44 hmm strangely its still not found in the web interface Mar 13 20:20:58 ah. seems that you running upnp on the slug ... Mar 13 20:21:13 im afraid i wouldnt know :-S Mar 13 20:21:23 windoz is my game :-| Mar 13 20:21:42 these automagically anouncements, thats should be upnp Mar 13 20:22:22 ye it mapped it to a win drive but the web interface cant find it... Mar 13 20:22:47 i wanted to use the flash to make my slimserver run faster Mar 13 20:23:02 maybe put swapfiles there or mysql Mar 13 20:24:21 hm, a swapfile isn't the right thing for an usb-mem stick, too much write access Mar 13 20:25:33 k but since the hd has all the mp3 i figured maybe i could install slimserver on the flash or at least use it to speed it up Mar 13 20:25:45 the squeezebox is quite slow :-( Mar 13 20:26:01 and ill de-underclock it too Mar 13 20:26:31 that is a result of the limited memory.. Mar 13 20:26:52 32 mB isn't that much Mar 13 20:27:20 ye that too Mar 13 20:27:23 twonkyvision and my noxon runs like a charm :) Mar 13 20:27:48 im not sure SB supports twonky Mar 13 20:27:52 heh I've about 700kB free on the thing Mar 13 20:28:08 joga: problem partly fixed :-) Mar 13 20:28:18 nice Mar 13 20:28:22 it was the pid files Mar 13 20:28:38 doesnt show up in the webinterface tho but maybe after booting.. Mar 13 20:28:43 if there are any hints about upnp in the sb instructions, then it could work Mar 13 20:28:44 so it thought they were already running or something? Mar 13 20:29:04 http://www.nslu2-linux.org/wiki/FAQ/DiskNotRecognized Mar 13 20:29:11 joga, yes, that is the point Mar 13 20:30:14 I see Mar 13 20:30:28 i think twonky is one of SB's competitors Mar 13 20:30:40 isnt that the Soundbridge sever? Mar 13 20:31:00 s/sever/server/ Mar 13 20:31:01 zomb1e meant: isnt that the Soundbridge server? Mar 13 20:31:06 :-o Mar 13 20:34:24 would slimserver run faster on either debian port or openslug? Mar 13 20:35:16 also would other file systems be faster than ext3? Mar 13 20:35:58 no, don't think so, the problem is the limited memory on the standard slug Mar 13 20:36:14 so ill have to fatten it? Mar 13 20:36:30 hmm i just bet ill brick it doing it..:-s Mar 13 20:36:49 that may be a way of a solution, or try another mediaserver / -client solution Mar 13 20:37:15 what is quite easier to do Mar 13 20:37:34 the client is hardware so thats not replacable ;-) Mar 13 20:37:48 squeezebox 4 Mar 13 20:37:50 squeezebox 3 Mar 13 20:37:59 www.slimdevices.com Mar 13 20:38:17 yeah, i know these devices Mar 13 20:39:01 k Mar 13 20:39:44 neat devices, btw, but the problem (in that case) is the server, as a perl application it isn't realy slim Mar 13 21:25:06 hi all Mar 13 21:25:39 I am running CUPS on my NSLU2. Printing from a PowerBook via it works, printing via an iMac does not because it tells me that it suffers from an error Mar 13 21:25:45 Has somebody experienced something the like? Mar 13 21:33:30 Au0erdem macht dieser Printserver mich wahnsinnig Mar 13 21:33:34 woops Mar 13 21:33:37 -EIRC. **** ENDING LOGGING AT Mon Mar 13 21:45:31 2006 **** BEGIN LOGGING AT Mon Mar 13 21:46:11 2006 Mar 13 22:52:17 Good afternoon Gentlemen! Mar 13 22:52:35 is it adviseable to make and run dhcpd on a slug? Mar 13 23:10:10 hmmm... Mar 13 23:10:25 indeed, is it adviseable to ask questions in #nslu2-general? Mar 13 23:10:27 *duck* **** ENDING LOGGING AT Tue Mar 14 10:59:57 2006