**** BEGIN LOGGING AT Sat Mar 26 23:59:56 2005 Mar 27 05:56:43 hi there, can somenone help me with the installation of apache? Mar 27 06:37:09 retry; can somone help on an installation issue with apache Mar 27 08:07:05 hi guys newbie here, could someone tell me how I create or edit diversion scripts, can I do it with telnet Mar 27 08:27:24 chidneymac: what'S about your problems with the divertion scripts, everything fine now? Mar 27 08:38:59 I'm completely in the dark as to how I edit or create scripts I've installed vsftpd and I need to edit vsftpd.conf I think but I don't know how. I'm really new to all of this Mar 27 08:45:30 chidneymac: not a problem at all ;-) Mar 27 08:46:21 chidneymac: so the standard editor on any unix system is vi, any expirience with vi ? Mar 27 08:47:27 no but I did come across vi when searching around I probably need to let you know I'm using OS X on a Mac Mar 27 08:48:28 so you know something about vi's command- and edit-mode, switching between with the escape button Mar 27 08:49:08 no sorry totally unfamiliar Mar 27 08:49:27 ok, but remember this... Mar 27 08:49:42 so, if you want to edit a file, login as root via telnet Mar 27 08:50:08 go to the directory where the choosen file is, -> cd /to/the/dir Mar 27 08:50:11 ok thanks do I need to install vi Mar 27 08:50:30 nope, vi is always there on the nslu2 Mar 27 08:50:49 ok great thanks Mar 27 08:51:14 I take it vi is part of busybox then ??? Mar 27 08:51:40 correct Mar 27 08:52:05 and to run vi I just type it at the telnet prompt ? Mar 27 08:52:18 so , in your case, the vsftpd.conf should be in /opt/etc Mar 27 08:52:30 change to that dir and enter vi vsftpd.conf Mar 27 08:52:51 if you done that, stay tuned ;-) Mar 27 08:53:20 in the 1st, you're in the command-mode, and you couldn't edit anything Mar 27 08:53:25 fantastic you've been a great help I've been searching on how to do this for the last 6 hours :) Mar 27 08:53:49 basic edit commands Mar 27 08:53:53 i insert Mar 27 08:54:00 x del one character Mar 27 08:54:14 dd del the whole line under the cursor Mar 27 08:54:29 escape switch back to the command mode Mar 27 08:54:47 in command mode :q! quits without save the changes Mar 27 08:55:03 in command mode :wq quits with saving Mar 27 08:55:28 so, that are the minimum commands you should know Mar 27 08:55:32 thanks I'll copy and paste your text to a .txt file Mar 27 08:56:06 now you know how you can edit a file, let's talk about divertion scripts Mar 27 08:56:17 ok Mar 27 08:56:45 do you know the purpose of a divertion script? Mar 27 08:57:25 start apps when the nslu2 boots ? Mar 27 08:57:33 jain Mar 27 08:57:39 sorry, yes/no Mar 27 08:58:27 didn't know if your OS X use something similar, but it should Mar 27 08:59:25 on the nslu2 is a dir called /etc/rc.d where the systemstart is described, by files with prefix rc.blabla Mar 27 08:59:46 this files could but shouldn't be changed by the user Mar 27 08:59:58 so thats what the rc. files are then Mar 27 09:01:01 have a look to /etc/rc.d e.g. rc.thhtpd starts the webserver Mar 27 09:01:28 if you want to have an own webserver, like apache Mar 27 09:02:14 you must override this script, and to do this, you use a divertion script, which resides in /share/hdd/conf/unslung Mar 27 09:02:46 the divertion script must have the same name as the original rc.bla script Mar 27 09:05:43 I'm gonna have fun tonight with all off this Mar 27 09:05:57 in your own divertion script, yourselve make a decision, to go back to the original rc.bla script, or leave that alone Mar 27 09:05:59 ;-) Mar 27 09:10:37 one moment will search for a script as an exmple Mar 27 09:14:38 just been playing around with vi never new it was there, things are much clearer now just that one bit of info i was missing Mar 27 09:15:16 #! /bin/sh Mar 27 09:15:16 # Mar 27 09:15:16 echo "telnet stream tcp nowait root /usr/sbin/telnetd" > /etc/inetd.conf Mar 27 09:15:16 echo "ftp stream tcp nowait root /opt/sbin/vsftpd /opt/etc/vsftpd.conf" >> /etc/inetd.conf Mar 27 09:15:16 return 1 Mar 27 09:18:24 so, this is rc.xinetd, which resides in /share/hdd/conf/unslung Mar 27 09:19:11 the 1st echo line enables telnet Mar 27 09:19:23 the 2nd line enable vsftpd Mar 27 09:20:16 what does the first line #! /bin/sh do? Mar 27 09:20:22 the last line is the decision to return to the original script in /etc/rc.d Mar 27 09:20:26 always wondered Mar 27 09:20:54 this is th eline where you tell the system which command interpreter is to use, in this case /bin/sh Mar 27 09:21:23 may be #!/bin/perl Mar 27 09:21:34 or #!/opt/bin/python Mar 27 09:22:10 ok kind of get it, very Very new to linux :) Mar 27 09:22:48 there should be a HowTo on www.nslu2-linux.org, about setting up vsftpd Mar 27 09:23:41 yeah I tried following it but got stuck on the editing of scripts etc. until now :) Mar 27 09:23:48 if you're familar with german, you might gather information on www.unslung.de or www.nslu2-info.de Mar 27 09:24:16 hm, have installed other packages right now? Mar 27 09:24:32 thanks I've been there but not to good with the german Mar 27 09:24:35 e.g. inetutils? Mar 27 09:24:52 not yet I'm gonna take it all in and try later Mar 27 09:25:12 what is inetutils I've seen it mentioned quite a lot Mar 27 09:25:41 so pay attention if you install inetutils, then you're vsftpd will not working anymore Mar 27 09:26:03 right fire away Mar 27 09:26:23 cause the inet daemon from inetutils needs other parameters then the linksys inet daemon Mar 27 09:27:02 so, wife comes home, should and would say hello, and here say bye, for the moment Mar 27 09:28:27 no problem Mar 27 11:08:19 caplink811 as your very knowledgeable do you know how to spindown a hard disk connected to the slug I've got a Maxtor 7Y250P0 and have tried the tutorials on the wiki but it will not spindown Mar 27 11:09:40 dunno, myself use a samsung :-( which couldn't spin down, but the rumours says, there's a tool, which may use on Win, to set the spindown time of a maxtor hd Mar 27 11:11:22 not a very nice thought having a hd spin 24hrs a day gets quite hot though I believe its not to much of a problem on the hd itself do you think the nslu2 will ever be able to spin down disks? Mar 27 11:12:48 it's a fdisk (think so) problem, which is a link to busybox, and doesn't support all original parameters Mar 27 11:13:09 so with openslug, this thing might be better Mar 27 11:13:34 hope so eh Mar 27 11:13:38 if this works on usb Mar 27 11:14:23 in the moment, i put my icy case away from the slug, so the slug went much cooler now ;-) Mar 27 11:16:09 on the other hand, my slug log's something to /opt/var, so the spindown time would never reached Mar 27 11:16:43 I've got both my slug and hd enclosure set vertical on a shelf about 4 inches apart and just noticed the side of the slug next to the hd is quite warm :O Mar 27 11:17:47 in 1st the slug sits on the case, and than the display panel becames very softly, so i moved the case away Mar 27 11:18:31 sounds funny but I don't worry about a disk spinning if its being accessed all the time just don't like the thought of it spinning for no reason Mar 27 11:19:03 yeah you mean the rubbery display Mar 27 11:19:35 si Mar 27 11:20:22 really appreciate your help today after I get ftp working I'm gonna give CUPS a go Mar 27 11:20:51 autsch, not my topic Mar 27 11:21:00 do you bring it to work? Mar 27 11:21:21 no only at home Mar 27 11:21:44 sorry, meant, does cups work for you? Mar 27 11:21:57 never used it Mar 27 11:22:41 I got a few mac and windows boxes including Pocket PC that I would like to access the printer Mar 27 11:23:32 might be a jetdirect a better choice ;-) Mar 27 11:24:12 there you go again ;) what is jetdirect ? Mar 27 11:24:59 hp print server Mar 27 11:25:32 a little box with one to three parallel ports, resides under my desktop Mar 27 11:25:57 would that work with my printer as it's an epson usb printer Mar 27 11:27:21 my router has a print server built in for usb printers but I cannot find information on getting it to work with os x Mar 27 11:28:43 dunno, but if your router provides this functionallity, imho, thats raw ip printer protocoll Mar 27 11:29:51 if win could do this, this function should be available at the apple Mar 27 11:30:22 what's your main reason for slug use? Mar 27 11:33:45 yeah I'm sure the router can be configured to work with os x just have not found how yet Mar 27 11:34:54 it's a apple task, not the router, there must be the possibility to install a network printer Mar 27 11:35:00 s/a/an Mar 27 11:35:19 slug use is for network storage mainly having access to big hard drive from various laptops and hand helds etc Mar 27 11:35:42 something like add printer->local or on net->ip adress.. Mar 27 11:35:55 ah, real nas usage Mar 27 11:37:47 just my curiosity, where you're from Mar 27 11:38:03 just purchased a nice new samsung 32" LCD tv and I'm thinking of getting a Mac Mini to connect to its DVI connector the slug will really be useful then :) Mar 27 11:38:39 32" quite little ;-) Mar 27 11:39:52 Yeah I'm a humble guy :) and its bigger than my last tv Mar 27 11:40:27 ;-) Mar 27 11:40:32 only thing is its got a damn dead pixel :( I get free dead pixels on nearly every lcd I buy Mar 27 11:40:57 that's ugly Mar 27 12:10:02 caplink811 when I get ftp working will I be able to access the unslung linux files via ftp or just the share directories Mar 27 12:10:41 access vi aftp, sharing means smb/cifs Mar 27 12:10:54 s/vi aftp/via ftp Mar 27 12:11:27 you've lost me Mar 27 12:12:39 but, you must set up the right user dirs Mar 27 12:13:03 so, if you had a user e.g. root, it depends on the home of this user.. Mar 27 12:13:15 s/home/homedir Mar 27 12:13:53 if the homedir is / than you have an access to all files under /, if the homedir is /root than not Mar 27 12:15:35 if I can only access the unslung files via telnet then I don't think I'll need to install an ftp server sorry I'm not understanding what your saying Mar 27 12:15:53 btw, you've lost me ?? dict.leo.org found nothing :-( Mar 27 12:16:49 so, see, access via telnet is access to the command line, all commands are accessed on the slug, like your desktop on the mac Mar 27 12:17:22 lost me = confused Mar 27 12:17:48 if you want copy files to your mac, you need something like sharing files e.g. smb, samba, or ftp, or for security reasons scp Mar 27 12:17:53 thx Mar 27 12:17:55 I take it your German? Mar 27 12:18:19 ? Mar 27 12:18:47 conversation in english is perfect to train myself Mar 27 12:19:12 are you from germany? Mar 27 12:19:35 yeah, berlin Mar 27 12:20:37 how would I get a file from my slug linux partition to my mac e.g. copy vsftpd.conf to a folder on my mac whats the best way of doing that Mar 27 12:20:45 ftp? Mar 27 12:21:46 one moment pls, must mak esome cigarettes, and get a beer from the cooler.. Mar 27 12:23:43 ha drinking budweiser here probably why I'm having trouble understanding now Mar 27 12:24:26 ftp, it's a protocoll which is present at the most common opereating systems, so it's your choice if nothing else is available Mar 27 12:24:42 budweiser is a fine beer ;-) Mar 27 12:24:56 today it's a jever from nothern germany Mar 27 12:25:37 I've visited Goslar in Germany nice place had a girlfriend over there for a while Mar 27 12:26:53 goslar at the harz, have a nice old town.. you're from u.s? Mar 27 12:27:17 no England not too far :) Mar 27 12:27:31 so, is your mac familar with the common win protocol, means smb? Mar 27 12:27:40 a england, right over the channel Mar 27 12:28:09 yeah I use smb here Mar 27 12:28:25 mainly because of pocket pc etc. Mar 27 12:28:38 so you could use smb, in place of ftp Mar 27 12:29:09 but, in standard, you could only use all share under /share/hdd/data Mar 27 12:29:17 s/share/shares Mar 27 12:29:19 yeah can I access the unslung files via smb Mar 27 12:30:31 slash share/hdd/conf or slash opt/something? Mar 27 12:31:51 I connect to my shares in osx like this smb://server/share how what would be the correct way for the unslung dirs Mar 27 12:32:46 nope, that's the right way, but there you can see only all files and dirs under slashshare/hdd/data, right? Mar 27 12:34:26 yes thats right if I try smb://server/opt I get an error Mar 27 12:35:21 for a full access to all files it might be easier it setup a ftp user with a homedir slash, or you can edit the slash etc/samba.conf to creae a share that starts at slash Mar 27 12:36:29 but if you do the last, which is impossible at the webinterface, you couldn't use the webinterface anymore for creating or modyfing shares Mar 27 12:38:51 if you want to change the home dir of an user you must edit /etc/passwd respective /share/hdd/conf/passwd Mar 27 12:39:03 like that Mar 27 12:39:06 root:sctGrN6AsHuq6:0:0:root:/root:/bin/sh Mar 27 12:39:27 ftp it is then :) don't really know why I need to access those files without telnet just thought wbic :) Mar 27 12:39:35 username:password:userid:groupid:comment:homedir:loginshell Mar 27 12:40:22 ftp is only useful for access remotely then when your away from home? Mar 27 12:40:35 ftp is only needfull if you want to copy files to somewhere and then chage them, yeah Mar 27 12:41:07 vi isn't too complicated imho Mar 27 12:41:23 for changing some parameters Mar 27 12:41:26 yeah i think thats all i need Mar 27 12:42:20 cannot think of a reason to use unslung other than print server but i'll pobably get my router to do that soon Mar 27 12:42:58 don't really need a itunes server etc any good suggestions of other unslung uses Mar 27 12:44:23 probably, myself streaming mp3's to a terratec noxon, nice little plaything Mar 27 12:44:52 archived my vinyl to mp3 Mar 27 12:46:22 just nas mainly then :) Mar 27 12:46:53 so, it's near eleven o clock, time to watch something at tv,may be Back tomorrow, at the same time, and same place ;-) Mar 27 12:47:29 you're right, i think there's no purpose for unslung, if you're only want to use the nslu2 as a nas-device Mar 27 12:47:55 cheers great talking to you I'll be here tomorrow first day today never realized how helpful people can be byeeee Mar 27 12:55:30 Gnite all Mar 27 13:01:24 hi Mar 27 13:02:01 which is better, bash or busybox?? Mar 27 13:02:05 hello Mar 27 13:03:24 i think they cannot be installed both at the same time, can they?? Mar 27 13:17:11 i couldn't find netstat (i'm using bash). do i have to switch to busybox to have netstat?? Mar 27 13:18:40 yeah Mar 27 13:19:03 but, you can install both at the the same time Mar 27 13:26:51 busybox confilcts with ncurses, which is a depndency for bash, less, nano. is it safe to uninstall bash, install busybox and then reinstall bash?? (running in bash right now) Mar 27 13:50:27 i tried to export a memory filesystem (/dev) using nfs, but it wouldn't mount Mar 27 13:50:43 although it works using smb Mar 27 13:51:24 is it possible to export memory filesystem or not? if not, what could i be missing Mar 27 13:51:25 ?? Mar 27 14:02:06 i remember seeing some conflict, and i used --force option of ipkg Mar 27 14:03:07 -force-overwrite Mar 27 14:03:33 may not be the best way, but it still works Mar 27 14:11:45 I am trying to recover on of my partitions using fsck but it keeps getting killed any ideas? Mar 27 14:32:28 eno, -force-overwrite did the trick, thanks Mar 27 14:32:52 eno, any idea about exporting memory filesystem (e.g. /var) using nfs?? Mar 27 18:18:25 i'm interested in fattening a slug; really, considering buying an NSLU2 to run twonky, and wanted to know if anyone had fattened theirs Mar 27 18:20:30 hello Mar 27 18:20:40 howdy Mar 27 18:21:01 byron, do you know how to fatten a slug? Mar 27 18:21:35 I can follow directions - and there are some on the wiki Mar 27 18:21:52 yeah, they stink Mar 27 18:21:57 don't even tell you what kind of RAM to buy Mar 27 18:22:36 I think ka6sox is the *expert* at doing so Mar 27 18:22:43 and it's not something for the faint of heart Mar 27 18:22:56 i'm brave Mar 27 18:23:01 i just like to have clear directions first Mar 27 18:23:10 how can i reach ka6sox? Mar 27 18:23:35 and has anyone tried to upgrade the CPU on it? Mar 27 18:24:04 not really possible Mar 27 18:24:12 why? Mar 27 18:25:08 well let me put it this way... it'd be cheaper and easier to buy a blank PCB and put your own design together... Mar 27 18:25:26 which [g2] has done (I think) Mar 27 18:25:37 i was thinking if there are other revisions of the identical chip, you could swap them like the RAM. Mar 27 18:25:49 has g2 come up with a faster, higher memory version with the same firmware? Mar 27 18:26:22 I'm not sure what exactly he has done... I do know that he had a test board that he played with and had booting Mar 27 18:26:46 do you know how to reach him or ka6sox? Mar 27 18:26:52 but I think he felt that it just wasn't worth the trouble (especially with a nslu2 at $80) Mar 27 18:26:55 I'd rather pay someone for a custom job than play with it myself. Mar 27 18:27:33 they hang out in #nslu2-linux but are not around at the moment... Mar 27 18:27:43 ka6sox has been gone for over an hour Mar 27 18:27:47 err day Mar 27 18:28:05 do they respond to messages /msg'd to them while they're gone? Mar 27 18:28:48 sometimes.. but since they are accessing from so many different machines and/or clients, they may not Mar 27 18:29:17 it might be easier to post a general message to the nslu2-yahoo mailing list for information Mar 27 18:29:40 if they are interested in doing something for you for $, they would respond Mar 27 18:29:58 but they (as I) stay quite busy with full time jobs Mar 27 18:30:32 hmmm..don't see g2 on there lurkiing Mar 27 18:30:37 feel like giving him the message for me? Mar 27 18:30:58 he has been really busy recently (he's the OpenSlug lead developer) Mar 27 18:31:40 I'm writing his/the Openslug doco and haven't been able to get in touch with him consistently Mar 27 18:34:39 maybe there's an easier way to do this; do you know of anything that's similarly small, has linux in firmware, doesn't need a monitor or keyboard, but is really a linux box? Mar 27 18:35:02 OpenSlug... :) Mar 27 18:35:11 OpenSlug = Linux Distro Mar 27 18:35:16 right Mar 27 18:35:20 but i want to pump up the ram and cpu Mar 27 18:35:32 i'm focused on running twonky, but figure while i'm at it Mar 27 18:35:39 there are tradeoffs Mar 27 18:35:46 i might as well put up a linux box to play around with Mar 27 18:35:47 particularly in heat problems Mar 27 18:35:56 oh, you mean with the RAM? Mar 27 18:36:01 cpu Mar 27 18:36:14 that's why i'm wondering if there's an alternative - just a little teeny linux box with no monitor or keyboard Mar 27 18:36:33 that IPX4## series chip can actually get quite hot... Mar 27 18:36:50 this is from g2's experience? Mar 27 18:36:52 leading to compensations for heat Mar 27 18:37:19 that's from general knowledge of Intel's IPX4## processor line Mar 27 18:37:44 you might be interested in the Asus WL500G (don't know that that is the exact model number) Mar 27 18:37:51 what's that? Mar 27 18:38:23 but there aren't as many devs for it (nor the community) Mar 27 18:39:13 what's the advantage of it? is there linux in it? Mar 27 18:39:50 i was thinking if i'm putting up a little teeny linux box, i might as well pump it up and put java, apache, weblogic, etc. on the box and have some fun with it Mar 27 18:40:12 all that I know is that Rod Whitby has one and is developing packages for it Mar 27 18:40:39 why not get a NSLU2, help with getting the packages that you want on it, and maybe later pumping up RAM Mar 27 18:40:57 i want to be a consumer here Mar 27 18:41:03 not a hobbyist Mar 27 18:41:35 unfortunately... this is more of a hobbyist community Mar 27 18:41:59 yes, i'm going to be your first consumer Mar 27 18:44:12 is the thing fast enough to run much on it, by the way? Mar 27 18:44:19 maybe the ram is the only real impediment Mar 27 18:45:36 it has some limitations due to its design, but a non-computer expert friend of mine is running a web server on his Mar 27 18:49:27 so enough to serve raw pages, but not really enough to do any serious compiling or playing in java or anything Mar 27 18:50:00 i don't know why _someone_ doesn't just come out with a little, dumb linux box Mar 27 18:52:21 It was called a NetWinder. Mar 27 18:52:37 no longer around? Mar 27 18:52:55 Correct. I see some on Ebay ocassionally. Mar 27 18:53:00 ahhhh... an expert shows up... ;) Mar 27 18:53:08 how are you doing, glc? Mar 27 18:53:32 Ok. Byron. Been a bit busy. Mar 27 18:53:42 what is the performance like? Mar 27 18:53:47 haven't we all Mar 27 18:53:53 RavenHawk should build a Via based system. Mar 27 18:54:19 ? Mar 27 18:55:07 http://www.ardencomputers.com/10Browse.asp?Category=MINIITXBAREBONES Mar 27 18:56:20 you still need to have a monitor and keyboard Mar 27 18:56:53 Once you set it up you can use telnet, X, or VNC. Mar 27 18:57:25 yeah, but i want to avoid that whole "set up and when it crashes" thing Mar 27 18:57:34 just let it be a telnet only from day 1 box Mar 27 18:58:15 If you want to be spoonfed, you should get a different hobby. Mar 27 18:58:46 Computers require interaction. Mar 27 18:58:50 this isn't my hobby Mar 27 18:58:53 i'm a consumer Mar 27 18:59:31 Get a Microsoft multimedia system. Mar 27 18:59:46 hmm... the microwave just killed my wireless system Mar 27 18:59:55 the goals are twofold: first, to run a upnp server (twonky) without having to boot the pc Mar 27 19:00:02 I think I'm going to have to locate that access point in my attic Mar 27 19:00:31 second, if i've already got a linux box on my network, i can use it as a webserver and weblogic server and mini-database to run the various e-business ideas i sometimes come up with Mar 27 19:01:21 ByronT , I have a rf ( 27Mhz) mouse that goes nuts and jumps all over, highliting text, and cutting and pasting stuff. Mar 27 19:01:41 Maybe a CBer in the neighborhood. Mar 27 19:02:21 good thing I have this laptop connected via 1GB ethernet as well Mar 27 19:20:02 byron: please give g2 that message when he gets back. Mar 27 19:20:13 ok Mar 27 19:20:22 thx Mar 27 19:21:00 thanks **** ENDING LOGGING AT Sun Mar 27 23:59:56 2005