**** BEGIN LOGGING AT Fri Mar 18 23:59:56 2005 Mar 19 00:57:56 anyone using nfs on NSLU2 Mar 19 00:57:57 ?? Mar 19 00:58:52 is it safe to change the uid & gid in /etc/passwd & /etc/group?? Mar 19 01:00:21 or is there any other solution?? Mar 19 08:33:33 Anyone there (to help me a bit)? Mar 19 13:40:15 Total newbie to the NSLU2 - but at least I've got TwonkyVision up and running by now. Mar 19 13:40:33 Have a few questions though, if anyone's out there... Mar 19 13:41:43 Noone there? Mar 19 13:53:39 ronnis: what's up? Mar 19 13:55:37 caplink: Hi! Well, a few basic (I guess) questions... Mar 19 13:55:58 will try to find some answers Mar 19 13:56:16 caplingk: Have I understood everything right that whenever I boot the NSLU2 with the harddisk plugged in, I cannot telnet to the NSLU2? Mar 19 13:56:30 nope Mar 19 13:56:49 if you boot without hd, telnet into Mar 19 13:57:15 and then copy /etc/passwd -> /share/hdd/conf Mar 19 13:57:27 then the root pw is uNSLUng Mar 19 13:57:46 And will remain so even after I rebooted with harddisk plugged in? Mar 19 13:58:21 sorry, forgot, telnet into, plug the hd in and then copy Mar 19 13:58:49 in the moment, when you pluged the hd in the slug use the /share/hdd/conf/passwd Mar 19 13:58:59 stay Mar 19 13:59:23 OK. So it would be like this: Mar 19 13:59:37 1) Boot without hd. Telnet into the NSLU2. Mar 19 13:59:41 but, omho, the better way is, to add a user with the webinterface, and then change uid and gid to 0 Mar 19 13:59:59 s/omho/imho Mar 19 14:00:09 Never thought of that! Good idea! Will try it right away! Mar 19 14:00:11 1) yes Mar 19 14:00:36 and give the new user a shell and a home dir Mar 19 14:01:20 what's about your expirience with *x ? Mar 19 14:01:49 Poor experience with (all) unix (dialects), unfortunately Mar 19 14:02:00 But I'm learning by the minute here! :-) Mar 19 14:02:06 but vi and understance of dir and files is ok? Mar 19 14:02:11 Yep! Mar 19 14:02:14 (hope so) Mar 19 14:02:15 fine Mar 19 14:02:37 so, i think, add a new user in the webinterface Mar 19 14:03:08 Done that Mar 19 14:03:10 then edit /etc/passwd to change uid and gid to 0, and set the homedir and the shell Mar 19 14:03:40 Rebooting the NSLU2 now (without hd). Mar 19 14:03:41 plug hd in and copy /etc/passwd to /share/hdd/conf/passwd Mar 19 14:04:16 and /usr/local/passwd Mar 19 14:04:51 so you have under all circumstance a user with root privilegs Mar 19 14:05:17 Sound good - will see in a minute if I can get it to work... Mar 19 14:05:31 if you want have telnet permanently enabled Mar 19 14:06:04 you should divert rc.xinetd Mar 19 14:11:01 Ok, so now I've rebooted it and logged in (but not changed the passwd-files). Time to plug in the harddisk, eh? Mar 19 14:12:03 si Mar 19 14:13:03 but, now ypu have to change /share/hdd/conf/passwd Mar 19 14:13:44 to something like that Mar 19 14:13:52 joerg:sctGrN6AXXXXX:2000:501::/share/hdd/data/joerg:/bin/sh Mar 19 14:14:13 where joerg is the user with root privilegs Mar 19 14:14:42 where you shoud change 2000:501 to 0:0 Mar 19 14:14:45 + Mar 19 14:15:16 The user I added was of course added to the hard drive (dummy, eh?)... Mar 19 14:15:36 ...so I'm adding a new user in the web interface now? Mar 19 14:15:42 add it when hd was plugged in? Mar 19 14:15:55 Yep. Sorry! Mar 19 14:16:05 np, save work Mar 19 14:16:53 So I unplug harddisk again and add a user, the plug in harddisk. Run vi on passwd file and the added user should be there. Mar 19 14:17:46 But if the harddisk ain't plugged in, then I cannot create a private folder for that user! Mar 19 14:18:37 there are three palces, where copies of passwd exist, /etc/passwd (use without hd) /share/hdd/conf (use with hd) and /usr/local/ (as backup imho) Mar 19 14:18:37 God - I'm feeling stupid here... Mar 19 14:18:55 relax ;-) Mar 19 14:19:02 Phew... Mar 19 14:19:12 cool down Mar 19 14:19:15 ;-) Mar 19 14:20:03 OK - so now the harddisk is unplugged. I'm in the users page in the admin page and I'm gonna add a user. I won't be able to create a private folder for that user now. Is that correct? Mar 19 14:20:25 hm, my error, pls wait Mar 19 14:21:16 so telnet in, plug hd, wait 30 secs, add user via webif, the new user should be in /share/hdd/conf/passwd Mar 19 14:21:44 ok Mar 19 14:21:44 so you can add a home folder too Mar 19 14:22:00 or called private folder Mar 19 14:22:56 if the user is in /share/hdd/conf/passwd, edit this passswd for your needing/needs Mar 19 14:23:32 and copy it to /etc/passwd and /usr/local/passwd Mar 19 14:23:44 Ok. So there I am! I change 2000:501 to 0:0 and /dev/null to /bin/sh Mar 19 14:23:50 k Mar 19 14:24:37 so you have 3 identical passwd files and you can use your user with/without hd Mar 19 14:25:36 try than to login as the new user Mar 19 14:26:43 Finally remembered the correct vi commands... so now I'm copying the passwd file to the other two places... Mar 19 14:27:55 :-) Mar 19 14:28:15 Should I reboot? Mar 19 14:28:36 no, login will read he passwd every time a user logged in Mar 19 14:29:12 s/he/the Mar 19 14:29:15 OK. Doesn't work. :-( And in the web interface, all users (admin, guest, and my account) are all gone... Mar 19 14:29:32 ? Mar 19 14:29:55 1. you add a user in the webif Mar 19 14:30:08 2. you edit /share/hdd/conf/passwd Mar 19 14:30:24 3. you cp this file to the ither locations Mar 19 14:30:29 4. must work Mar 19 14:30:39 1-3: Yes! 4: No. Mar 19 14:30:45 :-( Mar 19 14:31:04 did you f5 in the browser? Mar 19 14:31:17 Sure thing Mar 19 14:31:26 grumpf Mar 19 14:31:38 try to reboot, pls Mar 19 14:31:50 with hd plugged in Mar 19 14:32:32 and than try to log in with the new user Mar 19 14:32:32 ok. will do. strange thing: my added user turns up as a group in the webif Mar 19 14:32:51 probably an error in edit? Mar 19 14:32:58 Probably. Mar 19 14:33:05 erase a : to much? Mar 19 14:33:27 ei northern europe time this evening ;-) Mar 19 14:33:45 It's gonna be a looong night... Mar 19 14:33:58 hm, nightshift Mar 19 14:34:03 commodores Mar 19 14:34:08 fine music ;-) Mar 19 14:34:11 When rebooting now, no risk that I can't access the web.if.? Mar 19 14:34:45 I.e. should I reinstall the firmware when I still can access the web.if.? Mar 19 14:34:57 hm, pls control the passwd files first, i think, there is an error by editing Mar 19 14:35:45 Can't really check the passwd files since I can't telnet into the NSLU2... Mar 19 14:35:59 and, you can cahnge the password of root to a value that you know Mar 19 14:36:14 ooh Mar 19 14:36:24 telnet enable via webif? Mar 19 14:37:29 Telnet is enabled. It's the user/password-combination that's the trouble. (Login incorrect) Mar 19 14:37:52 k, you're too fast :-( my error Mar 19 14:38:08 (Too fast for my own good, as it seems) Mar 19 14:38:41 so, reflash... but, what version you're running? Mar 19 14:39:05 V2.3R25-uNSLUng-standard-3.18-beta Mar 19 14:39:23 k, is maintenance mode possible? Mar 19 14:39:37 Think so. Mar 19 14:39:43 via webif? Mar 19 14:39:51 Yes Mar 19 14:39:54 k Mar 19 14:40:26 so, imho, reflash, so that is all at new start Mar 19 14:40:36 plug hd in Mar 19 14:40:37 Will do! Mar 19 14:40:43 add new user Mar 19 14:40:54 Will try it all again. Mar 19 14:40:58 edit /share/hdd/conf/passwd Mar 19 14:41:14 and change root pw to the pw from your new user Mar 19 14:41:42 so you have a new user with root privs and a known pw for root Mar 19 14:41:55 Ok. Mar 19 14:42:07 Both change root pw, and set 0:0 and /bin/sh for the added user? Mar 19 14:42:44 yeah, normally use the new user, but if problems occurs you can logged in as root with the known pw Mar 19 14:42:53 Great! Mar 19 14:43:10 and copy the /share/hdd/conf/pw to the known places Mar 19 14:43:44 means /etc/passwd and /usr/local/passwd Mar 19 14:43:59 Ready for some bad news? Mar 19 14:44:08 give it to me Mar 19 14:44:25 Can't access the NSLU2. Mar 19 14:44:27 the tv program is bad this evenin Mar 19 14:44:37 oops Mar 19 14:44:45 via webif? Mar 19 14:45:09 It boots up ok, but I'm not granted access neither to the webif. Mar 19 14:45:48 have you try telnet into redboot before? Mar 19 14:45:59 I can ping it. And it booted ok from the hard disk. Mar 19 14:46:09 So I guess it's the redboot telnet now... Mar 19 14:46:56 hm, have you the possibility to boot unix somewhere? Mar 19 14:47:15 eg. knoppix Mar 19 14:47:48 Have OSX on my mac Mar 19 14:48:07 could the mac read an write a ext3 disk? Mar 19 14:48:17 dunno? Mar 19 14:48:34 Not by just plugging it in I think - hang on a sec. Mar 19 14:49:04 as i said, the tv program is bad, this evening Mar 19 14:49:23 Here too - just the Barcelona game, but nothing else... Mar 19 14:50:35 so you can't access the hd from the mac? Mar 19 14:50:44 But you can read ext3 on a PC with a plugin software Mar 19 14:51:08 yeah, but what's about writing? Mar 19 14:51:51 Ah, that's true... Mar 19 14:52:30 I think I need a driver for the mac in order to read ext3 Mar 19 14:53:30 so, you might follow http://www.nslu2-linux.org/wiki/HowTo/TelnetIntoRedBoot Mar 19 14:54:00 and http://www.nslu2-linux.org/wiki/HowTo/TelnetIntoRedBoot Mar 19 14:54:18 to flash the slug Mar 19 14:54:41 Yep. That's the way it's gonna be. What was your plan for the os x reading/writing of ext3 Mar 19 14:55:01 dunno, i'm poor pc user ;-) Mar 19 14:55:21 s/user7looser Mar 19 14:55:42 :-) Mar 19 14:56:16 I think I'll quit for tonight. I have to find the crossover cable - and I honestly don't know where it is at the moment. And it's after midnight here (as it is in Germany)... Mar 19 14:56:33 you're english is quite fine, should be much better than mine Mar 19 14:56:56 yeah, germany, but sweden is not so far Mar 19 14:57:00 same timezone Mar 19 14:57:18 Spent more time with English books than linux books, but it doesn't give me any help for my super-server-plans exactly... Mar 19 14:57:40 what you're plans? Mar 19 14:58:11 To have a Twonkyvision+iTunes+ftp server. Mar 19 14:58:13 in the moment the slug streams mp3 for my noxon Mar 19 14:58:34 tv is running fine on the slug Mar 19 14:58:51 And earlier tonight it streamed nicely to my kitchen for my Streamium there. Mar 19 14:58:58 Back in the old days... Mar 19 14:59:05 itunes is not my favoured thing Mar 19 14:59:52 yeah, bathroom, and sleeping room willbe the next ;-) Mar 19 14:59:53 I like quiet computers. So I've got a Cube for surfing, mailing and a MacMini on it's way as a HTPC. For work I use a PC of course. Mar 19 15:00:37 in german it is a cost of power problem, the slug is much cheaper than a pc Mar 19 15:01:26 and a problem of loudness of course Mar 19 15:01:47 We pay something like 0.07 Euro (incl taxes) per kWh here - prices have gone up rather much the last few years (it used to be 0.025E just a few years ago) Mar 19 15:02:10 Loudness + electricity is my main issues (in that order) Mar 19 15:02:18 a joke, i think, we're at .15 cent per kwh Mar 19 15:03:51 That's amazing! That's really really to expensive! Mar 19 15:04:16 so, cigarettes are of, program is bad, i will go to bed, and be right back at 12 am, if my wife have no other plans;-) Mar 19 15:04:52 Thanks a lot for your assistance tonight. It didn't end happily, but at least I know my way around the NSLU2 better now. Mar 19 15:05:13 :-) good night Mar 19 15:05:23 You too! Mar 19 16:39:37 hi Mar 19 16:40:02 has anybody tried to connect a cd-writer with the nslu2?? Mar 19 22:21:03 hi Mar 19 22:21:25 has anybody tried to connect a cd/dvd-writer to nslu2?? Mar 19 22:37:32 hello Mar 19 22:37:34 ping **** ENDING LOGGING AT Sat Mar 19 23:59:56 2005