**** BEGIN LOGGING AT Tue Jan 06 02:59:56 2009 Jan 06 13:48:47 hi. I want to put openwrt on my nslu2, however, the documentation on the nslu2-linux page is quite sparse. Do I simply download the 8mb image and upload it as firmware to the nslu2? Do I have to unplug my drives, etc? Jan 06 13:49:28 Also, what is the 16mb image for? Jan 06 14:20:42 is this page serious: http://www.nslu2-linux.org/wiki/Debian/HomePage Jan 06 14:20:53 It has lots of spam at the bottom Jan 06 14:21:36 oh. that's user names. google indexing won't like this Jan 06 14:26:38 looks like spam Jan 06 14:33:31 hm. not good. I bricked my slu2 Jan 06 14:33:45 too bad would have been fun Jan 06 14:34:44 does anyone have a couple of minutes to confirm that it's bricked and that I can throw it away. Jan 06 14:34:49 (please) Jan 06 14:48:02 what did you do? Jan 06 14:51:09 ShadowJK: uploaded openwrt-nslu2-squashfs.bin, waited 15min. rebooted. lights are blinking at the beginning. then all goes dark except the Ethernet light. Jan 06 14:51:23 ShadowJK: I got the binary openwrt from here: http://downloads.openwrt.org/kamikaze/8.09_RC1/ixp4xx/ Jan 06 14:53:17 that doesn't necessarily mean it's bricked.. Jan 06 14:53:59 openwrt might switch off the leds by default or doesn't know how to use them Jan 06 14:54:07 except for the ethernet light which I think is not controllable Jan 06 14:54:10 ShadowJK: how do I know whether it's on the upgrade mode? Jan 06 14:54:29 ShadowJK: hm. maybe. Jan 06 14:54:31 upgrade mode isn't executed by the OS, so you should still get the blinking there Jan 06 14:55:07 I don't know what openwrt does, if it comes up with some default IP or if it tries to dhcp Jan 06 14:55:56 I doubt it would try to get the IP you used in previous installs Jan 06 14:56:23 hm. yes. redboot works Jan 06 14:56:35 when I press reset for 10 seconds, then I get a blinking read/status light Jan 06 14:56:50 that gives me some hope Jan 06 14:57:38 I suspect you're still at the point where you can assume openwrt is starting fine, and now you just have to find the IP Jan 06 14:59:29 "After installation, OpenWrt will take a few minutes to initialize the JFFS2 partition. It took about five minutes for me. You should wait at least ten minutes before rebooting. It will have an IP address of 192.168.1.77 to which you need to telnet to get access for the first time." Jan 06 15:00:00 I guess "after installation" means first boot (dark lights) Jan 06 15:00:25 oh further down the page it says dhcp is enabled by default :) Jan 06 15:07:09 yay. I see a DHCP request from an unknown MAC address Jan 06 15:07:17 That means it boots Jan 06 15:10:35 I hope you have a router that's handing out LAN IPs :-) Jan 06 15:20:43 ShadowJK: hm. interesting thing is: the device gets address 10.0.0.88 assigned, but I cannot access it via telnet Jan 06 15:24:54 what happens? Jan 06 15:27:13 no clue: (1) I see the dhcp request from it's MAC address, (2) I see on the DHCP page that the server assigned an IP address to the device, (3) I try to connect to that IP -> nothing Jan 06 15:27:42 however, there's the following interesting thing: when I connect via telnet, first there's nothing. Jan 06 15:27:57 when I connect again, then it says host is down, unable to connect to remote host Jan 06 15:28:02 after some time it works again Jan 06 15:28:19 it's behaving like nothing is assigned to that IP Jan 06 15:28:45 yes Jan 06 15:29:47 but it get's the DHCP entry Jan 06 15:30:18 With the DHCP protocol, does the system have to acknowledge the assigned IP? Jan 06 15:42:52 * knopf dances happily. Jan 06 15:42:56 found it. it works. Jan 06 15:44:49 nice what was the problem? Jan 06 15:46:42 several: (a) the description on the web site is really bad, maybe I'll update it, (b) it defaults to 192.168.1.1 on the lan, not 192.168.1.77, (c) 192.168.1.1 caused problems with my router, (d) it didn't accept the DHCP responses from my router, (e) it doesn't use the LEDS properly right from the start, it should at least use some Jan 06 15:47:38 hm. but now the application ipkg is missing Jan 06 15:48:15 what distro? openwrt? Jan 06 15:48:25 yes Jan 06 15:48:28 I think I remember that happenign to me Jan 06 15:48:50 hm. maybe I should have simply installed debian on it Jan 06 15:49:03 natesbox: what did you do? Jan 06 15:49:29 I'm trying to remember... I know I got it reinstalled let me think for a sec Jan 06 15:50:26 i dont think ipkg is installed by default in openwrt Jan 06 15:52:15 didnt they rename it to opkg or somethign like that Jan 06 15:52:56 ah yes Jan 06 15:52:59 I have that file Jan 06 15:53:44 :) Jan 06 15:54:16 now if I could just get beep working on my openwrt slug Jan 06 15:56:25 so stupid simple but im failing Jan 06 15:56:25 hm. but it doesn't recognize my usb drives Jan 06 15:56:40 there's no /dev/sda Jan 06 15:57:04 not even a usb bus in /sys/bus/ Jan 06 15:57:32 I think you may need to install one of the kmod packages att add the functionality Jan 06 15:59:37 hm. but which usb does it have. in 2.26, are usb devices still mounted via the scsi bridge? Jan 06 16:00:09 usb mass storage still talk in scsi so... Jan 06 16:00:48 ok. got usb_storage to run Jan 06 16:01:15 but still no usb Jan 06 16:01:19 disk Jan 06 16:15:44 natesbox: an interesting thing: I can see the drive with 'fdisk /dev/sda', but I can't mount it with 'mount /dev/sda1 /mnt' -> no such device Jan 06 16:54:55 03bzhou * r9419 10optware/trunk/platforms/packages-openwrt-brcm24.mk: slrn: demoted on openwrt-brcm24 Jan 06 17:43:22 03bzhou * r9420 10optware/trunk/make/openssl.mk: openssl: set OPENSSL_ARCH for mips Jan 06 22:06:32 03bzhou * r9421 10optware/trunk/make/py-sqlalchemy.mk: py-sqlalchemy: 0.4.8 -> 0.5.0, py2[45] -> py2[456] Jan 06 23:16:37 woa, my nslu2 is now slow with openwrt. It now has a throughput of 1MB/s on samba. with the official firmware this was much much higher Jan 06 23:16:47 did anyone experience something similar? Jan 06 23:28:21 knopf_: dunno, I don't normally run samba on openwrt. Jan 06 23:28:42 my openwrt slugs is used as a bluetooth access point. Jan 06 23:29:09 using openwrt on the nslu2 as a NAS device is probably not very well tested Jan 06 23:34:07 rwhitby: hm. when I do a file transfer, the system load shoots up to 2.33 or higher Jan 06 23:34:24 rwhitby: what is well tested on the nslu2 as a NAS? Jan 06 23:34:38 rwhitby: I need the ssh tunneling functionality on there Jan 06 23:34:43 rwhitby: and the NAS Jan 06 23:35:04 most well tested is SlugOS, then Unslung, then Debian, then OpenWrt. Jan 06 23:35:15 all can do NAS and ssh Jan 06 23:35:55 actually, Unslung is probably better tested than even SlugOS, but I wouldn't recommend it to someone who already knows Linux and expects normal Linux behaviour. Jan 06 23:36:46 nslu2 is probably not the best candidate for your first foray into openwrt ... it's still an immature combination. Jan 06 23:37:04 hm. not good, because I now have the whole setup running Jan 06 23:37:24 oh, it's stable, but just not well documented. Jan 06 23:38:12 openwrt will be the best solution for routing or QoS or anything else network related, but possibly not the most optimised solution for NAS Jan 06 23:38:31 well, as it turns out it's quite quite slow Jan 06 23:38:33 (simply due to the focus of the OpenWrt development effort) Jan 06 23:38:50 It's not called a 'slug' for nothing ... Jan 06 23:39:03 well, but the original firmware was slow Jan 06 23:39:09 but 1MB per second is really really slow Jan 06 23:39:15 agreed. Jan 06 23:39:15 and that's when you have a single user Jan 06 23:39:47 please record this on the Performance wiki page, so others don't need to go through the same installation process to find out. Jan 06 23:41:15 03bzhou * r9422 10optware/trunk/make/py-lxml.mk: py-lxml: 2.1.4 -> 2.1.5, py2[45] -> py2[456] Jan 06 23:41:29 rwhitby: where do I do that? Jan 06 23:42:59 http://www.nslu2-linux.org/wiki/Info/Performance Jan 06 23:43:36 Add "Blah on Openwrt" sections just like the "Samba on Debian" section for the things that you test. Jan 06 23:45:21 SlugOS/BE samba figures seem to be at the bottom of the page Jan 06 23:45:30 feel free to reorganise that too Jan 07 00:12:52 rwhitby: what is the password for that site? Jan 07 00:13:00 rwhitby: so I can edit it Jan 07 00:21:26 it's on the bottom of the front page of the wiki. 'nslu2'. it's a small barrier against random non-targetted wikispam Jan 07 00:22:48 rwhitby: btw. it must be a slow usb driver or something: http://paste.lisp.org/display/73215 Jan 07 00:23:07 rwhitby: I need to check a little more before I blame openwrt for the poor performance Jan 07 00:23:18 rwhitby: maybe it uses usb 1 Jan 07 00:24:55 what usb kernel modules do you have loaded? Jan 07 00:26:40 rwhitby: these are the modules: http://paste.lisp.org/display/73216 Jan 07 00:30:39 is ehci in dmesg? Jan 07 00:33:11 rwhitby: someone on openwrt pointed that out Jan 07 00:33:22 I now get good throughput with hdparm Jan 07 00:35:50 now I get about 3-4 MB / sec through samba, so it's normal: yay! Jan 07 00:36:47 ok, please add the tip to the openwrt wiki pagte Jan 07 00:38:54 knopf_: the spam on Debian.HomePage has now been removed. thanks for reporting it. Jan 07 00:43:28 added some more tips on the page Jan 07 00:44:01 however, there's some big change lurking: openwrt uses now opkg as their package management tool. I don't know whether this is compatible with ipkg Jan 07 01:04:33 maybe I should also add that I recommend to use pure-ftpd Jan 07 01:04:41 it's about 3 times faster than samba Jan 07 01:19:48 ipkg and opkg are compatible Jan 07 01:20:54 (opkg is the maintained, non-trademark-encumbered, version of ipkg, and reads exactly the same package format) **** ENDING LOGGING AT Wed Jan 07 02:59:57 2009