**** BEGIN LOGGING AT Sun Jul 16 02:59:57 2006 Jul 16 11:58:52 hi everybody Jul 16 12:00:48 hello Jul 16 12:00:57 anyone here? Jul 16 12:01:29 i am gonna flash my nslu2 for the first time fresh out of the box Jul 16 12:01:41 i have read the manual but is wondering some stuff Jul 16 12:01:57 just small things due to some nervousness 8 ) Jul 16 12:02:55 1. i have confirmed that i have contact with the nslu2 Jul 16 12:04:13 have downloaded OpenSlug binary file Jul 16 12:04:25 openslug-3.10-beta Jul 16 12:04:29 and i am now moving on Jul 16 12:04:43 i am reading about putting the nslu2 in upgrade mode Jul 16 12:04:52 but it is the next thing i don't understand Jul 16 12:05:03 what uploading program are they talking about? Jul 16 12:07:11 hi Jul 16 12:07:20 you have a windows machine? Jul 16 12:09:51 yes Jul 16 12:10:06 Petfrogg: you nee this upgrade tool: http://www.nslu2-linux.org/wiki/Main/SercommFirmwareUpdater Jul 16 12:10:18 i am guessing they are talking about the Sercomms thing Jul 16 12:10:20 ok Jul 16 12:10:22 i got that Jul 16 12:10:30 is there anyway to verify that it works? Jul 16 12:10:36 i have let down the firewall Jul 16 12:10:54 you need to put your slug to upgrade mode, see http://www.nslu2-linux.org/wiki/Main/UpSlug Jul 16 12:11:17 ok Jul 16 12:11:22 doing it now Jul 16 12:11:28 when it's in upgrade mode you see the ready/status LED flashing alternately red/green Jul 16 12:11:38 i started out by reading the manual entire before starting to do it Jul 16 12:11:57 then you can start the update tool, it will find your slug and show it's mac address. Jul 16 12:13:13 hmm Jul 16 12:13:21 it didnt go red Jul 16 12:13:45 strange Jul 16 12:14:59 power it off, hold the reset button (keep it pressed _all_ the time), then switch it on, wait till the status led turns red (it will, for sure!), _then_ release the reset button (not before) Jul 16 12:16:50 you can practice as long as you like, i don't think it'll do any harm to your slug. even flashing the slug with that update utility is no problem, if it turns bad you can still enter upgrade mode and reflash another firmware Jul 16 12:17:32 the status light starts out yellow - then turns to green Jul 16 12:17:39 i see no red color... Jul 16 12:17:56 do you know where the reset button is? Jul 16 12:17:57 ;-) Jul 16 12:18:16 i got got it now Jul 16 12:18:53 i didnt see it shifting in tone from yellow to red 8 ) Jul 16 12:20:46 and we are in upgrading! Jul 16 12:23:46 hehe Jul 16 12:23:50 this is not a fast process Jul 16 12:23:57 i will go for a cigg while doing it Jul 16 12:24:03 it is Upgrading now 1% Jul 16 12:25:08 thank you dr_nick Jul 16 12:25:14 i'll back after a cigg Jul 16 12:28:58 weeii it is on 3% now Jul 16 12:29:04 this will take time Jul 16 12:30:02 wow, sounds pretty slow. i didn't flash my slug for a long time, thought it was faster Jul 16 12:30:36 i know Jul 16 12:30:42 but i hope nothing is wrong Jul 16 12:30:49 i bought it last week Jul 16 12:31:09 so i suppose, due this is the first time, it will go slow Jul 16 12:34:39 but you think everythings is ok? Jul 16 12:34:48 yes Jul 16 12:34:53 ok Jul 16 12:35:09 i suppose that the old firmware ain't the fastes in town 8 ) Jul 16 12:35:26 i think so. even if flashing goes bad for whatever reason, it doesn't erase the boot block, so you can always enter upgrade mode and flash again Jul 16 12:35:36 i even used to flash my slug over a wireless link without any problems Jul 16 12:36:30 no, i think flashing will always use the same amount of time, the upgrade stuff is in the boot loader, not in the firmware you're using Jul 16 12:36:53 maybe it's faster here because i "overclocked" my slug Jul 16 12:38:00 heh Jul 16 12:38:00 e Jul 16 12:38:07 do you use OpenSlug? Jul 16 12:38:26 * Petfrogg is talking on his powerbook now on osx while the xp is doing the upgrade Jul 16 12:39:01 is the 3.10-beta fixed to powerdown using the ordinary powerbutton? Jul 16 12:39:16 some howtos states that i need to log in and do a shutdown Jul 16 12:39:47 don't know really. i think so Jul 16 12:40:16 ok Jul 16 12:40:36 i'm using little-endian OpenSlug ("DebianSlug"), but it's booting into a debian system Jul 16 12:40:44 yes Jul 16 12:40:56 that is why i am using openslug and will install gentooslug Jul 16 12:41:29 cause from what i have read - if somethings goes wrong i can allways use the firmware os parts Jul 16 12:41:46 that would mean that i can do it the otherway around if somethings goes wrong with the firmware Jul 16 12:41:59 i can allways reinstall the firmware and mount and use the stuff i have on my usbstick Jul 16 12:42:06 yes. Jul 16 12:42:27 i got myself a 2GB usbstick just to hold the os Jul 16 12:42:33 hmm Jul 16 12:42:34 that's right. if i don't have my hdd connected it will boot just boot OpenSlug from flash Jul 16 12:42:47 yeah Jul 16 12:43:02 then i must have reached the same conclusion as you then 8 ) Jul 16 12:43:04 that is good Jul 16 12:43:27 gonna read some howtos now Jul 16 12:43:35 i'll be back when he upgrade is done Jul 16 12:43:42 maybe take a shower too Jul 16 12:43:58 it is progressing slow but atleast it does progress Jul 16 12:44:15 i didn't get this nslu2 cause it is fast 8 ) Jul 16 12:45:35 is "slug" some kind of abbreviation? what does it mean? Jul 16 12:46:43 yeah, it's a nickname. don't know who invented it. everybody picked it up and uses it Jul 16 12:51:06 but it s no abbreviation? Jul 16 12:51:55 Petfrogg: maybe you should consider overclocking your slug, if you don't mind voiding your warranty, see http://www.nslu2-linux.org/wiki/HowTo/OverClockTheSlug Jul 16 12:52:11 hmm Jul 16 12:52:21 cYmen: don't think so Jul 16 13:54:15 <_snow8> i'm thinking of upgrading to debianslug from unslug, will i get more options then? will it be more like running a normal linux dist on your pc? Jul 16 13:56:34 _snow8: that is my goal but i am flashing from clean start to OpenSlug so i can run GentoSlug Jul 16 13:57:45 <_snow8> hm, is it so that you have to run debian from an external hd? Jul 16 13:57:58 i will run Gentoo from a 2 GB flash drive Jul 16 13:58:22 then i will mount a ordinary disk and have my files on + logs and other growing files... Jul 16 13:59:59 <_snow8> why do you wanna use gentoo instead of debian? Jul 16 14:01:42 cause i am used to gentoo Jul 16 14:02:05 i run XP, NetBSD, Debian, Gentoo and osx Jul 16 14:02:12 i find gentoo i nicer Jul 16 14:03:08 <_snow8> isn't gentooslug in the very start, have they got any stable? Jul 16 14:03:32 well... linux isn't that fast at boot anyway Jul 16 14:03:39 and it uses the openslug as default Jul 16 14:03:55 maybee you can use initNG to improve boot Jul 16 14:04:13 if i had a choice i would have run NetBSD on i Jul 16 14:04:14 t Jul 16 14:04:34 <_snow8> ok, so to run debian, gentoo you need openslug by default? Jul 16 14:09:33 it seems so from what i have been reading Jul 16 14:09:49 _snow8: dr_nick seems to run the debian version Jul 16 14:10:04 i would recomend the debian version to you if you want to use it as a fullblown pc Jul 16 14:10:24 but i am deep down on irc in the gentoo djungle so i cant get out 8 ) Jul 16 14:10:34 i usually runs debian on production machines Jul 16 14:10:49 <_snow8> ah Jul 16 14:10:59 <_snow8> i'll go for debian Jul 16 14:11:01 but i got a really mixed environment and i suppose if i hang in the #gentoo channel i should atleast run one system using gentoo 8 ) Jul 16 14:11:09 <_snow8> heh Jul 16 14:11:36 <_snow8> will it run slower with gentoo/debian/openslug than unslug? Jul 16 14:15:56 dunno Jul 16 14:16:03 not really Jul 16 14:16:10 you'll need swap for sure Jul 16 14:16:21 i got it running default and haven't eaven tried anything else i just flashing it to get a clean start Jul 16 14:16:30 then i will format the usbstick and get starting using it Jul 16 14:16:42 dunno how it works in "default" mode Jul 16 14:16:54 i want to have a apache, php, mysql + ssh environment Jul 16 14:17:03 _snow8: see http://www.nslu2-linux.org/wiki/DebianSlug/HomePage Jul 16 14:18:31 Petfrogg: most people use lighttpd instead of apache as it takes less resources (it still can handle php using fastcgi very good) Jul 16 14:18:40 hmm Jul 16 14:18:45 ok... sounds interesting Jul 16 14:19:17 still i am very used to apache... but what i am most intrested in is to get the ssh working so i can host my svn and cvs respositories there Jul 16 14:19:23 and ofcourse samb Jul 16 14:19:24 a Jul 16 14:20:19 i've never used it before on a "real" server, but i really start liking lighttpd. the configuration paradigm is interesting, compared to apache. don't know what's better, but it surely is interesting Jul 16 14:20:32 ok Jul 16 14:20:35 i will think about it Jul 16 14:20:43 it sounds interesting Jul 16 14:20:59 <_snow8> hmm Jul 16 14:21:03 better use some smarty templates on the php so it will be faster too Jul 16 14:21:16 i was thinking about using caching functionality on the php Jul 16 14:21:45 weeeeiiiii!!!!! 50% flashed after nearly 2 hours Jul 16 14:21:50 this network sux Jul 16 14:21:52 ssh should be no problem. i'm running samba, cups, dnsmasq, openvpn, ssh, mt-daapd, ntpd, rsync, lighttpd+php, postfix all on one slug Jul 16 14:22:14 nice Jul 16 14:22:35 then i only need dircproxy and btlebee and i will be homefree! Jul 16 14:22:40 Petfrogg: that's definitely way too slow. maybe it works, but a normal flash should be done in 5-10 minutes Jul 16 14:22:49 hmm Jul 16 14:22:53 well i think soo to Jul 16 14:22:57 but you said it was ok Jul 16 14:23:07 so i just leave it alone and let it work Jul 16 14:23:25 don't know, didn't think it will take that long. yeah, maybe just try it. Jul 16 14:23:37 it can be such thing that my switch do not cache the ipnumbers of the equipment Jul 16 14:23:41 <_snow8> i'm runnning apache now, will pages load faster on lighttpd? Jul 16 14:23:58 leaving it to verify on resolve the ipnumbers on the dhcp router Jul 16 14:24:00 _snow8: static pages or php? Jul 16 14:24:01 that could take time Jul 16 14:24:08 <_snow8> both Jul 16 14:25:14 _snow8: i don't have any numbers and benchmarks, but from what i've heard it should be faster and use very few ressources (memory, cpu) Jul 16 14:25:26 <_snow8> nice Jul 16 14:25:42 <_snow8> maby i should try ilghttpd then Jul 16 14:40:30 dr_nick: well everythings seems fine although the terrible speed Jul 16 14:40:43 hmm could be that i am using a hub instead of a switch... Jul 16 14:40:46 darn it Jul 16 14:40:53 i just grabbed what i found at home Jul 16 14:41:07 but according to the manual every light is flashing the way it should Jul 16 14:41:11 i just hold on Jul 16 14:41:19 but next time i will change to another switch Jul 16 15:46:21 my slug doesn t seem to boot without network attached is there something wrong or am i just not waiting long enough? Jul 16 15:48:19 cymen: i guess you're not waiting long enough. maybe you've got some packages installed that want an internet connection on startup (ntp, some dns lookup, ...) Jul 16 15:48:52 mh good point got ntpdate installed Jul 16 15:50:36 i m trying to setup vlans but if mess it up i won t be able to connect any more so there s a limit to the fun in that... Jul 16 15:53:22 btw what is eth1? Jul 16 15:57:56 what s wrong with http://nopaste.php-q.net/226099 Jul 16 15:58:25 booted attached to a vlan1 only port (vlans off) than moved to a port with vlans Jul 16 15:58:53 now i can neither reach 172.20.51.80 or 56.80 but 2001:638:204:10:214:bfff:fe65:a9a8 still works Jul 16 16:05:58 sorry dropped out Jul 16 16:30:28 * le-lemurien waves Jul 16 16:31:39 could anyone point me the commands i can use to get basic figures about the slug's state (cpu, ram and swap usage mostly)? i'm running openslug. Jul 16 16:48:47 'cat /proc/cpuinfo' and 'free' Jul 16 16:50:17 dr_nick! Jul 16 16:50:20 it is in verify now Jul 16 16:50:30 but still it takes enormous amount of time Jul 16 16:50:44 well - atleast it is working Jul 16 16:51:14 woohoo vlans are working :) Jul 16 16:52:41 jdr_: thanks! that will do for mem and swap, but i don't see anything reflecting cpu load in /proc/cpuinfo Jul 16 16:53:29 le-lemurien: top? Jul 16 16:53:47 that's it! thanks! Jul 16 16:55:38 ty, jdr_ & cYmen, free and top were he commands i needed. Jul 16 17:00:32 le-lemurien: read some docu for linux newbies :) Jul 16 17:01:58 yupp... been spending so much time working on slug-specific issues, and i didn't take the time to take a regular linux training course of any sort Jul 16 17:02:28 but, at last, the slug works perfectly :) Jul 16 17:03:54 and so does the amule daemon. Jul 16 19:49:14 ok Jul 16 19:49:17 anyone here? Jul 16 19:49:26 i have now got the openslug in Jul 16 19:49:34 it took 8 hours to flash it Jul 16 19:49:46 now i need to connect to it Jul 16 19:52:15 8 hours? did you flash it with a typewriter? Jul 16 19:52:37 just do as the tutorial tell s you it s a step by step procedure in pretty simple to follow Jul 16 19:53:57 cYmen: something was really slow Jul 16 19:54:09 i bet i could have done it with a typewriter or pigions faster Jul 16 19:54:15 but i can log in and it seems to work Jul 16 19:58:17 8 hours, that seems a little bit to long, under normal circumstances it will took around 3 minutes Jul 16 19:58:36 well i think my switch aint a switch or something Jul 16 19:58:48 it was real extreme operation but i let it take its course Jul 16 19:59:31 well, if it work.. Jul 16 20:01:51 ok Jul 16 20:01:53 it works Jul 16 20:01:54 ok Jul 16 20:02:13 has OpenSlug fixed so it can shutdown using the powerbutton yet? Jul 16 20:02:46 you can edit the /etc/inittab (strg+alt+del) Jul 16 20:02:56 caplink811_log: ? Jul 16 20:03:05 does that do it? Jul 16 20:03:09 does it come with vi? Jul 16 20:03:53 * Petfrogg thinks the problem lies in that he got hub that do not cache ipnumbers and therefore has to ask the router of the ip Jul 16 20:03:56 there is an entry in /etc/inittab which describe the behavior of the powerbutton Jul 16 20:04:02 ok Jul 16 20:04:33 do i have the vi(m) editor at hand or do i need to initalise and install it on my usbstick? Jul 16 20:04:42 # What to do when CTRL-ALT-DEL is pressed. Jul 16 20:04:42 ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now Jul 16 20:05:01 that should do a shutdown, when you press the powerbutton Jul 16 20:05:28 you could use any editor, but i think vi is in openslug by default Jul 16 20:05:47 ca:123456:ctrlaltdel:/sbin/poweroff Jul 16 20:05:54 that is what i got right now Jul 16 20:06:20 hehe Jul 16 20:06:23 it seems to work Jul 16 20:07:06 thanx caplink811_log Jul 16 20:07:11 np Jul 16 20:07:31 after phoneing my gf i will head on to start fix my usbstick and start intall gentoo on it Jul 16 20:10:51 * caplink811_log thinks, it is a good idea (the 1st), i should do it too ;) Jul 16 20:42:01 soo Jul 16 20:42:05 back on track¨ Jul 16 20:42:16 there is something contradictive in the manual Jul 16 20:42:27 it says that you should use a swap space Jul 16 20:42:32 and i got a usbstick Jul 16 20:42:45 phone Jul 16 20:48:09 ah those usbstickphones are quite marvelous Jul 16 20:55:41 the problem is that it also states in the manual that using the usbstick for swap will decrease the life length of it Jul 16 20:57:12 should i run my gentooslug without a swap? Jul 16 21:05:05 any suggestions? Jul 16 21:16:29 you could use a second cheapo $9.99 128MB stick for swap, or swap via nfs if connected to a network Jul 16 21:21:25 hmm Jul 16 21:21:43 that first one is a good one Jul 16 21:22:05 can i just use a usbhub inbetween in order to get more usbslots? **** ENDING LOGGING AT Mon Jul 17 02:59:58 2006