**** BEGIN LOGGING AT Mon Sep 15 02:59:57 2008 Sep 15 19:29:54 HI Sep 15 19:30:42 Is there some guy running debian on the NSLU2? Sep 15 19:31:06 I'm having problems with ssh Sep 15 19:32:44 I connected by ssh, then the connection somehow broke I logged out and after that, the connection is refused to me **** ENDING LOGGING AT Mon Sep 15 19:57:33 2008 **** BEGIN LOGGING AT Mon Sep 15 20:22:16 2008 Sep 15 21:14:08 hi all Sep 15 21:14:44 i got putty to connect to the nslu2 with telnet and im tring to install ssh Sep 15 21:15:06 but i have to copy the privat key to the .ssh folder Sep 15 21:15:33 and when i try to right click paste is does not work Sep 15 21:15:46 it* does not work Sep 15 21:15:54 an ideas? Sep 15 21:15:59 any* Sep 15 21:16:11 you wont be able to copy a file via copy paste over telnet Sep 15 21:16:32 this states I HAVE TO http://www.nslu2-linux.org/wiki/HowTo/UseOpenSSHForRemoteAccess#server Sep 15 21:17:11 you dont HAVE to, its probably just good practise Sep 15 21:17:13 what you need to do Sep 15 21:17:17 is copy the text to the clipboard Sep 15 21:17:26 and use a text editor (ie nano) to paste the contents of that into .ssh Sep 15 21:17:46 lol, sorry thats what I mean, but it does not copy Sep 15 21:18:13 right click to paste? Sep 15 21:18:35 yes Sep 15 21:19:26 as soon as i right click some of the key goes but it trys to do something then gives an error Sep 15 21:21:25 -sh ...part of key.... :not found Sep 15 21:21:57 are you pasting it into a text editor? Sep 15 21:22:05 ? Sep 15 21:22:32 oh Sep 15 21:22:33 ignore me Sep 15 21:22:36 im copying it from the .ppk (opened with note pad Sep 15 21:22:42 it tells you to echo and redirect teh output Sep 15 21:24:22 what? Sep 15 21:28:35 hold on Sep 15 21:28:40 i think i got it Sep 15 21:31:14 yes thats done Sep 15 21:31:23 now i need help with something else Sep 15 21:31:25 Ok, so that should get us ready for authentication using a public key. Furthermore, we can prevent anyone logging in via SSH without a key. To do this we need to edit the sshd_config file. Use nano or an editor of your choice to edit the file: Sep 15 21:31:44 http://www.nslu2-linux.org/wiki/HowTo/UseOpenSSHForRemoteAccess#server Sep 15 21:32:05 it tells me -sh: nano: not found Sep 15 21:32:43 ipkg update Sep 15 21:32:46 ipkg install nano Sep 15 21:32:58 and if you havent done an ipkg upgrade Sep 15 21:32:59 do one Sep 15 21:37:26 i have upgraded, ill try that Sep 15 21:40:00 hum it still says that Sep 15 21:40:59 export term='linux' Sep 15 21:41:01 then try it again Sep 15 21:41:14 it says that its updated Sep 15 21:41:24 update just updates the feeds Sep 15 21:41:57 I installed the pkg Sep 15 21:42:16 ok Sep 15 21:42:49 2.1.5-1 installed in root is up to date Sep 15 21:43:17 ok Sep 15 21:45:37 but nano is still not found :( Sep 15 21:46:21 give me a min i will try to reboot Sep 15 21:46:27 arthur92710, it wont work Sep 15 21:46:36 its to do with the terminal type Sep 15 21:47:03 try Sep 15 21:47:10 ipkg install bash Sep 15 21:47:14 /bin/bash Sep 15 21:47:18 then try nano Sep 15 21:50:55 no thats not it Sep 15 21:51:47 did you try the export TERM='linux' Sep 15 21:51:48 ? Sep 15 21:52:26 no nothing Sep 15 21:52:49 then using nano? Sep 15 21:53:08 no it still says not found Sep 15 21:53:35 oh Sep 15 21:53:36 i know Sep 15 21:53:39 it'll be patch Sep 15 21:53:42 echo $PATH Sep 15 21:53:45 whats it say? Sep 15 21:54:35 "/sbin:/bin:/usr/sbin:/usr/bin" Sep 15 21:55:18 try using Sep 15 21:55:19 /opt/bin/nano Sep 15 21:55:23 does that give you nano? Sep 15 21:56:23 "Error opening terminal: unknown." Sep 15 21:58:05 the "export term='linux'" should've solved that one Sep 15 22:00:23 it works after running this: Sep 15 22:00:32 export TERMINFO=/opt/lib/terminfo Sep 15 22:00:40 export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/sbin:/opt/bin:/opt/sbin:/opt/bin Sep 15 22:00:43 yeah Sep 15 22:00:47 export TERM=vt100 Sep 15 22:00:58 the path was teh reason it couldnt find it Sep 15 22:02:04 ok i edited the file now how do i save XD Sep 15 22:02:19 ctrl + o Sep 15 22:02:20 enter Sep 15 22:02:22 ctrl + x Sep 15 22:03:11 WOW thanks for you help! Sep 15 22:03:11 :) Sep 15 22:31:09 ok, now i need some help installing FTP :( Sep 15 22:31:41 ? Sep 15 22:34:31 http://www.nslu2-linux.org/wiki/Optware/Vsftpd?from=Unslung.Vsftpd Sep 15 22:35:22 when i run #!/bin/sh.. it closes the connection Sep 15 22:46:15 never mind i got it Sep 15 22:46:47 :( Im going to have to rewrite some of these guides for losers like me. Sep 15 22:53:53 How can i test the R/W speed of m HD? Sep 15 22:54:39 I got 2mb/s max upload from my wireless laptop, really slow for me. Sep 15 22:55:10 time dd if=/file of=/file Sep 15 22:55:12 errm Sep 15 22:55:40 :P gusse what... Sep 15 22:55:50 it does not work XD Sep 15 22:56:05 XD XD XD X_x Sep 15 22:56:21 Im gona kill my self Sep 15 22:56:40 i know Sep 15 22:56:43 it was an example Sep 15 22:57:00 -sh time: not found Sep 15 22:57:31 Write speed measured using time dd bs=1M count=100 if=/dev/zero of=hugefile.dat on /share/hdd/data/public and readspeed with time dd bs=1M count=100 of=/dev/null if=hugefile.dat (remember to empty any cache between write and read test). Also note that time is a part of the package Busybox 1.0. You may use your stopwatch if you are reluctant to install it. Sep 15 22:57:33 http://www.nslu2-linux.org/wiki/Info/Performance Sep 15 22:58:10 arthur92710, is your slug de-underclocked? Sep 15 22:58:13 cat /proc/cpuinfo Sep 15 22:58:47 yes Sep 15 22:58:51 no Sep 15 22:58:59 ??? Sep 15 22:59:03 i mean stock Sep 15 22:59:24 that helps speed up transfer Sep 15 22:59:50 ok i will do that Sep 15 22:59:59 but sh: tiome is not found Sep 15 23:00:05 time* Sep 15 23:00:52 yeah Sep 15 23:00:55 needs installing Sep 15 23:01:11 ipkg install time? Sep 15 23:01:28 i think it'll be in something else Sep 15 23:01:32 tied it. no Sep 15 23:01:32 ie busybox like it says Sep 15 23:02:01 installing Sep 15 23:02:35 aghhh... i should be do ing home work right now XD Sep 15 23:03:04 i should probably be sleeping Sep 15 23:03:10 lol Sep 15 23:03:11 garrr klguhsfjglhsdkf Sep 15 23:03:26 my spelling keeps chopong op Sep 15 23:03:28 *up Sep 15 23:03:41 ); Sep 15 23:03:51 lol Sep 15 23:04:01 woho time works Sep 15 23:04:07 but gives 0 Sep 15 23:04:20 time dd if=/public/ of=jbtest.avi Sep 15 23:04:25 yes Sep 15 23:04:26 how do u set it up? Sep 15 23:04:30 you need an actual file Sep 15 23:04:36 and you need to output it somewhere Sep 15 23:04:39 jbtest.avi is the big file Sep 15 23:04:47 if is input file Sep 15 23:04:50 of is output file Sep 15 23:04:59 oh!! Sep 15 23:05:14 dd bs=1M count=100 if=/dev/zero of=/share/hdd/data/public/hugefile.dat Sep 15 23:05:18 try that for example Sep 15 23:05:52 ok its running Sep 15 23:06:03 i think... Sep 15 23:06:18 yeah Sep 15 23:06:23 you wont get any output till its done Sep 15 23:06:47 ok Sep 15 23:11:30 lol I did my math HW at school, by mistake! Sep 15 23:12:46 time dd if=/public/jbtest.avi of=/jbtestcopy.avi Sep 15 23:12:53 1432964+0 records in Sep 15 23:12:59 1432964+0 records out Sep 15 23:13:04 real 5m 14.23s Sep 15 23:13:10 user 0m 6.19s Sep 15 23:13:16 sys 3m 42.28s Sep 15 23:13:35 file size is 699.96mb Sep 15 23:14:12 5*60+14.23 = 314.23 seconds Sep 15 23:15:34 right, im outta here for tonight Sep 15 23:15:44 good night **** ENDING LOGGING AT Tue Sep 16 02:05:38 2008 **** BEGIN LOGGING AT Tue Sep 16 07:02:31 2008 Sep 16 16:19:21 Hello Sep 16 16:21:01 I have just update my mtr-Version using ipkg from 0.72 to .074 and now the error: mtr: Couldn't determine raw socket type. - is comming - anyone some ideas? Sep 16 20:41:05 I'm confused about usb hubs Sep 16 20:42:02 I've seen people saying I should have a usb hub attached because it helps to keep the power supply from failing on the slug Sep 16 20:45:38 but then what port to put it on and what port to put the root device on and whether it will work or not is not very clear Sep 16 20:46:13 OS makes a difference Sep 16 20:46:33 and using a usb hub with a external power adapter would help the slug psu Sep 16 20:46:40 I want to use unslung, should I use something different Sep 16 20:46:59 horses for causes Sep 16 20:47:06 depends what your wanting to do with it Sep 16 20:48:25 lol Sep 16 20:48:41 I'm wanting to use a usb hub with an external ps Sep 16 20:50:01 what do you want to use the slug for Sep 16 20:50:47 screwing around Sep 16 20:51:18 I was wanting to use thttpd with unslung Sep 16 22:13:36 thanks Reedy Sep 17 00:12:14 question: if i was to compile (or attempt to compile) the most recent version of mysql, which OS would be best to use ( on a nslu2)? Sep 17 00:13:50 joat: native compilation takes very long time on nslu2 Sep 17 00:14:16 and using mysql requires careful tuning Sep 17 00:15:12 all firmwares of nslu2 supports native compilation now Sep 17 00:15:44 unslung toolchain was pretty old Sep 17 00:20:27 i'm willling to put in the time... want to teach self mysql replication across multiple servers (have 3 nslu2's) Sep 17 00:21:20 thanks tho! Sep 17 00:40:07 for new users i'd say debian armel is pretty good Sep 17 00:41:09 binary packages are also available Sep 17 01:52:47 hi Sep 17 01:53:15 Whats the best bittorrent program for the slug? Sep 17 01:53:52 do any of them have a web interface? or something? Sep 17 02:10:33 my perl-fu is pretty much nonexistent Sep 17 02:10:51 what do I do to install/build perl modules with unslung Sep 17 02:10:59 can I use cpan Sep 17 02:17:48 using cpan Sep 17 02:17:52 heh Sep 17 02:29:52 You can use cpan, but only if it does not require you to build anything Sep 17 02:30:12 Generally, you're safer if you install from the ipkg feeds Sep 17 02:30:43 and if you need some other library, download and install manually, since you have to dig into it anyway to make sure it doesn't assume that you can build perl on the host. Sep 17 02:36:28 hi i have a quick q Sep 17 02:37:12 http://www.nslu2-linux.org/wiki/HowTo/BitTorrent Sep 17 02:37:26 when i get to setup i have a problem Sep 17 02:38:05 1. how do i get beta1? I wnt to the site and got 2.4 is that ok? Sep 17 02:38:28 then i used ftp to put it in /opt/share/public Sep 17 02:38:44 and now i need to exteact it Sep 17 02:38:50 how do i do that? Sep 17 02:43:23 what firmware are you using? Sep 17 02:45:19 imho, transmission is the easiest to setup and use Sep 17 02:45:47 rtorrent has the most feature and efficiency Sep 17 02:46:11 ok Sep 17 02:46:14 cool Sep 17 02:46:21 links? Sep 17 02:46:33 just "ipkg install transmission" Sep 17 02:46:58 "just"? Sep 17 02:47:01 thats all Sep 17 02:47:01 ? Sep 17 02:47:14 that's the setup Sep 17 02:47:18 ok Sep 17 02:47:21 its done Sep 17 02:47:25 now? Sep 17 02:49:28 personally i use non-root user, "mkdir -p $HOME/Downloads" Sep 17 02:49:52 then "transmission-daemon -w $HOME/Downloads" Sep 17 02:50:10 you should then be ready to connect to its web interface Sep 17 02:51:32 http://:9091/transmission/web/ Sep 17 02:52:37 high five! it seams to work! Sep 17 02:52:42 seems* Sep 17 02:53:03 forward incoming port 51413 to slug Sep 17 02:53:33 does it have to be 51413? Sep 17 02:53:43 that's the default one Sep 17 02:53:54 you should be able to change it, somewhere Sep 17 02:54:00 how do i start a torrent? Sep 17 02:54:13 click on Open Sep 17 02:54:16 i already changed the port, that ok Sep 17 02:54:20 ok open Sep 17 02:54:43 the rest should be quite self-explanatory Sep 17 02:56:32 -.- not for me XD Sep 17 02:56:45 let me try Sep 17 02:57:10 it assumes you have downloaded some .torrent file Sep 17 02:57:33 you "open" and "upload" the torrent file to it Sep 17 02:57:49 i got it... im not that slow :S Sep 17 02:57:58 thanks man! Sep 17 02:58:03 the button at lower left is the "Preferences" button Sep 17 02:58:22 you can control up/down-load speed there Sep 17 02:58:26 also change the port Sep 17 02:59:20 ok, based on community rule, you owe us a wiki page :-) **** ENDING LOGGING AT Wed Sep 17 02:59:57 2008