**** BEGIN LOGGING AT Thu Dec 08 02:59:59 2005 Dec 08 05:40:48 Does anyone have the file mod_proxy_html.so or mod_accessibility.so for the slug (ARM architecture)? Dec 08 06:23:47 hello Dec 08 06:25:25 anybody here who got experience with tne sonology 101j model ? Dec 08 08:06:27 hi Dec 08 08:07:05 i have a question about unslung5 installation Dec 08 08:07:27 i installed it and reboot with hdd Dec 08 08:07:35 but i cannot use ipkg Dec 08 08:07:56 what is my mistake? Dec 08 08:11:32 Stabilisator, you have not successfully performed the "unsling" portion of the installation for some reason; that means that you are not booting from the hard disk, you are still booting from the flash memory Dec 08 08:11:59 hmmm ok thank you... Dec 08 08:13:02 ok...i think i must search again in wiki Dec 08 08:13:55 each of the steps in the installation instructions must be followed precisely or you will have such a failure; the installation is not very forgiving :( Dec 08 08:15:02 yes, i did this 3 or 4 times. Ok again.... Dec 08 08:16:33 Ow - 3 or 4? Can you describe your procedure? You have flashed the new unslung 5.5 into the NSLU2, of course? Dec 08 08:17:39 yes Dec 08 08:17:57 than i restart with hdd Dec 08 08:18:07 check if the hdd is ok in the web center Dec 08 08:18:43 unlug the disk Dec 08 08:18:49 reboot Dec 08 08:18:59 go into web center to telnet.cgi Dec 08 08:19:10 and activate the telnet app Dec 08 08:19:34 login into telnet, /sbin/unsling disk1 Dec 08 08:19:40 is there a way to make telnet auto start Dec 08 08:20:20 in fact, is there a way to make packages like ssh and apache autostart Dec 08 08:21:27 http://www.apfeltalk.de/forum/network-storage-link-t6265-18.html Dec 08 08:21:36 the first post Dec 08 08:22:23 was that link for me? Dec 08 08:22:30 yep Dec 08 08:22:30 I don't know that language Dec 08 08:22:41 # cd / Dec 08 08:22:41 # mkdir unslung Dec 08 08:22:44 look at here Dec 08 08:23:00 and do these steps...there you must not understand german Dec 08 08:23:29 * Nimmit only knows english Dec 08 08:24:41 -> reboot with hdd, login into telnet, /sbin/unsling disk1 Dec 08 08:24:47 reboot again Dec 08 08:24:56 that was all...i think Dec 08 08:26:04 Ok. looks good, something must have gone wrong with either the /sbin/unsling operation or the reboot. Can you telnet back into the NSLU at this point, or is it dead? Dec 08 08:26:30 i must restart telnet again after reboot in web center Dec 08 08:26:47 but i can login with my hdd password Dec 08 08:27:45 With the hdd password? uNSLUng? Dec 08 08:27:52 no Dec 08 08:28:07 i edit created a password for hdd Dec 08 08:28:20 edit/created Dec 08 08:28:43 ahh sorry..this was the 2. time Dec 08 08:29:09 onm the first installation i logged in with uNSLUng Dec 08 08:29:27 after i boot without harddisk Dec 08 08:30:11 Ok - in any case, what is the output from the "mount" command (when you boot with the harddisk)? Dec 08 08:31:37 can i post it here or a pastebin? Dec 08 08:32:24 http://pastebin.com/454082 Dec 08 08:33:43 * Nimmit is still lost on this autostart thing Dec 08 08:33:57 that german page didn't help to much Dec 08 08:35:20 http://pastebin.com/454087 Dec 08 08:35:30 i hope it works Dec 08 08:36:28 Well, you are unslung. For some reason, the ipkg link did not get created, perhaps? Dec 08 08:37:11 yes Dec 08 08:37:12 'ls -la /usr/bin ip*' Dec 08 08:37:16 i found it in /etc.. Dec 08 08:37:17 ok Dec 08 08:37:35 Oops 'ls -la /usr/bin/ip*' Dec 08 08:37:36 ip= my fileserver ip i think? Dec 08 08:38:59 No, my typing mistake, just a wild-card to list all files in /usr/bin beginning with the letters "ip" Dec 08 08:39:11 ahh thats looking good Dec 08 08:39:31 yes with the * i understood what you mean Dec 08 08:39:39 reboot? Dec 08 08:39:50 Do you see "ipkg" and "ipkg-cl"? Dec 08 08:39:51 it works well Dec 08 08:40:01 :) Dec 08 08:40:06 thank you.... Dec 08 08:40:55 next step ;-) Dec 08 08:41:19 You should be able to do the "ipkg update" command now Dec 08 08:41:44 ahh yes.....i mean this step is finished Dec 08 08:41:52 and the next can come.... *g* Dec 08 08:42:32 ahh ipkg is nice... Dec 08 08:42:37 i only now apt-get Dec 08 08:42:43 know Dec 08 08:42:52 Nimmit - ssh should autostart; there is a startup script that is installed. telnet can be enabled; it is described somewhere on the wiki but I do not recommend telnet if one can use ssh instead. Dec 08 08:44:37 port 22? Dec 08 08:44:39 ssh Dec 08 08:46:46 I like ssh much better also Dec 08 08:46:54 but right now I have to telnet into it to start ssh Dec 08 08:47:02 it didn't autostart Dec 08 08:47:25 I want apache to autostart also Dec 08 08:51:04 ssh did not autostart Dec 08 08:51:20 neither did telnet Dec 08 08:53:41 huh Dec 08 08:53:45 now telnet wont work at all Dec 08 08:54:00 I clicked enabled on the telnet.cgi page Dec 08 09:01:51 what changes did you make Nimmit? Dec 08 09:02:21 I did what Stabilisator Dec 08 09:02:23 said Dec 08 09:02:32 http://pastebin.com/454087 <--on that site Dec 08 09:04:22 also Dec 08 09:04:46 any time I add a file to my document root for apache I must chmod 755 to it so people can access it Dec 08 09:04:50 I don't want to have to do that Dec 08 09:04:54 Nimmit, no aproblem at all, shutdown the nslu, and boot without hd attached, then enable telnet Dec 08 09:05:14 morning, btw Dec 08 09:05:17 morning Dec 08 09:05:21 I got telnet working now Dec 08 09:05:39 ah, ok Dec 08 09:06:07 on what way do you add documents to apache ? Dec 08 09:06:18 I have a mapped drive to the document root Dec 08 09:06:25 I just save files there Dec 08 09:07:00 they can't be accessed until I go in and chmod it Dec 08 09:07:05 then you should have a look at www.samba.org, it is a samba problem, you must adjust the filerights in smb.conf Dec 08 09:07:12 k Dec 08 09:07:55 something about "create mask" imho Dec 08 09:07:59 got a 404 for that link Dec 08 09:09:05 www.samba.org works for me, the link above may contain a colon Dec 08 09:09:43 bbl Dec 08 09:09:53 do I download that? Dec 08 09:14:33 juhu Dec 08 09:14:40 ssh is working Dec 08 09:15:28 ipkg install sshd Dec 08 09:16:08 to test: cd /opt/sbin Dec 08 09:16:16 ./sshd Dec 08 10:46:42 hmm i have a little problem with vsftpd Dec 08 10:46:52 500 OOPS: vsftpd: cannot open config file:/opt/etc/vsftpd.conf <- i have chance chmod to 777 Dec 08 10:47:03 and it exists there Dec 08 10:48:07 hmm have anyone a idea to solve this problem? Dec 08 14:55:04 arg...ever when i want to use proftpd, it do not work....proftpd isn't my friend Dec 08 15:01:09 Stabi, proftpd usually run like a charm, what is the error output? Dec 08 15:05:54 ACTION  Dec 08 15:06:41 authendication Dec 08 15:06:49 is my problem Dec 08 15:08:14 AuthUserFile /opt/etc/passwd.proftpd <- this i wrote in global section of proftpd.conf Dec 08 15:08:23 is the pwd crypted or not? Dec 08 15:08:49 oh, dunno, myself use /etc/passwd for authentification Dec 08 15:09:02 but, imho, it shouldn't be crypted Dec 08 15:09:41 hmm but in the /etc/passwd file it is crypted...on debian forum they wrote that i must encrypted Dec 08 15:09:49 so i test it....i reboot now Dec 08 15:10:16 sorry decrypted Dec 08 15:10:42 seems, that you're right, see http://www.proftpd.de/Direktiven.54.0.html#27 Dec 08 15:10:59 with samba i can login as user with the pw Dec 08 15:13:22 ok thanks Dec 08 15:13:28 the same format. Dec 08 15:13:49 and http://www.proftpd.de/HowTo_AuthUserFiles.40.0.html is interesting too Dec 08 15:14:25 specially the sentence which points to something like ftpasswd Dec 08 15:14:33 on my debian server i do authendicate with mysql Dec 08 15:14:52 but i think for a homeserver it is to many work for the little box Dec 08 15:14:58 why not on the nslu too Dec 08 15:15:02 ? Dec 08 15:15:18 one reboot is 5 minutes Dec 08 15:15:40 now...and i installed not many apps and tools Dec 08 15:16:04 but 5 minutes against [root@linus etc]$ uptime Dec 08 15:16:04 23:15:41 up 53 days, 23:51, 0 users, load average: 1.25, 1.13, 1.05 Dec 08 15:16:53 ok...i think in windows time... *g* Dec 08 15:16:56 so 5 minutes are nothing Dec 08 15:16:59 my old homeserver was on xp Dec 08 15:17:02 when I add netbios aliases, when do they show up? Dec 08 15:17:06 to samba Dec 08 15:17:14 yes samba works fine Dec 08 15:17:25 I thought it said it updates every 60 seconds Dec 08 15:18:06 Stabi, why do you don't running debian on the nslu, it seems familar to you? Dec 08 15:18:47 this is my first day with this box Dec 08 15:19:29 yeah, sorry, little mix-up Dec 08 15:19:45 ;-) Dec 08 15:21:32 Nimmit, can you define "netbios aliases" pls? Dec 08 15:21:45 http://us4.samba.org/samba/docs/using_samba/ch06.html Dec 08 15:21:47 on that page Dec 08 15:21:53 global] Dec 08 15:21:53 netbios aliases = sales accounting admin Dec 08 15:21:53 include = /usr/local/samba/lib/smb.conf.%L Dec 08 15:21:55 has that Dec 08 15:22:06 I tried it, but they don't show up like it says they should Dec 08 15:25:36 nothing I put in smb.conf seems to go in effect Dec 08 15:25:53 maybe, that it is a samba3.0 feature, linksys samba is version 2.0 Dec 08 15:26:20 is linksys samba the one that came with unslung? Dec 08 15:26:27 in which smb.conf, and what do you do after changing the smb.conf? Dec 08 15:26:36 yes Dec 08 15:26:40 I just wait 60 seconds or so Dec 08 15:26:48 like the help on the site said to Dec 08 15:28:01 imho, samba don't read the conf file dynamically Dec 08 15:28:21 ? Dec 08 15:28:53 so you should restart samba after you change something in the config file Dec 08 15:29:26 and for somereason Dec 08 15:29:35 I enable telnet via the http thing Dec 08 15:29:36 yet Dec 08 15:29:44 it wont work for like 10 minutes Dec 08 15:30:00 my ssh wont work either Dec 08 15:31:17 have you verified, that there is a file /opt/etc/init.d/S40sshd with access rights rwxr-xr-x ? Dec 08 15:31:39 it was working just a second ago Dec 08 15:31:41 I restarted the thing Dec 08 15:31:47 now neither telnet or ssh will work Dec 08 15:32:29 does this everytime I restart Dec 08 15:32:37 after maybe 10 minutes they'll work Dec 08 15:33:34 the slug isn't a win box, so there is no necessity for a reboot after any kind of change Dec 08 15:33:56 okay, but why wont my ssh and telnet work Dec 08 15:34:13 I didn't touch anything Dec 08 15:34:18 have you verified, that there is a file /opt/etc/init.d/S40sshd with access rights rwxr-xr-x ? Dec 08 15:34:55 there is no S40sshd Dec 08 15:35:07 that is why sshd don't start Dec 08 15:35:15 what about telnet Dec 08 15:35:16 ? Dec 08 15:35:38 cat /etc/inetd.conf and post the output here, pls Dec 08 15:35:54 I can;t Dec 08 15:36:02 there's no way to get in Dec 08 15:36:02 why ? Dec 08 15:36:09 I don't have telnet or ssh Dec 08 15:36:12 neither will work Dec 08 15:37:41 there is a S51dropbear in that init.d dir Dec 08 15:37:47 that's my ssh server, I think Dec 08 15:38:10 then you would reboot without hd attached, enable telnet in the webif, and do a "cat /unslung/rc.xinetd Dec 08 15:38:28 k, hold on Dec 08 15:38:48 S51dropbear is ok too, if the access rights are 755, or rwxr-xr-x Dec 08 15:40:28 what's the default pass stuff? Dec 08 15:40:30 I forgot Dec 08 15:40:37 uNSLUng Dec 08 15:40:45 username? Dec 08 15:41:18 aeh, root Dec 08 15:41:48 and this is for the web control? Dec 08 15:42:29 nvm Dec 08 15:42:29 no, for telnet login, when the slug booted without a hd attached, login for webinterface is admin/admin Dec 08 15:43:00 you should take a sheet of paper and note some urgent things Dec 08 15:43:18 or read the backlogs of your irc client ;) Dec 08 15:44:30 # cat /unslung/rc.xinetd Dec 08 15:44:30 cat: /unslung/rc.xinetd: No such file or directory Dec 08 15:44:54 should I plug the hdd back in? Dec 08 15:45:40 yes, and then do a "cat /share/hdd/data/unlsung/rc.xinetd" Dec 08 15:45:43 k Dec 08 15:47:42 # cat /share/hdd/data/unlsung/rc.xinetd Dec 08 15:47:42 cat: /share/hdd/data/unlsung/rc.xinetd: No such file or directory Dec 08 15:49:08 but there is a directory /share/hdd/data/unslung ? Dec 08 15:49:31 there is /share/hdd/data/ Dec 08 15:49:34 no unslung in it Dec 08 15:49:44 your disk is in port 1 ? Dec 08 15:49:47 yes Dec 08 15:50:10 then you should do a "mkdir /share/hdd/data/unslung" Dec 08 15:50:41 and Dec 08 15:51:16 wait Dec 08 15:51:21 there is a dir by that name Dec 08 15:51:29 just didn't show in explorer Dec 08 15:51:31 shows in telnet Dec 08 15:51:51 echo "#!/bin/sh" > /share/hdd/data/unslung/rc.xinetd Dec 08 15:52:01 type that Dec 08 15:52:22 now what Dec 08 15:53:07 echo "echo "telnet stream tcp nowait root /usr/sbin/telnetd" > /etc/inetd.conf" >> /share/hdd/data/unslung/rc.xinetd Dec 08 15:53:22 done Dec 08 15:53:31 echo "return 1" >> /share/hdd/data/unslung/rc.xinetd Dec 08 15:53:49 I should be typing this at the promt and not in a file right Dec 08 15:53:55 right Dec 08 15:53:58 k Dec 08 15:54:00 done Dec 08 15:54:17 so, please do a cat /share/hdd/data/unslung/rc.xinetd Dec 08 15:54:23 and post the output Dec 08 15:54:33 # cat /share/hdd/data/unslung/rc.xinetd Dec 08 15:54:33 #!/bin/sh Dec 08 15:54:33 echo telnet stream tcp nowait root /usr/sbin/telnetd > /etc/inetd.conf Dec 08 15:54:33 return 1 Dec 08 15:54:33 # Dec 08 15:55:31 hm it lost the "", baeh, time to vi /share/hdd/data/unslung/rc.xinetd Dec 08 15:55:31 and add the " to the second line, so it looks like that Dec 08 15:55:57 echo "telnet stream tcp nowait root /usr/sbin/telnetd" > /etc/inetd.conf Dec 08 15:57:53 how do I insert in this thing Dec 08 15:58:13 nvm Dec 08 15:58:15 how do I save Dec 08 15:58:16 vi filename Dec 08 15:58:24 I added them Dec 08 15:58:31 but I don't know how to save Dec 08 15:58:55 put the cursor left from the charakter where you want fill in and hit i Dec 08 15:59:11 I already go the quotes in there Dec 08 15:59:16 hit and then :wq Dec 08 15:59:19 k Dec 08 15:59:29 and then Dec 08 15:59:46 so, please do a cat /share/hdd/data/unslung/rc.xinetd Dec 08 15:59:46 and post the output Dec 08 16:00:04 # cat /share/hdd/data/unslung/rc.xinetd Dec 08 16:00:04 #!/bin/sh Dec 08 16:00:04 echo "telnet stream tcp nowait root /usr/sbin/telnetd" > /etc/inetd.conf Dec 08 16:00:04 return 1 Dec 08 16:00:04 # Dec 08 16:00:10 looks nice Dec 08 16:00:23 reboot? Dec 08 16:00:25 next, change the access rights Dec 08 16:00:29 oh Dec 08 16:00:37 how do I do that Dec 08 16:00:43 chmod 755 /share/hdd/data/unslung/rc.xinetd Dec 08 16:00:54 done Dec 08 16:01:12 and then enter /share/hdd/data/unslung/rc.xinetd Dec 08 16:01:23 done Dec 08 16:01:27 now, Dec 08 16:01:49 ls -la /etc/inetd.conf and post the output, pls Dec 08 16:02:04 # ls -la /etc/inetd.conf Dec 08 16:02:04 -rw-r--r-- 1 root root 48 Dec 8 17:55 /etc/inetd.conf Dec 08 16:02:04 # Dec 08 16:02:36 enter date, please, what is the slug time ? Dec 08 16:03:00 # date Dec 08 16:03:00 Thu Dec 8 17:57:16 CST 2005 Dec 08 16:03:00 # Dec 08 16:03:28 yep, that is ok, only one thing, cat /etc/inetd.conf Dec 08 16:03:42 # cat /etc/inetd.conf Dec 08 16:03:42 telnet stream tcp nowait root /usr/sbin/telnetd Dec 08 16:03:42 # Dec 08 16:04:29 k, this should enable telnet automagically after reboot, so let us try this (with hd attached) Dec 08 16:04:37 k Dec 08 16:05:09 Does anyone have the file mod_proxy_html.so or mod_accessibility.so? Dec 08 16:05:22 just a moment Dec 08 16:05:31 hm, apache ? Dec 08 16:06:33 worked Dec 08 16:06:38 how do I get ssh to do the same Dec 08 16:07:09 what do you have installed? dropbear or openssh ? Dec 08 16:07:17 dropbear Dec 08 16:08:03 is dropbear the best one? Dec 08 16:08:13 k, what's about a ls -la /opt/etc/init.d/S51* Dec 08 16:08:27 dropbear is slim Dec 08 16:08:32 # ls -la /opt/etc/init.d/S51* Dec 08 16:08:32 -rwxr-xr-x 1 root root 108 Nov 5 17:27 /opt/etc/init.d/S51dropbear Dec 08 16:08:32 # Dec 08 16:09:02 ssh should work, pls, do a ps -ef | grep dropbear Dec 08 16:09:32 # ps -ef | grep dropbear Dec 08 16:09:32 448 root 1624 S /opt/sbin/dropbear Dec 08 16:09:32 461 root 1896 S /opt/sbin/dropbear Dec 08 16:09:32 501 ttyp0 root 2700 S grep dropbear Dec 08 16:09:32 # Dec 08 16:09:35 Does anyone have mod_proxy_html.so or mod_accessibility.so? I cannot find the binaries anywhere Dec 08 16:09:54 ssh still doesn't work Dec 08 16:10:03 imho that are apache modules, but they aren't in the package Dec 08 16:10:09 correct Dec 08 16:10:26 but dropbear is running Dec 08 16:10:41 I am wondering if someone has the binaries...I can't find them anywhere...and can't compile the .c file Dec 08 16:11:04 thomasrawley05, using unslung-devel package ? Dec 08 16:11:17 if I try to connect Dec 08 16:11:17 no...is that for the slug? Dec 08 16:11:21 it just sits there Dec 08 16:11:27 doesn't bring up a login thing Dec 08 16:11:36 Nimmit, do you have something like superscan, which list the open ports on the slug? Dec 08 16:11:37 Nimmit, correct port? 22? Dec 08 16:11:44 yes Dec 08 16:11:48 I'm using Putty Dec 08 16:12:05 don't think so capbot Dec 08 16:12:16 * caplink811_log Dec 08 16:13:08 maybe i should try to reinstall it Dec 08 16:13:10 did you done the key thing, which is described in the wiki at http://www.nslu2-linux.org/wiki/HowTo/UseDropBearForRemoteAccess ? Dec 08 16:15:00 hmm Dec 08 16:15:01 there is also no reason to reinstall some things, if things don't work, that is not windows Dec 08 16:15:17 how do you remove things Dec 08 16:15:35 normally -> ipkg remove packagename Dec 08 16:15:43 k Dec 08 16:15:57 I've connected to the dropbear before caplink811_log Dec 08 16:16:02 earlier today I was on it Dec 08 16:16:06 then it just stopped working Dec 08 16:16:31 but, the process is running, so it should possible to connect via ssh to the box Dec 08 16:16:39 nope Dec 08 16:16:46 I just get a blank screen, that appears to be connected Dec 08 16:16:50 but never shows anything Dec 08 16:17:06 hm, can you cat /etc/passwd , pls Dec 08 16:17:29 # cat /etc/passwd Dec 08 16:17:29 root:scfqMiBj2iN1w:0:0:root:/root:/bin/sh Dec 08 16:17:29 bin:x:1:1:bin:/bin: Dec 08 16:17:29 lp:x:4:7:lp:/share/spool: Dec 08 16:17:29 mail:x:8:12:mail:/var/spool/mail: Dec 08 16:17:29 ftp:x:14:50:FTP User:/: Dec 08 16:17:31 nobody:x:99:99:Nobody:/: Dec 08 16:17:33 ourtelnetrescueuser:scj/C9Ha.kEIc:100:100::/home/user:/bin/sh Dec 08 16:17:35 guest::501:501::/home/user/guest:/dev/null Dec 08 16:17:37 admin:scfqMiBj2iN1w:502:501:root::/dev/null Dec 08 16:17:39 jeremy:scfqMiBj2iN1w:2000:501:root::/dev/null Dec 08 16:17:41 eggdrop:x:2001:2001:eggdrop daemon:/opt/eggdrop:/bin/false Dec 08 16:17:43 # Dec 08 16:18:08 and the directory /root exists ? Dec 08 16:18:26 yes Dec 08 16:19:59 hm, because i'm not running dropbear, it could be a way to remove dropbear and then reinstall via ipkg install dropbear, and follow the wiki link, which i've posted above Dec 08 16:20:37 so ipkg remove dropbear, then ipkg install dropbear Dec 08 16:21:39 yep Dec 08 16:21:55 Will output 1024 bit rsa secret key to '/opt/etc/dropbear/dropbear_rsa_host_key' Dec 08 16:21:55 Generating key, this may take a while... Dec 08 16:21:55 Warning: Reading the random source seems to have blocked. Dec 08 16:21:55 If you experience problems, you probably need to find a better entropy source. Dec 08 16:21:58 is that a problem? Dec 08 16:22:27 thomasrawley05, yes, there should be a package unslung-devel, with all needed things for native compilation and developing Dec 08 16:22:55 assuming, that you running uNSLUng Dec 08 16:24:19 Nimmit, maybe, this should fixed in uNLSUng-5.5,hm Dec 08 16:25:27 Nimmit, two things Dec 08 16:26:08 1st ls -la /dev/random and 2nd ls -la / but there i need only the line with the dev directory Dec 08 16:28:24 # ls -la /dev/random Dec 08 16:28:24 crw-r--r-- 1 root root 1, 8 Dec 31 1969 /dev/random Dec 08 16:28:24 # Dec 08 16:28:44 ------ Dec 08 16:28:48 drwxrwxr-x 3 root root 4096 Dec 7 17:04 dev Dec 08 16:30:38 looks good, aka normal Dec 08 16:30:46 :) Dec 08 16:31:04 everybody should read the random device Dec 08 16:32:15 maybe I should try the other ssh server Dec 08 16:32:31 that is another possibility Dec 08 16:32:40 this one just wont work anymore Dec 08 16:32:44 but dropbear should work Dec 08 16:33:02 what do I type to start dropbear Dec 08 16:33:37 it's not running at the moment Dec 08 16:33:40 well, but that might be a thing for tomorrow (in my tz), now it is time to heading to bed Dec 08 16:33:56 Nimmit, /opt/etc/init.d/S51dropbear Dec 08 16:34:35 that didn't start it Dec 08 16:35:11 hm, so dunno :(, if you got any results, pls, post it here i'll read the back logs Dec 08 16:35:23 gnite all Dec 08 16:37:33 I'm installing the other one Dec 08 16:39:06 ssh working with openssh now Dec 08 16:54:48 * ByronT is away: auto-away after 180m idle Dec 08 17:41:44 anyone know if I can install the "dir" command somehow Dec 08 17:41:50 I'm so use to it Dec 08 17:59:50 :) You'll learn the "ls" command quickly, Nimmit -- and remember, when one graduates from the bicycle to an automobile, one learns to use a steering wheel instead of handlebars ;-) Dec 08 18:00:00 :D Dec 08 18:00:42 :) Dec 08 18:00:48 I would still like to know how Dec 08 18:11:01 * mwester is reluctant, but... Dec 08 18:11:14 alias dir=ls Dec 08 18:11:57 will make the command "dir" an alternate way of invoking the "ls" command. Dec 08 18:12:28 for the duration of the session you are in. Dec 08 18:13:18 how do I make that perm Dec 08 18:14:18 you will have to add it to the appropriate startup script in the home directory. Often the script is ".profile" (note the leading period in the name). Dec 08 18:14:28 k Dec 08 18:15:13 hmm Dec 08 18:15:19 now ls or dir wont work Dec 08 18:16:35 oh crap, what did I mess up this time Dec 08 18:18:40 Methinks you might find a UNIX manual helpful, too - that would have the full syntax and options available. If memory serves me, you should be able to type "alias" to list what the aliases are mapped to, and if there's a bad one, it's either "alias badcommandname=" or perhaps "unalias" ; I'd have to refer to a manual myself! Dec 08 18:18:57 Perhaps you could be more specific about the error message? Dec 08 18:19:15 # ls Dec 08 18:19:15 # Dec 08 18:19:22 that's what happens when I type ls Dec 08 18:19:29 or dir which is now an alias for ls Dec 08 18:19:54 Looks ok to me, if the directory is empty. Try "ls /bin" and "dir /bin" Dec 08 18:21:38 # ls /bin Dec 08 18:21:38 agetty ash busybox cat chmod chown cp date dd df dir dmesg echo egrep fgrep ftp grep gunzip gzip hostname inetd init kill killall ln login ls mkdi Dec 08 18:21:38 # Dec 08 18:21:51 ha Dec 08 18:21:54 you're right Dec 08 18:21:58 I was in an emtpy dir Dec 08 18:22:00 stupid me Dec 08 18:22:47 but now, when I type dir.... Dec 08 18:22:49 I get this: Dec 08 18:22:52 # dir Dec 08 18:22:52 BusyBox v0.60.4 (2004.05.28-07:40+0000) multi-call binary Dec 08 18:22:52 Usage: busybox [function] [arguments]... Dec 08 18:22:52 or: [function] [arguments]... Dec 08 18:22:52 BusyBox is a multi-call binary that combines many common Unix Dec 08 18:22:52 utilities into a single executable. Most people will create a Dec 08 18:22:54 link to busybox for each function they wish to use, and BusyBox Dec 08 18:22:56 will act like whatever it was invoked as. Dec 08 18:22:58 Currently defined functions: Dec 08 18:23:00 [, ash, basename, busybox, cat, chmod, chown, cp, dd, df, dmesg, Dec 08 18:23:02 echo, free, halt, hostname, id, ifconfig, insmod, kill, killall, Dec 08 18:23:04 klogd, ln, ls, lsmod, mkdir, mknod, mkswap, mount, mv, pidof, Dec 08 18:23:06 ping, ps, pwd, reboot, rm, rmmod, route, sh, sleep, swapoff, swapon, Dec 08 18:23:08 sync, syslogd, tar, test, touch, umount, vi Dec 08 18:24:31 I typed: ln ls dir Dec 08 18:24:38 did that mess it up, and if so, how do I undo it Dec 08 18:26:01 Careful with the "ln" command. You can really damage something. Undoing it is as simple as "rm dir" - and if you mistype, well, that's what's dangerous. Stick with the alias command, it doesn't affect files. Dec 08 18:26:30 # rm dir Dec 08 18:26:30 rm: cannot remove `dir': No such file or directory Dec 08 18:27:48 didn't work Dec 08 18:27:53 type "which dir" Dec 08 18:29:35 # which dir Dec 08 18:29:35 which: No such file or directory Dec 08 18:29:35 # Dec 08 18:30:38 Ok, you don't have the which command -- it would tell you where in the system it was finding the "dir" link you created with the "ln" command. You'll have to find it yourself somehow, or just ignore it and not use it. Dec 08 18:31:11 well Dec 08 18:31:19 me finding it myself is almost out of the question Dec 08 18:31:25 :) Dec 08 18:31:29 No, not at all. Dec 08 18:31:32 ? Dec 08 18:31:52 there's only a few directories it can be in, right? Dec 08 18:32:01 ni Dec 08 18:32:09 * Nimmit is only on his 2nd day of this stuff Dec 08 18:32:43 oh wait Dec 08 18:32:47 there was a new dir in /bin Dec 08 18:32:49 I deleted it Dec 08 18:32:50 is easy - just like dos or windows, it has a PATH variable Dec 08 18:33:44 That was probably it. If you deleted it, the "dir" command should not exist in the file system. Use the alias command to see if you have defined dir as an alias for something... Dec 08 18:34:12 hmm Dec 08 18:34:19 the entry in .profile doesn't seem to work though Dec 08 18:34:31 export TERMINFO=/opt/share/terminfo Dec 08 18:34:32 export TERM=vt100 Dec 08 18:34:32 export PATH=/sbin:/bin:/usr/sbin:/user/bin:/opt/bin Dec 08 18:34:32 alias dir='ls' Dec 08 18:34:36 that's what I got Dec 08 18:34:50 Did you log out and log back in? Dec 08 18:34:53 yes Dec 08 18:34:56 didn't work Dec 08 18:35:10 What does the alias command say? Dec 08 18:35:17 when I use the alias command Dec 08 18:35:18 it works Dec 08 18:35:27 should this .profile be in /root Dec 08 18:35:32 or in the dir above that Dec 08 18:36:04 The home directory for a user is called out in the /etc/passwd file; in the slug it is usually /root Dec 08 18:36:17 ah Dec 08 18:36:21 there's my mistake then Dec 08 18:36:23 * Nimmit got it Dec 08 18:36:28 thanks for your help Dec 08 18:36:48 No problem, have fun - btw, are you running unslung or openslug? Dec 08 18:36:54 unslung Dec 08 18:37:00 installed last night Dec 08 18:37:07 I wanted it so I could run apache on it Dec 08 18:37:19 which I, for the most part, figured out Dec 08 18:37:39 I haven't been able to make it so all files in the web/ dir have chmod 755 Dec 08 18:37:41 Well, it runs apache. That's about all though :D Apache is memory hungry, I had to change it for thttpd Dec 08 18:37:44 any idea on that Dec 08 18:38:00 Depends how you put them there Dec 08 18:38:00 hmm Dec 08 18:38:03 think I should switch? Dec 08 18:38:43 If ftp, you might have a config file for the ftp server Dec 08 18:39:14 if you are copying in via the samba share, you might have to change the permission settings in the samba config file. Dec 08 18:39:21 ya Dec 08 18:39:25 I tried that earlier Dec 08 18:39:26 got lost Dec 08 18:39:30 with samba Dec 08 18:41:42 Yeah, you'll need a diversion script for that if you want to keep your settings. Look for diversion scripts and samba on the wiki, and it will give you some background. You can find the existing samba config files in /etc/samba, the one you need to change is /etc/samba/smb.conf. Dec 08 18:42:18 ya Dec 08 18:42:23 I was messing with that file earlier Dec 08 18:42:33 I was on the right track Dec 08 18:42:36 but never figured it out Dec 08 18:42:37 anything on the openslug patches that might make them unsuitable to boot an install off of usb stick, i don't have a serial console yet so i'm guessing my behind off at this point, i suppose in head they now just call them nslu2-kernel, and with that name i thought it would be generally suitable, maybe i just skipped over some detail on the wiki about the kernel Dec 08 18:44:47 hmm Dec 08 18:44:52 what's the package name for thttpd Dec 08 18:44:56 * Nimmit can't find it Dec 08 18:46:23 the link in topic, shouldn't that be: http://www.nslu2-linux.org/wiki/FAQ/HomePage ? Dec 08 18:46:26 thttpd will have the same problem. If you look at the files on the share using the "ls -l" command, it will tell you what user and group own the file, and what the permissions on them are. Why not just change the apache configuration to run apache as a member of the group that has read permission to the files rather than change Samba? Dec 08 18:48:10 no idea how to do that Dec 08 18:48:11 :) Dec 08 18:48:15 I already removed apache Dec 08 18:48:22 I want that one that uses less resources Dec 08 18:56:53 Google thttpd; the author has a web site that describes it very well. You can also search the wiki, there is a page that compares and contrasts the web servers that run on unslung and openslug. They all have limitations on the slug, some because the slug is so small, and some (I think) because some do not build well in the cross-dev environments. Perhaps one will work better; for me... Dec 08 18:56:55 ...Apache left me no memory for all the other things I wished to run, so I made my choice based on memory alone, and changed my content so that it did not need mod_php, for example. Dec 08 19:49:33 ACTION  Dec 08 20:35:05 i'm installing debian on an nslu2 - i assume it is ok to use an extended partition for the root fs Dec 08 20:47:03 ooooooh - debian works on the little beastie... Dec 08 21:26:29 I can't get samba to take my settings in smb.conf Dec 08 21:33:04 I read something about SWAT with samba Dec 08 21:33:08 but I can't seem to access it **** ENDING LOGGING AT Fri Dec 09 03:00:44 2005