**** BEGIN LOGGING AT Thu Jan 29 02:59:57 2009 Jan 29 13:14:10 it Jan 29 20:04:44 hello gurus Jan 29 20:05:00 i need help diagnosing my nslu Jan 29 20:05:31 anyone eager to help me? :) Jan 29 20:05:49 ? Jan 29 20:06:18 i take that as a yes Jan 29 20:06:58 depends on your problem Jan 29 20:07:06 i have performance trouble when downloading from the internet Jan 29 20:07:36 going to have to be more specific than that Jan 29 20:07:40 hehe Jan 29 20:07:41 i know Jan 29 20:07:48 and tell us which distro you are using Jan 29 20:08:43 V2.3R63-uNSLUng-6.8-beta Jan 29 20:09:08 okay, so what do you mean "downloading from the internet" Jan 29 20:09:30 i can logon to the slug and everything Jan 29 20:09:51 but if i try to wget somehing its really slow Jan 29 20:10:39 the traffic on my local network is fast but when going through my router its not Jan 29 20:10:59 so this affects all computers? Jan 29 20:11:05 not just your nslu2 Jan 29 20:11:07 some dns names can't be lookup up from the slug either Jan 29 20:11:15 just the slug Jan 29 20:11:28 i have a kubuntu that i compare with Jan 29 20:11:39 sure you didn't just get a download from a slow server Jan 29 20:11:42 going throug the same gateway/router Jan 29 20:12:04 i try the same file on both computers Jan 29 20:12:24 and not all urls work Jan 29 20:12:54 if i try to wget http://ftp.sunet.se/pub/databases/relational/postgresql/pgadmin3/release/v1.8.4/slackware/pgadmin3-1.8.4.tgz Jan 29 20:13:02 from my kubuntu its really fast Jan 29 20:13:17 over 1mb/s at least (all my isp gives me)' Jan 29 20:13:28 but from the slug it does not even work Jan 29 20:13:59 have you set your gateway and dns servers on the web gui? Jan 29 20:14:12 *default Jan 29 20:14:22 no using dhcp Jan 29 20:14:36 do i have to do it manually? Jan 29 20:14:42 no, but you should Jan 29 20:15:18 best-practice or why? Jan 29 20:15:43 because servers should be static Jan 29 20:15:47 just a general rule Jan 29 20:17:17 ok ill try that Jan 29 20:17:32 if can remember the password for the web gui :) Jan 29 20:17:40 anyone has the default one handy? Jan 29 20:18:04 default one is uNSLUng I believe Jan 29 20:18:11 for the pass Jan 29 20:18:14 root for the username Jan 29 20:18:23 I do not use unslung though Jan 29 20:18:26 so not fully sure Jan 29 20:19:09 ok thanks, did not work, but i may have changed it :) Jan 29 20:19:31 it should be the same one you used to login to it through telnet/ssh or whatnot Jan 29 20:20:02 strange Jan 29 20:20:05 admin admin ? Jan 29 20:20:12 i am connected via ssh Jan 29 20:20:29 admin admin worked, thanks! Jan 29 20:22:15 and then i have to restard i guess? Jan 29 20:22:21 -d +t Jan 29 20:22:34 after setting static ip i mean Jan 29 20:24:57 one thing i noticed Jan 29 20:25:01 when i run route Jan 29 20:25:04 i get the following Jan 29 20:25:10 Kernel IP routing table Jan 29 20:25:11 Destination Gateway Genmask Flags Metric Ref Use Iface Jan 29 20:25:13 192.168.1.0 * 255.255.255.0 U 0 0 0 ixp0 Jan 29 20:25:15 127.0.0.0 * 255.255.255.0 U 0 0 0 lo Jan 29 20:25:16 239.0.0.0 * 255.0.0.0 U 0 0 0 ixp0 Jan 29 20:25:18 127.0.0.0 * 255.0.0.0 U 0 0 0 lo Jan 29 20:25:19 default 192.168.1.1 0.0.0.0 UG 1 0 0 ixp0 Jan 29 20:25:26 should i have all these? Jan 29 20:26:35 looks okay Jan 29 20:26:58 whats the 239-thing good for? Jan 29 20:27:14 some multicast thing Jan 29 20:27:20 ok Jan 29 20:27:40 i've rebooted now with static ip and gateway and dns Jan 29 20:28:09 and get it to wget the wget http://ftp.sunet.se/pub/databases/relational/postgresql/pgadmin3/release/v1.8.4/slackware/pgadmin3-1.8.4.tgz Jan 29 20:28:18 technical: its the administratively scoped IPv4 multicast space Jan 29 20:28:44 ok Jan 29 20:29:06 but i can wget http://www.facebook.com Jan 29 20:29:12 for example Jan 29 20:30:30 any idea how that can be? Jan 29 20:30:46 try: wget http://194.71.11.69/pub/databases/relational/postgresql/pgadmin3/release/v1.8.4/slackware/pgadmin3-1.8.4.tgz Jan 29 20:31:24 seems like the same response Jan 29 20:31:29 ? Jan 29 20:31:40 do a tracert 194.71.11.69 Jan 29 20:31:44 see where it is dying at Jan 29 20:31:46 no sorry, it works Jan 29 20:31:50 ah Jan 29 20:31:54 then nvm that last suggestion Jan 29 20:32:56 for some reason your nslu2 is not resolving that address ftp.sunet.se Jan 29 20:33:53 i'm really sorry guys, it works with ftp.sunet.se also Jan 29 20:34:03 i havent waited long enough Jan 29 20:34:24 heh Jan 29 20:34:33 got fooled by the progress bar when i do the same on kubuntu Jan 29 20:34:36 no such on my slug Jan 29 20:34:46 and therefore i thought it was stuck Jan 29 20:34:59 yea, the wget on the unslung is probably trimmed down Jan 29 20:35:05 along with every other command basically Jan 29 20:35:26 ok Jan 29 20:35:29 don't expect commands on unslung to work exactly like their normal linux conterpart Jan 29 20:35:46 todays lesson, thanks Jan 29 20:35:48 most of them are missing features and trimmed down to allow them to run better on such low memory Jan 29 20:36:10 but i would like to run something that can give me a hint of the download speed Jan 29 20:36:28 maybe consider SlugOS Jan 29 20:36:32 you appear to know linux Jan 29 20:36:39 so unslung is probably too basic for you Jan 29 20:37:00 ah ok, what differs them? Jan 29 20:37:15 well, for one Jan 29 20:37:17 it runs better Jan 29 20:37:36 here, let me find the comparision table Jan 29 20:37:50 http://www.nslu2-linux.org/wiki/FAQ/FirmwareMatrix Jan 29 20:38:12 SlugOS/BE is the one I use Jan 29 20:38:35 notice the "targetted users" section Jan 29 20:38:59 but ignore this: Experienced Linux-users which are happy with the limited amount of installable packages Jan 29 20:39:22 you can actually install more crap with slugos than you can unslung Jan 29 20:39:36 ok, maybe i should switch then Jan 29 20:39:53 yea Jan 29 20:40:09 slugos can do a lot more than unslung Jan 29 20:40:15 the commands have more of their features Jan 29 20:40:17 is the most functionality working out-of-the-box? Jan 29 20:40:25 you can install more packages (openembedded and optware) Jan 29 20:40:32 i mean like usb.detecttion and samba Jan 29 20:40:39 samab no Jan 29 20:40:42 usb yes Jan 29 20:40:46 *samba Jan 29 20:40:55 the only package that comes preinstalled is dropbear (ssh) Jan 29 20:41:00 however Jan 29 20:41:06 its easy to get samba up Jan 29 20:41:15 ok Jan 29 20:41:21 in fact, its really easy to just install samba 3 Jan 29 20:41:25 and then you can use SWAT Jan 29 20:41:32 its harder to get unslung updgraded to samba3 Jan 29 20:41:50 i think it did upgrade to samba3 before Jan 29 20:41:55 when i ran ipkg upgrade Jan 29 20:42:18 maybe, idk Jan 29 20:42:34 and wget in slugos will show you the progress bar Jan 29 20:42:44 will work just like Debian or whatever distro you mentioned earlier Jan 29 20:42:51 good Jan 29 20:43:40 i'll probably switch... did'nt relly liked the flashing part when unslunging. felt a bit risky that i would fuck things up :) Jan 29 20:43:47 but i'll probably try it Jan 29 20:43:56 you can't mess it up Jan 29 20:44:05 as long as you don't use that eraseall app Jan 29 20:44:23 ok Jan 29 20:44:43 thank you very much for your help Jan 29 20:44:50 if you do mess it up though, you go to walmart and buy one for $80 Jan 29 20:45:06 hehe Jan 29 20:45:10 bring it home, switch the two out, and return it to walmart for a refund (claiming it doesn't work) Jan 29 20:45:17 of course, returning the broken one Jan 29 20:45:22 but like I said Jan 29 20:45:23 or i'll come back here and find you :) it's a threat Jan 29 20:45:25 you can't really mess it up Jan 29 20:45:32 unless you use eraseall or mess with redboot Jan 29 20:45:50 sounds good Jan 29 20:47:31 I think you'll be much happier with SlugOS though Jan 29 20:47:40 since you know your way around linux Jan 29 20:48:20 you are probably right. then i have a project for the weekend Jan 29 20:49:03 and you said BE Jan 29 20:49:19 what are the difference with LE? Jan 29 20:51:09 afaik not much really Jan 29 20:52:11 # ag means: SlugOS Little Endian, Arm CPU instruction set, glibc based (formerly known as DebianSlug) Jan 29 20:52:11 # bag means: SlugOS Big Endian, Arm CPU instruction set, glibc based (aka OpenSlug) Jan 29 20:52:11 # btu means: SlugOS Big Endian, Thumb CPU instruction set, uclibc based (aka UcSlugC) Jan 29 20:53:41 I use SlugOS/BE Jan 29 20:53:48 so, that's the one I recommend Jan 29 20:54:02 choice is yours though Jan 29 20:54:02 perfect thanks Jan 29 20:54:08 again, refer to that FirmwareMatrix page Jan 29 20:54:14 http://www.nslu2-linux.org/wiki/FAQ/FirmwareMatrix Jan 29 20:54:20 that should help you make your decision Jan 29 20:59:29 hmm Jan 29 20:59:41 as i dont get any progress bar Jan 29 20:59:44 i unsung Jan 29 20:59:53 i clocked the download of pgadmin Jan 29 21:00:06 on kubuntu on my laptop i took 7 sek Jan 29 21:00:07 sec Jan 29 21:00:19 on my slug i tok 15 sec Jan 29 21:00:23 it took Jan 29 21:02:07 i wonder why that is Jan 29 21:02:42 but maybe if i switch to slugos it will fix it Jan 29 21:02:51 probably Jan 29 21:03:07 I downloaded it at 200KBps Jan 29 21:03:15 which is what it download for me on windows xp also Jan 29 21:03:21 appears the ftp server limits to that Jan 29 21:04:20 on kubuntu i download that file about 970kb/s Jan 29 21:06:44 maybe its limited to 200 for ips from outside sweden Jan 29 21:12:18 do you use the latest stable or build yourself from trunk? Jan 29 21:27:56 latest stable Jan 29 21:27:58 4.8beta Jan 29 21:28:47 5.x though is coming out real soon Jan 29 21:28:50 so, actually Jan 29 21:28:59 you may want to wait for that Jan 29 21:29:25 not sure how long though Jan 29 21:29:51 its over a year ago 4.8 was realeased Jan 29 21:29:56 http://www.nslu2-linux.org/wiki/SlugOS/SlugOS5 Jan 29 21:29:58 yea Jan 29 21:30:01 like I said Jan 29 21:30:05 SlugOS5 is on the horizon Jan 29 21:30:29 mwester could give us a good idea of when probably if he was around Jan 29 21:30:49 is busybox the shell? Jan 29 21:31:32 no Jan 29 21:31:41 its a program that contains a lot of the linux commands Jan 29 21:31:47 realized i can read here instead of askin gyou :) http://en.wikipedia.org/wiki/BusyBox Jan 29 21:34:58 yea Jan 29 21:35:06 wiki tends to be a good source of information Jan 29 21:35:15 I was suprised to see on a local newcast Jan 29 21:35:20 they gave a statistic about something Jan 29 21:35:29 and they listed their source as "wikipedia" Jan 29 21:35:55 typically everyone says never to cite wikipedia Jan 29 21:36:37 hehe Jan 29 21:36:51 a bit surprising Jan 29 21:36:52 like in school, we are never allowed to use wiki Jan 29 21:36:56 but I always do Jan 29 21:36:59 I got there find the information Jan 29 21:37:08 they cite my source as whatever wiki says is their source Jan 29 21:37:13 *go there Jan 29 21:37:17 *then cite Jan 29 21:37:38 smart Jan 29 21:37:51 dralbin: what's the output of "which wget"? Jan 29 21:37:52 clever Jan 29 21:38:30 eno, what do you mean= Jan 29 21:38:46 he wants you to do that command: which wget Jan 29 21:38:59 to see what wget runs when you do wget Jan 29 21:39:28 -bash-3.2# which wget Jan 29 21:39:30 /usr/bin/wget Jan 29 21:40:04 /usr/bin/wget --version Jan 29 21:40:48 "unrecognized option --version" Jan 29 21:41:21 ok, the wget you're using probably is not a full-version one Jan 29 21:41:49 is there a /opt/bin/wget on your unslung? Jan 29 21:42:07 if not, you can try "ipkg update; ipkg install wget" Jan 29 21:42:08 nope Jan 29 21:42:42 and test the download with /opt/bin/wget Jan 29 21:42:42 maybe this i something Jan 29 21:42:52 -bash-3.2# ipkg list | grep wget Jan 29 21:42:54 wget - 1.11.4-1 - A network utility to retrieve files from the Web Jan 29 21:42:55 at least you'll see the progress bar Jan 29 21:42:57 sorry, what you said Jan 29 21:43:19 ill try Jan 29 21:44:05 thanks a lot Jan 29 21:44:19 progress bar and speed :) Jan 29 21:44:50 how's the speed? Jan 29 21:45:03 319 k/s Jan 29 21:45:11 alright Jan 29 21:45:14 in kubuntu about 1 mb/s Jan 29 21:45:23 on same lan Jan 29 21:45:33 but its perfectly ok Jan 29 21:45:40 but a bit strange right? Jan 29 21:45:57 what was the speed when you used /usr/bin/wget ? Jan 29 21:46:17 cant tell Jan 29 21:46:29 it took about 15-16 secs Jan 29 21:46:35 now its 19s Jan 29 21:46:57 i clocked it before Jan 29 21:47:05 or timed or what you say Jan 29 21:47:53 there're also a couple of other tools you can use Jan 29 21:48:19 curl, aria2, lftp, ncftp Jan 29 21:48:45 but my suspission is that my slug has slow internet performance of some reason Jan 29 21:49:00 but maybe i'm wrong Jan 29 21:49:01 try to determine if the problem is the client app, slug connection, or something Jan 29 21:49:36 i try curl then Jan 29 21:49:50 what's the speed if you ftp a big file from your kubuntu Jan 29 21:49:51 ? Jan 29 21:50:19 hmm then i need an ftp server program... Jan 29 21:51:16 but that helps in understand where's the bottleneck Jan 29 21:51:37 should i try curl first Jan 29 21:51:42 or install ftp server Jan 29 21:52:06 i'd try both Jan 29 21:53:03 ok trying curl now Jan 29 21:53:12 you can also use a tool called iperf Jan 29 21:53:19 it says abut 400 kb/s Jan 29 21:54:16 something i install on both machines? Jan 29 21:54:22 one act server and one client? Jan 29 21:54:25 yeah Jan 29 21:55:41 ok, installing... Jan 29 21:57:57 hmm Jan 29 21:58:24 started kubuntu as server Jan 29 21:58:33 and trying to connect from the slug Jan 29 21:58:57 but it sais illegal instruction Jan 29 22:00:33 strange. its the same version numbers and all Jan 29 22:02:12 can you launch it at all? say "iperf --version" Jan 29 22:02:53 yea and it sais the same version number on slug as on kubuntu Jan 29 22:03:00 and when i start as server Jan 29 22:03:17 and the try to connect as client it sais on the server that a client connected Jan 29 22:03:24 and then illegal instruction Jan 29 22:03:41 ------------------------------------------------------------ Jan 29 22:03:43 Client connecting to 192.168.1.4, TCP port 5001 Jan 29 22:03:44 TCP window size: 16.0 KByte (default) Jan 29 22:03:46 ------------------------------------------------------------ Jan 29 22:03:47 [ 5] local 192.168.1.2 port 1047 connected with 192.168.1.4 port 5001 Jan 29 22:03:49 Illegal instruction Jan 29 22:03:51 ok, i got the same thing Jan 29 22:04:32 maybe the cross compilation has something wrong here Jan 29 22:05:29 almost seems so Jan 29 22:06:10 same message with udp test Jan 29 22:06:43 any tip for a small ftp server? Jan 29 22:10:41 there're ftpd, proftpd, pur-ftpd, vsftpd, wu-ftpd Jan 29 22:10:58 i actually don't use ftpd that much, so i dunno Jan 29 22:15:21 ok i think i have to continue this tomorrow. its a good idea to try ftp or http between these to computers Jan 29 22:15:29 but i'm to tired now :) Jan 29 22:15:36 good luck Jan 29 22:15:39 thanks a lot for your help Jan 29 22:16:04 and to you to DrJ **** ENDING LOGGING AT Fri Jan 30 02:59:57 2009