**** BEGIN LOGGING AT Fri Jan 15 02:59:57 2010 Jan 15 12:54:13 hmmm. Jan 15 12:54:24 my debian unstable slug doesnt appear to be very well. Jan 15 12:54:48 got a oops doing "du . -sh" and it has not come back after a reboot. Jan 15 14:42:11 Hello Jan 15 14:43:38 I want to set up a little server on my nslu2 but I don't know which distribution to choose Jan 15 14:45:03 The most important thing is the performance during ftp downloads and samba server uploads Jan 15 15:03:14 is the syslogd in slugosbe the BSD syslogd or something with fewer features Jan 15 15:04:48 yay at least a talking person. but sry i can't help^^ Jan 15 15:05:40 Could you recommend a Distribution for the slug? Jan 15 15:09:37 Mysterious: slugosbe is what I use Jan 15 15:09:54 is it a fast os? Jan 15 15:10:16 Mysterious: i don't think so Jan 15 15:10:53 Mysterious: but it does not slow down the file transport over the network Jan 15 15:11:01 ok^^ Jan 15 15:11:26 Mysterious: so streaming video and music are fine as long as the network is running at 10M/s or greater Jan 15 15:11:30 chrisb: might unslug be a good choice. i read the kernel was old Jan 15 15:12:26 Mysterious: sure, unslung is good Jan 15 15:13:01 Mysterious: what's your goal? Jan 15 15:14:33 chrisb: i want to set up a storage server which i can access from windows (samba or ...). i would like to set up a internet apache/mysql/ftp server Jan 15 15:15:27 Mysterious: i would reccommend debian Jan 15 15:16:10 HRH_H_Crab: I thought it ran too slow on nslu... Jan 15 15:16:11 but i think its important that you recognise that a slug has limitations - no distro can make it perform like a "normal" machine. Jan 15 15:16:41 well, ive only really tried angstrom and debian. Jan 15 15:16:48 angstrom doesnt have enough software for my liking. Jan 15 15:17:53 well, as i said i only want to set up a little server. i hope there are packages for one Jan 15 15:19:07 btw: some time ago i tried to install debian on the slug but i made really bad experiances with the installation Jan 15 15:19:23 and finally it did not work Jan 15 15:21:44 well ive got debian running on 3 slugs. Jan 15 15:21:54 one is a bit sick atm but i doubt thats due to debian. Jan 15 15:22:08 one of the others has apache with mod_perl Jan 15 15:22:23 and the other is running postfix and spamassassin Jan 15 15:22:54 more than quick enough for use on my "vanity domain". Jan 15 15:23:04 hm Jan 15 15:23:08 the other one is running this irssi instance Jan 15 15:23:15 even got ipv6 working! ;) Jan 15 15:23:42 the one thing that concerns me about your plans though, is the file serving part. Jan 15 15:23:50 hu^^ i would be happy if the slug would boot properly Jan 15 15:23:51 i know it seems strange as that was the slugs original purpose, Jan 15 15:24:07 but the one area where the slug falls down (ime) is file transfers Jan 15 15:24:15 but saying that, Jan 15 15:24:24 most of the time i am transferring large files Jan 15 15:24:40 xD Jan 15 15:24:40 if you want to share out smaller files it prob. works a lot better. Jan 15 15:25:05 :S I wanted to share quite large files Jan 15 15:25:16 from up to 4gb Jan 15 15:25:28 *just up Jan 15 15:25:45 ive copied 4GB files off it. Jan 15 15:25:50 it takes an hour or two Jan 15 15:25:55 and redlines the processor. Jan 15 15:25:59 but if you are patient it works. Jan 15 15:26:06 (saying that i mainly use sftp!) Jan 15 15:26:13 and thats got the overhead of encryption Jan 15 15:26:21 so maybe thats why i feel its always a bit slow. Jan 15 15:26:30 * HRH_H_Crab doesnt like nfs Jan 15 15:26:32 oh i see Jan 15 15:26:37 and i dont much like samba either Jan 15 15:26:52 yes i dont like it too Jan 15 15:27:40 but i want to connect an external disk with ntfs :( Jan 15 15:37:47 should be possible. Jan 15 18:26:18 I decided to give Unslung a try but :/ Jan 15 18:28:06 It always hangs on boot with USB stick and also on inserting the stick while running Jan 15 18:29:23 the current step is formating and unslinging Jan 15 19:09:50 heh Jan 15 19:10:07 well, i still think deb is the way to go. Jan 15 19:10:24 the nslu2 is really a very nice little machine, and it deserves the finest os you can put on it! Jan 15 19:12:38 (which isnt to say that unslung and angstrom et. al. arent great os's but i just think that the slug does really nicely with debian) Jan 15 19:22:27 I use slugos :) Jan 15 19:23:53 I'd only recommend using unslung Mysterious if you are new to linux Jan 15 19:26:33 well i tried several installations but debian and unslug failed every time Jan 15 19:27:20 Now I'll try Slugos. it seems to be more reliable Jan 15 19:27:35 just make sure to follow the instructions Jan 15 19:27:40 if you do so, they should all work Jan 15 19:28:02 never assume you know what to do Jan 15 19:28:05 very key there Jan 15 19:28:45 Drj: Which instructions are good? Jan 15 19:30:03 Mysterious: ive had some difficulties installing debian but i always got there in the end. Jan 15 19:30:17 i think the last time i had problems i had to set the time in the linksys firmware or something Jan 15 19:30:35 strange^^ Jan 15 19:30:57 ive not heard of slugos Jan 15 19:31:01 will look into that one Jan 15 19:31:49 I'll go on initializing it now Jan 15 19:32:57 aaah Jan 15 19:33:06 slugos is based on openembedded Jan 15 19:33:12 that is a great project Jan 15 19:33:14 ^^ Jan 15 19:33:26 i used to use that on my zaurus, but in the end that got replaced by debian too! :P Jan 15 19:34:23 lol... i wished the debian installation had succeded a few month ago Jan 15 19:34:50 I tried it 3 times... and the setup ran soooo long Jan 15 19:35:11 and then it didn't worked >.< Jan 15 19:35:39 Might I have to change the ip before installing debian? Jan 15 19:40:37 Mysterious: well, Jan 15 19:40:42 what i normally do if i get problems, Jan 15 19:40:49 install the linksys firmware Jan 15 19:41:01 that sets it to a known ip on the 192.168.1.0 network Jan 15 19:41:09 (77 i believe) Jan 15 19:41:22 yes Jan 15 19:41:25 i then set it to the ip i want to use (in the linksys firmware) and set the clock correctly Jan 15 19:41:38 then i flash the debian installer, and things normally work o.k. Jan 15 19:42:15 if you are having problems with /everything/ including the linksys firmware, its more than likely a powersupply problem. Jan 15 19:42:16 ok... and is it possible that problems occur if i don't change those settings? Jan 15 19:42:40 hu? Jan 15 19:42:42 im not 100% sure but i think thats the safest approach Jan 15 19:42:52 ok Jan 15 19:42:56 well, ive had issues where i couldnt even reliably flash linksys before Jan 15 19:43:06 and it turned out to be a dodgy psu not giving enough power. Jan 15 19:43:24 oh ok Jan 15 19:43:48 thank you for your advice^^ Jan 15 19:44:35 good luck Jan 15 19:44:44 if you do get debian installed and find it too slow for you, Jan 15 19:44:57 it could be worth trying slugos like DrJ suggests Jan 15 19:45:27 i expect the repository might not be as big, but the openembedded guys normally make a distro that is very nicely tuned Jan 15 19:45:40 hm Jan 15 19:46:16 probably i should start with slugos^^ i put it on the slug an hour ago Jan 15 19:46:42 the performance is quite important for me Jan 15 19:46:58 although i like debian more Jan 15 19:47:37 Mysterious: an advantage of slugos, is that it is small enough to resucue boot from the PROM if the disks or cables get dodgy Jan 15 19:48:19 nce Jan 15 19:48:21 *nice Jan 15 19:48:35 chrisb: is it significantly faster compared to debian? Jan 15 19:49:05 ive only used angstrom and debian and didnt notice much difference (with the disclaimer that angstrom had a minute fraction of the available software to test...) Jan 15 19:53:31 HRH_H_Crab: i've never done a speed test Jan 15 19:54:15 HRH_H_Crab: or a speed comparison Jan 15 19:55:24 but if you've tried both, did you get a feeling either was noticeably faster? Jan 15 19:55:46 i personally cannot imagine there is much in it between any of them, but as i say, ive only tried a couple of distros. Jan 15 19:57:58 Is there a package to run a speed test?^^ Jan 15 19:58:56 there are prob. some benchmarks that one could run Jan 15 19:59:16 anyways, is there a differance between the 2 disk ports in slugos (like in unslung)? Jan 15 20:00:12 id be interested to know what kernel versions the other distros have. Jan 15 20:00:47 the firmware matrix isn't up to date is it? Jan 15 20:00:57 not sure Jan 15 20:02:01 it shows that unslung had a 2.4.22 kernel Jan 15 20:04:27 ouch Jan 15 20:08:44 chrisb: anyways, is there a differance between the 2 disk ports in slugos (like in unslung)? Jan 15 21:02:33 how can i verify whether the swapping is running on my /dev/sda2 in slugos? Jan 15 21:23:01 swapon -s Jan 15 21:23:49 if it shows there Jan 15 21:23:52 its working Mysterious Jan 15 21:24:12 oh ok^^ Jan 15 21:24:22 one more question Jan 15 21:24:43 is there an internal text editor in the shell environment Jan 15 21:25:00 vi Jan 15 21:25:05 lol Jan 15 21:25:10 however, I'm a nano kind of guy Jan 15 21:25:22 if you want nano then ipkg install nano Jan 15 21:25:31 ok Jan 15 21:25:40 what can i use else Jan 15 21:25:56 nano and vi are the two main ones Jan 15 21:26:07 I can't think of any others off the top of my head Jan 15 21:26:14 vi takes time to learn Jan 15 21:26:16 nano is pretty easy Jan 15 21:26:20 it's ok Jan 15 21:26:21 thanks Jan 15 21:26:24 huh Jan 15 21:26:34 -sh: ipkg: not found Jan 15 21:30:39 um Jan 15 21:30:46 it should be in /usr/bin/ipkg Jan 15 21:30:52 try: /usr/bin/ipkg update Jan 15 21:30:57 oh ok Jan 15 21:31:39 not found :S Jan 15 21:32:03 how far are you in the install process Jan 15 21:32:51 i put the root filesystem ect. on an external flash device and swapped the swap on, mounted the drives Jan 15 21:33:07 so are you running from the internal flash Jan 15 21:33:16 or are you running from the external device Jan 15 21:33:27 I think external Jan 15 21:33:39 at least i followed the instructions Jan 15 21:34:12 try rebooting Jan 15 21:35:12 o Jan 15 21:35:14 k Jan 15 21:35:26 http://www.nslu2-linux.org/wiki/OpenSlug/InitialisingDisks i just finished this guide Jan 15 21:37:00 so you rebooted then did the swap section? Jan 15 21:37:16 yes Jan 15 21:37:27 but Jan 15 21:38:14 was confused when trying vi so i shut the nslu2 down and edited the fstab file in ubuntu (did this mock the system up >. i could show you the output of mount Jan 15 21:41:44 rootfs on / type rootfs (rw) Jan 15 21:41:44 /dev/root on /initrd type jffs2 (ro) Jan 15 21:41:44 /dev/sda1 on / type ext3 (rw,errors=continue,data=ordered) Jan 15 21:41:44 proc on /proc type proc (rw) Jan 15 21:41:44 sysfs on /sys type sysfs (rw) Jan 15 21:42:03 almost half of the output Jan 15 21:42:24 i cant copy paste in putty >.< i should try ssh Jan 15 21:43:56 /dev/sda1 on /dev/.static/dev type ext3 (rw,errors=continue,data=ordered) Jan 15 21:43:56 udev on /dev type tmpfs (rw,size=2048k,mode=755) Jan 15 21:43:56 /dev/sda3 on /media/sda3 type ext3 (rw,sync,errors=continue,data=ordered) Jan 15 21:43:56 tmpfs on /var/volatile type tmpfs (rw,mode=755) Jan 15 21:43:56 tmpfs on /dev/shm type tmpfs (rw,mode=777) Jan 15 21:43:57 usbfs on /proc/bus/usb type usbfs (rw) Jan 15 21:43:59 /dev/sda3 on /home type ext3 (rw,sync,errors=continue,data=ordered) Jan 15 21:44:01 devpts on /dev/pts type devpts (rw,gid=5,mode=620) Jan 15 21:44:14 hell... sorry for spamming Jan 15 21:54:20 oh yeah -.- great Jan 15 21:54:34 Run turnup disk -i -t ext3 to create a root filesystem on the external disk. (Or turnup memstick -i -t ext3 if you are using a flash disk.) Jan 15 21:54:46 and i got a.... flashdisk -.- Jan 15 21:56:21 what shall i do now? i have to repeat the step **** BEGIN LOGGING AT Fri Jan 15 22:39:35 2010 **** BEGIN LOGGING AT Fri Jan 15 23:09:17 2010 Jan 15 23:44:22 Mysterious: swapon -s Jan 16 00:00:13 hey, can anyone tell me the wiki password? Jan 16 00:06:59 swapon: invalid option -- s Jan 16 00:06:59 BusyBox v1.13.2 (2009-03-07 03:12:14 UTC) multi-call binary Jan 16 00:06:59 Usage: swapon [-a] [-p pri] [DEVICE] Jan 16 00:06:59 Start swapping on DEVICE Jan 16 00:06:59 Options: Jan 16 00:06:59 -a Start swapping on all swap devices Jan 16 00:06:59 -p pri Set swap device priority Jan 16 00:16:45 :( why is my slugos/be not working... I exactly followed the instructions. but there is no ipkg command Jan 16 00:16:55 isn't it opkg these days Jan 16 00:19:14 ...oh what the hell.... -.- Thank you very much Jan 16 00:20:18 how is it looking Mysterious? Jan 16 00:20:22 you got it installeD? Jan 16 00:20:28 :D yep Jan 16 00:21:01 it work in the previous installation -.- Jan 16 00:21:17 i thought i had to use the missing ipkg Jan 16 00:21:22 xD Jan 16 00:21:37 now I just have to make nslu temporary use a proxy for internet access^^ Jan 16 00:22:02 so if you have some time to waste... ;) Jan 16 00:23:18 ;_; how could my english become so bad :( Jan 16 00:23:24 hmmm Jan 16 00:23:44 im not too sure how to do that Jan 16 00:23:51 what are you using to access the internet? Jan 16 00:23:53 opkg? Jan 16 00:24:57 http://wiki.openwrt.org/oldwiki/openwrtdocs/packages Jan 16 00:24:58 I have got a modem attached to a switch Jan 16 00:25:05 if so there is some useful stuff there Jan 16 00:25:13 seems openwrt uses opkg too. Jan 16 00:25:29 lol thanks Jan 16 00:27:44 this may sound a bit strange but how can i list up directories and files Jan 16 00:27:48 try: export http_proxy=http://proxy.address:port Jan 16 00:27:57 for the proxy Jan 16 00:28:03 ls Jan 16 00:28:13 thanks :D Jan 16 00:28:27 http://genepath.med.harvard.edu/~depalma/unixPrimer.html Jan 16 00:29:28 i am so windows corrupted xD Jan 16 00:29:42 Mysterious: ls -alth for more detail Jan 16 00:29:54 ok^^ Jan 16 00:30:04 i dont know if slugos has manpages but "man ls" might be useful Jan 16 00:30:33 it generally doesn't Jan 16 00:30:53 plus it's busybox version of everything.. Jan 16 00:31:18 how can i remove the proxy if i want to connect the slug to a router? Jan 16 00:32:42 export http_proxy="" Jan 16 00:32:45 i guess :P Jan 16 00:32:50 unset http_proxy Jan 16 00:32:57 ^^ Jan 16 00:32:59 that sounds much neater ;) Jan 16 00:33:11 route add default gw 192.168.0.254 <-- use your own router's IP here Jan 16 00:33:42 assuming the slug has obtained a sensible IP somehow :) Jan 16 01:09:50 great^^ finally it runs :D Jan 16 01:10:49 heh Jan 16 01:10:57 I have just one last question: how do i know if the packages are installed on my flash device or on the internal rom? Jan 16 01:11:32 ill hand that one over to ShadowJK_ as i know nothing of slugos Jan 16 01:11:39 Hm. Jan 16 01:11:40 but my guess is they are on the flash device Jan 16 01:11:51 the internal ram is prob. too small for much Jan 16 01:11:59 paste the output of df -h, and I can make an educated guess Jan 16 01:12:05 my own slug died this week :-( Jan 16 01:12:17 ShadowJK_: are you /sure/ its dead and not the psu? Jan 16 01:12:34 Oh, it boots Jan 16 01:12:43 Everything except ethernet works. Jan 16 01:12:48 i was >< close to throwing away a pefectly good slug before i swapped psu. Jan 16 01:12:51 There are two extra, VERY LOUD beeps on boot. Jan 16 01:13:11 It even writes log files to the usb flash disk. Jan 16 01:13:14 that sounds a bit scary, but i wouldnt give up on it if you are still using an original psu. Jan 16 01:13:28 the original psu died 2 years ago :) Jan 16 01:13:35 /o\ Jan 16 01:13:58 Filesystem 1K-blocks Used Available Use% Mounted on Jan 16 01:13:58 /dev/root 6400 5480 920 86% /initrd Jan 16 01:13:58 /dev/sda1 968536 32744 886592 4% / Jan 16 01:13:58 /dev/sda1 968536 32744 886592 4% /dev/.static/dev Jan 16 01:13:58 udev 2048 44 2004 2% /dev Jan 16 01:13:58 /dev/sda3 480171 8239 447139 2% /media/sda3 Jan 16 01:14:00 tmpfs 15120 0 15120 0% /var/volatile Jan 16 01:14:01 even when the original psu was dying, the first thing that stopped working was USB peripherals.. Jan 16 01:14:03 tmpfs 15120 0 15120 0% /dev/shm Jan 16 01:14:04 hurry up and get another one while you still can! ;) Jan 16 01:14:04 /dev/sda3 480171 8239 447139 2% /home Jan 16 01:14:35 HRH_H_Crab, heh. I really like SlugOS... but I decided to move on to sheevaplug Jan 16 01:14:45 aah Jan 16 01:14:48 But tbh, USB works better on NSLU2 Jan 16 01:14:50 yeah those things seem awesome Jan 16 01:14:54 loads of ram Jan 16 01:15:11 must be like a "real" computer Jan 16 01:15:33 Well... a "real" computer with nvidia nforce... Jan 16 01:15:41 although what the slug can do with its limited ram and debian never ceases to amaze me Jan 16 01:15:45 Similar amount of chipset buggyness in my experience :) Jan 16 01:16:01 what about my dumpy dump? Jan 16 01:16:32 Mysterious, I think you're installing stuff to external storage Jan 16 01:17:10 excellent xD Jan 16 01:18:54 ShadowJK_: how many usb ports does the sheevaplug have? Jan 16 01:19:01 one :-( Jan 16 01:19:17 and just the one nic? Jan 16 01:19:21 yes Jan 16 01:19:27 thats enough for me really. Jan 16 01:19:30 Pot luck finding a USB Hub that works ok Jan 16 01:19:33 shame they dont make one with 3 nics Jan 16 01:19:37 :P Jan 16 01:19:38 I have a 7 port D-link usb hub Jan 16 01:19:44 they make one with 2 Jan 16 01:19:53 openrd-base / openrd-client Jan 16 01:19:57 price is higher, of course.. Jan 16 01:20:01 in my 3 slugs i have 500GB drives as the main drive Jan 16 01:20:03 the -client version comes with VGA... Jan 16 01:20:10 and sata.. Jan 16 01:20:18 2 have crappy old flash drives in the other port, Jan 16 01:20:44 and one has a shit webcam whose driver doesnt even compile with debian unstable Jan 16 01:20:55 so i can tolerate 1 usb Jan 16 01:21:07 what i really want are multiple nics Jan 16 01:21:22 a slug with 3 nics would make me so happy. Jan 16 01:21:48 hmmm Jan 16 01:21:54 get a couple USB network cards Jan 16 01:22:12 DrJ: but where do i put my root drive? Jan 16 01:22:22 use a hub Jan 16 01:22:38 and well supported linux usb ---> ethernet adaptors dont seem that common. Jan 16 01:22:58 there's a wiki page on it at the site HRH_H_Crab Jan 16 01:23:14 I scored two usb->ethernet adapters recently Jan 16 01:23:20 * HRH_H_Crab looks Jan 16 01:23:21 the davicom ones are garbage Jan 16 01:23:29 find one that is listed to work Jan 16 01:23:32 the things are so cheap that the gamble isnt too bad i guess Jan 16 01:23:33 then search ebay for it Jan 16 01:23:38 asix seems fhine though Jan 16 01:24:11 I wish the davicom ones worked better, they don't eat that much power and could work directly with my Nokia N810 Jan 16 01:24:51 I loved my NSLU2 :( Jan 16 01:25:11 It was rock solid. :/ Jan 16 01:25:16 (until it died) Jan 16 01:25:35 heh Jan 16 01:25:52 if i can get 2 decent usb --> ethernet adaptors and a hub that works, Jan 16 01:26:09 i can put my old mac to bed which is currently my firewall Jan 16 01:26:38 would make the ambient volume of my living room a few db lower! Jan 16 01:26:50 to be fair, in the pre-nslu-death configuration the sheeva had been running reliably for 5 months... But before those 5 months it had been crashing daily when I had both a OCZ and a Buffalo USB stick connected. ... Jan 16 01:27:23 what os do you have on the sheeva? Jan 16 01:27:35 Ubuntu Jan 16 01:27:40 heh Jan 16 01:27:43 compiled new kernel though Jan 16 01:27:54 still arm ? Jan 16 01:27:55 from marvell's git Jan 16 01:27:59 yes Jan 16 02:08:35 Thanks for your help today, good bye :) **** ENDING LOGGING AT Sat Jan 16 02:59:56 2010