**** BEGIN LOGGING AT Sun Dec 23 02:59:56 2007 Dec 23 04:17:28 hi all Dec 23 16:07:56 does anyone know - is it possible to use USB hard drives with NSLU (unslung or linksys fw) in a way that I can attach and detach hard drives to connect them to my PC and then reconnect them to the NSLU without the requirement to format the disk on the NSLU Dec 23 16:10:16 it's ok if I have to power off the device to remove and add the hard disk - I just don't want to be required to format the disk on the nslu, and I don't want to have a hard disk that can only be used with the nslu Dec 23 16:11:09 can anyone answer this for me? it seems to be the most basic of questions - I have not been able to find a CLEAR answer in the FAQ or any other document on the NSLU-LINUX.ORG page Dec 23 16:25:09 MeinLein: You can do that if the disk is formatted as a FAT disk (which limits the capacity and the maximum file size). Dec 23 16:25:59 MeinLein: You *SHOULD* be able to do that with an NTFS-formatted disk, except that the linksys (and therefore unslung) driver for NTFS is buggy, and will cause the NSLU2 to crash when reading/writing to the NTFS disk. Dec 23 16:26:12 ok - so ext3 is out too? Dec 23 16:26:33 No - that works very well. But you need the ext2/3 driver on Windows. Dec 23 16:27:17 :-) or a linux install ... but you know that - cool - does unslung do that out of the box? Dec 23 16:27:50 but if you aim to music files and such theres no need use ext3, fat will work fine..and no need a extra app on your windows PC. Dec 23 16:27:52 I'm getting everything in order before I do the flash Dec 23 16:27:55 There's a wiki page that describes how to deal with an ext2/3 device with Unslung (the Linksys firmware cannot handle a standard Ext2/3 device). There is no additional software required, just additional procedures since the Linksys firmware does not know to automagically mount and share an Ext2/3 volume. Dec 23 16:29:00 If you read the "Which USB port" wiki page, along with the special notes, there should be a link to the Ext2/3 wiki article. Or perhaps that's on the "known problems" page? Either way, both wiki articles are required reading. You'll find the link :) Dec 23 16:29:36 ok - i'm using two 500gig drives as data storage/sharing - and I'd like to use a 1gig usb stick for packages - so a 1gig usb flash in one port, and two usb data drives via a usb hub off the other port Dec 23 16:30:09 Hi! I am trying to install openwrt on my NSLU2 and running into a very strange issue. After flashing (sudo upslug2 -n -i openwrt-nslu2-2.6-squashfs.bin) I waited 10+ mins, then I manually restarted the device. The device is receiving an IP address (I capture the DHCP request via tcpdump) but I am unable to ping it. Dec 23 16:30:22 i've read those pages - it's a bit rather confusing but I think I need to get my feet wet to hash it out Dec 23 16:30:49 meinlein that will work fine MeinLein I got somthing similar- -unslung user. Dec 23 16:31:24 I've been modifying DD-wrt and chumby via ssh for a long while now - so I'm not a complete noob, but I am as far as unslung goes Dec 23 16:31:49 thank you! Dec 23 16:32:02 if i remember right the only think you need to do for fat usage is configure US-lang on the admin page, Dec 23 16:32:22 other ways than change lang take more time Dec 23 16:33:28 I read in the readme or somewhere about using usb flash for package storage that the usb stick needs to be formated by the slug, and and other hard disks you add can NOT be formated by the slug, otherwise it will use both devices to store packages and conf files Dec 23 16:33:36 do I understand that correctly? Dec 23 16:34:37 hm. format the package/unslung drive as told in the readme with the slug. the other disks is a choice. fat or ext Dec 23 16:36:12 can anyone please help me or just give me some hints....i have no idea why the device after getting flashed would pick up an IP but not respond to any ping/telnet/ssh request. Dec 23 16:37:38 MeinLein: Yes. Or just select USB port 1, in which case the device will store everything on the USB device in port 1. However, doing so will limit the use of a hub. Hence the issues... (The amount of confusion that could be resolved if Linksys would only fix that one issue, and swap the "special-ness" of USB1/2...) Dec 23 16:38:18 ok - but I should avoid formating the oher media with the slug? or it doesn't matter. I read this around the section that says SDA and SDB switch places and things get really confused - but it seemed that pertained to upgrades of unslung, and not installs/changes from linksys to unslung Dec 23 16:38:33 It pertains to all installations. Dec 23 16:38:42 oh Dec 23 16:39:30 In fact, the labels on the back of the NSLU2 that note one of the port is for flash devices are now wrong with the Linksys R63 firmware. Dec 23 16:39:33 usb2 is special because only it can work with flash stick? and usb1 is the one I want for the hub? Dec 23 16:40:16 Either port can work with Flash devices with Unslung. The big difference is that USB 1 can be used for hubs and/or multi-LUN devices (such as card readers). Dec 23 16:40:26 gotcha Dec 23 16:41:09 hm Dec 23 16:41:19 hmm I'd be using unslung 6.8 - which port is sda and which is sdb? Dec 23 16:42:05 So flash the Unslung firmware, then format the USB flash stick in USB port 2, complete by "unslinging" to the flash device per the instructions (note the issues in the "Known problems" wiki page and follow the remedies). Once you have everything working to your satisfaction with the standard firmware, then you can begin working with the large disks. Dec 23 16:42:31 sda is USB port 2. sdb/sdc/sdd/sde etc are on USB port 1. Dec 23 16:42:41 thank you! Dec 23 16:43:48 weejay - I had a similar problem with the stock fw - so YMMV - I had to start the device with the ethernet cable disconnected, and then once it came up ok, reconnect it then attach to it via the default IP of 192.168.1.77 Dec 23 16:43:50 I found some places on wiki saying I should use port 1, some saying port 2, but readme said port 2 so that's what I did... now with that done and the nslu2 running unslung... should the linksys stuff work with devices on port1? I find it tells me "Unformatted" for everything.. :) Dec 23 16:44:42 Yes, it should see standard FAT and NTFS devices on port 1. Dec 23 16:44:58 hm Dec 23 16:45:04 Do they need to be partitioned in any special way? Dec 23 16:45:21 Subject to its ability to correctly mount those devices: see the "Known problems" section for thinks that can go wrong. Dec 23 16:45:59 http://www.nslu2-linux.org/wiki/Unslung/R63DiskBehaviour Dec 23 16:46:00 MeinLein: Thank you. let me give that a shot. On the wiki it says the person used the stock openwrt firmware, but that did not work for me. Also there seems to be a huge size difference (8 Mb vs. 1.1 Mb) between the .bin file from slug-firmware.net vs. openwrt Dec 23 16:46:43 WeeJay: What you should be flashing should be 8Mb in size. Dec 23 16:47:35 do I understand correctly that 6.8 is based on R63? Dec 23 16:47:35 The flash in the NSLU2 is 8M in size, the image contains a lot of empty space (in addition to the kernel, the filesystem, and the other house-keeping data) Dec 23 16:47:36 mwester: yeah that's what I used. It worked well....by the way am I supposed to wait 10 mins after the initial flash is done or wait 10 mins after the first reboot following the flashing? Dec 23 16:48:01 MeinLein: Yes, 6.8 is based on R63 (with all its enhancements, and it's broken-ness). Dec 23 16:48:13 shadowJk are you using in system/general/language support (usa 437)? Dec 23 16:48:32 no it's set to western europe Dec 23 16:48:40 thern change Dec 23 16:48:42 WeeJay: Dunno about the wait -- probably after the reboot, as the reflash should automagically trigger a reset after the flash is verified. Dec 23 16:49:00 jannen: good catch -- that would do it! Dec 23 16:49:13 changed Dec 23 16:49:16 mwester: let me go give it another shot without the ethernet cable Dec 23 16:49:57 are you guys mostly using 6.8, or something earlier, or another distro entirely? Dec 23 16:50:46 oh, 437 worked Dec 23 16:50:57 I use openslug for torrent and one more slug for mediaapps and media. Dec 23 16:51:11 (where's the unicode option and why doesn't it work with !437) Dec 23 16:51:15 * ShadowJK goes look in wiki :) Dec 23 16:51:18 the other on is unslung Dec 23 16:51:24 ShadowJK: The wiki is your freind! :D Dec 23 16:51:45 http://www.nslu2-linux.org/wiki/Unslung/KnownProblems <====== REQUIRED READING FOR EVERYONE!!! Dec 23 16:51:56 the README is the bible the wiki is almost like the readme profet=) Dec 23 16:52:28 http://www.nslu2-linux.org/wiki/Unslung/UnslungLanguageSupport <---- Specific page on the language/character-set support issue Dec 23 16:54:30 ooo - so I can use the web UI to flash from stock fw to unslung, but from then on I need to use redboot? or ALWAYS use redboot? I think the readme says the web UI was ok on a fresh install of unslung. Dec 23 16:54:49 meinlein no. Dec 23 16:55:20 * ShadowJK followed instructions that had him use the web ui from stock linksys firmware... Dec 23 16:55:27 MeinLein: Only the Linksys firmware can reflash from the Web GUI. You'll have to do the Reset Button method to reflash with Unslung (or other firmware). Dec 23 16:55:50 first time with interface next time you need a other application...sercoom tool if you are a win user and a other one if you are on linux. Dec 23 16:56:10 again...the wiki Dec 23 16:56:11 excellent - that's clear Dec 23 16:56:54 "If you always want a diversion script to run - independent of what disks/flash drives are plugged in, then put the diversion script into /unslung", is this information correct? It seems to me that when the device is running unslung, /unslung exists on the storage device I unslung to? Dec 23 16:58:08 I notice there's a /initrd/unslung/ too, this the internal flash, right? Dec 23 16:58:54 You are correct. The diversion script is run from "/unslung" which is on the external disk/flash when booting in Unslung mode, and on the internal flash when booting without disks. Dec 23 16:59:45 So if you install the additional code page module for cp850, the diversion script is placed into the /unslung on the external disk (because that's where the cp850 module is installed). Dec 23 17:00:05 When I boot it with external storage attached, is /initrd/unslung/* ignored? Dec 23 17:00:43 Yes Dec 23 17:01:14 mein lein http://www.nslu2-linux.org/wiki/Main/SercommFirmwareUpdater Dec 23 17:01:53 mwester: thanks for the time! it worked. Now that it defaulted to the IP, I am able to directly connect to it and telnet. I think it might be worth adding this to the wiki/faq for others Dec 23 17:02:27 The wiki seems to be somewhat unclear on the diversion script locations :) Dec 23 17:02:31 WeeJay: Glad its working. The wiki is open; feel free to update the wiki page with your experience! Dec 23 17:03:15 yes I will do that. thanks bud. Dec 23 17:03:30 ShadowJK: Feel free to clarify the page! Dec 23 17:03:36 I'll try :-) Dec 23 17:03:41 weejay what is serving your dhcp? Dec 23 17:04:16 It seems like "If you always want a diversion script to run" part is completely wrong Dec 23 17:04:31 * mwester disabled DHCP on his router a couple of years ago, and runs DHCP, DNS, tftp, and other network services from a slug running Unslung 6.8. :) Dec 23 17:04:50 ShadowJK: Agreed. A qualifier is in order. Dec 23 17:05:07 that's why I ask Dec 23 17:05:20 I've found the slug doesn't like dd-wrt Dec 23 17:05:36 I've found the slug (stock fw) doesn't like dd-wrt dhcp Dec 23 17:06:08 but it's the only device I've seen choke on it - I typicaly use static IP Dec 23 17:06:33 Interesting. I do have a dd-wrt router on my external (non-secure) network, maybe I should move my test slug over there and see what it says... Dec 23 17:06:53 it would be interesting, at the least Dec 23 17:07:32 It means a loooooong cable needs to be run first ;) Dec 23 17:07:44 :) ouch Dec 23 17:08:50 But as I'm trying to upgrade to gigabit anyway, perhaps that's the trigger to get me to do it. Dec 23 17:09:13 Does /initrd/unslung exist if you boot without external storage attached? Dec 23 17:09:33 ShadowJK: no. Dec 23 17:10:53 Here's the magic: The NSLU2 boots from the internal flash up to a certain point -- at that point, it has loaded the critical drivers (USB, and network) and can access the external disk. It waits a moment for the Linksys software to automagically mount the external disk, and then the boot procedure switches to the external disk, and continues the boot. Dec 23 17:11:26 The switch to external disk changes the external disk to be mounted on "/", and remounts what used to be "/" to "/initrd". Dec 23 17:12:08 So depending on what point you are in the boot process, a reference to "/something" may be on either the internal flash, or on an external disk. Dec 23 17:14:41 hhmm...is there a reason why I cannot change the LAN configuration via the web interface? Dec 23 17:14:55 it accepted change to LAN DNS servers, but not the iP Dec 23 17:15:16 What if I make a total mess out of the wiki article, is there a one-click solution to reverting back? :) Dec 23 17:15:59 mwester, oh crap so /initd/unslung might get executed with external storage attached too :) Dec 23 17:17:44 ShadowJK: Depends on which scripts you divert. Basically, each script checks for a diversion script in "/unslung" -- so the script that run *BEFORE* the switch to external storage will only check internal flash. Dec 23 17:29:42 anyone wanna check if it looks reasonably ok now? http://www.nslu2-linux.org/wiki/Unslung/DiversionScripts Dec 23 17:34:03 yes shadowJk more clear now=) Dec 23 17:34:40 i never got that to work. maybe now. Dec 23 17:35:51 I suspect most people just put stuff in /unslung or /share/?/data/unslung, and that should work fine Dec 23 17:46:12 wow...running secure webserver hits the CPU hard on this NSLU2 unit. Dec 23 17:46:12 wish there was a way to enable https only for authentication and password change page.....i know how to do that in apache with a mod_rewrite...but I doubt this puppy is running apache. Dec 23 17:49:18 you can run apache Dec 23 17:49:23 I had it run fine for over a year Dec 23 17:49:37 but, unless you really need it...I suggest lighttpd Dec 23 17:51:36 DrJ: nah I think ill skip the ssl. id usually ssh to admin it...:-) Dec 23 17:52:43 you can create your own little security exchange through php Dec 23 17:52:52 but yea, ssh is best Dec 23 18:29:24 did anyone get an error message when turning on swap? Dec 23 18:29:29 root@OpenWrt:/etc# swapon /dev/sda1 Dec 23 18:29:29 swapon: /dev/sda1: Function not implemented Dec 23 18:31:01 Device Boot Start End Blocks Id System Dec 23 18:31:01 /dev/sda1 1 15626 250012 82 Linux swap / Solaris Dec 23 18:31:01 /dev/sda2 15627 46877 500016 83 Linux Dec 23 18:31:01 /dev/sda3 46878 61324 231152 83 Linux Dec 23 18:40:22 also I noticed that running a mkfs.ext3 actually create an ext2 filesystem??? Dec 23 18:40:28 root@OpenWrt:/etc# mkfs.ext3 /dev/sda1 Dec 23 18:40:51 root@OpenWrt:/etc# mount Dec 23 18:40:51 rootfs on / type rootfs (rw) Dec 23 18:40:51 Dec 23 18:40:51 /dev/sda1 on /opt type ext2 (rw) Dec 23 19:52:41 Does the openwrt kernel have ext3 support? :) Dec 23 19:53:09 cat /proc/filesystems Dec 23 19:53:25 it's supposed to - i thought Dec 23 19:53:28 ;D Dec 23 20:48:08 morning Dec 23 20:48:30 my: does anyone know if there is a IRC-Server pakage for MIPS??? Dec 23 20:49:02 i would like to run it on an ASUS WL-500g with 64MB of RAM Dec 23 21:24:48 DooMMasteR - what are you currently running on you dd-wrt? Samba? Dec 23 21:25:24 oh well Dec 23 22:52:34 anyone know where I can find some good documentation on dropbear? Dec 23 22:52:42 their site or the source tarball does not have any docs Dec 23 22:52:49 I am trying to make it listen on a particular IP Dec 23 22:54:21 nevermind.... port ":port> will accomplish this Dec 23 23:09:54 anyone know how to safely disable dnsmasq? I am running bind on this device and I require port 53. Dec 23 23:56:05 how can I specify a custom mount command on boot? I don't see a fstab?? Dec 23 23:56:56 place the mount command in custom-user-startup is not working Dec 23 23:57:08 /bin/mount /dev/sda1 /opt **** ENDING LOGGING AT Mon Dec 24 02:59:56 2007