**** BEGIN LOGGING AT Thu Sep 25 02:59:57 2008 Sep 25 08:09:38 Anyone alive for an openslug question? Sep 25 08:12:27 I have a nslu2 with openslug bootstrap'd to debian. i have the debian on a memory stick, and a wd harddisk in the other slot. when i unmount, and unplug the wd harddisk and then attach a 4way usb hub, and put the wd disk through that, my slug reboots itself, and goes back to the 'openslug' operating system, and sees none of the attached disks, i can shell in using the default openslug passwd etc. unplugging the hub, and returning the wd disk dir Sep 25 08:13:33 i have had this exact hub working before, but it 'stopped working' and started behaving in this way, after a mains power cut. Sep 25 09:40:05 hello? Sep 25 09:40:46 just ask your question ;) Sep 25 09:41:11 What about mine! Sep 25 09:41:13 :) Sep 25 09:41:59 barnseenio, tried on another machine? it might have been damaged during the power cut.. Is it seperately mains powered? Sep 25 09:42:04 ok so i have installed unslung Sep 25 09:42:24 telnet in the box Sep 25 09:42:45 and type "unsling disk2" Sep 25 09:42:48 but i get Sep 25 09:43:44 Waiting for /share/flash/data... Sep 25 09:43:49 1 Sep 25 09:44:33 Error: /share/flash/data (Disk 2, /dev/sda1) is not a mounted drive Sep 25 09:44:45 any idea? Sep 25 09:44:49 (s) Sep 25 09:45:00 Whats the web interface say? Sep 25 09:45:04 Does it recognise the drive? Sep 25 09:45:09 If so, have you formatted it? Sep 25 09:47:15 USB Port 2: Ready (FAT/NTFS), 3848MB (100% Free) Sep 25 09:47:51 wrong file system Sep 25 09:48:19 how do i format to right one Sep 25 09:48:29 use the web interface Sep 25 09:48:38 ok Sep 25 09:48:57 cant remember where the setting is, ages since i've used unslung/linksys firmware Sep 25 09:49:23 got it...formatting Sep 25 09:50:28 is says that it has been formatted but "Formatted (FAT16/32)" Sep 25 09:51:05 stick it onto a windows or other machine and delete all the partitions on it Sep 25 09:51:34 ok good thinking Sep 25 09:55:50 grrrr Sep 25 09:55:57 windows not letting me Sep 25 09:56:01 2secs Sep 25 10:04:12 anyone know how to? Sep 25 10:04:55 whats happening or not happening? Sep 25 10:09:12 ok done it Sep 25 10:09:13 Reedy: The hub did work in another PC. Im beginning to wonder another theory. Before that restart, the machine had not been restarted for 4-5 months. I wonder whether i could have 'done something' which once the machine has been restarted has affected debians ability to use that hub or usb device. Sep 25 10:11:08 restarting Sep 25 10:11:19 with usb in Sep 25 10:11:58 without* Sep 25 10:12:01 dont boot with the drive in! Sep 25 10:12:13 good Sep 25 10:12:13 lol Sep 25 10:12:14 lol sorry typo! Sep 25 10:13:22 booted, enabled telnet Sep 25 10:13:48 cool Sep 25 10:14:36 logged in to telnet Sep 25 10:14:53 usb in Sep 25 10:14:58 waiting Sep 25 10:15:41 web gui says "USB Port 2: Not Formatted" Sep 25 10:15:46 good or bad? Sep 25 10:16:28 thats right Sep 25 10:16:32 if you removed the partitions Sep 25 10:16:33 now try formatting Sep 25 10:16:42 from GUI Sep 25 10:16:44 ? Sep 25 10:16:58 ya Sep 25 10:17:02 or telnet "unsling disk1" Sep 25 10:17:05 ok Sep 25 10:17:32 formatting Sep 25 10:18:13 light is flashing(didnt do that last time) Sep 25 10:20:26 So Reedy, can you imagine what would cause slug to reboot, and go into openslug, just by unplugging an unmounted usb hardisk, and replugging it in via a hub? Sep 25 10:20:32 now it says "Formatted (EXT3)" Sep 25 10:20:37 supajason, ace Sep 25 10:20:40 try unslinging now Sep 25 10:20:46 thanks Sep 25 10:21:00 barnseenio, not a clue... Sep 25 10:21:17 Is the mailing list still active? Sep 25 10:21:22 yeaaa password: Sep 25 10:21:30 lol Sep 25 10:21:56 it is, i get various daily digests every da Sep 25 10:21:56 y Sep 25 10:22:19 I wonder if that might be a better place to get help, as IRC doesnt seem to likely Sep 25 10:22:59 you should know by now its all a matter of time on irc ;) Sep 25 10:23:03 lol Sep 25 10:23:07 lol Sep 25 10:23:17 yes i guess i do know better Sep 25 10:23:51 rebooting Sep 25 10:26:45 yeah its working Sep 25 10:26:54 thank you reedy :-) Sep 25 10:27:21 cool Sep 25 10:27:31 if you have set default gateway, and some dns servers Sep 25 10:27:31 ...jealous..... Sep 25 10:27:41 ipkg update; ipkg upgrade Sep 25 10:27:46 and then install openssh! Sep 25 10:28:57 updated, installinh Sep 25 10:29:00 (g) Sep 25 10:29:06 usually i wouldnt care about this problem, other than being an annoyance .. however my new 1tb drive just arrived yesterday, and not being able to add is is driving me nuts ;-) Sep 25 10:32:52 installed :-) Sep 25 10:33:11 cool, now you can use ssh rather than telnet :) Sep 25 10:35:06 using puTTY :-) Sep 25 10:36:04 now i need to install web server with PHP,MYSQL Sep 25 10:36:27 good luck with the last one ;) Sep 25 10:37:03 some conf editing needed i guess with on 32mb Sep 25 10:37:35 ya Sep 25 10:40:55 ipkg install php-apache (eaccelerator is optional, but highly recommended) Sep 25 10:41:06 what is eaccelerator Sep 25 10:41:07 ? Sep 25 10:41:45 http://eaccelerator.net/ Sep 25 10:41:50 php caching Sep 25 10:42:19 means it wont recompile/build the page on every load Sep 25 10:42:20 making it quicker Sep 25 10:42:44 i see Sep 25 10:43:05 like APC if you've heard of that Sep 25 10:43:21 so do i use "ipkg install php-apache-eaccelerator" Sep 25 10:43:26 nope Sep 25 10:43:30 not a clue Sep 25 10:43:39 errm Sep 25 10:43:39 but i do understand quicker Sep 25 10:43:49 lol Sep 25 10:44:32 ipkg install eaccelerator Sep 25 10:44:34 it would seem Sep 25 10:45:28 ipkg install php-apache then Sep 25 10:45:40 ipkg install eaccelerator Sep 25 10:45:43 dunno Sep 25 10:45:45 wiki link Sep 25 10:45:47 ? Sep 25 10:46:16 http://www.nslu2-linux.org/wiki/Optware/MediaWiki?from=Unslung.MediaWiki Sep 25 10:46:29 yeah Sep 25 10:46:34 caching will be good for mw the Sep 25 10:46:38 then Sep 25 10:47:38 you do realise another web server would possibly be more suited for the nslu2? Sep 25 10:48:37 like thhtpd? Sep 25 10:49:02 or something Sep 25 10:49:44 i dont really know which is better Sep 25 10:50:04 i use apache so thought it would be better Sep 25 10:50:33 http://www.nslu2-linux.org/wiki/Info/ComparingWebServers Sep 25 10:51:10 thanks Sep 25 10:52:11 supajason, whatya gonna use mw for? Sep 25 10:54:01 i going to put my own site on there not mw just looking on how to install everything Sep 25 10:54:14 ook Sep 25 10:54:20 now im not sure which one Sep 25 10:54:38 if apache is a memory "hog" i dont want that Sep 25 10:55:02 thats what i was meaning Sep 25 10:59:39 appweb doesnt use htaccess Sep 25 11:03:53 ok im going with thttpd Sep 25 11:14:12 how do i find out free space on the partitions? Sep 25 11:30:50 df -H Sep 25 11:34:05 lol its a small h Sep 25 11:41:17 yeah Sep 25 11:41:28 -H is to be changed to soemthing else Sep 25 11:43:12 ok so i want to edit the conf but i cant Sep 25 11:43:33 i have ftp in Sep 25 11:44:01 copyied to desktop edited but i cant upload (access denied) Sep 25 11:44:14 its in /opt/etc/ Sep 25 11:45:56 put a text editor on the nslu2 Sep 25 11:45:59 ipkg install nano Sep 25 11:48:56 installing Sep 25 11:50:09 you will likely have a PATH issue when installed Sep 25 11:50:22 ie "nano" wont start it to begin with Sep 25 11:51:05 huh? Sep 25 11:51:37 try typing nano Sep 25 11:51:45 it shouldnt start it to being with IIRC Sep 25 11:51:49 it works Sep 25 11:51:55 oh. :/ Sep 25 11:52:05 other people have had problems with it Sep 25 11:52:17 lucky me :) Sep 25 11:54:02 i press ctrl+r type opt/etc/thttpd.conf Sep 25 11:54:10 it says file not found Sep 25 11:54:37 got it need a / at the beg Sep 25 11:54:44 nano /opt/etc/thttpd.conf Sep 25 11:55:55 edited how do i save Sep 25 11:56:05 ctrl+o Sep 25 11:56:06 enter Sep 25 11:56:08 ctrl+x Sep 25 11:58:24 not working Sep 25 11:58:36 whats not? Sep 25 11:58:45 ctrl+o Sep 25 11:58:48 enter Sep 25 11:59:02 then it says caneclled Sep 25 11:59:37 whats it say when you press ctrl+o Sep 25 12:00:44 file name to write to Sep 25 12:01:03 if i type thttpd.conf it saves it in root folder Sep 25 12:01:27 try starting it via nano /opt/etc/thttpd.conf Sep 25 12:02:20 that looks good thanks Sep 25 12:02:35 yeah works Sep 25 12:02:48 how do i delete the one in root folder now Sep 25 12:03:24 rm /root/thttpd.conf Sep 25 12:04:04 i see Sep 25 12:04:46 rm literally being remove Sep 25 12:07:08 grrrrr ok now i start the http server with the dir=/www Sep 25 12:07:41 but when i type ip into browse i get index of with nothing inside Sep 25 12:09:47 it thinks the dir is the root folder??? Sep 25 12:10:21 did you restart the http server? Sep 25 12:10:35 no how do i do that? Sep 25 12:10:47 err Sep 25 12:11:04 its a while since i've done anything on unslun Sep 25 12:11:05 g Sep 25 12:11:06 moment Sep 25 12:12:18 /opt/etc/init.d/S90thttpd restart Sep 25 12:12:20 may work Sep 25 12:12:52 not found Sep 25 12:13:01 cd /opt/etc/init.d Sep 25 12:13:04 ls -al Sep 25 12:13:10 see if anything references thttpd Sep 25 12:14:07 drwxr-xr-x 2 root root 4096 Sep 25 13:07 . Sep 25 12:14:07 ls -al | grep thttpd Sep 25 12:14:07 drwxrwxr-x 22 admin everyone 4096 Sep 25 12:19 .. Sep 25 12:14:10 would possibly be easiler Sep 25 12:14:44 no output Sep 25 12:15:02 which directory are you in? Sep 25 12:15:26 the prompt is "#" Sep 25 12:15:37 dont think sh tells you much Sep 25 12:15:39 pwd Sep 25 12:15:40 ? Sep 25 12:15:42 it hink Sep 25 12:16:06 root Sep 25 12:16:17 cd /opt/etc/init.d Sep 25 12:16:43 S40sshd S80thttpd Sep 25 12:17:08 /opt/etc/init.d/S80thttpd restart Sep 25 12:17:48 Shutting down thttpd... done Sep 25 12:17:48 Starting thttpd... done Sep 25 12:18:05 still the same Sep 25 12:18:45 how are you accessing it? Sep 25 12:19:27 huh? Sep 25 12:20:20 http://slugipaddress ? or :8080 Sep 25 12:20:31 ip address Sep 25 12:20:52 i change the gui port to 8080 and the web server to 80 Sep 25 12:20:55 look here Sep 25 12:20:57 82.19.40.201 Sep 25 12:21:30 doesnt seem to be follwing teh root directory setting Sep 25 12:22:12 82.19.40.201:80 is the thttpd server Sep 25 12:22:20 82.19.40.201:8080 is the web gui Sep 25 12:22:50 yup Sep 25 12:23:30 pastebin the config file Sep 25 12:24:27 dir=/www Sep 25 12:24:27 port=80 Sep 25 12:24:27 user=nobody Sep 25 12:24:27 nochroot Sep 25 12:24:27 nosymlink Sep 25 12:24:28 novhost Sep 25 12:24:30 logfile=/opt/var/log/thttpd.log Sep 25 12:24:32 # Please do not edit pidfile path at it is use to kill thttpd process during init Sep 25 12:24:34 pidfile=/opt/var/run/thttpd.pid Sep 25 12:24:46 does /www exist? Sep 25 12:25:42 yes i created it via ftp and upload index.php Sep 25 12:26:02 ls -al /www Sep 25 12:26:05 # cd /www Sep 25 12:26:05 # ls Sep 25 12:26:05 index.php Sep 25 12:26:05 # Sep 25 12:26:28 # ls -al /www Sep 25 12:26:28 drwxrwxr-x 2 admin everyone 4096 Sep 25 12:19 . Sep 25 12:26:28 drwxrwxr-x 22 admin everyone 4096 Sep 25 12:19 .. Sep 25 12:26:28 -rwxrw---- 1 admin everyone 19 Sep 25 12:19 index.php Sep 25 12:28:37 look in the log, see if anything useful is there Sep 25 12:29:44 its empty Sep 25 12:35:14 ok i have restarted it Sep 25 12:35:29 the web now says 403 forbibben Sep 25 12:36:02 thats easy enough Sep 25 12:36:10 user=nobody Sep 25 12:36:13 User is nobody Sep 25 12:36:26 The file owner is admin, and running under the everyone group Sep 25 12:37:54 chmod -r 775 /www Sep 25 12:37:56 what? Sep 25 12:38:25 user nobody has no rights to access the files Sep 25 12:38:38 oh lol Sep 25 12:39:02 no sucj file or dir Sep 25 12:39:29 i typed "cd /" Sep 25 12:39:41 then tried but it said the same thing Sep 25 12:40:33 chmod -R 775 www Sep 25 12:41:02 B......I......N......G......O Sep 25 12:41:09 YEaaaaa Sep 25 12:41:15 thank you a million Sep 25 12:41:38 np Sep 25 12:41:51 it runs pretty fast Sep 25 12:42:26 after the first run, yeah, when cached it seems Sep 25 12:44:29 now to install mysql and eaccelerator Sep 25 12:44:50 if your not going to use some of the php modules, i'd disable them in the config Sep 25 12:44:56 comment the line out Sep 25 12:44:57 ; Sep 25 12:48:39 what is bcmath.so Sep 25 12:49:04 google? Sep 25 12:54:38 cant find anything Sep 25 12:54:47 better leave it for know Sep 25 12:54:52 now* Sep 25 12:55:29 supajason, maths functions Sep 25 12:55:32 http://uk3.php.net/bc Sep 25 12:59:08 thanks Sep 25 13:08:33 disabled restarted Sep 25 13:08:39 mysql time :-( Sep 25 13:39:07 thank you for your help reedy Sep 25 13:39:09 cya Sep 25 13:39:12 cya Sep 25 15:12:55 hi.. maybe someone here who can help me : ) ..would be great Sep 25 15:13:53 unslung is running .. accessing via telnet .. installed mediatomb (ipkg install mediatomb) .. but i can not tart the server ?!? Sep 25 15:14:22 error messages? Sep 25 15:14:56 when typing "mediatomb" to telnet => "-sh: mediatomb: not found" Sep 25 15:15:21 use the absolute path Sep 25 15:15:36 i'm still in root-dir, or do i have to change the dir first? Sep 25 15:15:42 yeah, chances are its not in your path directory Sep 25 15:16:00 http://www.nslu2-linux.org/wiki/Info/MediaTomb Sep 25 15:16:07 Start the daemon: Sep 25 15:16:07 /opt/etc/init.d/S90mediatomb start Sep 25 15:16:27 try following the guide ;) Sep 25 15:16:36 sry i'm a linux noob so far.. when typing pwd it tells me i'm in /root Sep 25 15:17:32 ok i wanted to start first without the deamon.. guide tells to type mediatomb to console or something.. mom i will try /opt/etc/init.d/S90mediatomb start Sep 25 15:19:18 ok looks better.. now it tells me "mediatomb startup is disabled in /opt/etc/default/mediatomb" Sep 25 15:19:39 ok thanks a lot so far!! i will try to go on myself again Sep 25 15:20:23 mighty_doh, just need to change your config then Sep 25 15:21:12 yep, that's what i guessed as well.. big thnx again Sep 25 15:26:25 caplink811_log: still there? Sep 25 15:26:42 yep Sep 25 15:27:25 Hey, wouldnt happen to have any tips for the problem i have ^ in the buffer regarding usb hub on openslug/bootstrapped to debian do you (i can repaste if you cant scroolback) Sep 25 15:28:20 barnseenio, not me, no running device atm :( Sep 25 15:28:29 ok thanks anyway Sep 25 15:28:33 np Sep 25 19:09:40 howdy! Sep 25 19:10:35 i cannot login to my freshly flashed openslug nslu2. neither opeNSLUg nor OpenSlug is accepted as root password. whats wrong? Sep 25 19:57:11 erm.. problem solved.. i didn't set the username to root for my ssh login.. :) Sep 25 21:33:50 bye Sep 25 22:26:16 Hey quick question, has anyone tried running snort on their slug, and if so, any comments on performance? **** ENDING LOGGING AT Fri Sep 26 02:59:56 2008