**** BEGIN LOGGING AT Sun Dec 31 02:59:57 2006 Dec 31 10:08:12 Morning all - does anyone know how to install Nethack? Dec 31 10:27:59 anyone? Dec 31 10:57:45 anyone know much about thttpd website? Dec 31 11:27:06 anyone help me with thttpd? Dec 31 11:29:32 having a bit of trouble to get my website to display rather than my admin page Dec 31 12:02:12 i guess it sthe conf? Dec 31 12:16:29 well i've got all my files in the /share/hdd/data/website folder Dec 31 12:16:48 and i've changed the thttpd-website.conf so it is correct Dec 31 12:17:18 the bit i don't understand is changing the above config file with this line: pidfile=/var/run/thttpd-website.pid Dec 31 12:17:27 as i don't have a file called that in the folder it says? Dec 31 12:25:52 m1cha3lp: it should create it...it only contains the pid-number of that specific process so scripts can handle it when needed to (and recognize it) Dec 31 12:26:10 it's like handle to that process - sorta Dec 31 12:44:27 hmm i've still got a problem in that when i type in 192.168.0.2 (my slugs address) i get the homepage..when i type in 192.168.0.2:81 i get nothing - page not displayed - when i should be getting my website Dec 31 12:46:05 and "ps aux" does show the process? Dec 31 12:46:39 what would the process be called? Dec 31 12:47:24 325 root 2160 S /usr/sbin/thttpd -C /etc/thttpd.conf Dec 31 12:47:32 looks like it is running then? Dec 31 12:47:48 well - looks like just the normal one not my website conf? Dec 31 12:48:29 yup, just the normal one Dec 31 12:48:47 hmm..why is my other one not running then? Dec 31 12:48:48 hav you ran the startup-script yet? Dec 31 12:49:04 /opt/etc/init.d/ should contain it Dec 31 12:49:15 +e Dec 31 12:50:08 it contains a file called S90website Dec 31 12:50:12 but it is blank? Dec 31 12:50:17 is it? Dec 31 12:50:26 cat /opt/etc/init.d/S90website Dec 31 12:50:53 returns this: Dec 31 12:51:18 hang on Dec 31 12:51:43 returns: Dec 31 12:52:06 yes? Dec 31 12:52:13 sorry it would not paste Dec 31 12:52:20 how come? Dec 31 12:52:40 which terminal-software you're using? Dec 31 12:52:47 putty Dec 31 12:52:49 ssh Dec 31 12:53:25 it returns this /usr/sbin/thttpd -C /etc/thttpd-website.conf Dec 31 12:53:29 ok, then copy/paste is simply "paint" the text and paste is right mouse click Dec 31 12:53:39 hello Dec 31 12:53:43 hi joga Dec 31 12:53:50 my nslu2 just now started beeping every few seconds Dec 31 12:54:03 what does df return? Dec 31 12:54:08 why would that be? I thought it would complain because free space fall below 2% Dec 31 12:54:12 you might have ran out of free space Dec 31 12:54:22 yes, it's the case here Dec 31 12:54:42 but why does it beep all the time, crontab seemed to do it every 8 hours or so Dec 31 12:55:02 I even tried to move away the CheckDiskFull script Dec 31 12:55:31 does my file look ok then drif? Dec 31 12:55:32 is there some way to tell it not to beep, since I still have about 10GB of free space there, it's a 400GB drive Dec 31 12:56:12 joga: if you wish to turn off the beep - when it occures "/usr/bin/Set_Led ready" Dec 31 12:56:13 oh and I'm using unslung 6.8 (iirc) Dec 31 12:56:46 m1cha3lp, could pls pastebin the whole contents of your /opt/etc/init.d/S90website script? Dec 31 12:57:03 drif is that a one-time fix, or how should I configure it so it won't do it again if I reboot it? Dec 31 12:57:17 caplink: I believe it was all? atleast he didn't say it would contain anything else.. Dec 31 12:57:28 joga: one time.. Dec 31 12:57:35 joga: edit crontab Dec 31 12:57:42 that is all it contains as i pasted above Dec 31 12:57:42 to fix it permanently Dec 31 12:57:54 i can paste what command i used originally when creating it if you like? Dec 31 12:58:08 well, maybe a good thing if there is something like #!/bin/sh at the first line of the script Dec 31 12:59:37 drif how often should I execute Set_Led ready? Dec 31 12:59:40 i simply copied what the wiki says here: Dec 31 12:59:50 cd /opt/etc/init.d Dec 31 12:59:56 echo "/usr/sbin/thttpd -C /etc/thttpd-website.conf" >S90website Dec 31 13:00:00 chmod +x S90website Dec 31 13:00:06 do i need more than that? Dec 31 13:00:39 hold a sec Dec 31 13:00:46 k Dec 31 13:00:46 http://pastebin.com/848439 Dec 31 13:00:55 check that link Dec 31 13:01:17 it should be similar to that Dec 31 13:01:20 sure, as i mentioned above, each script must start with a line which contains the command shell, e.g. #!/bin/sh at least Dec 31 13:02:24 mich: on which page did you follow the instructions? or did on your own? Dec 31 13:02:34 http://www.nslu2-linux.org/wiki/HowTo/SimpleHomeWebsite Dec 31 13:03:07 so if i type all what i have above...but with this line at the top #!/bin/sh and compile again it might work? Dec 31 13:03:12 do i need a return at all? Dec 31 13:03:16 drif, luxurious design it is ;) Dec 31 13:04:19 cap: :D had to make those modifications in order to get it working with my showcenter scripts.. since thttpd seems to offer bit limited config-options Dec 31 13:04:46 thanks to built-in 'foolsafe' security... or something like that.. Dec 31 13:05:33 mich: compile again? Dec 31 13:06:02 well, restart again i mean:) - just doing it now Dec 31 13:06:30 restart which? Dec 31 13:06:43 m1cha3lp, http://rafb.net/p/k59Gj875.html is more then enough Dec 31 13:06:43 script/process or slug? :D Dec 31 13:08:50 slug Dec 31 13:09:13 why_ Dec 31 13:09:14 _ Dec 31 13:09:27 the wiki says to Dec 31 13:09:43 restart is almost never only option to proceed :D Dec 31 13:09:55 although it's the easiest Dec 31 13:10:36 mich: so, I'll take it you won't be needing php on your pages? Dec 31 13:10:55 drif hmm, I rebooted the thing after I had renamed the CheckDiskFull script, now the slug doesn't beep anymore Dec 31 13:10:57 no, just basic hmtl i need really Dec 31 13:12:09 ok, but now laters - happy new year everybody (bit premature I know) Dec 31 13:12:58 happy new year:) Dec 31 13:13:27 :) Dec 31 13:14:33 when i do df /opt/etc/init.d/S90website Dec 31 13:14:37 i get loads more Dec 31 13:15:03 ehm.. Dec 31 13:15:12 about filesystem, root mounted etc Dec 31 13:15:15 different than last time Dec 31 13:15:16 df shows the free disk space Dec 31 13:15:24 sorry, wrong command Dec 31 13:15:30 and other stats Dec 31 13:15:30 cat Dec 31 13:15:35 is what you were looking for Dec 31 13:16:07 sorry yes - and it shows this: /usr/sbin/thttpd -C /etc/thttpd-website.conf Dec 31 13:16:35 i'm lost now Dec 31 13:16:42 how come? Dec 31 13:17:45 cap: are you busy? could you continue with mich? Dec 31 13:18:44 i think it is just this startup script giving me trouble, i might even be creating it in the wrong place Dec 31 13:19:55 it needs to be here: /opt/etc/init.d -but do i need to create it within a file here - called anything? Dec 31 13:24:37 drif, k, some spare minutes before preparing the lunch Dec 31 13:25:20 thanks Dec 31 13:25:57 i think i totally don't understand this startup script and where it is meant to go? Dec 31 13:26:39 m1cha3lp, 1st. create a file in /opt/etc/init.d, the name must start with a "large" S, e.g. S99mywebserver... command: >/opt/etc/init.d/S99mywebserver Dec 31 13:27:21 2nd. change the permissions of this file command: chmod 755 /opt/etc/init.d/S99mywebserver Dec 31 13:28:03 3rd now edit this file and put this http://rafb.net/p/k59Gj875.html in Dec 31 13:29:02 would i nano s99? - edit it like that Dec 31 13:32:18 you could use nano, vi, or whatever... after edit, verify the contents of /opt/etc/init.d/S99mywebserver.. command: cat /opt/etc/init.d/S99mywebserver Dec 31 13:33:08 hey caplink811_log how are you Dec 31 13:33:08 Mika_: just great Dec 31 13:33:32 Mika_, fine, thx, i hope, you too? Dec 31 13:33:56 Yes at the moment i feel great.. and ready for tonight Dec 31 13:34:07 and you wil you make a special evening ? Dec 31 13:34:18 Long time ago that we have spoke Dec 31 13:34:42 we will go slow - diner, theatre, midnight ;) Dec 31 13:35:06 Sounds nice :=) Dec 31 13:35:11 Mika_, yeah, much work in the last few weeks Dec 31 13:35:23 m1cha3lp, any progrss? Dec 31 13:35:33 still same companie ? Dec 31 13:35:39 s/progrss/progress/ Dec 31 13:35:39 caplink811_log meant: m1cha3lp, any progress? Dec 31 13:35:58 Mika_, yes Dec 31 13:35:59 sorry, got caught up with a phone call half way through your instructions, back now Dec 31 13:40:35 m1cha3lp, and make sure, that /etc/thttpd-website.conf exists Dec 31 13:42:09 ok done that - that S99mywebserver is created and shows the commands you told me to put in Dec 31 13:42:17 caplink811_log: Here is change a lot only the work is the same.. you know from the start in the year? Dec 31 13:42:26 and that other config file is there in /etc Dec 31 13:42:35 so what is the next step? Dec 31 13:45:37 execute ps -ef|grep thttpd, you should recognise only one process Dec 31 13:46:57 hmm it has two Dec 31 13:47:48 two processes, or two lines in the output? Dec 31 13:47:55 two output lines Dec 31 13:48:13 one says /user/sbin/thttpd -c /etc/thttpd.conf Dec 31 13:48:21 and then gep thttpd on the other Dec 31 13:48:52 sorry that should read grep Dec 31 13:49:38 k, so enter /opt/etc/init.d/S99mywebserver Dec 31 13:50:33 and then ps -ef|grep thttpd again, this should reult in a 3 line output Dec 31 13:51:11 i get this line when i did your first thing /usr/sbin/thttpd: unknown config option 'website,' Dec 31 13:52:36 seems there is a typo in your S99mywebserver script Dec 31 13:53:00 k let me look again - all i did was copy your code so i dont see why but i'll check Dec 31 13:54:28 does the bash part need the # infront? Dec 31 13:54:45 sorry, does the !bin part need the # infront? Dec 31 13:54:55 yes Dec 31 13:55:30 k Dec 31 14:00:37 * caplink811_log is preparing the dinner, back in 2 hours, or so Dec 31 14:08:46 totally lost now:( Dec 31 14:11:32 anyone? Dec 31 14:41:00 hello? Dec 31 14:43:18 i could really do with some help with thttpd Dec 31 15:07:15 ahh it works now:) Dec 31 15:07:42 if you read this guys that helped - thanks ever so - your instructions did work it was me not following them correctly Dec 31 15:40:38 anyone on at the moment? Dec 31 15:48:24 anyone on? Dec 31 15:48:57 grr hate name changes Dec 31 15:49:06 "/nick m1cha3lp Dec 31 15:50:47 anyone on? Dec 31 15:55:57 i've got my thttpd website up and running but not how i want it Dec 31 15:56:15 if i type my domain in www.****.com i get my nslu2 admin page Dec 31 15:56:29 if i type in my domain www.****.com:81 i get my website Dec 31 15:56:49 i don't want my webadmin page accessible on the internet - anyone know how to turn it off? Dec 31 15:56:50 what kind of router do you use? Dec 31 15:56:59 negear dg834g Dec 31 15:57:04 netgear# Dec 31 15:58:08 then you should do a port forwarding on the router from incoming port 80 to the destination ip-nslu port 81 Dec 31 15:59:44 i don't get how to do that though - i know basic port forwarding Dec 31 16:00:47 so i add a service - websvr - type tcp - start port and end port is 80 and 81? Dec 31 16:09:50 it seems, that your router isn't able to handle this correctly (according to page 5-6 to 5-7 of the reference manual) Dec 31 16:16:50 is there another way around it then? Dec 31 16:18:10 change the admin port number via the webinterface, and then let your new webserver use port 80. Dec 31 16:19:50 would that mean everytime i wanted to user the interface i'd have to use 192.168.1.77:2000 for example Dec 31 16:27:11 arghh i can't access my web interface now Dec 31 16:30:26 bk now Dec 31 16:37:07 is it possible to turn off the web interface to the outside world but allow it on my network only? Dec 31 16:40:33 just turn off the upnp? Dec 31 17:03:45 i've got my nslu2 and the basic FTP working...which friends can access with a log in.. Dec 31 17:04:13 a friend said he wanted to use fxp to send files from his ftp server to mine - but it would not work - anyone know why? Dec 31 17:41:06 m1ch, what's your ftp server? Dec 31 17:42:25 m1ch, i setup fxp on vsftp once a while ago. it needs some options in the conffile. consult your server's dos Dec 31 17:42:27 docs Dec 31 18:23:05 tuv, i'm using the standard built in ftp server Dec 31 18:23:11 sorry for the late reply, i was out the room Dec 31 18:23:51 m1ch, do you mean inetd's ftp server? i don't think it supports fxp, but i'm not sure Dec 31 18:24:22 erm, whatever the built in one is yes Dec 31 18:24:56 i don't know if there is any built-in ftp server, but anyway all i know is vsftpd does support fxp Dec 31 18:25:10 have you configured vsftp on the nslu2 then?? - i tried to follow the instructions but found it too hard a while ago - but i know more now so might give it another go Dec 31 18:25:18 although setting up fxp in vsftpd is not very straightforward Dec 31 18:25:24 is vsftp worth me having another go - is it a lot better than the standard? Dec 31 18:25:42 as vsftpd defaults to the most secure options which all conflict with fxp Dec 31 18:26:14 m1ch, vsftpd is the ftp server used in most internet sites Dec 31 18:26:37 is it an sftp or just a normal secure ftp Dec 31 18:26:53 ftp Dec 31 18:26:58 i did try with the installing it but was not sure how to do diversion scripts which i know about now Dec 31 18:27:13 does it matter that it is not sftp - i know we only use sftp at work Dec 31 18:27:42 sftp works on top of openssh. it does not need an ftp server Dec 31 18:29:15 m1ch, for a motivation, check out 'What large sites are trusting vsftpd?' at http://vsftpd.beasts.org/ Dec 31 18:29:30 would you say vsftp is easy enough to install then? Dec 31 18:29:49 also do you need to disable (or just turn off) the standard ftp server? Dec 31 18:30:18 m1ch, probably you will need to disable it yes if they use the same port (default) Dec 31 18:30:53 just by turning off in the web page app i guess - nothing more than that? Dec 31 18:35:21 might give it a try - just looking at the wiki about it now Dec 31 18:37:11 it says create or modify a diversion scrit in /unslung/rc.xinetd Dec 31 18:37:18 what would you call it? Dec 31 19:10:18 before you trying anything with rc.xinetd, you should install a ssh-server (dropbear e.g), so you can access your nslu with putty/ssh if things messed up Dec 31 19:23:49 caplink - was that to me? Dec 31 19:23:59 i've got openssh installed if that question was to me Dec 31 19:24:15 thanks for your help earlier with my thttpd web server - works fine Dec 31 19:36:22 anyone know how to install Nethack? Dec 31 19:36:37 there is a wiki page for it but no ipkg? Dec 31 19:42:32 anyone? **** ENDING LOGGING AT Mon Jan 01 02:59:59 2007