**** BEGIN LOGGING AT Mon Sep 28 02:59:57 2009 Sep 28 10:43:44 re Sep 28 16:07:10 "/nick " Sep 28 16:08:00 test Sep 28 16:08:17 "/nick pochrist" Sep 28 16:08:39 without the " Sep 28 16:09:08 thnaks for the help Sep 28 16:10:18 well I got an nslu2 + unslung question, anyone one good with this? Sep 28 16:12:34 no takers... Sep 28 16:13:02 just ask your question Sep 28 16:13:08 many people just idle in here Sep 28 16:15:45 OK, I have an NSLU2 running Unslung 6.10beta off a 2gig flash drive (Disk port 2) I want put a usb hub on (disk port 1) and add 2 external Hard drives, Currentl I just have (1) 250 gig ext HD connected to Disk port 1 Sep 28 16:18:10 When I plug in a usb be hub and startup the Nslu2 it only sees (1) of the HD, both have been formatted EXT3 Sep 28 16:20:46 and the question is.... Sep 28 16:20:59 Why can't i see both? Sep 28 16:21:43 "see"? Where? Sep 28 16:24:42 See/Have acces to both of the external HDs Sep 28 16:24:58 according to the web interface? Sep 28 16:25:49 Bingo Sep 28 16:26:01 Cause its not designed to deal with >2 devices Sep 28 16:26:03 ie one per usb port Sep 28 16:26:28 NSLU2 only sees 1 hd and the flash drive Sep 28 16:26:44 Does it show as such via telnet/ssh? Sep 28 16:28:56 theres the Rub I can't figure how to do that, I'm kind of a "gui baby" I did install Midnight commander on the NSLU2 but it really doesn't list like "Drive" C or D Sep 28 16:29:16 I think its only showing me whats on the flash drive Sep 28 16:29:49 is the GUI or Web front end i can install that will make browseing a little less of a pain Sep 28 16:30:22 Is there GUI or Weg front end i menat to say Sep 28 16:35:23 uhm did I lose you.... Sep 28 16:36:45 OK lets try this what SSH command do I type in to get a list of availabe drives? Sep 28 16:37:09 fstab -l Sep 28 16:37:13 will list the drives Sep 28 16:37:14 mount Sep 28 16:37:17 will list where they are mounted Sep 28 16:37:25 *fdisk -l Sep 28 16:39:27 I get "-sh: fstab: not found" Sep 28 16:40:22 am I missing a module or ipkg Sep 28 16:41:13 try fdisk -l Sep 28 16:43:39 ok I get : fdisk: invalid option -- 1 and a whole usage section (seems like there is no simple drive list option, very specific Sep 28 16:47:42 so there is no way to find out why I can't even access the commands you gave me? Sep 28 16:48:07 Unslung is really only designed to give some extra functionality to the basic linksys firmware Sep 28 16:50:08 So its not just going to make multiple drives accessible for you Sep 28 16:50:14 yea but there a ton of pkgs , none of them allow basic disk browsing like the the Fdisk command in Dos at least brings a Dialog box Sep 28 16:50:27 you dont need any Sep 28 16:50:28 if its moutne Sep 28 16:50:29 d Sep 28 16:50:31 *mounted Sep 28 16:50:34 browse to directory Sep 28 16:50:35 ls -al Sep 28 16:51:52 drwxr-xr-x 2 root root 4096 Dec 31 1969 . Sep 28 16:52:01 drwxrwxr-x 21 admin everyone 4096 Sep 28 01:57 Sep 28 16:52:31 looks to me it only displays the Flash drive through Telnet/ssh Sep 28 16:52:44 you can view anything Sep 28 16:52:50 if you're in the right locations Sep 28 16:53:34 how do i back out to root (Like in Dos CD.. Sep 28 16:53:42 cd / Sep 28 16:53:45 back you out to root Sep 28 16:53:57 cd .. goes up a level Sep 28 17:00:10 ok well at this point the Ext HD is connected directly to the NSLU2 (port 1) I accessed the external drive via windows explorer and i added and text file called Test.txt, did a search through Midnight commander and it only sees the flash drive Sep 28 17:03:00 I did find this link "http://www.nslu2-linux.org/wiki/HowTo/3orMoreEXT3DrivesWithAUSBHub" to do what i want, but if i can't see the drive how would do what the guy instructs Sep 28 17:18:49 well thanks forn all the help, glad how you jumped right out there and were eager to help, I guess you were to busy to bother with little ol me, windows remains superior because it has a GUI Sep 28 17:20:54 :/ Sep 28 17:21:01 gah @ some poeple Sep 28 17:58:37 :) Sep 28 18:00:36 lol Sep 28 18:00:56 Food time me thinks Sep 28 18:54:30 hey Sep 28 18:54:49 what do you guys use to synchronize filesystems over network? Sep 28 18:55:01 I've seen rsync and unison mentioned a lot Sep 28 18:55:20 rsync seems to be rather cpu hungry for the nslu2, and unison doesn't appear as a package for slugos5 or optware? Sep 28 18:59:20 rsync is the best tool for the job. Sep 28 18:59:49 (it takes cpu (and memory) to do the job right; that's the cost. Sep 28 18:59:53 ) Sep 28 19:00:22 Make sure you have swap space on the NSLU2, and do the sync in smaller chunks if the out-of-memory killer kicks in. Sep 28 19:05:27 if I recall correctly from what I read on various websites, rsync will propagate the deletion of a file from one end to the other Sep 28 19:05:51 which isn't exactly my intended use Sep 28 19:06:06 I had my hopes on unison, but haven't found any binary for slugos yet Sep 28 19:06:08 it only deletes files if you specify --delete Sep 28 19:06:12 ah ok Sep 28 19:06:48 how does rsync now a file has changed? does it keep a database of hash values for each file? Sep 28 19:08:33 you can have it checksum on both sides, or only compare modify timestamps (and size, etc) Sep 28 19:08:38 mwester: something completely different. Will the next slugos release have fixes for ssh and glibc that prevent these error messages in the system logfile? ("error: Could not get shadow information for" and "error: setlogin failed: Function not implemented" ? Sep 28 19:09:07 ShadowJK, thanks Sep 28 19:09:13 frank_slugos, probably not. Sep 28 19:09:17 ok Sep 28 19:09:30 appearantly one can be fixed with a --without-shadow compile option for sshd Sep 28 19:09:44 read the manual, it's needed for effective rsync use Sep 28 19:09:54 the other has to do with either implementing the SETLOGIN function or Remove HAVE_SETLOGIN from config.h Sep 28 19:09:55 Yes. But then if you implemented the shadow password, sshd would stop working. Sep 28 19:10:16 I see Sep 28 19:11:14 And if we built it without SETLOGIN, then if you switched to a lib that supported it, something breaks IIRC. The issue is that we don't really know what packages users may build and install, and by keeping the shadow pw enabled we make it less likely that they'll end up locked out of their own system. Sep 28 19:11:29 cool Sep 28 19:11:36 so there's actually good reasoning behind those choices :) Sep 28 19:11:40 that's good Sep 28 19:12:23 It's unlikely to ever be used,but the error messages are really just warnings are quite benign, so I've left it as is instead of adding "if slugos then" stuff all over the OE build system to special-case our little device. Sep 28 19:12:44 yeah sounds reasonable Sep 28 19:12:47 They get crabby at OE when I add the special cases. :D Sep 28 19:12:53 I bet Sep 28 19:13:08 I wish busybox would implement a nice log rotate function Sep 28 19:13:20 to offload the ramdrive Sep 28 19:13:43 We're a bit behind on the busybox versions; there might be some good features added. Sep 28 19:13:50 ... or is that easily achieved through cron + bash which I don't know because I'm a linux noob? Sep 28 19:14:47 no idea, I'm afraid. Sep 28 19:14:48 I guess another thing interesting for the next slugos release is IPv6 support Sep 28 19:15:02 as it appears to be going more and more mainstream Sep 28 19:17:10 I have to say that the nslu2 grows on me. I've come to like it more and more over time. I'm glad I bought three of them Sep 28 19:17:39 IPv6? Sep 28 19:18:09 I rather doubt that's on the map; I suspect that would add a lot of code to the base and we're rather constrained. Sep 28 19:18:14 ah k Sep 28 19:18:24 Not to mention that I don't know any testers who could do the work. Sep 28 19:18:47 well, appearantly since the most popular bittorrent clients started supporting it, it's being used quite a bit Sep 28 19:18:53 as all modern windows OSes support it Sep 28 19:19:01 I can't imagine why one can't do ipv6 post-boot, though -- as soon as it switched to the turned-up drive, it should be able to load whatever it needs. Sep 28 19:19:07 Does the kernel not have ipv6 enable? Sep 28 19:19:15 haven't looked into it yet Sep 28 19:19:17 no need for it Sep 28 19:19:23 My ISP doesn't support it... Sep 28 19:19:25 it's somewhere on my 'to do list' Sep 28 19:20:35 mwester, do you recommend tightening swap file usage by the kernel if swap resides on a flash drive? Sep 28 19:20:56 as explained here: http://www.cyrius.com/debian/nslu2/linux-on-flash.html Sep 28 19:21:04 near 'laptop_mode' Sep 28 19:21:47 "/proc/sys/vm/swappiness" is set to 60 by default Sep 28 19:21:59 no idea how much swapping is generated compared to value 0 though Sep 28 19:23:02 I haven't looked at any of the vm/swap settings for flash drive tuning; might be worth doing if your system is swapping a lot. My goal is always to avoid swapping ever; swap space is primarily there to keep the OOM killer happy. Sep 28 19:23:26 In practice, i see a bit of swapping, but measured in pages/day, not in pages/second. Sep 28 19:23:43 At that rate, let the flash disk die :) Sep 28 19:24:17 Flash drive killer :o Sep 28 19:24:27 it'd be nice if there would be a linux filesystem which incorporates wear leveling Sep 28 19:24:43 or is that something that usb flash disks do themselves these days? Sep 28 19:24:59 I think some do.. SSD's and SD/SDHC cards do Sep 28 19:25:18 All of them do it. Sep 28 19:25:48 I heard someone on IRC say that the better quality drives have as a distinguishing feature better wear-levelling algorithms. Sep 28 19:27:32 So on any USB stick, if you wrote a program that just wrote and rewrote sector 12345 non-stop, in fact the stick itself would be distributing those rewrites all over the flash inside the stick. Thus, if you think about it, the bigger the stick you have to work with in the first place, the longer it will take to wear it out. Sep 28 19:27:45 nice Sep 28 19:27:50 one thing less to worry about Sep 28 19:28:47 For those really worried about it, the last release of SlugOS supports mirrored devices -- I added that specifically so one could use a pair of flash devices (pref. from different manufacturers) without fear. Sep 28 19:29:52 my idea was to just backup my SlugOS usb drive to a file Sep 28 19:29:58 like ghost does Sep 28 19:30:05 and store it on my usb hdd Sep 28 19:30:18 I don't need 100% uptime Sep 28 19:30:20 Sure. That would work. Sep 28 19:31:30 Since there's no boot sectors or other funny stuff (just the UUID for the device), you can use a file-level utility like rsync. But if you prefer a ghost-like (device-level) tool, partimage is what I use. Sep 28 19:31:43 k Sep 28 19:32:24 ever hear of Clonezilla ? Sep 28 19:32:39 appearantly another alternative to norton ghost Sep 28 19:33:15 * frank_slugos reads "based on partimage, ntfsclone, partclone and dd" Sep 28 19:33:16 Mike, done any more towards PlugOS? ;) Sep 28 19:33:32 My plug hasn't been powered up in weeks :( Sep 28 19:33:36 :( Sep 28 19:34:02 I've been trying to get mine working from their SDHC cards for more storage, they dont seem to like mine. Need to take some logs and ask nicely on the openplug forums Sep 28 19:34:27 I *did* get the latest dev version of slugOS building again, though -- and got owfs working (for my temp/boiler controller project) Sep 28 19:34:44 heh Sep 28 19:35:07 The dallas one-wire stuff is so cool. Sep 28 19:35:49 I should get on with my .NET Micro FW project :/ Sep 28 19:36:04 .net? eewwwww! Sep 28 19:36:18 lol, its my 3rd year project at uni Sep 28 19:36:21 Microsoft's response to the horrible bloat that is java. Sep 28 19:36:26 hahah Sep 28 19:37:10 "You think Java is bad?! We at Microsoft can make something even worse! Just watch us! We'll call it .NET!" Sep 28 19:37:17 haha Sep 28 19:37:22 Its not *that* bad ;P Sep 28 19:37:34 It's COBOL for 2000 Sep 28 19:39:38 But hey, there are entire cell phones that run with a java stack, so I guess there's enough CPU and ram in even the small things these days. And when you can hire an army of java coders right out of school to get a job done, rather than search for a C/ASM guru, well, I can't argue with the economics of that! Sep 28 19:39:53 Yeah Sep 28 19:40:06 I've got a HTC Magic (so Android) Sep 28 19:40:11 I can get mono for that Sep 28 19:40:13 Thats a bit weird Sep 28 19:40:24 It doesn't bode well for us here, most of whom would be in that C/ASM group that most companies would prefer not to have to hire. :( Sep 28 19:40:33 google maps runs fine as J2ME app on my el-cheapo nokia Sep 28 19:40:45 as does Opera mini Sep 28 19:40:55 There's a jdk for the NSLU2 -- it actually works in 32MB of ram! Sep 28 19:48:37 Tis madness Sep 28 19:49:36 Hmm, wonder if i can find the rest of the data i want from these c-isam files? :/ Sep 29 01:24:38 hi Sep 29 01:28:39 I'm looking for information on the WRP400 with firmware 1.01.00 **** ENDING LOGGING AT Tue Sep 29 02:59:58 2009