**** BEGIN LOGGING AT Sun Aug 06 02:59:57 2006 Aug 06 03:54:40 03bzhou * r3724 10optware/trunk/Makefile: amule broken on ds101 Aug 06 04:13:09 03bzhou * r3725 10optware/trunk/make/bc.mk: bc: fixed -l segfault, from http://www.linuxfromscratch.org/blfs/view/svn/general/genutils.html Aug 06 11:56:14 someone able to help me configuring cups? Aug 06 11:56:54 when i try to print from cups Aug 06 11:56:57 i get lpr: Error - no default destination available. Aug 06 13:08:28 how can I rebuild the openslug 2.7 beta release? Aug 06 13:09:04 I got the makefile Aug 06 13:09:40 and now the monotone/nslu2-linux.mnt.gz file is downloading Aug 06 14:09:50 eddyp: why 2.7? Aug 06 14:10:32 mwester: because that's what I am running now and I want to add just one module Aug 06 14:11:48 that was the previous looooong openslug release, wasn't it? Aug 06 14:11:53 Ok. You would probably have better luck finding the tarball image of the 2.7 source and building with that. Follow the links on the wiki to download the openslug firmware, and somewhere along the way you should find links to downloading source. Hopefully the 2.7 source tarball is among them. Aug 06 14:13:31 mwester: is there a way to upgrade from 2.7 to 3.1 ? Aug 06 14:13:40 (that works) Aug 06 14:15:05 :-D I'm sure there is, but nobody has documented how to do it. So for now, the only reliable way is a re-install. Aug 06 14:15:48 hehe Aug 06 14:16:06 uhm there is only the 2.7 release http://sources.nslu2-linux.org/releases/ Aug 06 14:16:08 :/ Aug 06 14:16:40 s/2.7/3.10 Aug 06 14:17:55 try http://developer.berlios.de/project/showfiles.php?group_id=3702&release_id=7392 Aug 06 14:18:40 http://www.slug-firmware.net/s-dls.php Aug 06 14:18:43 it's there. Aug 06 14:28:00 thanks Aug 06 15:19:06 can someone help me out configuring cups? Aug 06 16:11:05 hey, if i add any shell script to /opt/etc/init.d/ will it be executed at boot time (on unslung 6.8) Aug 06 16:11:51 i already have scripts like S40sshd and S90ctcs that run at startup... Aug 06 16:12:21 i just want to add one that auto-downloads torrents (like http://groups.yahoo.com/group/nslu2-linux/message/13604) Aug 06 16:12:30 am i going about this the right way? Aug 06 16:12:43 or is it better to add a diversion script that runs my script? Aug 06 16:29:51 iwo: diversion scripts are used if it is necessary to "hijack" an existing startup script and make it do something differently. Startup scripts in /opt/etc/init.d are executed in addition to the normal startup. (Generally for add-on software, the startup script is the right way). Aug 06 16:32:22 Use great care, however: startup scripts run as the root user, and if not crafted correctly these scripts can cause all manner of destruction. It is best to write the script and test it as an ordinary user before running it as a startup script. Also, be aware that startup scripts are run with the environment of the root user, which does not have things like /opt/bin in the path, so if your... Aug 06 16:32:24 ...script needs to use tools or executables you have added, you'll need to fix the $PATH var yourself or just reference the utiliies by path: /opt/bin/ntpclient (for example)... Aug 06 16:53:32 hey mwester, thanks for the info Aug 06 16:54:00 one more question, is there no way to somehow run then 'as if' they were run by a normal user? Aug 06 16:54:19 the reason i ask is that if i run enhanced-ctorrent as root (which is what the script is running)... Aug 06 16:54:42 then the folders/files that get created for the torrent are not accessible by other users Aug 06 16:54:56 e.g. if i try to browse to them via samba, i get 'access denied' Aug 06 16:56:09 until i do a chmod or chown on them Aug 06 16:56:16 iwo: you're asking for sudo Aug 06 16:58:25 iwo: or you should use a less restrictive umask Aug 06 17:04:17 iwo: su -c works better than sudo when run as root, you don't want something that prompts for a password. You may well need the coreutils version of su rather than the busybox version. I'd recommend creating a user just to run ctorrent. Aug 06 17:05:59 okay, thanks Aug 06 17:05:59 Nymus: that's really a question for -general rather than -linux but the simple answer is to use the lppasswd command to set up a printer admin password then use a web browser to access http://your-slug:631 Aug 06 17:06:18 ...although, won't that mean that i still can't (e.g.) delete the files unless i do a chown? Aug 06 17:07:27 because the ctorrent user will own the folders/files Aug 06 17:12:37 That depends on what you set up for group ownership and permissions. It might just be easiest to run ctorrent as your user id but I don't like doing that with network daemons as if an exploit is found for it then someone can accesss / delete all your files whereas if it is a user that just runs that daemon there is less risk. Aug 06 17:13:13 i have coreutils installed (because i can use nohup). i seem to have two versions of su: Aug 06 17:13:29 BusyBox v0.60.4 Aug 06 17:13:48 and TinyLogin v0.80 Aug 06 17:15:06 sorry Aug 06 17:15:09 ignore me Aug 06 17:15:21 su --version shows its the coreutils one Aug 06 17:15:34 for some reason just doing a 'su' shows your shell information Aug 06 17:17:17 also, is there a reason why all the scripts in /opt/etc/init.d/ have S## as the start of the filename? Aug 06 17:39:56 is there a way to add a user without installing the adduser package? Aug 06 17:40:27 when i try to install, i get an error telling me that adduser wants to install su, but this file is already provided by coreutils Aug 06 19:04:43 iwo: you can create a user by editing the password file, you will never want to log in as your ctorrent user so just use * for the password which won't match any valid password. Aug 06 19:16:59 Using S as the initial character of startup scripts is conventional - you might also see K used to indicate scripts run on shutdown Aug 06 19:19:20 The script that launches all those scripts is /etc/rc.d/rc.optware-start if you want to see what it does - I think it happens after the pivot root so should be that one not the identical one in /initrd Aug 06 19:21:22 03bzhou * r3726 10optware/trunk/ (Makefile make/clearsilver.mk): added clearsilver Aug 06 19:32:10 can anyone help me with usb audio and alsa? Aug 06 19:48:54 03bzhou * r3727 10optware/trunk/make/xterm.mk: xterm: upstream upgrade to 216 Aug 06 21:34:05 03gda * r3728 10optware/trunk/make/clearsilver.mk: clearsilver: python extension doesn't build for ds101g Aug 06 22:01:44 hey, when i start unslung and tail /var/log/messages, i see the message "...loading crontab file /etc/crontab" Aug 06 22:02:03 does this mean that the system does not load /opt/etc/crontab ?? Aug 06 22:02:28 is there a way to see what cron jobs have actually been loaded? Aug 06 22:16:47 running crontab -l gives the error "no crontab for root" Aug 07 00:21:30 03bzhou * r3729 10optware/trunk/ (Makefile make/mpage.mk): added mpage **** ENDING LOGGING AT Mon Aug 07 02:59:56 2006