**** BEGIN LOGGING AT Wed Jun 06 02:59:58 2007 Jun 06 03:00:04 i dunno Jun 06 03:00:56 i've seen packages always at version 0.0.n, yet very stable Jun 06 03:03:21 eno: does the Mastermake file download the source? Jun 06 03:05:01 it downloads all files needed to build, except some intel stuff Jun 06 03:11:45 eno: do i just run make? Jun 06 03:18:09 you're following MasterMakefile ? you probably don't want to build everything Jun 06 03:18:48 eno: make toolchain breaks Jun 06 03:19:00 what is the error message? Jun 06 03:19:37 ar.c:(.text+0xa42): undefined reference to `yyparse' Jun 06 03:21:19 gcc --version Jun 06 03:22:24 gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Jun 06 03:24:20 flex --version; bison --version; m4 --version Jun 06 03:26:52 flex: command not found; bison: command not found; GNU M4 1.4.8 Jun 06 03:28:05 alright, sudo apt-get install build-essential Jun 06 03:29:16 bison is still not installed Jun 06 03:33:18 look at the MasterMakefile setup-host-debian target for a complete list of packages needed Jun 06 03:33:38 k Jun 06 03:35:04 there might be more than what's needed for building optware package, but that's fine Jun 06 03:35:18 does unslung change the default led behavior from stock linksys? Jun 06 03:39:13 i dunno, ask mwester Jun 06 03:39:19 eno: now i'm getting another error, a malloc assertion Jun 06 03:41:59 try "make crosstool-dirclean toolchain" to start from anew Jun 06 03:48:06 thanks Jun 06 03:48:40 scant: ipkg install --force-depends ./kernel-module-input-*.ipk ./kernel-module-hid-*.ipk Jun 06 03:49:01 then create the device nodes in /dev per the UPS software docs Jun 06 03:50:03 mwester-laptop: let me try that Jun 06 03:53:13 mwester-laptop: i don't think those packages are there Jun 06 03:59:16 you download km.tgz, right Jun 06 03:59:30 yes Jun 06 04:00:09 that file, when untarred, contains all the kernel modules for Unslung + the new ones. Jun 06 04:01:26 mwester-laptop: there are no kernel-module-input-*.ipk files in the tar Jun 06 04:04:28 km.tgz: 1106082 bytes Jun 06 04:05:12 km.tgz: gzip compressed data Jun 06 04:05:18 looks ok here Jun 06 04:08:00 mkdir km;cd km;tar xzf /path/to/km.tgz; ls *input* Jun 06 04:09:26 kernel-module-input_2.4.22.l2.3r63-r18.1_ixp4xxbe.ipk Jun 06 04:11:49 Yep, that's the one. kernel-module-hid_2.4-etcetera-etcetera-etcetera is the other. Jun 06 04:11:57 ok Jun 06 04:12:25 mwester: so when i ./configure apcupsd -> shutdown program not found Jun 06 04:12:54 mwester-laptop: do i have to rename DO_Shutdown to shutdown? Jun 06 04:14:15 you'll probably have to write your own shutdown script. Don't rename; it'll break everything expecting the original name Jun 06 04:15:05 mwester-laptop: isn't my rc.halt diversion script my shutdown script? Jun 06 04:21:02 mwester-laptop: i know it's not a clean shutdown, but what's in my rc.halt is what i want to run to shutdown, is there anything else that i have to add to my rc.halt diversion script? is anything done before the rc.halt script is called on a power button push? Jun 06 04:46:54 what is the wall program? Jun 06 04:47:21 i mean, how can i get the wall program on unslung Jun 06 04:47:48 hi all Jun 06 04:49:27 i'm having no luck setting up the FTP on the NSLU2 with the Linksys firmware. for some reason it worked initially but some time after i de-underclocked the slug the ftp server stopped working. does anyone have any suggestions? Jun 06 05:46:55 anyone here use the wall cmd on unslung? Jun 06 06:04:39 does any1 reason to avoid using flash drives as the main root drive for unslung? Does the unslung behave well with flash drives in terms of read/write cycles Jun 06 06:04:41 Hello everyone! Jun 06 06:05:22 leesiulung: From what I read so far, the life cycles of current flash drives are high enough to last a few years in 24/7 use Jun 06 06:06:06 I've been asking that question to myself too, google has quite a few answers... Jun 06 06:06:32 I know I had a drive that on a weekly basis left in the system and edited word documents of. That drive lasted a measly 1 year.... wonderif that is a fluke. Jun 06 06:06:52 Is anyone using an "Elements by WD" hard drive and can confirm that it spins down when inactive? Jun 06 06:07:29 leesiulung: Was that a current one? Things have approved there... Jun 06 06:07:45 fairly recent, bought within a 1.5 years ago Jun 06 06:13:39 leesiulung: Trying to look up what I read about the life time of a flash drive, hang on Jun 06 06:14:10 this page has usefull info about setup for using flash drives:http://www.nslu2-linux.org/wiki/Unslung/Ext3flash Jun 06 06:36:05 leesiulung: I cant find it anymore, but I am sure a 2007 flash drive will last long enough Jun 06 06:36:17 leesiulung: And isn't there lifetime warranty in the states? Jun 06 06:37:08 I don't know about the lifetime warranty, but will look into that. Besides most of the time lifetime warranty means that it is only valid when the product is actively produced.... Jun 06 06:37:28 and not the actual life of the product Jun 06 06:38:07 I guess is there any point in doing all the steps in that page about flash drives on nslu2-linux.org link provided earlier Jun 06 06:39:46 leesiulung: It will reduce write access a lot Jun 06 06:40:02 But like I said before, I am not sure if that is really neccessary Jun 06 06:40:23 ok, I read that enabling those will also potentially cause problems with other software Jun 06 06:40:47 most likely, if you disable swap... Jun 06 06:42:05 Is 1GB drive more than sufficient for unslung? Jun 06 06:43:07 leesiulung: More is always better... I am planning to install Debian on my slug (which I do not have yet), so I'll get a 2 GB drive Jun 06 06:43:47 Well, other than unslung i would like to add subversion, and LAMP stack (dunno if this is possible with unslung though) Jun 06 06:45:41 leesiulung: About the memory, you could still put swap on the harddrive, I assume that would not be used if nothing much is running Jun 06 06:46:47 I intended to run everything of the flash drive for a low powered and quiet device. Jun 06 06:47:08 get a HDD that spins down Jun 06 06:47:28 that's my plan, as I will make the slug a media server Jun 06 06:49:02 is it fast enough as a media server? I'm assuming you mean only to serve media such video and music Jun 06 06:54:47 How can you install openssh without enabling telnet? Jun 06 07:00:46 leesiulung: Well, twonky or ushare or something like that, upnp Jun 06 07:04:59 MillhousePunkRock: that is very interresting. I will have to look into that. Jun 06 07:13:47 MillhousePunkRock: can you tell me if I need telnet access in order to install and configure ipk packages? Jun 06 07:19:13 I have to go, but it was a pleasure chatting with you MillhousePunkRock. Thank you for taking time to look up the flash drive read/write cycles. Jun 06 14:00:02 anyone here use the wall cmd on unslung? Jun 06 14:02:07 sorry not me Jun 06 14:17:26 hi i am having difficulty with the built-in ftp server - can anyone please help? Jun 06 14:49:39 anyone there? Jun 06 14:49:53 ~ask Jun 06 14:49:54 ask is probably Questions in the channel should be specific, informative, complete, concise, and on-topic. Don't ask if you can ask a question first. Don't ask if a person is there, just ask what you intended to ask them. Better questions more frequently yield better answers. We are all here voluntarily or against our will. Jun 06 14:50:20 interesting Jun 06 14:50:55 does anyone have tips for setting up the nslu2 ftp server? it seemed to be working before but now i can't log in using my external ip address. if i ftp to 192.168.1.77 it works fine, though. Jun 06 14:53:47 port forwarding? Jun 06 14:53:53 Are you trying to access it locally? Jun 06 14:54:01 If so, your router will not probably support NAT loopback Jun 06 14:54:20 i tried accessing from a remote location yesterday and it didn't work Jun 06 14:54:34 but when i initially set up the nslu2 and a dyndns site it was working Jun 06 14:54:47 at some point it stopped working and i'm not sure why Jun 06 14:55:07 correction: it was working from within my network, i never tested it outside the network Jun 06 14:55:14 until yesterday, when it didn't work Jun 06 14:55:41 now i can only connect using the nslu2's address within the network, but for some reason the port is not being forwarded correctly or something like that Jun 06 14:59:52 crap, gotta go Jun 06 15:22:33 sounds just like bad forwarding, or wrong ip Jun 06 15:26:05 yup Jun 06 15:26:09 but he's gone Jun 06 15:26:10 so megh Jun 06 15:47:10 megh! Jun 06 15:48:45 lol Jun 06 15:53:52 hello... Jun 06 15:54:00 Reedy_Boy: Onomatopoeia Jun 06 15:54:07 i just remembered Jun 06 15:54:21 heh Jun 06 15:54:33 leesiulung, hi Jun 06 15:55:08 reedy_boy: seems like a lot of people is on this early (I'm in CA) Jun 06 15:57:59 Im in UK, so its nearly 5pm, not early for me ;) Jun 06 15:58:32 ha ha ha.... Jun 06 15:58:53 nearly tea time Jun 06 15:58:54 thank god Jun 06 15:59:03 I see... what does those small Walker's Crisp bag cost now? I love those crisps! Jun 06 15:59:11 hmm Jun 06 15:59:23 30-40p depending on where you buy them Jun 06 15:59:29 $0.80c ? Jun 06 16:00:00 ah, not to bad. When I used to live in Europe and travel to england I would buy like boxes of it and ship it back on the plan. ;) Jun 06 16:00:12 plan = plane Jun 06 16:00:13 haha Jun 06 16:00:26 capbot has a typo fix Jun 06 16:00:37 s/fix/fixer Jun 06 16:00:38 It's the sour salty one, worchester sauce Jun 06 16:00:42 .s/fix/fixer Jun 06 16:00:48 how do I enter that command? Jun 06 16:00:50 !help Jun 06 16:00:53 !help Jun 06 16:00:56 ~help Jun 06 16:00:59 that one Jun 06 16:01:15 ~uptime Jun 06 16:01:18 ~help Jun 06 16:02:03 ~cpustats Jun 06 16:02:03 Total CPU usage: 177.5 s ... Total used: 0.29 % (parent/child ratio: 82.1 %) Jun 06 16:02:30 which symbol starts the command: ~ or ! Jun 06 16:02:49 eh? Jun 06 16:02:53 cabpot uses ~ Jun 06 16:02:57 I see Jun 06 16:03:11 when I type ~help nothing happens Jun 06 16:03:24 it should private message you Jun 06 16:04:01 it did, but not much usefull information for being "help"... he he he Jun 06 16:04:11 its a list of commands :P Jun 06 16:05:09 those commands, do I type it in here or in the private messagE? Jun 06 16:05:23 in here Jun 06 16:06:17 so, to enable the typo fix, just type: .s/fix/fixer? Jun 06 16:07:03 .s/fix/fixer Jun 06 16:07:32 ~cpustats Jun 06 16:07:33 Total CPU usage: 179.4 s ... Total used: 0.29 % (parent/child ratio: 82.1 %) Jun 06 16:07:38 hmm Jun 06 16:10:27 i cant rember how to do typo fix Jun 06 16:10:38 ~s/rember/remember Jun 06 16:10:41 s/rember/remember Jun 06 16:11:00 caplink811_log, how do you do the typo correction? Jun 06 16:13:10 Reedy_Boy, do you know why unslung versions are all Beta releases? Wonder why there isn't an offical version, yet all major revisions are beta.... Jun 06 16:13:35 I dont really know, i believe mwester or someone said before Jun 06 16:13:46 well, im pretty sure someone has Jun 06 16:15:06 I recently revived my nslu2 (sort of) and mwester helped me yesterday. Jun 06 16:15:16 :) Jun 06 16:15:22 Good lot these are :) Jun 06 16:17:21 Yup, it is back up and I'm ready to install unslung!!! Well almost, have a lot of reading to do Jun 06 16:17:36 Yeah, mwester spent quite a bit of time aiding me Jun 06 16:17:50 You dont need to do that much reading really before doing unslung Jun 06 16:18:47 As long as you follow the instructions, dont skip ahead or pretend you know waht your doing, you should be fine Jun 06 16:20:07 well, I figured out how to install unslung, but the telnet part can get a little tricky... do I need that? can I skip that "somehow" and setup ssh Jun 06 16:20:24 funny enough, the minute you said don't skip steps, I went ahead and asked about skipping steps.... Jun 06 16:20:25 are you meaning the diversion is tricky? Jun 06 16:20:44 When you've installed it and rebooted Jun 06 16:21:01 You need to enable telnet by clicking a link on the web interface, login and then yuo can unsling it Jun 06 16:21:10 when its all unslung and confirmed, you can put SSH on Jun 06 16:21:27 I believe putting SSH in the default unslung install was on the cards for the next release Jun 06 16:22:49 leesiulung, does that make sense Jun 06 16:22:50 ? Jun 06 16:22:53 ohhh... according to notes: http://www.batbox.org/LinksysNSLU2TelnetAccess.html and http://www.nslu2-linux.org/wiki/HowTo/GainTelnetAccessViaTheClassicMethod Jun 06 16:23:36 reed_boy: well, I thought you had to edit the passwd file and tar it, then upload it to get telnet access Jun 06 16:23:44 Nope Jun 06 16:23:48 Those days are long gone Jun 06 16:24:00 uhhh... they should remove those pages.... Jun 06 16:24:02 That was pre 5.5 Jun 06 16:24:21 Yeah, there are some things that are bit out of date, but kept for archival purposes Jun 06 16:24:41 lol, I spent a crapload of time reading those pages and various sites to figure it out.... Jun 06 16:24:49 haha Jun 06 16:24:55 telnet, after sticking unslung on Jun 06 16:25:05 is only a few clicks on the web interface Jun 06 16:25:15 so, all I have to do is upgrade the firmware with unslung, go into the web interface and click a button. Jun 06 16:25:27 click a link, login and click a button Jun 06 16:25:28 yup Jun 06 16:25:58 what is the account credentials first time login? admin/admin? I just reset the sysconf area yesterday so it is default settings Jun 06 16:26:13 admin/password i think for the web interface Jun 06 16:26:31 Nope Jun 06 16:26:36 Your right - admin/admin Jun 06 16:26:36 I mean for telnet, what is the credentials? Jun 06 16:26:38 oh Jun 06 16:26:40 thats Jun 06 16:26:45 root and unSLUng Jun 06 16:26:50 ohhh, that is right Jun 06 16:27:05 I did read that somewhere... to use that Jun 06 16:27:07 Yeah Jun 06 16:27:21 the unslung 6.8 readme included is/should be about all the stuff you need Jun 06 16:28:02 but you can just go ahead and put the unslung firmware on Jun 06 16:28:08 to confirm, all the unslung versions I have seen so far (in the history file) says beta. There is no stable official release? Jun 06 16:28:34 Nope, but although they are beta, they are fine for use Jun 06 16:28:48 More stable/'better' than the alpha Jun 06 16:28:54 but i think its to do with they aint perfect Jun 06 16:29:18 but they seem to be fine, the linksys + more features Jun 06 16:29:23 I see... wish they would update the docs to reflect this... Jun 06 16:30:33 lol Jun 06 16:31:01 is there any other helpful reading resource available online, but nslu2-linux.org? preferably something more up to date? Jun 06 16:31:27 you really dont need it Jun 06 16:31:37 if you read the text file readme thats included with the firmware Jun 06 16:31:43 that will get you through the install fine Jun 06 16:32:21 Well, I'm not exactly a seasoned Linux user. I know basic stuff about the OS and use, but know nothing about maintaining and installing software. Jun 06 16:33:00 I wasnt when i first did mine :) Jun 06 16:33:32 Im gonna be here most of the time for the next few hours, so if you want to do it, im here if your stuck Jun 06 16:34:43 I would like to take you up on that, but can't right now. Perhaps I can catch you later here some other time. Jun 06 16:35:06 it doesnt take long to do it, but yeah, if im about, feel free to poke me Jun 06 16:37:21 hmmm.... let me see if I can do it right now.... Jun 06 16:40:51 once unslung is updated, and I got telnet access. What is the next steps? Jun 06 16:41:07 login Jun 06 16:41:19 put drive on, format it, unsling to the drive Jun 06 16:44:47 What size is the minimum recommended for the root drive? Jun 06 16:45:44 256mb memory stick i think is the min Jun 06 16:46:31 so 1GB is plenty to install subversion, openssh, ushare and LAMP? Jun 06 16:47:17 yeah Jun 06 16:47:20 should be fine Jun 06 16:47:21 Well Jun 06 16:47:31 Apache isnt generally reccomended - a bit heavyeight Jun 06 16:47:49 and mysql could mean it runs slow Jun 06 16:47:56 but thats a bridge to cross for later :) Jun 06 16:48:20 ok... 1GB it is Jun 06 16:48:27 Ive got a 512 on my nslu2 one Jun 06 16:48:30 ha ha ha ha (evil laughter) Jun 06 16:48:57 Tea time for me, back in a bit Jun 06 16:49:08 If you get stuck, shout someone may be able to help Jun 06 16:49:22 but you should be ok following the instructions to get it all installed and unslung Jun 06 16:49:22 :) Jun 06 16:49:35 then when it is, ipkg install openssh and leave it to install :) Jun 06 16:49:37 ok... catch you later. Thank you for all your help so far! Jun 06 16:49:42 back in a bit leesiulung Jun 06 16:51:53 i should add, i shouldnt be too long, its a quick and simple tea! Jun 06 16:57:53 reedy_boy, I will actually be away for another hour before I get to it.... If I'm lucky I will catch you then. Jun 06 17:30:03 leesiulung, im half back Jun 06 17:30:50 If your gone, i will still be here, or at least only out walking the dogs Jun 06 17:32:13 I'm around, but need to clear some work of my desk before I can tackle the nslu2. I will catch up with you when you get back from walking the dogs. Jun 06 17:33:43 righto Jun 06 17:33:45 :) Jun 06 18:40:02 does anyone know why i cant get in to my web interface, using unslung Jun 06 18:40:10 i did it some days ago Jun 06 18:40:27 but now its just dead, But its still up and running so its not broken Jun 06 18:48:17 leesiulung, just need a wash, be 10 mins or so, then im free for the next couple Jun 06 18:48:47 no problem. I still haven't gotten to it yet.. .but will soon. Thanks for letting me know. Jun 06 18:50:09 DigiI-, Can you ping it Jun 06 18:51:10 nope :( Jun 06 18:51:31 Tried restarting it? Jun 06 18:52:02 yep Jun 06 18:52:15 strange i still got it on my network Jun 06 18:52:31 and i can get to the hdd connected to it Jun 06 19:10:14 thats weird Jun 06 19:10:21 can you connect via telnet/ssh? Jun 06 19:10:26 leesiulung, im done Jun 06 19:12:45 No, Telnet isnt acctive Jun 06 19:12:48 active Jun 06 19:13:25 Weird Jun 06 19:13:35 You cant ping it, but yet you can get the shared files Jun 06 19:16:27 yea Jun 06 19:16:58 very weird Jun 06 19:17:19 i tryed install debian but didnt finish it, and after i still could connect and everything, but now its dead Jun 06 19:17:20 * mwester thinks it changed IP addresses at some point; Windows/SMB uses a different protocol for name->IP resolution and thus may know where the NSLU2 is, address-wise. Jun 06 19:17:44 Ah, now that's new information. It's not a standard OS load Jun 06 19:18:07 Or is it -- did you reflash the Linksys or unslung firmware back onto it? Jun 06 19:18:16 no Jun 06 19:18:35 thats why theres no web interface for one Jun 06 19:18:35 So basically, it's a partially-done debian firmware, in an unknown state Jun 06 19:18:45 hey mwester Jun 06 19:18:53 Greetings Reedy_Boy Jun 06 19:19:20 DigiI-, You're gonna have to reflash it using upslug or the sercomm upgrade tool Jun 06 19:19:31 ^^^ yep Jun 06 19:19:41 As you cant even finish the debian install Jun 06 19:19:41 Reedy_Boy whats easyest? Jun 06 19:19:51 Its a case of whether your on windows or linux Jun 06 19:19:55 to which one you use Jun 06 19:20:05 im in win xp Jun 06 19:20:11 the sercomm tool it is then Jun 06 19:20:39 http://www.nslu2-linux.org/wiki/HowTo/RecoverFromABadFlash Jun 06 19:20:47 Or more specifically Jun 06 19:20:48 http://www.nslu2-linux.org/wiki/Main/SercommFirmwareUpdater Jun 06 19:21:35 And you'll need Jun 06 19:21:35 http://www.nslu2-linux.org/wiki/HowTo/UseTheResetButtonToEnterUpgradeMode Jun 06 19:22:54 caplink811-log, capbot should have a function to spam those links ;) Jun 06 19:23:59 In basic terms, you need to put it upgrade mode and use the sercomm tool to put the firmware back on Jun 06 19:24:18 Reedy_Boy use the reset button first before the sercomm? Jun 06 19:24:33 yup Jun 06 19:24:38 okok Jun 06 19:24:40 you could find the tool at http://jrbnet.de/joomla/component/option,com_remository/Itemid,45/func,select/id,1/ Jun 06 19:24:59 caplink comes through again! (Thanks!) Jun 06 19:25:35 :D Jun 06 19:26:31 :) Jun 06 19:27:23 mwester, any ideas how to check if an unslung package is correct and valid - as i get a segmentation fault wehn i do ipkg install qemu-libc-i386 Jun 06 19:29:38 ~sercomm is there are more informations and some links to get the tool at http://www.nslu2-linux.org/wiki/Main/SercommFirmwareUpdater Jun 06 19:29:39 ...but sercomm is already something else... Jun 06 19:29:44 uups Jun 06 19:29:50 ~sercomm Jun 06 19:29:50 from memory, sercomm is folge dem Link http://www.nslu2-info.de/downloads.php?do=file&id=14 Jun 06 19:29:58 k Jun 06 19:30:09 ~forget sercomm Jun 06 19:30:10 i forgot sercomm, caplink811-log Jun 06 19:30:14 ~sercomm is there are more informations and some links to get the tool at http://www.nslu2-linux.org/wiki/Main/SercommFirmwareUpdater Jun 06 19:30:15 caplink811-log: okay Jun 06 19:30:20 ~thanks Jun 06 19:30:20 caplink811-log: bitte Jun 06 19:30:35 Reedy_Boy, done ;) Jun 06 19:31:05 caplink811-log, :) Nice one Jun 06 19:31:07 ~botsnack Jun 06 19:31:07 Reedy_Boy: thanks Jun 06 19:31:32 btw, search and replace works like that Jun 06 19:31:43 s/search/find/ Jun 06 19:31:43 caplink811-log meant: btw, find and replace works like that Jun 06 19:32:06 trailing slash Jun 06 19:32:26 Reedy_Boy: wget the package. Use "ar x packagename" to explode the package into components. Examine components and the various files to understand what goes where and which scripts and tools get run during install. Run manually to find which segfaults. Jun 06 19:34:26 so wget from the same link as the ipkg gets it from - http://ipkg.nslu2-linux.org/feeds/unslung/cross/qemu- Jun 06 19:34:26 libc-i386_2.3.3-3_armeb.ipk Jun 06 19:34:43 thanks Jun 06 19:35:21 leesiulung, you there? Jun 06 19:36:24 reedy_boy, still here Jun 06 19:36:29 working on it now Jun 06 19:36:50 I had to clear a memory stick Jun 06 19:36:56 ok Jun 06 19:38:17 mwester, is ar a seperate package or something? Jun 06 19:38:18 If i install xinetd Jun 06 19:38:41 do i have to disable the pld inetd then? Jun 06 19:38:50 *old Jun 06 19:43:17 bad: don't install xinetd unless you have installed (and are using) openssh instead of telnet. Also, if you are installing xinetd because the wiki tells you to in order to install an FTP server, please first check to see if the built-in FTP server will work for you instead. Jun 06 19:43:57 and, yes, the steps in the wiki should outline how to disable inetd. And the moment you do that, you will lose the ability to start the telnet server again. Jun 06 19:49:27 ah, mwester, i presume you mean tar ;) Jun 06 19:52:14 i run SSH Jun 06 19:55:48 Mwester, ive just got an error extracting it Jun 06 19:55:49 ar: No such file or directory Jun 06 19:55:49 gzip: Short read Jun 06 19:55:49 tar: Child returned status 1 Jun 06 19:55:49 tar: Error exit delayed from previous errors Jun 06 19:57:21 using a script... but i presume thats just it being ar not tar Jun 06 19:57:41 can anybody give me a hint of xinetd, im trying to conf enhanced-ctorrent Jun 06 19:58:04 at the moment i can not seed Jun 06 20:00:10 reedy_boy: looks like nslu2 rejects the standard user/password root/unSLUng when using telnet Jun 06 20:01:17 hmm Jun 06 20:01:39 its a while since i've done it... doesnt it ask for a password in unslung 6.8 during install Jun 06 20:01:39 ? Jun 06 20:01:50 oh, you havent got that far - duh Jun 06 20:02:22 yeah, I just updated the firmware and enabled telnet Jun 06 20:02:37 I'm trying to telnet in, but get "login incorrect" Jun 06 20:03:55 uNSLUng Jun 06 20:04:03 Did you flash with no drives attached? Jun 06 20:04:10 yes Jun 06 20:04:25 ohhh Jun 06 20:04:34 I never get it right with the capitalisation Jun 06 20:04:36 that work? Jun 06 20:04:53 I tried the uNSLUng password instead of unSLUng at it worked Jun 06 20:04:55 I'm in!!! Jun 06 20:04:58 heh Jun 06 20:05:01 my fault Jun 06 20:05:36 actually, I did a search and somebody else had the exact same password listed on their site... so I assumed it wsa good to go...lol Jun 06 20:05:49 lol Jun 06 20:05:57 Now I need to prepare the flash disk and unslung it Jun 06 20:06:01 yeahg Jun 06 20:06:02 plug it in Jun 06 20:06:06 let the slug format it Jun 06 20:06:17 You read the docs about which to unsling ot? Jun 06 20:06:31 I will use port 2, leave port 1 for flexibility Jun 06 20:06:56 yeah Jun 06 20:07:07 do I just hot plug it? does it automatically format the drive or do I have to issue commands? Jun 06 20:07:29 yeah, hot plug Jun 06 20:07:43 you will probably have to manually initate the format on the web interface Jun 06 20:09:21 ok, it is formatting. What format does it format to? Linux ext3? Jun 06 20:10:07 think so Jun 06 20:10:08 age Jun 06 20:10:09 aye Jun 06 20:10:37 once it is formatted, how do I initiate unslung process? Jun 06 20:11:24 its in the manual Jun 06 20:11:25 errm Jun 06 20:11:42 /sbin/unsling disk2 Jun 06 20:12:07 wow, it formatted the disk as Fat16/32.... Jun 06 20:13:18 I don't think that is the correct file format Jun 06 20:16:10 nope Jun 06 20:16:12 thats a bit weird Jun 06 20:17:07 I think I found some doc mentioning if I get Fat32, reboot and try again Jun 06 20:17:18 however, it is contradicting itself a little or I'm confused Jun 06 20:17:34 Yeah Jun 06 20:17:38 Was it FAT32 before? Jun 06 20:18:07 leesiulung: do you have the README file that came with the Unslung firmware image? Jun 06 20:18:13 mwester: yes Jun 06 20:18:33 Follow those instruction, do not refer to any other site that google might find! Jun 06 20:18:46 heh Jun 06 20:19:08 the README is augmented with *correct* information on the appropriate pages on the wiki, as users find problems and resolve them. Jun 06 20:19:24 if it doesnt format, put it in your pc, remove the partitions and stick it back on the nslu2 again and try reformatting Jun 06 20:19:35 Let's see if perhaps this is one of those known issues: what sort of disk drive do you have plugged in? Jun 06 20:20:23 It is a SanDisk 1GB flash drive Jun 06 20:20:37 Ah, ok then. Jun 06 20:20:38 Model: Cruzer Mini Jun 06 20:20:59 previously formatted with FAT 16 or 32 for use on Windows Jun 06 20:21:00 Have you read the wiki pages on Unslung, starting with http://www.nslu2-linux.org/wiki/Unslung/HomePage? Jun 06 20:21:13 yes, I read a lot of informatino there Jun 06 20:21:32 Good, then you've also read http://www.nslu2-linux.org/wiki/Unslung/WhichUSBPortforUnslung6 ? Jun 06 20:21:48 What port have you selected for your flash drive then? Jun 06 20:21:49 yes, I will use port 2 Jun 06 20:22:06 Ok. Also, this page: http://www.nslu2-linux.org/wiki/Unslung/KnownProblems Jun 06 20:23:41 mwester: I have now read that last page, and it does not affect me Jun 06 20:24:07 its just been a pain formatting Jun 06 20:24:36 stick it back in your pc, remove the partitions in windows, put it back on the slug and try again (i've had to do it umpteen times!) Jun 06 20:24:59 how do I remove the partition in windows? use the admin tools for storage? Jun 06 20:25:03 nope Jun 06 20:25:05 well Jun 06 20:25:06 yeah Jun 06 20:25:16 computer management --> disk management Jun 06 20:26:15 sometiems formatting as ntfs helps, but that can be tried later if needs be Jun 06 20:27:57 When plugged into the NSLU2, what did the GUI identify it as originally? (should have been FAT/NTFS according to the screen initially) Jun 06 20:28:08 And then you formatted it from the GUI, right? Jun 06 20:28:09 ok, so I tried rebooting the unit and now it says the disk is not formatted? Jun 06 20:28:40 leesiulung: if we follow the steps,exactly as stated in the README, it will work. Jun 06 20:28:54 I initially formatted the disk in the web GUI. Jun 06 20:28:55 Let's start anew. Are you telnetted into the NSLU2? Jun 06 20:29:00 I can Jun 06 20:29:05 Please do so. Jun 06 20:30:13 Configuring qemu-libc-i386 Jun 06 20:30:13 Segmentation fault Jun 06 20:30:13 postinst script returned status 139 Jun 06 20:30:13 ERROR: qemu-libc-i386.postinst returned 139 Jun 06 20:30:18 do I have to telnet in without the disk plugged in? right now it says cold not open connection to host on port 23 Jun 06 20:30:35 you should initially telent in without a disk attached Jun 06 20:30:46 ok, let me try again Jun 06 20:30:48 leesiulung: yes, that's why I mentioned that we must follow the steps int he README exactly, without deviation. Jun 06 20:31:16 I initially had telnet in without the disk, but left the disk in while working attempting to format through web gui Jun 06 20:31:51 Reedy_Boy: why are you installing qemu-libc-i386? Jun 06 20:32:25 shouldn't you install just qemu instead? Jun 06 20:32:35 someone on the teamspeak forum was after putting teamspeak on it, and it had been done with ventrilo http://www.nslu2-linux.org/wiki/HowTo/SetUpAVentriloServer Jun 06 20:32:50 http://www.nslu2-linux.org/wiki/Optware/Qemu Jun 06 20:32:58 just says qemu user and the libc Jun 06 20:33:34 qemu (a full-system PC emulator - emulates a complete i386 based PC from scratch) Jun 06 20:33:34 qemu-user (a i386 linux emulator - emulates a i386 processor running a linux kernel) Jun 06 20:33:34 qemu-libc-i386 (glibc for i386 - used with qemu-user to run i386 binaries) Jun 06 20:33:54 Ah, I see. You need it *in addition* to qemu. Jun 06 20:34:20 yeah, ive tried just doing 'ipkg install qemu' and putting qemu on before, making no difference Jun 06 20:36:01 mwester: I telnet into nslu2 now Jun 06 20:36:04 the package hasnt been changed since june 2006 - so it cant have been updated and become corrupt Jun 06 20:37:55 leesiulung: ok. Now plug the USB flash drive into port 2, and wait about 30 seconds. Then go to the web gui, and let's see what it says about the status of the disks. Jun 06 20:39:32 mwester: the disk is recognized as unused Jun 06 20:39:40 I'm sorry, I mean "Not Formatted" Jun 06 20:40:43 leesiulung: in the telnet window, type the command "mount" -- what is the output (just cut and paste) Jun 06 20:40:59 Reedy_Boy: what happens when you invoke "/opt/bin/qemu-i386" Jun 06 20:41:52 mwester: unfortunately, the nslu2 is on a separate network and the computer connected to it is also another computer, so no paste. I will retype it Jun 06 20:42:06 /dev/mtdblock4 on / type jffs2 (rw) Jun 06 20:42:30 usbdevfs on /proc/bus/usb type usbdevfs (rw) Jun 06 20:44:41 If it just says not formatted, it is mounted Jun 06 20:44:48 mwester: here is the whole thing from start to finished Jun 06 20:44:49 /dev/mtdblock4 on / type jffs2 (rw) Jun 06 20:44:49 usbdevfs on /proc/bus/usb type usbdevfs (rw) Jun 06 20:44:49 /dev/mtdblock4 on /dev.state type jffs2 (rw) Jun 06 20:44:49 ramfs on /dev type ramfs (rw) Jun 06 20:44:51 /dev/mtdblock4 on /var.state type jffs2 (rw) Jun 06 20:44:53 ramfs on /var type ramfs (rw) Jun 06 20:44:55 non on /tmp type ramfs (rw) Jun 06 20:45:41 Ok. What is the output from fdisk -l /dev/sda Jun 06 20:47:21 I removed the start, end, blocks, id fields: Jun 06 20:47:26 /dev/sda1 Linux Jun 06 20:47:26 /dev/sda2 Linux Jun 06 20:47:26 /dev/sda3 Linux swap Jun 06 20:48:49 Ok. it is at least partially formatted. You'll have to unplug it, then put it on your PC and repartition/reformat it to either NTFS or FAT, make sure that the partition is the size of the flash device. Jun 06 20:48:58 HOw big is the flash disk? Jun 06 20:49:21 mwester, it seems to run.. Jun 06 20:49:23 flash disk is 1GB Jun 06 20:49:35 can I hot unplug it? Jun 06 20:49:48 Reedy_Boy: I installed qemu, qemu-user, and qemu-libc -- all works ok here. Jun 06 20:49:52 leesiulung: yes Jun 06 20:49:57 Remain telnetted in. Jun 06 20:50:04 no segmentation fault? Jun 06 20:50:21 no seg fault Jun 06 20:50:30 using a memory stick or a hdd? Jun 06 20:51:02 hard drive, but it shouldnt' make a difference. Unslung doesn't know Jun 06 20:51:12 yeah Jun 06 20:51:17 mwester: what do I do after, I format the flash disk? Jun 06 20:51:27 im using a 512 memory stick, it cant be to do with lack of free space? i dont have ought on it... Jun 06 20:52:07 did you do it in that order - qemu, qemu-user then qemu-libc? Jun 06 20:52:18 In that order Jun 06 20:52:31 I have no idea how large the package is, actually. Jun 06 20:52:44 only a few mb in total i think Jun 06 20:52:54 Also, it's my dev slug -- i have many other packages installed. It might be a missing dependency. Jun 06 20:53:01 Something i have installed, but you don't. Jun 06 20:53:11 qemu-libc-i386_2.3.3..> 17-Jun-2006 04:48 1.1M Jun 06 20:53:11 qemu-user_0.7.1-2_ar..> 17-Jun-2006 04:21 161K Jun 06 20:53:11 qemu_0.7.1-2_armeb.ipk 17-Jun-2006 04:21 569K Jun 06 20:53:16 yeah Jun 06 20:53:23 i was wondering if it was something like that Jun 06 20:53:29 And the dependancy hasnt been put into it Jun 06 20:53:35 Frankly,the entire packaging for qemu looks sloppy; it does not have the full dependencies on *itself*, which makes me wonder about any other dependencies. Jun 06 20:53:42 hmm Jun 06 20:53:44 you got the update busybox or something? Jun 06 20:54:20 hi. little Apex question: i have no experience about messing with Apex, and no serial console. still, i want to try to mount root over nfs, which i have already done on an i386 debian. i have to modify the kernel command line and am about to try this method: http://www.nslu2-linux.org/wiki/Debian/ChangeKernelCommandLine. I already have a tested backup of my internal flash around. The question is: if i make my slug unbootable from a wrong Jun 06 20:54:21 wonder why you can do ipkg install qemu-user_0.7.1-2_armeb.ipk Jun 06 20:54:22 I have the full development load -- compiler, linker, etc, psproc, core-utils, and the list goes on... Jun 06 20:54:30 aahh... Jun 06 20:54:35 you have to put the link in in full Jun 06 20:54:38 s/can/can't/ do you mean? Jun 06 20:54:58 yeah Jun 06 20:55:01 :) Jun 06 20:55:03 duh Jun 06 20:55:23 It's probably a broken build, it's not in the package index for the feeds, or if it is, it's improperly specified in the ipkg info. Jun 06 20:55:41 * mwester is *NOT* impressed with the qemu stuff. Jun 06 20:56:03 is that generally? or the version thats been sorted for unslung Jun 06 20:56:30 optware Jun 06 20:56:41 hmm Jun 06 20:57:05 the package search engine uses the ipkg metadata; that's a great place to look to discover what's in the feeds and what depends upon what. Jun 06 20:57:45 hmm, must be dependancy related, its done it again Jun 06 20:58:46 texture: Are you flashing a new bootloader, or just flashing a new image to the NSLU2? Jun 06 20:59:03 I'll put a note on the wiki and the mailing list message Jun 06 21:00:42 mwester: i'm going to overwrite /dev/mtdblock2, then use apex-env to change the kernel command line. Jun 06 21:01:25 what's in mtdblock2 (my memory is failing me)? Jun 06 21:02:49 well i don't know, but the urm mentionned above seems to suggest it contains apex parameters. so i *suppose* i'm safe as long as i can flash my internal flash backup if i make the slug unbootable Jun 06 21:03:02 s/urm/url/ Jun 06 21:03:02 texture meant: well i don't know, but the url mentionned above seems to suggest it contains apex parameters. so i *suppose* i'm safe as long as i can flash my internal flash backup if i make the slug unbootable Jun 06 21:03:50 mwester: I formatted the disk in windows with FAT, it now takes up 1GB Jun 06 21:03:52 leesiulung, just follow http://www.nslu2-linux.org/wiki/HowTo/UseAMemoryStickAsMainDrive myself assuming, that those instructions should work Jun 06 21:04:06 texture: It's your NSLU2, of course, but if you don't know the flash layout and such, and don't have a serial console, I'm concerned that you won't have success. Jun 06 21:04:43 In a nutshell, if you flash the wrong part of the NSLU2's flash, you will overwrite redboot -- if you do that, you will have a brick that can only be recovered by JTAG. Jun 06 21:05:11 leesiulung, forget my post Jun 06 21:05:19 See the wiki warnings: "Friends don't let friends flash bootloaders without confirmed JTAG access" Jun 06 21:05:23 i suppose it's the voice of reason speaking. i'm gonna read some more about the internal flash layout before making ani decision. Jun 06 21:06:01 yupp i know that one. thanks for the warning Jun 06 21:06:06 leesiulung: ok, let's plug it into the NSLU2, give it 30 seconds, and let's refresh the web gui to see what status it has Jun 06 21:06:53 status is now "Formatted (Fat16/32)" Jun 06 21:07:03 :) Jun 06 21:07:48 Now we are ready to proceed. Using the web gui (while remaining telneted in), go ahead and format that device. Jun 06 21:08:52 mwester: http://svn.nslu2-linux.org/svnroot/optware/trunk/Makefile Jun 06 21:08:57 qemacs qemu qemu-libc-i386 quagga quickie quilt \ Jun 06 21:09:04 Is that why qemu-user isnt showing up? Jun 06 21:09:35 Could be. Wonder if it got moved out because it failed to build? Jun 06 21:09:46 but that isnt the problem package Jun 06 21:09:56 Yes, I think it is. Jun 06 21:09:57 it was the qemu-libc-i386 Jun 06 21:10:12 Its the 386 one that shows the error Jun 06 21:10:20 but your saying, its not necesserily its fault? Jun 06 21:10:32 The problem is almost certainly the post-install script that runs AFTER the library is installed, that script executes qemu-user as the first command. Jun 06 21:11:12 hmm Jun 06 21:11:14 mwester: the web ui I think completed the format as there is no message indicating completion. However, disk status is now "Formatted (Fat16/32)" Jun 06 21:11:32 leesiulung: until you get a format complete message, it's not done. Jun 06 21:11:36 qemu user doesnt have a listed makefile Jun 06 21:11:45 leesiulung, it may have failed, try it again Jun 06 21:12:04 mwester: how does it display the complete message? Jun 06 21:12:18 It will auto-refresh, and update the status on the web page. Jun 06 21:13:36 mwester: I'm reformatting it again. however, I notice sometimes IE displays a exclamation mark with message saying "error on page". This is usually related to javascript Jun 06 21:13:52 Do you have javascript or such disabled? Jun 06 21:14:21 no Jun 06 21:14:36 it agains give me the Formatted (Fat16/32) Jun 06 21:14:45 Ok, let's check under the hood. Jun 06 21:14:51 what is the output of "mount" Jun 06 21:15:07 Mine did this before when it was being a pain Jun 06 21:15:18 i had admin email thingys turned on, and i got emails saying it had failed Jun 06 21:15:54 mwester: it has the exact same output as before. I compared them Jun 06 21:16:16 Ok. You jumped ahead when you tried to do the format a second time. Jun 06 21:16:57 But before we start over by repartioning on the PC again, let's learn a bit more if possible. Jun 06 21:17:12 what is the output from this command: dmesg | grep Vendor Jun 06 21:17:49 Vendor: SanDisk Model: Cruzer Mini Rev: 0.2 Jun 06 21:17:53 it displays that twice Jun 06 21:18:23 that sounds a bit strange displaying twice Jun 06 21:19:33 can anyone help me. I went though the guides and unslung to a usb disk on port 2 . Now the web gui says "uNSLUng status: Unslung to disk2, /dev/sda1" @ the bottom. But after I enable telnet, it wont let my telnet client connect it just sits there Jun 06 21:21:42 any idea on what to do next? try again, reformat on PC and try another format in Web GUI? Jun 06 21:22:08 leesiulung: Ok. what is output from "dmesg | grep hdwr" Jun 06 21:22:47 hallert, could you define "just sits there" a little bit closer? Jun 06 21:22:52 well this is the second time. the first I went though the whole thing then the last step (the last reboot) after that it didn't recognize the usb disk. Started all over and it turned out to be the usb disk Jun 06 21:22:56 SCSI device sda: 2001888 512-byte hdwr sectors (1025 MB) Jun 06 21:23:05 that is displayed 6 times Jun 06 21:23:50 well the telnet client dosn't say connection denied or terminated as if the service wasnt running. It just gives me a black screen which normally contines to the user name, but it just remains black Jun 06 21:25:36 leesiulung: what is the ouput from: fdisk -l /dev/sda Jun 06 21:25:58 same as before Jun 06 21:26:38 unplug the usb device, wait 30 seconds, then plug it back in please... Jun 06 21:27:38 hallert, could you try another telnet client (putty i.e. if you use win) Jun 06 21:27:46 an unsling just copies from the int flash to usb disk then relinks the boot scripts right. So when I tried the second time it did actually copy everything it needed right. Meaning the first try didn't delete it off the int flash no? Jun 06 21:27:52 I'm using putty Jun 06 21:28:06 :( Jun 06 21:28:17 it does the same for win & putty Jun 06 21:28:43 it never deletes anything from the flash Jun 06 21:29:05 so I don't get what the problem is, u think rebooting will help? Jun 06 21:29:33 probably, yes, it could help ;) Jun 06 21:29:59 ok im trying that now. hopefully it works Jun 06 21:30:26 ok, disk status is "Formatted FAT16/32" again Jun 06 21:30:56 what is the output from "mount" Jun 06 21:31:06 why is it so pickey with usb disks. The first one was a lot higher quality and faster disk. The one in there now was a $10 chepo from newegg Jun 06 21:31:45 what size? Jun 06 21:31:57 1 GB Jun 06 21:32:03 mwester: same output as before Jun 06 21:32:41 hallert: Don't know for certain. But the linksys firmware (upon which Unslung is based) is old, and uses a very old kernel. It doesn't have support for some of the newer chipsets in the external USB->IDE converters. Jun 06 21:33:01 Linux version 2.4.22-xfs (unslung@unslung.org) (gcc version 3.4.4) #1 Mon Apr 10 18:17:11 PDT 2006 Jun 06 21:33:13 leesiulung: Ok. type: "mount /dev/sda1 /mnt" Jun 06 21:33:18 What's the output? Jun 06 21:33:38 latest 2.4 = 2.4.34.5, then theres the newer still 2.6... Jun 06 21:33:58 mount: Mounting /dev/sda1 on /mnt failed: Invalid argument Jun 06 21:34:27 I made sure to type in exactly as you spelled it out Jun 06 21:35:10 well it would recognize it after i telneted in the inserted the disk, but not after leaving it in and rebooting Jun 06 21:36:04 I rebooted it and it is still doing the same thing Jun 06 21:36:28 how would I got about re flashing. just start by uploading the unslung firmware again Jun 06 21:36:46 yup, putting it into upgrade mode first Jun 06 21:36:56 leesiulung: try "mkfs.ext3 /dev/sda1" Jun 06 21:37:01 ~sercomm Jun 06 21:37:02 hmm... sercomm is there are more informations and some links to get the tool at http://www.nslu2-linux.org/wiki/Main/SercommFirmwareUpdater Jun 06 21:37:17 thats the tool you need Jun 06 21:37:39 I do that by holding the power but in from a cold start and when its orange let go right Jun 06 21:37:45 then using the win util Jun 06 21:37:46 mwester: it completed Jun 06 21:37:46 reset button Jun 06 21:37:49 not power button Jun 06 21:38:05 Ok. now try "mount /dev/sda1 /mnt" Jun 06 21:38:20 while it powered off or on Jun 06 21:38:33 mwester: no output, success Jun 06 21:38:53 press it while its powered off, then press the power button, wait for the led to go orrange Jun 06 21:39:24 ah ok. and after that I just follow the guide yes. And I so that with the usb disk out right Jun 06 21:39:56 yup Jun 06 21:39:58 thats right Jun 06 21:39:59 :) Jun 06 21:40:12 leesiulung: ok. means that it created the partitions, but failed when trying to create the filesystems. Jun 06 21:40:18 ok, Im going to redo it all, thanks for all the help Jun 06 21:40:45 mwester: when I stuck the drive into windows it had a Fat partition and two other partitions Jun 06 21:41:03 mwester: that was before all this later work during the reformat Jun 06 21:41:56 3 partitions mean its been linux formatted Jun 06 21:42:03 mine did this, i fixed it by removing partitions and formatting as NTFS or just removing everything Jun 06 21:42:15 No, it means it's been partiioned. Jun 06 21:42:33 it didn't actually get to the formatting part. Jun 06 21:42:36 One of two things happened. Jun 06 21:42:40 sorry, thats what i meant, but linux did that - not windows Jun 06 21:42:42 Either it failed. Jun 06 21:42:51 Or, we didn't wait long enough for theprocess to complete. Jun 06 21:42:56 Here's the plan: Jun 06 21:43:13 Remove the USB disk, and use the PC to repartition and format to FAT or NTFS. Jun 06 21:43:19 Meanwhile, reboot the NSLU2. Jun 06 21:43:47 Using the web gui, set it up using the admin screens. Jun 06 21:44:06 When you do it in windows, delete the 3 partitions and format it as 1 ntfs/fat partition Jun 06 21:44:27 mwester: during format of the of the disk I cannot choose ntfs, the only option is Fat or Fat32 Jun 06 21:44:35 When setting up, make sure that you enter valid information, including setting the correct date and time. Jun 06 21:44:49 hey, I tried using the sercomm upgrade tool. and it wont launch on my comp. says somthing about 16 bit program Jun 06 21:45:29 leesiulung, then fat32 it Jun 06 21:45:43 mwester: again, just unplug while unit is on? Jun 06 21:45:57 leesiulung: doesn't matter. Jun 06 21:46:00 he said reboot it, so it doesnt matter Jun 06 21:46:22 as a proposal, don't format, only repartions the disk... Jun 06 21:46:38 I assume use the Web Gui to set the time (it is off by 30 minutes), then reboot the nslu2 Jun 06 21:46:41 hallert, which os? Jun 06 21:47:00 if you select the partitions and press delete in the xp disk management, you can remove the partition Jun 06 21:47:15 leesiulung: verify that you have correct timezone set, that the date and time are valid on the NSLU2 Jun 06 21:48:36 mwester: time and date is valid, timezone is correct. Time is off by 30 minutes Jun 06 21:48:49 Ok. Jun 06 21:49:06 mwester: should I bother to update? Jun 06 21:49:14 No Jun 06 21:50:06 mwester: FYI, i have 3 partitions, all unknown. two 125mb's and one 728mbs Jun 06 21:50:11 Yes. Jun 06 21:54:14 mwester: ok, nslu2 just booted up, flash disk is formatted but not connected Jun 06 21:54:44 Ok. telnet in Jun 06 21:55:03 What version of Unslung is installed on that NSLU2? Jun 06 21:57:21 mwester: it is version 6.8 Beta and I'm telnet in Jun 06 21:58:28 ok. then let's plug the flash disk into the NSLU2. Jun 06 21:58:52 mwester: done Jun 06 21:59:20 ok. what is the status in the web gui? Jun 06 22:00:33 web gui, you mean the disk. it is formatted fat16/32 Jun 06 22:01:05 Good. click the button to start the Format Disk 2 operation. Jun 06 22:01:31 done, now waiting Jun 06 22:03:33 it now says "Formatted (Fat 16/32)" Jun 06 22:03:42 no complete message... Jun 06 22:04:16 We'll wait for a while... Jun 06 22:05:18 any disk light activity Jun 06 22:06:01 no disk light activity, on the nslu2 or on the flash disk Jun 06 22:06:23 something that might be worth trying if this goes nowhere, is set an admin email for notification Jun 06 22:06:29 see if you get told the format failed Jun 06 22:07:52 at what point should I check on it again? Jun 06 22:07:57 the flash disk that is. Jun 06 22:09:09 just a few minutes should do it really Jun 06 22:09:30 Yeah. It's probably not working. What is the output of "mount"? Jun 06 22:10:44 nothing different from before.... Jun 06 22:12:07 and from fdisk -l /dev/sda ? Jun 06 22:13:14 same output Jun 06 22:13:31 has the stick been used before? Jun 06 22:14:27 reedy_boy: the stick was in use prior to this. In fact, I copied the firmware of this disk to flash the nslu2 with unslung Jun 06 22:14:37 mwester: should we try and re-format in nslu2, but not create the partition and format to fat32? in PC? Jun 06 22:14:59 mwester: just remove the partitions completey Jun 06 22:15:05 what did you do to refromat the other times? Jun 06 22:15:05 Ok. One more thing to try: dmesg | grep Type Jun 06 22:15:26 as when ive fixed it, i've either just deleted them all and created 1 large fat32 image, or just deleted all partitions Jun 06 22:17:15 mwester: "Type: Direct-Access ANSI SCSI revision: 02" Jun 06 22:18:01 ready_boy: I used windows to delete partition and re-create one 1GB partition with FAT32 last, size of flash drive is 1GB Jun 06 22:19:06 leesiulung: go here: http://www.google.com/url?sa=t&ct=res&cd=5&url=http%3A%2F%2Fwww.pcworld.com%2Fdownloads%2Ffile%2Ffid%2C64963-order%2C1-page%2C1-c%2Callperipheralsdownloads%2Fdescription.html&ei=PjBnRrn5Gpr0iAGqx4TUAg&usg=AFQjCNGF9w-GRffuGNwXjh9WsbnJeeV5AA&sig2=p8gmrZTOIwQ7fVej3cov6g Jun 06 22:19:55 Download this, and use that program to format the memory stick. Then let's reboot the NSLU2, telet in again, and try the web gui to format it once again. Jun 06 22:20:49 This utility will change the memory sticks "geometry", I've found -- it has been known in the past to make USB sticks that cannot be formatted by the NSLU2 actually work... Jun 06 22:21:13 That's the tool I use to re-initialize all my flash devices between tests. Jun 06 22:23:03 mwester, anything that can be done about the qemu-user package? Jun 06 22:24:38 Nothing I can do. Patience, or set up a cross-dev environment and assist. Jun 06 22:24:44 Reedy_Boy: i'm working on that Jun 06 22:25:14 eno, Thanks :) Jun 06 22:25:41 eno: thanks. I think the original author of that package hasn't been about for a long while. Jun 06 22:30:18 mwester: right, jp30 was the person that started optware with rwhitby Jun 06 22:33:17 Wow - that's a long time ago :) Jun 06 22:35:26 eno, any chance of you updating all the qemu packages at some point? :) Jun 06 22:35:51 as the feeds are 0.7.1 and the release are 0.9.0 Jun 06 22:37:49 Reedy_Boy: i understand, but let's take one step at a time Jun 06 22:38:07 yeah, of course Jun 06 22:38:30 its no big deal if you dont have the time or anything Jun 06 22:38:38 especially because i'm not that familiar with the qemu package, and it has quite some dependencies Jun 06 22:38:49 ah Jun 06 22:39:15 mwester: I reformatted the drive using that HP utility in NTFS. Oddly then nslu2 thinks it is Fat16/32 again... Jun 06 22:39:23 lol Jun 06 22:39:23 It should. Jun 06 22:39:27 mwester: I have not tried reformatting it yet Jun 06 22:39:42 Let's just try it, and see what it says... Jun 06 22:39:45 mwester: but I formatted the disk as NTFS... that is not FAT 16 or 32...??? Jun 06 22:39:49 mwester: ok Jun 06 22:39:53 Doesn't matter, really. Jun 06 22:40:04 eno, whatever you can do is good :) Jun 06 22:41:23 Reedy_Boy: do you have sdl installed? Jun 06 22:43:43 mwester: it is still saying the same thing, formatted fat16/32.... Jun 06 22:44:05 eno, something mounted to sd1 - my flash drive is Jun 06 22:44:13 sda Jun 06 22:45:48 no, SDL in lowercase is the package name Jun 06 22:46:01 oh, 1 and l look very similar Jun 06 22:46:05 or the same Jun 06 22:46:21 not that i know of, i dont Jun 06 22:47:49 actually, yes it is Jun 06 22:47:55 sdl 1.2.11-2 Jun 06 22:48:39 dont have sdl-dev installed tho eno Jun 06 22:49:00 leesiulung: still not formatted? Jun 06 22:49:06 Well guys thanks for all your help. I launced up my gentoo box installed upslug2. Reflashed and went though the install again. And this time success! Can't wait to try out all the stuff thats possible. Thanks Again Jun 06 22:49:28 mwester: nope, same problem "Formatted (FAT16/32)" Jun 06 22:49:29 :) Jun 06 22:49:34 Reedy_Boy: that should be fine, i saw qemu actually depends on sdl Jun 06 22:49:43 ah Jun 06 22:50:09 the feed now contains qemu, qemu-user and qemu-libc Jun 06 22:50:55 leesiulung: I must attend to some other things for a while; do you have another memory stick you can try instead? I think that for some reason, the NSLU2 does not like yours... :( Jun 06 22:51:16 mwester: I can give another stick a try... Jun 06 22:51:32 mwester: thank you for your help so far. Really appreciate it. Jun 06 22:51:33 sounds like a plan Jun 06 22:51:47 eno, yup :) Jun 06 22:52:02 Reedy_Boy: Looks like I will be bugging you for a while.... :) Jun 06 22:52:07 hehe Jun 06 22:52:13 if im about, ive got no problem :) Jun 06 22:52:25 eno, i presume its still got its dependency problems? or do you want me to try? Jun 06 22:53:45 Reedy_Boy: sdl is the only missing dependency Jun 06 22:53:56 hmm Jun 06 22:54:17 i just tryied installing "ipkg install qemu-user qemu-libc-i386", and it completes successfully Jun 06 22:54:26 right Jun 06 22:54:30 i'll try it here Jun 06 22:54:49 my slug shows it as installed, but should it be findable via "which sdl" Jun 06 22:54:57 sdl that is Jun 06 22:55:12 ipkg list_installed | grep sdl Jun 06 22:55:24 or, you can just "ipkg install sdl" to make sure Jun 06 22:55:36 -bash-3.2# ipkg list_installed | grep sdl Jun 06 22:55:36 sdl - 1.2.11-2 - Simple direct media library. Jun 06 22:56:03 yup, do "ipkg update; ipkg install qemu-user qemu-libc-i386" Jun 06 22:56:27 Reedy_Boy: can you help update http://www.nslu2-linux.org/wiki/Optware/Qemu ? Jun 06 22:56:55 yeah, sure, i have already started to do so :) Jun 06 22:57:03 ahhh, crud... windows problems. have to reboot. brb Jun 06 22:58:19 edo, same thing Jun 06 22:58:19 -bash-3.2# ipkg install qemu-user qemu-libc-i386 Jun 06 22:58:20 Package qemu-user (0.7.1-3) installed in root is up to date. Jun 06 22:58:20 Installing qemu-libc-i386 (2.3.3-3) to root... Jun 06 22:58:20 Downloading http://ipkg.nslu2-linux.org/feeds/unslung/cross/qemu-libc-i386_2.3.3-3_armeb.ipk Jun 06 22:58:20 Configuring qemu-libc-i386 Jun 06 22:58:22 Segmentation fault Jun 06 22:58:24 postinst script returned status 139 Jun 06 22:58:26 ERROR: qemu-libc-i386.postinst returned 139 Jun 06 22:59:35 Im wondering if its my nslu2 that has something wrong with it Jun 06 22:59:36 ok, let me look at postinst script of qemu-libc-i386 Jun 06 22:59:46 :) Jun 06 23:03:14 Do you think it may be worth trying reinstalling my unslung slug? Jun 06 23:13:17 eno, thanks for your help, but im gonna have to go Jun 06 23:13:28 its after midnight here, so i'd best get some sleep Jun 06 23:14:01 Thanks again, i'll talk to you in the morning Jun 06 23:37:39 any1 know what the root drive (my flash disk) "Disk Status" should be discovered as? I always get "Formatted (Fat 16/32)" but expect something else. The flash disk is being readied for being unslinging. Jun 07 00:15:54 mwester: i need your help with the wall command Jun 07 00:20:07 anyone here familiar with the wall command, and know how to get it on unslung? Jun 07 00:23:34 scant: i would setup optware cross build env, find the source tarball, and create a new package Jun 07 00:24:01 eno: i can't find the source tarball for wall Jun 07 00:24:27 on debian or utunbu: # dpkg -S /usr/bin/wall Jun 07 00:24:27 bsdutils: /usr/bin/wall Jun 07 00:26:08 trying Jun 07 00:27:33 http://ftp.debian.org/debian/pool/main/u/util-linux/util-linux_2.12r.orig.tar.gz contains wall.c Jun 07 00:27:51 you can also try native compilation since it's just a small C file Jun 07 00:28:01 eno: i'm going to try native Jun 07 00:28:23 eno: can you help me with my cross build dev env? i don't think the right dependencies are installed Jun 07 00:37:10 I'm new to linux. On a PC if you want to turn off your machine you would issue the shutdown command. Do you have to do this on the nslu2 with unslung too? Jun 07 00:37:29 leesiulung: yes Jun 07 00:37:59 leesiulung: you can do it through the web interface or by using the DO_Shutdown or DO_Reboot commands Jun 07 00:38:11 leesiulung: you can also push the power button Jun 07 00:38:24 scant: what happens if I do not shutdown, and just unplug the power? Jun 07 00:39:17 scant: other than the obvious, it is off. To clarify, does it cause corrupts files etc.... kind'a like windows. Jun 07 00:40:07 leesiulung: if using unslung, all methods to reboot/shutdown are considered to be 'unclean' meaning they don't properly unmound the disks(i think that's it) Jun 07 00:40:29 leesiulung: efs2 is a resiliant filesystem also Jun 07 00:41:31 scant: how is that significant if it does not umount the disk? Jun 07 00:42:25 leesiulung: unmounting the disk is required for a clean reboot/shutdown, it tells the os to not use the disk anymore and writes all data to disk, if it's not done, the fs could be corrupted Jun 07 00:43:20 eno: nativeling compiling util-linux isn't working Jun 07 00:43:27 scant: however, there is NO clean way to shutdown and unmount the disk on the slug using unslung Jun 07 00:43:48 scant: is that what you are saying? Jun 07 00:44:05 leesiulung: no there isn't not the disk that contains the root filesystem (your unslung disk) Jun 07 00:44:59 scant: I'm still confused. Can you elaborate? Jun 07 00:45:40 leesiulung: i don't understand it fully Jun 07 00:47:20 scant: in that case, do you know why the slug is missing about 250mb of space on my flash disk? Jun 07 00:48:10 leesiulung: when the user says to the unslug to shutdown or reboot, the partition that contains the root filesystem, in other words the unslung drive, won't be unmounted, which is technically not good, however, i wouldn't reccomend the way you turn off your slug is to pull the power Jun 07 00:48:36 did you unsling the flash disk? Jun 07 00:49:44 scant: I don't normally unplug it, but wanted to know if there were any differences. I already unsling the flash disk and it shows about 700mb free on a 1GB disk. Jun 07 00:50:51 when you unsling a flash disk 3 partitions are made, i think thats why Jun 07 00:51:11 yeah, but what is the other 2 partitions used for? Jun 07 00:51:25 leesiulung: one is for data, i'm not sure what the other one is for Jun 07 00:51:31 opps Jun 07 00:51:41 i mean, one is for swap, i'm not sure what the other one is for Jun 07 00:51:50 I see Jun 07 00:52:28 In order to start over with a new flash disk and a completely clean install of unslung, what do I have to do? Jun 07 00:53:04 do you have hard drives on the usb ports? Jun 07 00:53:20 no, I intend only to use a flash disk on the slug Jun 07 00:55:17 leesiulung: formatting the flash drive, turn on telnet, telnet in, run unsling drive X ( X = 1 | 2 ), install your programs, set up your programs like they were before, restore other user data Jun 07 00:55:43 leesiulung: i left out a few reboots here and there Jun 07 00:56:40 leesiulung: are you only using 1 flash disk or more? Jun 07 00:56:54 I'm only using 1 flash disk in port 2 Jun 07 00:57:05 what's on the other port? Jun 07 00:57:15 nothing is on port 1 Jun 07 00:57:20 k Jun 07 00:57:28 that's what you would do Jun 07 00:57:35 do I need to clear the sysconf? Jun 07 00:57:49 no, you should never have to touch sysconf Jun 07 00:58:10 i know you did last night, but that's because of other stuff, and you kinda messed up Jun 07 00:58:28 so how do i ensure that all password and ip's are reset to default? Jun 07 00:58:40 I guess I can use the web ui...? Jun 07 00:59:01 if you are using a new flash disk, yes, you can use the ui Jun 07 00:59:39 the password and ip is stored on the slug right, not on the flash disk Jun 07 01:03:43 not sure Jun 07 01:05:01 ok, here is another scenario.... what if my slug just died (hardware failure or something), I'm left with a flash disk with valuable date (in my case a subversion repository). How can I migrate it (assuming no backup were done)? Jun 07 01:05:18 migrate the flash disk, that is to another slug or system Jun 07 01:11:22 i dunno, plug the drive in your new slug, or identify the required subversion files that you need, restart from scratch, restore the files you need by plugging in the old drive, running fsck, mount, copy Jun 07 01:14:37 hmmm.... Jun 07 01:16:02 sounds like no easy way, so I need to do periodic backups of my repository Jun 07 01:16:20 either way you should be making backups of your repository Jun 07 01:16:34 in theory yes, Jun 07 01:16:42 no, in practice Jun 07 01:16:50 one should make backup of everything considered important Jun 07 01:17:13 yes, I'm sorry in practice..... Jun 07 01:17:17 i'm more with most everything, but not everything Jun 07 01:17:26 still doesn't necessarily mean I will do it though.... Jun 07 01:17:42 maybe I can setup a cron job to automatically backup Jun 07 01:18:09 anyways, since you'll be doing daily backups, you can do so with rsync, there is a wiki page on getting rsync to work with unslung, stock linksys firmware include a backup, but it gets broken when you unsling Jun 07 01:18:42 great. thanks for the info Jun 07 01:20:28 i would wait to become more comfortable with unslug and linux before you do rsync and backup Jun 07 01:23:03 I will, I'm jsut trying out various tihngs Jun 07 01:23:37 btw, would you say that a book on unix is sufficient and accurate enough to use with most flavors of linux including unslug? Jun 07 01:27:15 leesiulung: remember i'm a newb also, i would say don't go with a book, maybe a small compact command reference, i'd go with google, the wiki pages, the mailing lists, the man cmd, and here Jun 07 01:27:43 i see... Jun 07 01:27:54 newb unite! Jun 07 01:28:12 what do you want to learn? Jun 07 01:28:19 do you know c++? Jun 07 01:28:56 I programmed in C/C++, but not an expert Jun 07 01:29:12 I'm considerably more experienced in Java and Lisp Jun 07 01:29:26 cool Jun 07 01:29:56 ohhh, and I'm more comfortable in C than C++... C++ gets ugly Jun 07 01:30:12 however, no experience with Linux development.... Jun 07 01:30:49 i had very little when i started using my slug Jun 07 01:32:35 I'm hoping to learn linux well, it seems a cr*p load of software for just about any server related stuff are for linux (free stuff anyways) Jun 07 01:32:48 you can setup a development env. to compile the programs that aren't in the ipkg repositories that you want to use, but there is no guarentee they will work because of dependencies and the fact that unslung is using an older linux kernel and modified by linksys Jun 07 01:36:05 I will hae to look into that, but need a better understanding of how to configure linux and how the file system is laid out... Jun 07 02:15:44 i can't get util-linux_2.12r to compile natively, the configure step dies Jun 07 02:51:27 how do one change the web UI password? Jun 07 02:51:57 just type in admin for username on the "user password" page? **** ENDING LOGGING AT Thu Jun 07 02:59:58 2007