**** BEGIN LOGGING AT Tue Jul 05 23:59:56 2005 Jul 06 09:42:55 can anyone tell me how i can verify that the nslu2 is running on external rootfs Jul 06 09:43:09 df Jul 06 09:43:39 you should see it on the sizes Jul 06 09:43:54 when i originally started..root was mount at 81%. i made some edits, and now it's showing 88%. but the drives are mounted correctly. for example, i see /share/hdd/data Jul 06 09:44:25 Filesystem 1k-blocks Used Available Use% Mounted on Jul 06 09:44:25 rootfs 153660192 6107884 145991192 4% / Jul 06 09:44:25 /dev/sda1 6528 5316 1212 81% /initrd Jul 06 09:44:25 /dev/sda1 153660192 6108004 145991072 4% / Jul 06 09:44:25 /dev/sda1 153660192 6108004 145991072 4% /share/hdd/data Jul 06 09:44:25 /dev/sda2 116661 4160 111297 4% /share/hdd/conf Jul 06 09:44:32 that's what you should see Jul 06 09:44:43 with df Jul 06 09:44:48 hmmm Jul 06 09:45:15 # df Jul 06 09:45:21 but I can already state that if you see 88%, you didn't get a good unsling or your slug did not boot off of hd Jul 06 09:45:37 do i have to unsling every time i open a telnet session and want to edit? Jul 06 09:45:45 unsling once Jul 06 09:45:56 because when i boot the nslu2, i do see activity on the usb hdd Jul 06 09:46:03 let me see if i can paste my df Jul 06 09:46:16 Filesystem 1k-blocks Used Available Use% Mounted on Jul 06 09:46:23 rootfs 6528 5712 816 88% / Jul 06 09:49:35 you're just filling your flash now Jul 06 09:49:41 yep :( Jul 06 09:49:58 that rootfs line shows that / does not equal /dev/sda1 Jul 06 09:50:41 telnet into redboot, re-flash unslung 5.5 Jul 06 09:50:52 (without hd attached!) Jul 06 09:50:59 i'm running an older version of the firmware Jul 06 09:51:22 i tried 5.5, but it would not mount the hdd automatically with the drive attatched Jul 06 09:51:49 I believe that your timing might be a little off Jul 06 09:52:05 after you reflash, and reboot without hd attached Jul 06 09:52:21 telnet in (without hd attached!!!) Jul 06 09:52:31 then hotplug your hd Jul 06 09:52:42 make sure the web interface shows your hd Jul 06 09:52:46 when i would do that with 5.5, the web interface would not show the hdd Jul 06 09:52:59 what port are you plugging the hd into Jul 06 09:53:00 with 4.x, it works fine Jul 06 09:53:02 disk1 Jul 06 09:53:18 the R29 linksys binary has an issue with port 2 Jul 06 09:54:00 in 5.5, i had to run rc.bootbin just to get the drive to mount Jul 06 09:54:18 what kind of drive / enclosure Jul 06 09:54:32 it's a western digital 120gb drive..the enclose is generic Jul 06 09:54:56 all enclosures are generic - but they are still made by someone Jul 06 09:54:59 i would have no problem running 4.x, it's just that it's not booting rootfs. Jul 06 09:55:12 I'm using bytecc's (as generic as generic gets) Jul 06 09:55:42 which is essentially the same problem as you are seeing with 5.5 Jul 06 09:56:43 #/dev/sda1 115205036 45000 113989624 0% /share/hdd/data Jul 06 09:56:50 that's the line i get when doing a df Jul 06 09:57:02 so it is mounting /dev/sda1 Jul 06 09:59:41 but not at boot Jul 06 09:59:55 so you still have a problem with the drive mounting Jul 06 10:00:10 that's why you have halfway filled your flash Jul 06 10:01:26 :( Jul 06 10:01:51 i can fix that by reflashing, right? Jul 06 10:01:57 and it'll go back down to 81 Jul 06 10:02:05 all that you have verified is that your drive will hotplug Jul 06 10:02:45 which either means that something is funky with the drive / enclosure - or the unslinging process is not completing or done correctly Jul 06 10:02:56 did you go to 4.x from 3.x? Jul 06 10:03:24 nope...i started by going to 5.5..when it wouldn't mount correctly with the drive attached, i went back to linksys firmware....after that, i reflashed to 4.x Jul 06 10:03:45 the drive now can be seen when booting with the drive attached, but it's not mounting rootfs Jul 06 10:04:48 actually, the drive is still not seen while booting Jul 06 10:04:59 it's just hotplugging before you check Jul 06 10:05:04 ultimately, i want this to run apache. i can already see a problem. because the built in webserver runs on port 80, apache runs on 8000. i need to be able to change the default webserver to a different port and apache to 80 Jul 06 10:05:27 see if it were *seen* while booting, the rootfs would show as / on the /dev/sda1 Jul 06 10:05:54 plenty of ppl have no issues running apache Jul 06 10:06:13 but by default it runs on 8000, right? Jul 06 10:06:22 so the website would have to be http://mywebsite:8000 Jul 06 10:06:39 either, you set your router to port forward port 80 requests to your slugs port 8000 or.... Jul 06 10:08:49 that makes sense. that should work. Jul 06 10:09:08 if you can get your hd/enclosure prob cleared up Jul 06 10:09:39 yeah, i think this nslu2 linux thing is great, it's just that it is acting quirky with me. Jul 06 10:09:50 i wish there was a manual way i could mount rootfs Jul 06 10:10:05 then i can add it to a boot script like rc.local Jul 06 10:34:14 honestly mike, I would flash 5.5 and try to figure out why it is not being recognized Jul 06 13:12:06 "/nick demambero" Jul 06 13:13:52 ok i might be being a bit thick but.... I have installed dropbear and made sure i is running but when I try and log in i enter in the username root and the root password and it returns permissioned denied, does it use a difefrent passwd file or something as this password is workign the telnet interface? Jul 06 13:15:25 whoops Jul 06 13:17:45 so any ideas about my dropbear problem? Jul 06 13:17:52 stay tuned Jul 06 13:23:26 plink212, you have read this doc http://www.nslu2-linux.org/wiki/HowTo/UseDropBearForRemoteAccess ? Jul 06 13:25:04 plink212, 1st. which shell your user will use ? /bin/sh or /opt/bin/sh? Jul 06 13:25:44 yesyesye Jul 06 13:26:01 this java client is a bit fruity Jul 06 13:26:14 I am using /opt/bin/bash Jul 06 13:26:23 time to try a proper client ;-) Jul 06 13:26:46 * plink212 hangs head in shame Jul 06 13:26:47 plink212, and you've add /opt/bin/bash to /etc/shells? as valid login shell? Jul 06 13:26:55 yep Jul 06 13:27:17 am getting bash at telnet prompt Jul 06 13:27:49 that's not the same... the password your use, is equal to the password which is in /etc/passwd for user root? Jul 06 13:28:20 how would one check that then? Jul 06 13:29:32 cat /etc/passwd cat /share/hdd/conf/passwd and then compare the password (encrypted) fields Jul 06 13:29:57 yes sym linked Jul 06 13:30:02 k Jul 06 13:30:37 which client you've tried? putty? Jul 06 13:30:47 mac os x ssh Jul 06 13:34:31 have you anything changed in /opt/etc/S51dropbear? Jul 06 13:34:39 no Jul 06 13:34:48 k Jul 06 13:36:54 which unslung version you're running? Jul 06 13:37:14 5.5 Jul 06 13:38:17 mom, pls, must install dropbear.. Jul 06 13:42:58 installed, works out of the box Jul 06 13:43:29 plink212, hm, whats about the file permissions of /dev/ttyp* ? Jul 06 13:44:07 think I have shefted the passwd files with my symlinking doh Jul 06 13:44:16 shefted = shafted Jul 06 13:45:37 hm, if your system boots with an attached hd, then /etc/passwd is a syslink to /share/hdd/conf passwd Jul 06 13:46:06 if you're edit /etc/passwd then it is a real file, and the symlink is broken Jul 06 13:48:17 have broken the lot now, was the symlinking thanks for help Jul 06 13:48:57 hm , a hurry customer... **** ENDING LOGGING AT Wed Jul 06 23:59:56 2005