**** BEGIN LOGGING AT Tue Jun 05 02:59:57 2007 Jun 05 08:45:16 Hi all, I have just unslung my nslu2 and am trying to set it up using the DynDNS script. Not having much luck, though, since I'm new to telnet and I can't figure out how to save the script. Can anyone help me out please? Thanks! Jun 05 08:46:05 :) Jun 05 08:46:23 hello Jun 05 08:46:27 hi Jun 05 08:48:38 any chance you could help me out here? i'm kinda stuck until i figure telnet out. sorry for my lack of knowledge here. Jun 05 08:49:22 so.. Jun 05 08:49:28 have you use linux before ? Jun 05 08:49:44 nope, sorry. i have done a very small amount in the terminal in mac os x Jun 05 08:49:55 that is about the extent of my unix / linux experience Jun 05 08:50:04 ok :) Jun 05 08:50:15 what dyndns program do you have installed ? Jun 05 08:50:29 i'm using the script on http://www.nslu2-linux.org/wiki/HowTo/DynDNSupdate Jun 05 08:50:40 or attempting to Jun 05 08:50:45 but i can't save it Jun 05 08:50:52 okay.. you started vi ? Jun 05 08:50:56 yep Jun 05 08:51:11 you got the lines inserted ? Jun 05 08:51:21 yes i believe so Jun 05 08:51:47 ok.. to save type the cryptic sequence :wq and pressenter Jun 05 08:51:52 press enter* Jun 05 08:51:56 wq? Jun 05 08:52:03 :wq Jun 05 08:52:10 : means command, w means write and q means quit Jun 05 08:52:15 awesome Jun 05 08:52:20 do i need to hold ctrl or something? Jun 05 08:52:23 no Jun 05 08:52:42 that's about 50% of my knowledge of vi :) Jun 05 08:52:55 the other 50% is :q! which quits without saving Jun 05 08:53:06 hmm, ok Jun 05 08:53:11 so.. Jun 05 08:53:13 i don't know if the copy and paste is working actually Jun 05 08:53:15 you got out of the editor ? Jun 05 08:53:40 no i typed wq but it didn't quite Jun 05 08:53:43 quit Jun 05 08:53:45 as far as i can tell Jun 05 08:53:52 maybe i was trying to paste too much text at once Jun 05 08:53:53 : also ? Jun 05 08:54:02 :wq Jun 05 08:55:14 yank! Jun 05 08:55:25 well i'm using hyperterminal now, it seems to paste better there than in a dos window Jun 05 08:55:29 but is taking a while Jun 05 08:55:31 barnseenio, probably not if he is using windows telnet Jun 05 08:55:40 ah Jun 05 08:56:21 still not working Jun 05 08:56:32 well there is another way to do it also Jun 05 08:56:37 instead of vi.. we use cat :) Jun 05 08:56:39 is there any way to just save the file on the computer and copy it to the appropriate folder? Jun 05 08:56:44 hmm, ok Jun 05 08:57:00 well, if you have a memory stick, you can transfer it with that Jun 05 08:57:07 but.. Jun 05 08:57:11 nope, just usb hard disks Jun 05 08:57:24 ext3 formatted, but i can read them in windows if necessary Jun 05 08:57:24 well they'd do the trick too.. but anyway Jun 05 08:57:46 I guess it's best to restart the telnet session to be sure Jun 05 08:57:52 I don't know what state your vi is in now :) Jun 05 08:58:00 ok! Jun 05 08:58:10 done Jun 05 08:58:39 instead of "vi /opt/bin/dnsupd" instead type "cat > /opt/bin/dnsupd" Jun 05 08:58:42 without quotes Jun 05 08:59:02 then copy-paste the new contents of the file Jun 05 08:59:18 ok, will try this in just a sec Jun 05 08:59:39 and when you have finished copypasting, hit Ctrl-d Jun 05 08:59:46 ah, ok Jun 05 09:01:37 awesome, that worked! Jun 05 09:01:41 thanks very much Jun 05 09:01:46 a lot quicker than vi too Jun 05 09:01:59 nice :) Jun 05 09:02:03 have you used this dyndns script? Jun 05 09:02:19 no, I have some other dyndns script Jun 05 09:02:23 i am a bit unclear about some of the variables at the top, and what exactly i need to change if i'm using wget-ssl Jun 05 09:02:27 oh ok Jun 05 09:02:37 is your script better? Jun 05 09:02:47 I don't know.. :) it works.. Jun 05 09:02:53 ha ha, ok Jun 05 09:03:21 wget-ssl ? Jun 05 09:03:47 you want to use SSL to make sure nobody sees your username and password ? Jun 05 09:04:16 that's what the web site said on the script description Jun 05 09:04:18 towards the bottom Jun 05 09:04:25 although the script uses simply wget Jun 05 09:04:34 but has placemarkers and comments for changing certain things Jun 05 09:04:54 dont have any dyndns support on your router? Jun 05 09:05:13 nope Jun 05 09:05:15 i have a 2wire Jun 05 09:05:22 ah right Jun 05 09:05:44 newnslu2, ok.. if you want to use ssl encryption, install openssl and wget-ssl packages Jun 05 09:05:46 would be much simpler if i did, though! ah well. Jun 05 09:05:51 yes i did that Jun 05 09:06:01 i think it installed openssl automatically when i installed wget-ssl Jun 05 09:06:07 then you change http to https Jun 05 09:06:11 ok :) Jun 05 09:06:18 yes at the top i changed it to https Jun 05 09:06:27 and changed the ssl option Jun 05 09:06:28 ok you're fin ethen Jun 05 09:06:53 um, i changed the WGET path to /opt/bin/wget-ssl Jun 05 09:06:56 was that a mistake? Jun 05 09:07:53 if you have such a binary, then no :) Jun 05 09:08:08 ls -l /opt/bin/wget-ssl Jun 05 09:08:16 heh Jun 05 09:08:30 ok i'm an idiot. i see no wget-ssl in that folder Jun 05 09:12:56 either of you use 'edna' for streaming music from slug? Jun 05 09:13:20 nope, i've just set mine up so i'm afraid it's not doing anything except sharing disks at the moment Jun 05 09:13:29 i am going to use it to stream to a netgear eva8000 though Jun 05 09:13:39 that a hd video player? Jun 05 09:14:08 yeah Jun 05 09:14:12 i only have an sd tv Jun 05 09:14:16 cool Jun 05 09:14:18 ah Jun 05 09:14:20 but will be nice if i upgrade someday Jun 05 09:14:34 yeah, i have the nslu2/xbmc setup Jun 05 09:14:42 oh awesome Jun 05 09:14:45 i thought about doing that Jun 05 09:14:48 you'll have to tell us how the netgear is when its all setup Jun 05 09:15:12 but seemed complicated to get the xbox set up, not sure where i'd find the game, etc. Jun 05 09:15:14 xbmc is fantastic, if you dont mind not having hd Jun 05 09:15:27 that's what i've heard, it sounds great Jun 05 09:15:37 yeah its a bit of a fiddle, my friend and i got all the bits together, and have done a whole heap of them for people since Jun 05 09:15:45 nice Jun 05 09:15:54 the usb/savedata bit was the most awkward Jun 05 09:15:54 did you de-underclock your nslu2? Jun 05 09:16:02 mine is brand new but it's set to 133 Jun 05 09:16:04 it was already done when i bought it Jun 05 09:16:08 oh nice Jun 05 09:16:10 oh odd, mine was done Jun 05 09:16:25 mine was also.. what production date did yours have ? Jun 05 09:16:32 i guess i'll leave as is unless i have a problem with it Jun 05 09:16:37 dunno, where does it have the date? Jun 05 09:16:42 i didn't see any stickers on it with the date Jun 05 09:16:50 but it had the latest firmware pre-installed Jun 05 09:17:02 and the manuals / box referred to ntfs native support Jun 05 09:17:11 so i assume it's the newest revision Jun 05 09:17:14 wierd Jun 05 09:17:16 I think mine was from february this year Jun 05 09:17:21 hmm Jun 05 09:17:27 it was 266 that is Jun 05 09:17:52 i am having terrible luck with vi. trying to edit crontab but it won't let me save. grrrr. Jun 05 09:18:19 ok, i'm an idiot, again Jun 05 09:18:21 I have never tried to learn it.. I use emacs :) Jun 05 09:18:25 you just have to put in a colon Jun 05 09:18:26 : Jun 05 09:18:28 before the w Jun 05 09:18:29 or the q Jun 05 09:18:34 I tried to say twice :) Jun 05 09:18:57 is there a way to manually run the script to test it? Jun 05 09:19:35 to save Jun 05 09:19:40 type shift zz Jun 05 09:19:46 that saves and closes Jun 05 09:19:51 nice, thanks for the tip Jun 05 09:19:57 i managed to get wq to work after i hit : Jun 05 09:20:20 how do i run the script now though? want to make sure it works so i can leave this up and running and catch a few hours of z's before work tomorrow Jun 05 09:20:30 ./scriptname Jun 05 09:20:36 nice, thanks Jun 05 09:20:48 make sure it has chmod +x Jun 05 09:20:50 do i have to be in the directory? Jun 05 09:21:02 ./path/to/scriptname Jun 05 09:21:35 depends whats in your shell PATH var, as to whether you need to prefix with the dir Jun 05 09:21:53 hmm, well i ran the script and it beeped Jun 05 09:21:56 is that a good sign? Jun 05 09:21:57 lol Jun 05 09:22:34 beep? Jun 05 09:22:40 i think i'm in business, my dyndns account says i just updated Jun 05 09:22:44 so it must be working Jun 05 09:23:04 thank you both so much for your help Jun 05 09:23:04 aah lovely Jun 05 09:23:08 now i have to get to sleep Jun 05 09:23:12 nn Jun 05 09:23:18 'night Jun 05 09:50:42 :) Jun 05 20:31:53 caplink811 :) Jun 05 20:41:40 http://tech.groups.yahoo.com/group/nslu2-general/message/6417 Jun 05 20:41:48 Anyone got any ideas on why qemu wont install? Jun 05 20:43:34 Are you sure the package is ok? Jun 05 20:43:50 It's pretty unusuaul I'd have thought to get a seg-fault on a package install :-; Jun 05 20:53:33 I dont know if the package is ok Jun 05 20:53:49 Other people have supposedly used it (maybe not that version) and got stuff working via it Jun 05 21:36:17 Do java apps run okay on a slug? Jun 05 21:36:37 * mwester chokes on his coffee... Jun 05 21:37:34 I guess that means no. :-) Jun 05 21:37:39 kapookee: I can't imagine that any serious application written in Java would run well. Jun 05 21:38:00 (By "serious" I mean to say "large" or "complex" Jun 05 21:38:02 ) Jun 05 21:38:14 Java requires much memory, usually. Jun 05 21:38:33 Was thinking of something like a small bot actually. Jun 05 21:38:45 Apps written to target small devices might run Jun 05 21:39:21 okay - thanks. Jun 05 21:39:23 A bot controlled by java? Jun 05 21:39:31 jbot? Jun 05 21:39:51 Ah - not a mechanical bot... Jun 05 21:40:26 Sorry, I was thinking of mechanical devices, and their need for low latency, etc. Jun 05 21:40:41 An IRC bot might work. Depends on memory footprint I guess. Jun 05 21:41:30 It would probably be worth a try, at least to find out how much memory is practically available with the JVM on the slug Jun 05 21:43:03 I'm experimenting. Problem is I don't know how bit is too big. I guess I will know when it happens. Jun 05 21:43:03 * mwester works for a company who's application *starts* with a java heap size of 1GByte of memory... Jun 05 21:43:32 I'd be curious to know. Jun 05 21:44:09 kapookee: http://www.nslu2-linux.org/wiki/HowTo/UseJavaOnTheSlug Jun 05 21:44:50 IMO, the best JVM to run on the slug is CVM from Sun (part of phoneme-advanced) Jun 05 21:46:02 mwester: That's a heap! Jun 05 21:46:07 eno: thanks. Jun 05 21:46:11 :) Jun 05 21:46:37 I need some advise on upgrading my NSLU2 firmware to unslung Jun 05 21:47:15 My brand new NSLU2 has an old firmware, v2.3R24... do I need to update it to the newest v2.3R63? Jun 05 21:49:30 no Jun 05 21:50:07 kapookee, is that a no to upgrade the firmware from v2.3R63 prior to flashing it with unslung? Jun 05 21:50:15 right Jun 05 21:51:16 So all, I have to before upgrading with unslung is to check that I can telnet into redboot? Jun 05 21:54:59 Are there any forums I can join for some help installing custom firmware on the NSLU2? I had so much trouble with the NSLU2 (this is my third device) that I'm almost scared to do anything. The NSLU2 is seemingly so fragile. Jun 05 21:59:50 nobody is able to help out a beginner? Jun 05 22:00:59 We're probably busy. :-) If you're using stock Linksys firmware, you should be able to upgrade using the web gui. Jun 05 22:01:13 Check http://www.nslu2-linux.org/wiki/HowTo/InstallUnslungFirmware Jun 05 22:01:15 i used the sercom tool Jun 05 22:01:27 seemed fine for me Jun 05 22:01:40 It's been a long time since I did so, so I'll defer to the experts here. Jun 05 22:02:27 I read that instructions on how to install Unslung from nslu2-linux.org. However, the directions aren't detailed enough for me. Jun 05 22:03:02 Can you tell me if I wanted to revert back to stock firmware, if that is possible without a lot of hassle? Jun 05 22:04:39 It's very possible (done it many times). You need to use the sercomm tool or upslug to reflash. Jun 05 22:08:02 I will have to look into the sercomm tool. I'm not sure what that is. Jun 05 22:09:20 Is there any other device that does a lot of the same thing as NSLU2 without the perils? Seems like flashing it is such a risky business. The NSLU2 is the only device I ever had fail a firmware upgrade. Jun 05 22:10:22 It's used if you want to flash your slug from Windows. Upslug is used for Linux boxes. Jun 05 22:10:57 yeah, I just found that page with sercomm. Jun 05 22:11:17 I actually have a dead nslu2 too, maybe I can try and revive it with secomm. Jun 05 22:11:40 hi Jun 05 22:11:54 hi MeijeM Jun 05 22:12:30 leesiulung: You said you had 3 devices. The other two are still working? Jun 05 22:12:49 No, I had three. 1 was replaced with the second one. The third is brand new. Jun 05 22:13:15 So I own two devices, but is on my third. Jun 05 22:13:50 The second one for no reason (barely ever used the thing) stopped responding to pings or attempts to connect to the Web UI on stock firmware. Jun 05 22:14:10 I tried reseting it and it beeps, but no luck on ping at 192.168.1.77 Jun 05 22:15:42 kapookee, do you know how I should connect the NSLU2 to my computer when using sercomm? Jun 05 22:17:53 I always had mine on a hub on my network. How do you have it connected now? Jun 05 22:18:32 I tried it all, connected directly to computer and router. Jun 05 22:18:45 Tried different cables too, crossover and regular CAT5 Jun 05 22:18:57 Are we talking about your third or second slug? :-) Jun 05 22:19:58 I want to ask you a quickly question I have not seen in the faqs. Jun 05 22:20:17 I'm talking about my second (broken) slug Jun 05 22:20:43 MeiJeM: ask Jun 05 22:20:53 thanks, can I connect a hub usb to have more than 2 hard drives? Jun 05 22:21:04 leesiulung: How did you 'reset" it? Jun 05 22:21:48 I stuck a sharp object into the reset hole for 10 seconds, when the device was already booted up. I heard a beep and power recycled the device. Jun 05 22:22:27 MeiJeM, I think the general answer is no. This might shed some light on your Q: http://www.nslu2-linux.org/wiki/FAQ/USBHubs Jun 05 22:22:45 MeiJeM: What firmware? Jun 05 22:23:15 I haven't got it yet :) Jun 05 22:23:21 I'm going to buy it Jun 05 22:23:55 but if I can connect more than two devices, I will buy more things :) Jun 05 22:23:57 MeiJeM, I recommend buying it at a store you can return it too... I had too many issues with the stock firmware that I'm wondering if I should have just sucked it up and used a normal computer instead. Jun 05 22:24:51 I think all firmwares was valid por install nslu Jun 05 22:24:51 MeiJeM: A lot of people had successes, but I have never experienced a more flaky product in my lifetime. That includes even flaky network products. Jun 05 22:25:21 MeiJeM: here's the definitive reference to disk support (incl hubs) for the native Linksys firmwares, R63 version: http://www.nslu2-linux.org/wiki/Unslung/R63DiskBehaviour Jun 05 22:25:41 leesiulung: Well, I've screwed up my devices many times but I was never unable to bring them back to life. :-) Jun 05 22:26:18 I hope you are right. Cuz I lost fait in it. Jun 05 22:26:21 leesiulung: So, after you reset it, it won't ping or anything? Jun 05 22:26:24 leesiulung: I do not know what sort of problems you have encountered, but since Unslung is based on, and uses, the Linksys firmware, it will not likely be "less flakey" then the Linksys firmware. Jun 05 22:27:35 mwester: I know. I just want it for use with subversion. Since there are so many people successfully using this thing, if I give it a little bit more time. I already spent $$$ and can't return the devices to the store anyhow. Jun 05 22:27:59 kapookee: yeah, after reset it won't ping or anything. Jun 05 22:28:32 kapookee: it will boot up just fine though and lit up green on the ethernet and ready/status. Jun 05 22:29:07 leesiulung: Hmmm, you can try reflashing it again after putting it upgrade mode. Jun 05 22:30:23 thanks guys, I need to read more information about it :) Jun 05 22:36:19 uh, I just had like a 20s lag... Jun 05 22:36:49 ? Jun 05 22:37:24 kapookee: nvm that. However, can you confirm if those instructions for use of sercomm are correct? Jun 05 22:37:44 Also, what should I try to flash the NSLU2 (broken) with, the stock firmware? Jun 05 22:39:32 Sercomm for windows and upslug for linux. Using windows? Jun 05 22:39:45 Windows XP Pro SP2 Jun 05 22:39:52 Got sercomm? Jun 05 22:39:59 yes Jun 05 22:40:14 Can you put your slug in upgrade mode? Jun 05 22:40:36 [Don't use a "sharp" object - paper clip is fine] :) Jun 05 22:41:07 To put into upgrade mode, I power up while holding in the reset button and wait for beep. Is that correct? Jun 05 22:41:50 Push in the reset button with paper clip; turn unit on; wait for top LED to turn red then release reset button. Jun 05 22:42:03 Top LED should cycle red/green after that. Jun 05 22:42:09 I see. Jun 05 22:42:24 Then fire up sercomm? Jun 05 22:42:45 Make sure to remove your disks first, if any. Jun 05 22:51:06 So, ensure no disk in drive when I boot it up into upgrade mode. Jun 05 22:51:15 yes Jun 05 22:57:22 kapookee, I will give it a try right now. Jun 05 23:21:13 kapokee: thank you for helping me!!! I will have to disconnect from the internet to try the sercomm utility, since it crashes on my other computer for some odd reason.... Jun 05 23:21:21 I will report back. Jun 05 23:23:25 * kapookee wanted to tell hime how to use sercomm. I wish him luck. :-) Jun 05 23:23:25 crashed mine too Jun 05 23:23:34 i had to close all apps b4 running it Jun 05 23:24:55 I hope that when I told him to remove the disks, that he understood from the slug only. :-) Jun 06 00:13:22 can any1 help me revive my NSLU2, it does not respond to pings or Web UI. I tried reset and upgrading firmware using seromm. Jun 06 00:17:08 which IP address were you using to ping it? Jun 06 00:17:18 I used 192.168.1.77 Jun 06 00:17:50 what is the LED like? Jun 06 00:18:05 both ethernet and ready/status is green. when booting up it makes the beep. Jun 06 00:18:47 so it's probably not dead, just not found Jun 06 00:19:12 do you remember ever set the IP address to anything? Jun 06 00:19:31 yes, at some point I did. However, I reset the drive many times already. Jun 06 00:19:41 sorry, drive = nslu2 Jun 06 00:20:19 reboot or even reflash will not change the IP address Jun 06 00:20:36 it's remembered in "sysconfig area" Jun 06 00:21:31 but wouldn't a reset do? Jun 06 00:22:19 if the IP address is dynamic, each reboot will acquire new IP address Jun 06 00:22:34 if the IP address is static, no reboot will affect it Jun 06 00:22:59 you should focus on either 1) try to find the IP address Jun 06 00:23:10 or 2) reset the sysconf area Jun 06 00:23:29 How can I reset the sysconf area Jun 06 00:23:58 http://www.nslu2-linux.org/wiki/HowTo/ResetSysConf Jun 06 00:25:07 * mwester recommends at least taking a few minutes to check your router's DHCP screen to see if the NSLU2 was granted an IP address before one goes through the trouble of resetting sysconf... Jun 06 00:25:09 you need to http://www.nslu2-linux.org/wiki/HowTo/TelnetIntoRedBoot first Jun 06 00:25:38 mwester's suggestion is a really good one Jun 06 00:26:01 I peeked there and DHCP does not give the nslu2 an ip Jun 06 00:26:10 that's also why i put "try to find the IP address" first Jun 06 00:26:56 What is the IP address of your PC? And what was the last IP address or hostname you used when you connected to the NSLU2 before flashing it? Jun 06 00:27:00 if it's also on 192.168.1.* subnet, try ping 192.168.1.255 (broadcast) Jun 06 00:29:23 the ip of the computer was 192.168.1.149 and I tried 192.168.1.255 and got a response from 192.168.1.1 Jun 06 00:29:59 what is the ip of your router? Jun 06 00:30:06 192.168.1.1 Jun 06 00:30:42 How is the NSLU2 connected to the network? Jun 06 00:31:06 nslu2 connect to router via regular network cord (cat5e) Jun 06 00:31:13 computer is connected by same method to router Jun 06 00:32:41 Ok. Disconnect NSLU2 from the network. Unplug it. Plug it back in (with nothing plugged into the USB ports). Power up. Wait for it to boot up (beep). Then connect to the router again. Jun 06 00:35:01 still no response Jun 06 00:35:46 form the nslu2 Jun 06 00:35:46 to what? Jun 06 00:35:58 What are you trying to do to get a response? Jun 06 00:36:16 ping 192.168.1.77 Jun 06 00:36:26 ping 192.168.1.255 Jun 06 00:36:57 First things first -- did it beep, and what is the status of the LEDs on the NSLU2? Jun 06 00:37:41 it did beep and both the ready/status and ethernet LEDs are lit green Jun 06 00:38:04 What is the status of the LED on the router for the port into which the NSLU2 is plugged? Jun 06 00:38:30 is kernel-module-usbhid available for unslung? it's required for APCUPSD, but i can't find it with ipkg Jun 06 00:38:36 scant: no Jun 06 00:38:53 mwester: is it possible for me to compile my own kernel-module-usbhid? Jun 06 00:39:21 It is now - I just fixed Unslung so it would build again. Check out the MasterMakefile article on the wiki. Jun 06 00:39:55 mwester: on the router, it is the activity is solid green (no activity) and it connected at 100mbps Jun 06 00:40:05 mwester: when you say, so it would build again, do you mean the MasterMakefile or usbhid for unslung? Jun 06 00:40:33 Ok. When you ping an address on the network, does the ethernet LED on the NSLU2 blink, or is it steady? Jun 06 00:42:33 mwester: is there anyone can build usbhid for me and upload it to the ipkg feeds? Jun 06 00:43:02 scant: Ah, good question -- and the right question, too! Jun 06 00:43:48 Perhaps that can be done. Let me see if it builds. What kernel modules do you need, exactly? Jun 06 00:44:19 * mwester goes to see if his Unslung build directory is still present Jun 06 00:44:24 mwester: i think only usbhid, i think that's the only one required for APCUPSD Jun 06 00:44:48 Ok. No keyboard or mouse or other stuff usually associated with HID, then? Jun 06 00:45:15 mwester: for right now, i just *need* it for APCUPSD Jun 06 00:46:33 Hmm... I see hiddev and hidcore as well. I'll turn those on too, just in case. Jun 06 00:47:08 mwester: the port with computer on is blinking, but the port with nslu2 blinks only once initially Jun 06 00:47:30 this is on the router Jun 06 00:47:44 mwester: thanks for catching those 2.... Jun 06 00:47:58 mwester: nothing happens on the nslu2 Jun 06 00:49:02 mwester: I take that back, I get a single blink when pinging 192.168.1.255 and 192.168.1.77 Jun 06 00:52:13 mwester: u still there? Jun 06 00:57:42 ok... Jun 06 00:59:52 any1 else care enough to help me resolve my nslu2 problem without having to ResetSysConf? Jun 06 01:02:32 leesiulung: what was the IP address and hostname of the NSLU2 before you flashed new firmware? Jun 06 01:03:20 I do not know what the hostname was, whatever was default I think. The ip was probably 192.168.1.4, but cannot know for sure. Jun 06 01:04:50 Hmm... a note for next time, you need to record those settings before flashing. What happens when you ping 192.168.1.4, then? Jun 06 01:05:10 nothing. no response. Jun 06 01:05:55 I used to record those in a text file on my computer, however, I removed it and well deleted the entry figuring I can reset the nslu2. Jun 06 01:09:05 Ok. What firmware did you flash, exactly? Jun 06 01:09:25 I flashed the stock firmware v2.3R63 downloaded from linksys.com Jun 06 01:10:19 mwester: were you able to build usbhid, hiddev, hidcore? Jun 06 01:11:18 scant: nope. depends on core input support. more complicated than I thought. Jun 06 01:11:37 It'll take a while, I'm afraid... Jun 06 01:12:06 leesiulung: Ok. Do you have the Linksys CD that came with the NSLU2? Jun 06 01:12:26 mwester: what's core input support Jun 06 01:12:33 mwester: yes, I do Jun 06 01:13:00 mwester: do you think i will be able to get those kernel modules to build natively? Jun 06 01:14:42 scant: core input is the mechanism to handle keyboard/mount input, generically. Apparently the HID events use that as well. Can't be built natively in any reasonable fashion, AFAIK. Jun 06 01:15:18 leesiulung: If you have the Linksys firmware installed,then you should be able to put the CD in your computer, and use the utility to find your NSLU2 on the network. Jun 06 01:16:04 mwester: i installed the crosstools on debian and when a do a ./configure manually it works, but when i do make from the optware svn tree root it dies on the ./configure step Jun 06 01:16:46 mwester: I tried the cd, using the setup to find the nslu2 and it looks like it didn't find it. The next page does not show the ip and other pertinent info about nslu2 Jun 06 01:18:08 scant: you can't use optware to build kernel modules, that requires the full OE environment. Jun 06 01:19:07 leesiulung: Ok. Well let's start by putting the unit into upgrade mode once again. Jun 06 01:19:29 mwester: ok. Jun 06 01:19:47 power it off, hold the reset button in, power it on, wait until the LED switches color (to red, although some people say it's actually a deeper orange than red :) Jun 06 01:20:02 Then release the button. The LEDs should flash. Jun 06 01:20:31 When it does that, tell me please what the colors are and what the status of the network LED is on the NSLU2. Jun 06 01:20:33 mwester: the LED is flashing red/green. It is in upgrade mode. Jun 06 01:22:27 mwester: the router is connected to the nslu2 at 100mbps and shows no activity. Jun 06 01:23:28 Ok. Can you start the sercomm utility, and tell me if it finds a device in upgrade mode? Jun 06 01:24:21 I will have to disconnect here and try it from this computer as the other computer connected to the nslu2 network does not like the sercomm installation program (it hangs). Jun 06 01:24:36 mwester: do you want me to proceed? Jun 06 01:24:56 What sort of computers do you have available? All windows? Mac? Linux? Jun 06 01:25:28 All windows Jun 06 01:25:52 * mwester does not understand why you would need to disconnect to run sercomm Jun 06 01:26:19 because nslu2 is on a different network than what my internet connection is on Jun 06 01:26:40 my laptop disconnects me from wifi when I try to connect to a wired network Jun 06 01:27:52 I am confused, now. Tell me what I misunderstand; perhaps this might explain why the NSLU2 is not reachable. Jun 06 01:27:55 mwester: is there a wiki page on how to build a kernel module? Jun 06 01:28:04 You have a router, it is at 192.168.1.1 Jun 06 01:28:19 The NSLU2 is plugged into a port on that router. Jun 06 01:28:29 mwester: correct Jun 06 01:28:34 Your laptop is connected to that router wirelessly. Jun 06 01:29:02 yes/no? Jun 06 01:29:08 no, my laptop is connected to a different network separate from the nslu2. it is on a 192.168.0.x subnet Jun 06 01:29:27 Are you trying to ping the NSLU2 from your laptop, then? Jun 06 01:29:31 no Jun 06 01:30:08 I'm trying to ping it from a computer connected to nslu2 network with 192.168.1.218 ip Jun 06 01:31:09 The two routers are not connected. I completely isolated the nslu2, router (at 192.168.1.1) and another computer with ip 192.168.1.218 Jun 06 01:31:35 those are the three things connected in one separate network from the rest of my stuff Jun 06 01:32:00 What kind of router is it plugged into? Jun 06 01:32:43 there is nothing about the setup that should trip up the nslu2. The router is a SMC Barricade 7004ABR. Jun 06 01:32:50 scant: there is no wiki page outlining building kernel modules Jun 06 01:33:19 leesiulung: We're running out of alternatives to examine, though. Jun 06 01:33:23 mwester: do you have any advice for me? Jun 06 01:33:35 mwester: I connected a BRAND NEW nslu2 to the same network and it is instantly found. Jun 06 01:33:53 scant: patience. Jun 06 01:34:25 mwester: tell me the steps you want me to do with sercomm, and I can come back in after that is done. However, since I already used sercomm once it shouldn't have a problem finding it again. Jun 06 01:35:10 leesiulung: I'm just trying to use various means to determine network connectivity. Jun 06 01:35:41 I'm concerned that the Linksys utility can't find it. Jun 06 01:35:50 Nor can we ping it. Jun 06 01:36:07 Yet it was on the network when it was flashed. Jun 06 01:36:29 prior to the flash, it had the exact same problem Jun 06 01:36:39 Oh. You didn't say that!! Jun 06 01:37:05 mwester: you mean wait for someone to build and add it to the repository? Jun 06 01:37:32 Ok. Then let's move on and try to reset the sysconf area. You'll need to review the information on how to telnet into redboot. Jun 06 01:37:44 scant: yes. I'm working on it. Jun 06 01:38:23 mwester: sorry, I didn't know that information was significant. So my only option is to reset the sysconf area. Jun 06 01:39:14 No, that's probably not the only option -- but lacking a linux/unix system, we don't have the set of network tools that would make finding that IP easier. Jun 06 01:39:30 So perhaps the easiest way is to see if we can get into redboot. Jun 06 01:39:38 I see Jun 06 01:39:50 mwester: can i recompile the unslung kernel natively? Jun 06 01:40:06 That would establish several things: a) it would say we can connect b) it would verify that we have a working telnet, and c) it would allow us to reset the config so that it comes up at a known IP. Jun 06 01:40:24 scant: theoretically possible, I don't know that it's ever been done. Jun 06 01:40:46 mwester: I was reading up on the page on how to telnet into redboot, but confused on how to set the settins. It mentions "fixed ip" does that mean static? Also, what should I set my ip address to... Jun 06 01:40:56 fixed ip == static Jun 06 01:41:39 your IP address just needs to be different than the IP from anything else on the network, in the 192.168.0.xxx subnet. Jun 06 01:42:39 Oh - and the NSLU2 will assign (temporarily) the IP 192.168.0.1 to itself - so nothing else on the network can have that address. Jun 06 01:43:12 The trick in gaining redboot access is that "temporary" part -- the window where that IP is valid is very short and hard to get. Jun 06 01:43:13 So I need to change the router ip to 192.168.0.2, and set the static ip of computer to 192.168.0.3 Jun 06 01:43:42 leesiulung: is it a router or a switch? Jun 06 01:43:55 It is a router, with a built in 4-port switch Jun 06 01:44:06 In that case, the router's IP should not change. Jun 06 01:44:14 ohhh.... Jun 06 01:44:35 The NSLU2 and the other computer will be on different ports on the switch, and the switch will take care of connecting. Jun 06 01:45:05 mwester: can you help me with my ./configure problem i have on debian using make and crosstools? Jun 06 01:45:33 The only problem is the one mentioned on the wiki: if the switch is auto-sensing, it might take a few moments to select the correct settings, and during that time it will just "hold" packets. Jun 06 01:45:54 This can result in the brief window being missed. Hence the recommendation to use a cross-over cable instead. Jun 06 01:46:47 scant: I can try, but I don't see how that will help you build kernel modules. Jun 06 01:47:05 mwester: cause i want to recompile the kernel Jun 06 01:48:47 mwester: I managed to get into redboot!!! Jun 06 01:49:26 mwester: is the MasterMakefile is causing ./configure error? Jun 06 01:51:14 leesiulung: excellent. The hardware is fine, then. Jun 06 01:51:20 mwester: do I really need to upgrade the firmware after I erase the sysconf? can that be done through telnet? Jun 06 01:52:10 No need to upgrade the firmware; just follow the procedure to clear sysconf. It will then reset whatever IP or settings it had. Jun 06 01:53:01 Gotta run for a bit. Jun 06 01:53:12 scant: sent you a message Jun 06 01:53:45 mwester: when will you be back? Jun 06 01:53:46 leesiulung: let the NSLU2 boot up for the first time without a network, then plug it in -- it should be at 192.168.1.77 IIRC. Jun 06 01:53:57 Dunno - a few hours or so. Jun 06 01:54:11 mwester: the command doesn't work Jun 06 01:54:22 mwester; it says illeagl command Jun 06 01:54:56 mwester: that tar doesn't have usbhid in it Jun 06 02:03:05 mwester: You saved the nslu2!!! Thank you!!! ;) Jun 06 02:03:51 eno: Thank you for your initial help and suggestion of erasing the sysconf area. ;) Jun 06 02:08:01 scant: do you know by chance how to revert back to stock firmware if you upgraded to a custom firmware, such as unslung? Jun 06 02:09:24 leesiulung: check the wiki, but if you are unsure, it might be good to check back with people on here Jun 06 02:10:15 scant: I reviewed that wiki so many times now, but it is kind of vague for beginners like me. There seems to be no information about this Jun 06 02:12:04 you still can't find your slug after reseting the sysconf area? Jun 06 02:14:52 scant: no it works great! Jun 06 02:15:11 I just ready to upgrade the firmware to unslung, but concerned I cannot revert. Jun 06 02:15:53 since I have used linux very little, the more advanced firmware might pose more trouble for me... I am comfortable with dos command line though. Jun 06 02:17:42 leesiulung: glad you got your nslu2 back, i'd recommend unslung over linksys firmware Jun 06 02:18:29 you can always revert to linksys firmware Jun 06 02:18:46 i think you can use sercomm to revert Jun 06 02:19:31 with unslung, you open the door to lot of linux utilities Jun 06 02:20:35 i'm using my unslung nslu2 for irc right now, for example Jun 06 02:23:59 eno: really, that is awesome. Jun 06 02:24:18 eno: do you know how to revert back? Jun 06 02:24:54 scant: I think so too, but how.... Jun 06 02:25:51 leesiulung: have you ever flashed via sercomm before? if you have, it's the same procedure, just with the stock linksys firmware Jun 06 02:28:11 you can also install upslug2 on top of unslung, flash one slug with another Jun 06 02:28:12 scant: I have flashed with sercomm, however, I didn't know there was other storage that didn't get overwritten. Jun 06 02:28:46 scant: most notably, the configurations I just wiped out... what other stuff could get me in trouble agian. Jun 06 02:29:09 unslung does not touch sysconf area Jun 06 02:29:24 which is compatible with linksys fw Jun 06 02:30:12 is there any other files/storage that reside on the nslu2 that could cause problems? Jun 06 02:30:44 In theory, using redboot it would almost be impossible to brick your nslu2 unless redboot is corrupted... pretty cool. Jun 06 02:31:40 files/storage themselves do not cause problem, the problem was caused by you changing setting without remembering Jun 06 02:32:49 eno: you are correct. However what I was reffering to is what other storage/files do the different firmware store that is incompatible with each other. What is left behind when a firmware upgrade occurs? Jun 06 02:33:19 leesiulung: just the sysconf area i think Jun 06 02:33:55 flashing does NOT change sysconf area, it will leave sysconf area alone Jun 06 02:34:05 leesiulung: since you are a newb, i am too, just stick with stock linksys and unslung, you shouldn't have many firmware problems you can't solve with sercomm, telnet, or redboot, and if/when you do you can consult the wiki and come here after with questions Jun 06 02:34:54 shouldn't a reset revert the nslu2 to default settings? Jun 06 02:35:28 reset sysconf revert the nslu2 to the default sysconf setting Jun 06 02:36:11 but reset sysconf != flashing Jun 06 02:36:22 what I meant was, using the reset button in the back of the nslu2, shouldn't that revert to default settings Jun 06 02:36:39 I realise that reset sysconf != flashing Jun 06 02:36:49 thanks for clarifying that Jun 06 02:37:27 eno: ./configure and crosstools isn't working for me in debian, ./configure says it can't find gcc, can you help me Jun 06 02:37:44 no, the flash storage is like hard disk on PC, it's just smaller, and internal Jun 06 02:38:20 reboot a PC won't change the content on your hard disk Jun 06 02:40:05 hmmm... true, but on a router, if you reset it by through hardware it also reverts to default settings. Jun 06 02:40:33 if linksys fw is like ms-dos, then unslung is like freedos Jun 06 02:41:39 i'm sure on a router, there're things that survive a reset Jun 06 02:42:15 s/reset/reboot/ Jun 06 02:42:15 eno meant: i'm sure on a router, there're things that survive a reboot Jun 06 02:42:43 ok Jun 06 02:43:31 scant: debian slug? or debian PC? Jun 06 02:44:43 is there a reason why one should "not" use a flash disk as the root drive? Jun 06 02:45:18 eno: debian PC, ./configure works if i go int he build dir and execute it manually, but if i do make from the root svn dir, ./configure errors out Jun 06 02:45:43 which svn repo? Jun 06 02:46:21 eno: http://svn.nslu2-linux.org/svnroot/optware/trunk optware Jun 06 02:47:51 do you have nslu2 subdirectory under optware? Jun 06 02:50:27 eno: i have the svn in optware, it contains builds, toolchain, etc... and the Makefile Jun 06 02:51:24 that's fine, have you done "make directories ipkg-utils"? Jun 06 02:51:33 yes Jun 06 02:52:27 "make toolchain" ? Jun 06 02:52:51 i'm trying to make alsa-lib, if i go to builds/alsa-lib and do ./configure it works, if i go to /optware and do make alsa-lib it quits at the ./configure stage Jun 06 02:53:06 eno: i haven't done make toolchain Jun 06 02:54:16 "make " will call "make toolchain" if toolchain haven't been made Jun 06 02:54:54 so you can either "make toolchain" explicitly, or "make alsa-lib" Jun 06 02:55:21 i'm trying make toolchain Jun 06 02:55:30 it will take a while Jun 06 02:55:53 eno: but make alsa-lib didn't call make toolchain Jun 06 02:56:17 when you "cd builds/alsa-lib && ./configure" manually, it was not using cross toolchain at all Jun 06 02:56:54 "make alsa-lib" after "make toolchain" will configure the package correctly with cross toolchain Jun 06 02:57:03 i hope it works, i want to recompile the unslung kernel Jun 06 02:57:54 optware is only for user land packages, unslung kernel is not built within optware Jun 06 02:59:07 why are all the unslung versions always in Beta? Jun 06 02:59:21 to build unslung kernel or image, you'll need to follow MasterMakefile **** ENDING LOGGING AT Wed Jun 06 02:59:58 2007