**** BEGIN LOGGING AT Mon Oct 15 02:59:57 2007 Oct 15 03:24:40 I'm confused regarding Diversion scripts, on the wiki it says /unslung and /share/hdd/data/unslung are 2 different directories, however, I created a file in the latter and it ends up in both directories Oct 15 03:34:22 They can be the same, in some cases. Oct 15 03:34:41 Or not, in others. The difference may or may not be important to you. Oct 15 03:35:44 (you have now entered the twillight zone) Oct 15 03:35:56 Drives will be mounted on /share/hdd/data or /share/flash/data, depending on port they are plugged into. "/" translates to whichever of those ports you unslung to. Thus, /unslung is /share/data/unslung only if you have unslung to that disk. Oct 15 03:36:16 (you have now entered the Linksys zone) :P Oct 15 03:37:10 (Sigh. These are the sorts of things that make Unslung so very poorly suited for new Linux users who are trying to learn... it makes no sense, and doesn't work that way on anything except Linksys...) Oct 15 03:38:50 that is accualy one of the main reasons I moved off it pretty fast, everything i (thougth) knew seem to be wrong for unslung somehow. Oct 15 03:38:59 mwester: thanks, another question, I installed ntpclient which added a cron script in /opt/etc/cron.d/ntpclient however, it doesn't seem like it gets executed, to I need to manually add it to /etc/crontab ? Oct 15 03:40:24 If I remember correctly, yes you need to add it to crontab. Oct 15 03:41:29 mwester: ok, so anything in /opt/etc/cron.d isn't executed, it's up to the user to decide wether to install it or not Oct 15 03:45:01 Depends on which cron you've installed, I think. It gets messy. Oct 15 03:45:42 How did you get /opt/etc/cron.d -- did the ntpclient install create that, or did you install something else? Oct 15 03:45:57 mwester: the ntpclient installed it Oct 15 03:46:27 mwester: however, in /var/log/messages, I get no entry about the job specifed in cron.d Oct 15 03:46:44 I keep getting impressed over the quality of information on some of the wiki pages. Oct 15 03:47:24 Ok, then ntpclient probably assumed that you have already installed an optional cron package. No need to do that, just edit the crontab in /etc, which I think is what the wiki page for ntpclient suggests. Oct 15 03:47:43 Dont think I have seen a clear and thurrow explanation of /proc/bus/usb/devices as the USBSlotsAndBuses article have. Oct 15 03:47:53 mwester: thanks, I'll do that Oct 15 03:48:25 well at least the nslu2 makes me learn lots of stuff, I learned to use cron tonight ;) Oct 15 03:49:03 knowlledge that will last a lifetime! ;) Oct 15 03:49:41 it's funny because I've been progamming on linux for a year, but some simple things escape me like that, been doing too much GTK and not much else Oct 15 03:51:27 Couple of years ago I would tell ppl to go LFS (linux from scratch) if they wanted to learn, now Ill tell them to get a slug and tryout slugos. Oct 15 03:52:04 You even get something usefull after a short while, hehe. Oct 15 03:52:15 Flipo: IMO, linux programmers should *ALL* be issued little boxes like the NSLU2, it would help them appreciate not only the administrative aspects of the code they write, but the issues of code that's just too big. The Samba developers along with the CUPS developers spring to mind... Oct 15 03:53:02 I guess the real wonder of it is that Samba and CUPS actually run on such a small device, even if careful tuning and configuration is required... Oct 15 03:54:02 mwester: I've been working for OLPC and most of the hardcore linux programmers find it pretty hard because the machine is so slow and we're installing very recent/heavy libraries on it Oct 15 03:56:14 When emacs was young, I worked for a minicomputer company -- the first emacs version we released was horribly slow. The emacs dev team had the "hand-me-down" CPUs, and because they had such old slow systems, the second release of emacs on that system was just as fast as the line editor to start. Oct 15 03:56:58 Hence, I'm convinced that developers should *NEVER* have the latest technology -- ALWAYS give a developer half the CPU and half the memory they ask for, and you'll get software that will run very well in the real world! Oct 15 03:57:48 Just consider the Java coders in the business world -- 2.8GHz dual-core, with 2GB of RAM -- is it any wonder these apps need server farms to run on? Oct 15 03:57:48 that's for sure Oct 15 09:00:42 I'm thinking of connecting my slug directly to the net, then route a connection to my wifi-router for the rest of the network. This way I could always access my nslu2 independent of the other computers. Any experience in this field? My main concern is the security, ...I wish there was a "tigthen your slug-wiki" but as it's now, the only security improvement I've done to the slug is ussing openssh. Oct 15 09:01:47 by the way I'm on using openslug Oct 15 09:07:37 as always, google! :) Ok, Found something useful here Oct 15 09:07:39 http://www.gentoo.org/doc/en/security/security-handbook.xml?part=1&chap=12 Oct 15 09:10:50 why would you do that, rather than have the router as the entry point? Oct 15 09:11:52 I assumed that I could improve the security ... Oct 15 09:12:04 I can't really configure the routers-firewall Oct 15 09:12:13 other than opening ports ... Oct 15 09:14:12 hm.. anyone using torrentflux here? Oct 15 09:15:33 personally i wouldnt think having a slug as entry point from internet as opposed to a router would improve security Oct 15 09:15:49 i have used it kventil Oct 15 09:16:18 hm.. i have some problems with dying torrents... did know something about this? Oct 15 09:16:25 although found it slow and bloaty for use on a slug Oct 15 09:16:40 no i just use screen/rtorrent. Oct 15 09:17:15 hm... okay.. i tried it because i of the comfortable webinterface :) Oct 15 09:17:32 heh Oct 15 09:17:39 rtorrent has a beautiful interface Oct 15 09:19:00 Ok, I'll stick to the router at entry point Oct 15 09:19:17 I didn't consider the load on the nlsu2 Oct 15 09:19:26 hm.. Oct 15 10:49:26 I just started keeping rtorrent open in a screen myself, not to many keybindings to learn just to get started. Oct 15 10:50:19 A quick "rtorrent -h" in another window gets you going rite away. Oct 15 10:55:57 its a superb solution Oct 15 10:56:17 i use the watch folder, and just drop torrents in there via script or webpage Oct 15 16:07:32 Hm, one of my slugs just goes into freezemode all by itself. Oct 15 16:14:45 so it is a cool slug... when you put a can of beer on it maybe it becomes a slug cooler ;) Oct 15 16:16:24 that would be soo uhm, cool?! ;) Oct 15 16:47:20 hiho Oct 15 17:13:01 re Oct 15 17:20:06 hm what shall i start withh to get rtorent on my slugos machine Oct 15 17:20:37 or where? Oct 15 17:20:51 janneN: http://www.nslu2-linux.org/wiki/Optware/Slugosbe Oct 15 17:21:22 once you have optware installed, just "/opt/bin/ipkg update; /opt/bin/ipkg install rtorrent" Oct 15 17:22:43 ok thanks Oct 15 18:25:19 is Ctorrent the only option for openslug? Oct 15 18:26:17 no Oct 15 18:26:33 iirc rtorrent is also an option Oct 15 18:27:06 which is to prefer? Oct 15 18:27:56 hm... rtorrent has an ncurses interface Oct 15 18:28:11 and ctorrent is "only" a commandline tool Oct 15 18:28:43 hello, its been a while since i've used mIRC, can anyone see this? Oct 15 18:28:50 @razo: yes Oct 15 18:30:49 I got a error with rtorrent: Oct 15 18:30:57 rtorrent: error while loading shared libraries: libldap-2.3.so.0: cannot open shared object file: No such file or directory Oct 15 18:32:06 did you installed them? Oct 15 18:32:39 I jsut downloaded from ipkg Oct 15 18:33:01 i think its some path is wrong (?) Oct 15 18:33:06 hm... maybe rtorrent is searching in the wrong path Oct 15 18:33:09 exactly :D Oct 15 18:33:18 :s Oct 15 18:39:15 Im expected to put somthing in etc/profile or what? Oct 15 18:43:58 cool Oct 15 18:44:28 so umm, anyone got 2 mins to answer a couple of pre-purchase slug questions i have? Oct 15 18:44:30 hm.. are you trying to compile rtorrent or is it a binary? Oct 15 18:44:55 no Im trying to run it Oct 15 18:45:19 razo just ask Oct 15 18:45:25 ok thanks Oct 15 18:46:16 i'm trying to find the best solution for having my 1TB of media available to the xbox running XBMC, if i had a desktop i'd simply add the 2x 500gb drives inside but i use a laptop Oct 15 18:46:33 just wondering if the slug can handle 2x 500GB usb2 drives Oct 15 18:47:14 and, if it does, has anyone her used it for video streaming? (not hi-def, below 720p) Oct 15 18:49:14 im watching my movies over nfs (like dvds,or divx) Oct 15 18:49:40 I dont have a xbox so cant help you Oct 15 18:49:55 @janne: maybe a manual installation would help? http://ipkg.nslu2-linux.org/feeds/unslung/native/openldap_2.2.23-1_armeb.ipk Oct 15 18:50:18 thanks kventil but I got slugos Oct 15 18:50:24 /dev/media/media 981.1G, its possible ;) Oct 15 18:50:37 arr... i forgot Oct 15 18:50:37 so i think I need to correct the path Oct 15 18:50:50 duuno how=) Oct 15 18:51:03 althu this is a bit volitaile since its lvm over 4 usb disks.. Oct 15 18:51:21 janneN: rtorrent trouble? Oct 15 18:51:53 yes "error while loading shared libraries: libldap-2.3.so.0: cannot open shared object file: No such file or directory" Oct 15 18:51:57 Razo: what protocol does xbmc support again? upnp? Oct 15 18:52:14 keventil - does it struggle with any type of video? i just dont want to end up with stuttering video, right now the xbox streams smoothly over wireless from the laptop Oct 15 18:52:58 hm... unfortunatly i have no xbox Oct 15 18:53:00 ;-) Oct 15 18:53:10 i dont think unp aps like mediatomb or twonky support xbox Oct 15 18:53:20 but Im not 100% sure Oct 15 18:53:33 i use it together with my macbook and my linux-pc Oct 15 18:54:06 whqat I know is I have looking at films with mediatomb working no-lag Oct 15 18:54:36 janneN: I think I installed with my "ipkg-opt" here on my openslug. Oct 15 18:54:47 same here with vlc and quicktime Oct 15 18:55:24 Cant really remember why, but I got ipkg and ipkg-opt and the tie into different feeds. Oct 15 18:55:26 well i dont think the slug needs to do anything special for the xbox it just needs to stream data like any other application, just determining whther its fast enough Oct 15 18:56:19 Razo: Different types of video seem to work fine for me off one usb disk. Oct 15 18:56:24 widrone I did that to Oct 15 18:56:37 Im having some stuttering on my silly 4 disk lvm, but that is to be expected. Oct 15 18:57:07 janneN: Just make sure you get your path set properly and it should work, letme see what I set Oct 15 18:57:51 janneN: I seem to have set this as my path: /usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/lib Oct 15 18:58:02 ok i try it Oct 15 18:58:09 @widrone do you use your hdd as a raid or just single? Oct 15 18:58:12 janneN: in /etc/profile that is Oct 15 18:58:20 (hrmpf i have to improve my english ^^) Oct 15 18:58:54 kventil: atm its not raided, just playing around with lvm. But im thinking a raid10 will be safer and more suited. Oct 15 19:00:24 like this PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/lib ? Oct 15 19:00:51 widrone - i've been using SMB, is that a protocol? not sure how to answer Oct 15 19:01:23 smb is samba/cifs... standard fileshare, yes. Oct 15 19:01:51 there is protocols like upnp and daap for discover and playing/control also for a/v setups in the home. Oct 15 19:02:40 oh ok, well the setup i have now with SMB works perfect i just wish i could remove the laptop from the equation so it isnt tied down to a desk by an external drive Oct 15 19:02:55 I miss my modded xbox, it crosscompiled for my slugs and had two usb ports modded into it. Best videoplayer I had, then someone nicked it. ;/ Oct 15 19:03:14 buy another, they're cheaper than ever now, free softmodding too Oct 15 19:03:55 but I won it at a M$ product hype meeting, I liked my free xbox ;) Oct 15 19:06:33 rtorrent: error while loading shared libraries: libldap-2.3.so.0: cannot open shared object file: No such file or directory Oct 15 19:06:36 :s Oct 15 19:06:38 funny thinkg about the theft was the took a ipod and a xbox, both modded and running linux. I imagine their big comedown when neither worked as they expected. Oct 15 19:06:50 janneN: /opt/lib in path? And relogged? Oct 15 19:07:15 janneN: Sorry, I didnt have /opt/lib in there either did I. Oct 15 19:07:52 export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/lib Oct 15 19:08:01 thats what I putted in profiles Oct 15 19:08:42 it is the 4th line in my /etc/profile Oct 15 19:08:50 how thoose paths works is rocketscience for me=) Oct 15 19:08:51 PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/lib" Oct 15 19:09:08 yeah that reminds me i need to get contents insurance Oct 15 19:09:28 Rocketscience, no problemo: Fill thing with explosive, light on fire, step away. Oct 15 19:09:45 i guess the slugs sell well so if theres anything wrong i probably wont lose much Oct 15 19:10:26 Razo: You wont brick it, its like umpossible unless you use Linksys ereseall tool, and just dont do that. Oct 15 19:11:04 Razo: Or go really hardcore into bootloader hacking etc. But the binarys are safe in my opinion. Oct 15 19:11:04 no no, i meant, if its video streaming is not up to scratch for whatever reason Oct 15 19:11:34 ah, my bad. see... Oct 15 19:11:57 another thing i'm concerned about is power, i'll have 2 drives, the slug, xbox and 32" tv running just to watch some shows Oct 15 19:12:35 Ill recon the xbox will draw more power then the slug+drives Oct 15 19:13:01 think slug is running on 4w Oct 15 19:13:26 janneN: for some reason rtorrent is pulling in ldap dependencies Oct 15 19:13:41 as a quick workaround, just /opt/bin/ipkg install openldap-libs Oct 15 19:13:54 ok eno I try it Oct 15 19:14:02 I just rearranged my power at home today, so now I got a watt meter meassuring the consumption of everything hanging off the ups. Oct 15 19:14:11 *blinkenlights* Oct 15 19:14:37 i want one of those watt meters, i heard they're supposed to be giving them away soon for people to watch their spending Oct 15 19:16:00 They are not that expensive here, picked on up at claes ohlson. nordic chain of home electronics +++ Oct 15 19:16:19 well razo if you are using samba now I cant see why that should not work Oct 15 19:17:07 claes Ohlsson ********* Oct 15 19:17:09 lol Oct 15 19:17:51 i visit tat store each week to make ure I dont miss any new cheap crap=) Oct 15 19:17:56 *that Oct 15 19:18:12 i think i'm going to go for it and try it out, would openslug or unslung be better for my basic setup? Oct 15 19:18:20 think i've found where that ldap dependency is coming from - libcurl Oct 15 19:18:44 i just want something really stable, no back up features needed etc, simply provides stable NAS Oct 15 19:19:00 21:20:16) Could not read resource file: ~/.rtorrent.rc Oct 15 19:19:06 but rtorrent started=) Oct 15 19:19:16 hehe Oct 15 19:19:26 Razo: If you are not terrified of commandline and getting a little linux knowledge Id advice slugos Oct 15 19:19:27 janneN: yup, your rtorrent is working Oct 15 19:19:38 it got it's config from /etc Oct 15 19:19:49 rtorrent rocks :-) Oct 15 19:20:02 time to read the manual Oct 15 19:20:09 congratulation :D Oct 15 19:20:10 with samba, it's so easy Oct 15 19:20:30 just drop the torrent file into the right directory and your good to go Oct 15 19:20:39 Razo: unslung is mostly if you really want it to act as a linksys thingy still. Oct 15 19:21:03 Razo: But have a look at the FirmwareMatrix at the wiki too. Oct 15 19:21:47 unslung sounds more like it, i have ddwrt on the router and i liked that, this sounds like the equivalent Oct 15 19:22:01 oh just 1 more question today Oct 15 19:22:21 Id say wrt on the slug s more like that ;) Oct 15 19:22:53 for that usage unslung will do it. can do killall httpd to save some ram and disable some unescessary things Oct 15 19:23:03 can i put the 2 self-powered drives on a small hub and have a second 2.5"/portable bus-powered drive on the other port? so 3 drives in total, 2 big desktop externals and 1 portable Oct 15 19:23:37 yes you can use a hub Razo Oct 15 19:23:49 eah, that would work Oct 15 19:24:15 cool Oct 15 19:24:41 what happens if the slug craches or needs to restart? could it wreck a drive? Oct 15 19:29:49 dont think the slug can destroy a drive. Oct 15 19:30:35 ipkg install nanobots ^^ Oct 15 19:31:01 ext3 with journal keep you safe Oct 15 19:34:07 i have to format to ext3? Oct 15 19:34:17 i was hoping to just plug in my fat32 drives and go Oct 15 19:34:34 hm you can format it via the webinterface Oct 15 19:36:29 but the drives are already full so i'd really like to be able to keep the drives as they are and just plug in and use them Oct 15 19:37:42 hm... i don't know exactly but there could be a way to mount these devices Oct 15 19:38:12 http://www.nslu2-linux.org/wiki/HowTo/AttachAFAT32FormattedDrive Oct 15 19:38:15 there it is ;-) Oct 15 19:43:02 i'm reading through it but i need to have 2x fat32 drives Oct 15 19:43:15 aha, i have to do that everytime the slug reboots... Oct 15 19:43:33 same problem with unslung? Oct 15 19:44:02 hm Oct 15 19:44:23 it would be easier to copy these one time on your pc/laptop/somewhere else Oct 15 19:44:33 format them and put the data back Oct 15 19:44:56 (ext3 is more reiable than fat32) Oct 15 19:45:06 any downsides? Oct 15 19:45:09 to ext3 Oct 15 19:45:28 and would i be able to add files to the drives from my laptop over the network? Oct 15 19:45:35 Im using to fat drives right now Oct 15 19:45:48 it works no need to reformat Oct 15 19:46:21 *two fat drives Oct 15 19:46:23 is that on linksys firmware or unslung? Oct 15 19:46:32 unslung Oct 15 19:47:27 did you have to do something special or did it just work right after installing unslung? Oct 15 19:47:41 just use usa 437 languuage support. that one is a choice in admin page. Oct 15 19:47:53 tkae you 10 secs Oct 15 19:48:28 thoose 2 connected via a hub Oct 15 19:50:12 is that choose or those? Oct 15 19:50:30 sorry those Oct 15 19:51:54 hm couldnt paste that info Oct 15 19:52:48 HDD_1_1_1 type vfat (rw) Oct 15 19:53:01 and HDD_1_2_1 type vfat (rw) Oct 15 19:53:07 vfat = fat32? Oct 15 19:53:47 honest i dont remember that now Oct 15 19:54:16 but it shows up in samba share in windows that the important one. Oct 15 19:54:43 yeah, ok Oct 15 19:54:47 with ext you need to add a application to windows but that solution inst so good for me. Oct 15 19:55:08 and the slug doesnt do anything stupid like automatically format a drive when its first plugged in right? Oct 15 19:55:30 no lol (olny once each hour) Oct 15 19:55:34 joking Oct 15 19:56:01 if you not tell it to fomat it will not Oct 15 20:01:56 ok thanks! Oct 15 20:02:11 well thanks a lot for your help, both of you, or was there a 3rd? Oct 15 20:02:25 i'll be back after purchase Oct 15 20:03:52 =) Oct 15 20:04:22 its gonna cost me £50+ though, thats about $100 right now Oct 15 20:05:35 oh well, spk soon **** ENDING LOGGING AT Tue Oct 16 02:59:57 2007