**** BEGIN LOGGING AT Wed Dec 07 02:59:56 2005 Dec 07 10:31:20 Newbie question: Do you guys have useradd on your NSLU2s? If, yes which package do you get it from? Dec 07 10:31:38 adduser Dec 07 10:34:06 ibedonc: Rock! thanks Dec 07 10:35:01 mostafah, but pay attention, adduser is dangerous if you running uNSLUng Dec 07 10:36:18 security wise? Dec 07 10:36:30 ni, from handling Dec 07 10:36:34 no Dec 07 10:36:42 hmmm Dec 07 10:37:01 adduser adds the new user to /etc/passwd, and that's the problem, you should read on the wiki Dec 07 10:37:54 Ok. That's a good pointer Dec 07 10:38:16 oo Dec 07 10:38:28 sorry I run opendeb Dec 07 10:38:38 http://www.nslu2-linux.org/wiki/HowTo/ChangePasswordsFromTheCommandLine that covers a different topic, but with the same result Dec 07 10:39:05 youa have to copy /etc/passwd after adding a new user Dec 07 12:59:35 Hey Dec 07 13:00:17 I have a NSLU2 and just found the nslu2-linux.org site (looking for better firmware) but I'm extremly confused by this Dec 07 13:07:08 anyone here Dec 07 13:08:08 I just want to know if it's safe installing this things, if it could possibly render my nslu2 unoperable, and if I can go back to the original firmware after Dec 07 13:14:21 http://www.nslu2-linux.org/wiki/HowTo/InstallUnslungFirmware Dec 07 13:14:22 ^^ Dec 07 13:15:20 http://www.nslu2-linux.org/wiki/HowTo/RecoverFromABadFlash Dec 07 13:15:21 ^^ Dec 07 13:16:21 sounds safe and easy to put this thing on it Dec 07 13:16:31 I'm just afraid of messing my thing up Dec 07 13:17:18 if u follow the instructions u should be safe Dec 07 13:17:55 how hard is it to fix it if I screw it up Dec 07 13:18:19 I want the http support on it (which is my main reason for wanting this thing) Dec 07 13:19:08 as long as u donīt damage the redboot system u should be fine i think Dec 07 13:20:06 so I disconnect both drives connected to it, reboot, go into the web control, upload the unslug firmware, add the drives back, then reboot? Dec 07 13:21:32 If you wish to Unslung on top of factory firmware or Unslung versions 1.x or 2.x, then you can do so using the normal Linksys web interface. Dec 07 13:21:34 ^^ Dec 07 13:21:58 so I can have both installed? Dec 07 13:22:06 no Dec 07 13:23:31 http://www.nslu2-linux.org/wiki/FAQ/HomePage <- i think u should read some more Dec 07 13:23:43 its not that easy Dec 07 13:24:01 just flashing wonīt enable all the new things Dec 07 13:24:12 u need some basic linux knowledge Dec 07 13:24:19 I've been reading for an hour or so Dec 07 13:24:26 I'm just getting more confused Dec 07 13:28:17 I have the thing downloaded, I'm just really afraid of messing it up..how hard is it to get http on it Dec 07 13:28:51 if u only need http Dec 07 13:28:57 it is already build in Dec 07 13:29:22 just add some links in the webservers folder Dec 07 13:30:07 already built in the unslug thing, or the linksys version Dec 07 13:30:09 ? Dec 07 13:30:22 the linksys version doesn't do what I want Dec 07 13:30:55 I wasn't to happy I can't upload via ftp either Dec 07 13:32:45 http://www.nslu2-linux.org/wiki/Unslung/NewUsersGuide Dec 07 13:33:02 eh, I could always take it back to walmart and tell them it died on me ;) Dec 07 13:36:21 so as long as I follow the read me this thing will not fail on me Dec 07 13:39:51 * ByronT-Away is back after 8s: auto-away after 180m idle Dec 07 13:46:06 How do I test this ability to telnet into RedBoot, I have to restart the thing? Dec 07 13:50:34 http://www.nslu2-linux.org/wiki/HowTo/TelnetIntoRedBoot Dec 07 13:50:55 am I annoying? Dec 07 13:53:20 no, you're Nimmit Dec 07 13:53:26 :) Dec 07 13:53:38 I want to install this thing but I'm scared to death to do so Dec 07 13:53:44 but searching the wiki first is a sure way to keep from becoming "annoying" Dec 07 13:53:57 * Nimmit does a lot better talking to someone Dec 07 13:54:07 if you can do the Telnet into Redboot, you really can't kill the device Dec 07 13:54:40 that's what I'm testing right now Dec 07 13:56:14 hmm Dec 07 13:56:19 I never got a ping from it Dec 07 13:57:21 it's only around a 2 sec window... sometimes you never see a ping Dec 07 13:58:23 Accessing RedBoot from Windows Dec 07 13:58:23 This worked for me. You can use similar ideas for any other graphical environment. Dec 07 13:58:23 1. Open a Windows command prompt (ie by typing cmd at the start and run prompt) Dec 07 13:58:23 2. At the command prompt type ping -t -w 10 192.168.0.1 Dec 07 13:58:26 ... Dec 07 13:58:44 I did all that Dec 07 13:58:46 u can change -w 10 to -w 1 Dec 07 13:58:48 didn't see one again Dec 07 13:58:51 k Dec 07 13:58:53 I'll try that Dec 07 14:01:01 hmm Dec 07 14:01:03 nope Dec 07 14:01:15 whatīs your lan ip ? Dec 07 14:01:41 192.168.2.200 Dec 07 14:01:46 oO Dec 07 14:01:46 that's the computer I'm on now Dec 07 14:01:56 well that canīt work Dec 07 14:02:07 my router is 192.168.2.1 Dec 07 14:02:35 try chaning your lan ip to 192.168.0.2 Dec 07 14:03:03 u need to be in the same address range Dec 07 14:03:28 hmm Dec 07 14:03:37 not sure if I can do that without screwing my whole network up Dec 07 14:04:32 thats only for testing afterwards u go back to 192.168.2.200 of course Dec 07 14:04:47 well, I'm DHCP, so I'll have to change to static Dec 07 14:04:52 ^^ Dec 07 14:05:50 and if i remember it right the default ip of the slug after reseting is on another network range Dec 07 14:06:01 192.168.1.x i thinl Dec 07 14:06:04 -l+k Dec 07 14:06:15 itīs described in the readme somewhere Dec 07 14:09:14 k Dec 07 14:09:16 let me try this Dec 07 14:09:27 changing my IP made me lose internet Dec 07 14:10:41 GOT IT Dec 07 14:11:02 == Executing boot script in 0.280 seconds - enter ^C to abort Dec 07 14:11:02 ^C Dec 07 14:11:02 RedBoot> Dec 07 14:11:18 now what Dec 07 14:11:47 can I go back to my normal IP now Dec 07 14:12:54 ^^ that looks like u got the redboot prompt so if flashing goes wrong u can boot into redboot and recover your system Dec 07 14:15:44 :) Dec 07 14:16:50 okay Dec 07 14:16:55 so I move to the next step Dec 07 14:18:22 one thing I want to ask, will installing this firmware keep all my current settings and files on my disks Dec 07 14:19:21 says if I want to install any packages Dec 07 14:19:26 not sure if I do or not Dec 07 14:19:49 good question Dec 07 14:20:01 i think the IP will besaved Dec 07 14:20:23 but you should backup the files on the disks Dec 07 14:20:46 can be that u need to reformat Dec 07 14:21:02 oO Dec 07 14:21:34 hope my english isnīt too bad Dec 07 14:21:39 what about packages Dec 07 14:21:46 do I need one Dec 07 14:22:53 or can I get these after I install Dec 07 14:23:12 installing packages is done after flashing Dec 07 14:23:16 k Dec 07 14:23:30 so now I start the actual installation Dec 07 14:30:15 Eiffel|afk, if I ever needed to repair this thing, now that I know I can telnet into it, is it pretty easy to do Dec 07 14:55:32 should I unslung Dec 07 14:55:33 ? Dec 07 14:55:47 *unsling Dec 07 15:01:14 Eiffel|afk, you still there Dec 07 15:01:18 I'm confused on a step Dec 07 15:01:41 4) Identify which drive you wish you "unsling", and plug it in Dec 07 15:01:45 morning, on what step Dec 07 15:01:48 ? Dec 07 15:01:55 how do I identify Dec 07 15:01:59 do I need to type something Dec 07 15:02:02 or just plug it in Dec 07 15:02:11 how much drives do you have ? Dec 07 15:02:20 I have 1 ext hd and 1 flash drive Dec 07 15:02:25 neither is connected at the moment Dec 07 15:03:05 well, then it is your decision what drive should be the root filesystem in the future (but this depends on the size of your usb mem stick) Dec 07 15:03:17 I want the hard drive to be Dec 07 15:03:27 so do I just plug that in Dec 07 15:04:17 in port 1, i assume Dec 07 15:04:21 yes Dec 07 15:04:24 k Dec 07 15:04:35 wait two or threee minutes Dec 07 15:04:40 k Dec 07 15:04:49 I'll wait till the hard drive shuts up Dec 07 15:05:00 then have a look in the webinterface, the drive should recognised by the nslu2 Dec 07 15:05:22 it is Dec 07 15:05:25 just checked Dec 07 15:06:40 caplink811_log Dec 07 15:06:46 myself didn't read the backlogs completly, you had flash uNSLUng-5.5-beta before? Dec 07 15:06:48 do you mind if I PM you something, about 10 lines Dec 07 15:07:11 I've followed the steps all the way up to here caplink811_log Dec 07 15:07:26 that ok, but we can talk in this channel, that the main topic here Dec 07 15:07:48 it'll flood here Dec 07 15:07:50 is that okay Dec 07 15:08:21 then you should enable telnet, loggin in as user root with password uNSLUng (case sensitive), and then run /sbin/unsling disk1 Dec 07 15:08:28 already done Dec 07 15:08:33 that's what I wanted to paste Dec 07 15:08:36 to see if it's right Dec 07 15:08:39 BusyBox v0.60.4 (2004.07.01-03:05+0000) Built-in shell (ash) Dec 07 15:08:41 Enter 'help' for a list of built-in commands. Dec 07 15:08:41 # /sbin/unsling disk1 Dec 07 15:08:41 Target disk is /share/hdd/data Dec 07 15:08:41 Copying the complete rootfs from / to /share/hdd/data. Dec 07 15:08:41 19028 blocks Dec 07 15:08:41 that is ok too Dec 07 15:08:42 Linking /usr/bin/ipkg executable on target disk. Dec 07 15:08:43 Creating /.sda1root to direct switchbox to boot from /share/hdd/data. Dec 07 15:08:45 # Dec 07 15:09:05 look good? Dec 07 15:09:15 basically yes Dec 07 15:09:18 :) Dec 07 15:09:47 so now i reboot Dec 07 15:09:49 correct Dec 07 15:09:57 there is only one little problem, as described in the readme, you have to change the root password Dec 07 15:10:13 how Dec 07 15:10:48 because, when you boot without hd attached, then the rootpw is uNSLUng, but with disk attached, nobody knows the pw Dec 07 15:11:00 .? Dec 07 15:11:17 I know the password Dec 07 15:11:27 1st, add a user in the linksys webinterface, write the pw of this user down on a sheet of paper Dec 07 15:11:34 I did that Dec 07 15:11:55 are you familar with vi, the standard unix editor ? Dec 07 15:12:08 I'm familiar with nano Dec 07 15:12:11 not vi Dec 07 15:12:18 but you have no nano yet Dec 07 15:12:21 k Dec 07 15:12:25 so what do I do Dec 07 15:12:55 some basics, vi has a command mode, and an edit mode, when you start vi filename, you're in command mode Dec 07 15:13:22 when you enter the command i (insert) or a (apend) then you're in edit mode Dec 07 15:13:38 so, am I done Dec 07 15:13:40 ? Dec 07 15:14:08 how do I add packages now Dec 07 15:14:37 not yet, 1st we should add a known password for user root Dec 07 15:14:44 k Dec 07 15:14:47 how Dec 07 15:15:04 use the pwd command? Dec 07 15:15:26 as i mentioned before, 2nd edit /share/hdd/conf/passwd -> vi /share/hdd/conf/passwd Dec 07 15:15:54 so type: vi /share/hdd/conf/passwd Dec 07 15:15:57 ? Dec 07 15:16:08 you should found a line with root:... at start, and also a line with theNewUserYou'veAddedBefore:... Dec 07 15:17:51 ? Dec 07 15:17:56 * Nimmit3 is getting confused Dec 07 15:18:09 well, so we should go back to start Dec 07 15:19:07 Nimmit3, first, shutdown the nslu Dec 07 15:19:16 2nd, unplug the hd Dec 07 15:19:21 3rd, restart Dec 07 15:19:36 then enable telnet, log in, p Dec 07 15:19:42 as user root Dec 07 15:19:50 k Dec 07 15:19:52 hold on Dec 07 15:19:59 plug in the disk, wait until it is recognised Dec 07 15:20:00 restarting Dec 07 15:22:04 k Dec 07 15:22:07 logged into telnet Dec 07 15:22:25 plugged in disk Dec 07 15:23:07 disk recognized Dec 07 15:23:09 now what Dec 07 15:23:41 you have added a new user before ? Dec 07 15:23:50 I'm not sure now Dec 07 15:24:00 I added users for shares back when I had the linksys firmware Dec 07 15:24:06 not via telnet or anything Dec 07 15:24:30 lets just add one Dec 07 15:24:32 how do I do this Dec 07 15:25:03 you can verify that by -> cat /etc/passwd in the one or two last lines, there could be a line which begins with the name of the new user Dec 07 15:25:35 # cat /etc/passwd Dec 07 15:25:35 root:WeeOvKUvbQ6nI:0:0:root:/root:/bin/sh Dec 07 15:25:35 bin:x:1:1:bin:/bin: Dec 07 15:25:35 lp:x:4:7:lp:/share/spool: Dec 07 15:25:35 mail:x:8:12:mail:/var/spool/mail: Dec 07 15:25:35 ftp:x:14:50:FTP User:/: Dec 07 15:25:37 nobody:x:99:99:Nobody:/: Dec 07 15:25:39 if you want to add another user, then you should use the linksys webinterface Dec 07 15:25:40 ourtelnetrescueuser:scj/C9Ha.kEIc:100:100::/home/user:/bin/sh Dec 07 15:25:41 guest::501:501::/home/user/guest:/dev/null Dec 07 15:25:43 admin:scfqMiBj2iN1w:502:501:root::/dev/null Dec 07 15:25:45 jeremy:scfqMiBj2iN1w:2000:501:root::/dev/null Dec 07 15:26:11 looks like i have a user, jeremy Dec 07 15:26:16 hm, user jeremy has the password admin.. Dec 07 15:26:31 may be ok, for now Dec 07 15:26:34 k Dec 07 15:26:36 now what Dec 07 15:27:02 edit /share/hdd/conf/passwd with the command -> vi /share/hdd/conf/passwd Dec 07 15:27:25 you see some lines like that Dec 07 15:27:44 yes Dec 07 15:27:46 I see them Dec 07 15:28:22 username:crypted_password:userID:groupID:comment:homedir:loginshell Dec 07 15:28:50 on our interest is the "crypted_password" field, aka the 2nd field Dec 07 15:28:56 yes Dec 07 15:29:10 jeremy:scfqMiBj2iN1w:2000:501:root::/dev/null Dec 07 15:29:40 the target is: changing the passwordfiled in the line which starts with root: with the contens in the password field from user jeremy Dec 07 15:29:58 root:WeeOvKUvbQ6nI:0:0:root:/root:/bin/sh Dec 07 15:29:59 that line Dec 07 15:30:03 yes Dec 07 15:30:06 k Dec 07 15:30:19 hm i think i just copied /etc/passwd over /share/hdd/conf/passwd after chaning the root passwd Dec 07 15:30:29 +g Dec 07 15:30:38 caplink811_log Dec 07 15:30:42 how do I delete text Dec 07 15:30:47 I'm not familiar with vi Dec 07 15:30:53 x Dec 07 15:31:03 nope, /etc/passwd i now a link to /share/hdd/conf/passwd, reentrant :( Dec 07 15:31:25 crap Dec 07 15:31:27 Nimmit3, place the cursor on the 1st char of the password field Dec 07 15:31:39 k Dec 07 15:31:48 and Dec 07 15:31:54 with "x" you could delete the charakter under the cursor Dec 07 15:32:03 http://lug.boulder.co.us/docs/vi_vim_howto.html Dec 07 15:32:04 ^^ Dec 07 15:32:10 now it's just adding x's Dec 07 15:32:17 root:xxxxx0^H:0:root:/root:/bin/sh Dec 07 15:32:21 that's what I have now Dec 07 15:32:22 :/ Dec 07 15:32:32 Nimmit3, hit Dec 07 15:32:49 I hit it Dec 07 15:32:51 Nimmit3, place the cursor on the 1st char of the password field Dec 07 15:32:52 the screen just flashed Dec 07 15:32:55 with "x" you could delete the charakter under the cursor Dec 07 15:33:37 k Dec 07 15:33:40 but now I can't type Dec 07 15:33:58 repeat "x" until the password field is empty Dec 07 15:34:05 done Dec 07 15:34:35 then hit "i" (insert) and fill in the charakters which you see in the password field from user jeremy Dec 07 15:35:04 root:scfqMiBj2iN1w:0:0:root:/root:/bin/sh Dec 07 15:35:07 that's what I have now Dec 07 15:35:08 now what Dec 07 15:36:06 how do I exit/save from this app Dec 07 15:37:05 ? Dec 07 15:37:22 :wq Dec 07 15:37:28 k Dec 07 15:37:40 done Dec 07 15:37:41 now what Dec 07 15:38:54 reboot with the disk pluged in Dec 07 15:39:13 k Dec 07 15:39:24 and try to telnet in whith root and the password from the user jeremy Dec 07 15:39:28 k Dec 07 15:39:32 Eiffel|afk, thank you Dec 07 15:42:13 CUBS login: root Dec 07 15:42:13 Password: Dec 07 15:42:13 No directory, logging in with HOME=/ Dec 07 15:42:13 BusyBox v0.60.4 (2004.07.01-03:05+0000) Built-in shell (ash) Dec 07 15:42:13 Enter 'help' for a list of built-in commands. Dec 07 15:42:13 # Dec 07 15:42:15 worked Dec 07 15:42:30 now what Dec 07 15:43:41 well, now you have a nice unslinged nslu2 Dec 07 15:43:57 k Dec 07 15:44:03 so how do I add packages Dec 07 15:44:51 morning Dec 07 15:44:52 you have now the posibility, that you can install packages, which are avaiable via the -> ipkg install packagename command Dec 07 15:45:03 Mika_, :) Dec 07 15:45:09 caplink811_log, en Nimmit3 Dec 07 15:45:15 :) Dec 07 15:45:19 did u had a nice party caplink811_log Dec 07 15:46:27 hm, it was ok, not my "audience", much people from social jobs, with special behaviours, and ... Dec 07 15:47:08 special probs, and topics, no really mytopics :( Dec 07 15:47:17 caplink811_log Dec 07 15:47:22 yep Dec 07 15:47:23 where could I find an package like apache Dec 07 15:47:30 http://ipkg.nslu2-linux.org/feeds/unslung/cross/ Dec 07 15:47:30 no Nlsu in the house to discus ) Dec 07 15:47:33 :P Dec 07 15:47:40 I see one there, is that what I should use Dec 07 15:47:54 well, 1st you should do -> ipkg update which update the package list Dec 07 15:48:17 k Dec 07 15:48:40 going through downloading a bunch of stuff now Dec 07 15:48:54 # ipkg update Dec 07 15:48:55 Downloading http://ipkg.nslu2-linux.org/feeds/unslung/cross/Packages.gz Dec 07 15:48:55 Inflating http://ipkg.nslu2-linux.org/feeds/unslung/cross/Packages.gz Dec 07 15:48:55 Updated list of available packages in /usr/lib/ipkg/lists/cross Dec 07 15:48:55 Downloading http://ipkg.nslu2-linux.org/feeds/unslung/native/Packages.gz Dec 07 15:48:55 Inflating http://ipkg.nslu2-linux.org/feeds/unslung/native/Packages.gz Dec 07 15:48:56 Updated list of available packages in /usr/lib/ipkg/lists/native Dec 07 15:48:58 Downloading http://ipkg.nslu2-linux.org/feeds/unslung/oe/Packages.gz Dec 07 15:49:01 Inflating http://ipkg.nslu2-linux.org/feeds/unslung/oe/Packages.gz Dec 07 15:49:02 Updated list of available packages in /usr/lib/ipkg/lists/oe Dec 07 15:49:04 # Dec 07 15:49:09 now what Dec 07 15:49:10 Mika_, that was much more then i expect.. talking the whole time about work (colleges of my gf) i'm borried Dec 07 15:50:33 talk about work is not so nice in your free time... :) but maybe she had cute colleges Dec 07 15:50:40 Nimmit3, nw you have an actual package list.. you should decide what you want to do, and what is your target with the unslinged nslu, and you should really go to read some pages on the wiki Dec 07 15:50:52 k Dec 07 15:50:57 thanks for your help Dec 07 15:51:17 caplink811_log, about the appweb i did remove it and instal thttpd :) Dec 07 15:51:26 not really cute, dunno how social workers looks in the netherlands Dec 07 15:51:56 most are not party animals caplink811_log Dec 07 15:52:05 hm, just 5 minutes after our talk the day before yesterday it worked for me, appWeb and php5 Dec 07 15:52:18 realy :) Dec 07 15:53:01 did thttpd and php works together ? Dec 07 15:53:24 pff i did go to bed and yesterday i try Thttpd and that is what i like .. it have php5 in it and runs faster as apache because phpsysinfo do work now Dec 07 15:53:36 yes php-thttpd Dec 07 15:53:52 phpsysinfo kills apache Dec 07 15:54:04 but with thttpd it runs.. Dec 07 15:54:08 well, then it is fine, now it's your part to install squirrelmail and describe this on a wiki page :) Dec 07 15:54:36 yes.. lol but not for now... look at the time Dec 07 15:55:11 you're right, time to heading to bed.. Dec 07 15:55:23 the admin passwd from the nlsu what u use in the webinterface can u change that in the webinterface or not ? Dec 07 15:55:40 i mean the admin,admin Dec 07 15:55:51 imho, yes Dec 07 15:56:09 but first start without harddisk or not ? Dec 07 15:56:16 without Dec 07 15:56:18 yes, i have another than admin Dec 07 15:56:44 sorry, no, there is no need to start without hd Dec 07 15:57:01 ok so i can change it in the webinterface Dec 07 15:57:15 because, you would change /share/hdd|flash/conf/passwd Dec 07 15:57:21 yes Dec 07 15:58:00 ok i am logged in with root / ssh so i try it now in the webinterface Dec 07 15:59:13 yes it works so that is more secure.. Dec 07 15:59:26 u never know who format ur harddisk Dec 07 15:59:52 :) Dec 07 16:01:28 they never write to do that..in the readme when u unslung Dec 07 16:02:53 if, in your expirience, it is a usefull thing, leave a note/page in the wiki howto section, that is wht the wiki is for Dec 07 16:05:02 ok, Mika_ , have to put some km's on the milage counter tomorrow, time for bed now, have a nice evening/night, bye Dec 07 16:05:50 yes ok i will use wiki to add..but the problem is my english Dec 07 16:06:03 read is ok but write english is not so easy Dec 07 16:06:21 but have a nice day tomorow ..sleep well Dec 07 16:06:49 thx, you too Dec 07 16:08:24 bye caplink811_log Dec 07 16:14:21 I installed nano Dec 07 16:14:25 how do I load it now Dec 07 16:14:45 # ipkg install nano Dec 07 16:14:45 Installing nano (1.2.4-2) to root... Dec 07 16:14:45 Downloading http://ipkg.nslu2-linux.org/feeds/unslung/cross/nano_1.2.4-2_armeb.i Dec 07 16:14:45 pk Dec 07 16:14:45 Installing ncurses (5.5-1) to root... Dec 07 16:14:45 Downloading http://ipkg.nslu2-linux.org/feeds/unslung/cross/ncurses_5.5-1_armeb. Dec 07 16:14:47 ipk Dec 07 16:14:49 Configuring nano Dec 07 16:14:51 Configuring ncurses Dec 07 16:14:53 # nano Dec 07 16:14:55 nano: No such file or directory Dec 07 16:16:54 ? Dec 07 16:17:48 what's the directory command Dec 07 16:17:56 like dir Dec 07 16:21:49 all new installed packages / command goes und /opt/ most under /opt/bin, so, in your case it is /opt/bin/nano, for further info's you should read the wiki, or google about /etc/profile Dec 07 16:22:09 s/und/under/g Dec 07 16:23:58 dir is equiv to "ls" under *x os's Dec 07 16:28:15 Can anyone help me with an Apache question? Dec 07 16:28:44 Can anyone help me with an Apache proxy question? Dec 07 16:29:16 I cannot find mod_proxy_html.so for the NSLU2 anywhere...does someone have this file? Dec 07 16:36:11 Is anyone there? This is my first time in an IRC chat Dec 07 16:40:37 I cannot find mod_proxy_html.so for the NSLU2 anywhere...does someone have this file? Dec 07 18:32:25 caplink811_log Dec 07 18:32:29 I found the dir that nano is in Dec 07 18:32:34 but if I type: nano Dec 07 18:32:49 I get this: # nano Dec 07 18:32:49 nano: No such file or directory Dec 07 18:33:00 yet, ls shows nano Dec 07 18:35:03 if I type /opt/bin/nano from the root I get: Error opening terminal: unknown. Dec 07 18:37:22 nvm Dec 07 18:37:25 * Nimmit3 got it Dec 07 18:39:51 ah Dec 07 18:39:59 nano is so much better than that default editor Dec 07 19:28:47 alright, question, how can I make it so I can just type nano in any dir and it'll open Dec 07 19:40:01 Does anyone have the file mod_proxy_html.so? It is an apache module that does not come with the Apache package. Dec 07 19:40:20 hey thomasrawley05 Dec 07 19:40:29 I just installed the apache thing Dec 07 19:40:32 hey Nimmit Dec 07 19:40:35 do you know anything about that Dec 07 19:40:43 I can't access the files Dec 07 19:40:48 a little bit Dec 07 19:40:56 what can't you access? Dec 07 19:40:56 I changed the directoryroot to /web/ Dec 07 19:41:02 but it wont serv the files Dec 07 19:41:10 it worked before I changed it (from the default dir) Dec 07 19:42:09 you changed this in httpd.conf? Dec 07 19:42:55 ya Dec 07 19:43:54 what exactly did you change? Dec 07 19:44:01 hold on Dec 07 19:44:53 check this out: http://ww2.jwjkp.com/ Dec 07 19:44:56 that page is what I get Dec 07 19:46:08 did you set the correct permissions on your new DocumentRoot folder? Dec 07 19:46:18 where would I do that Dec 07 19:47:02 DocumentRoot "/web" <---that's the line I changed Dec 07 19:47:20 so you have a web folder off of / Dec 07 19:47:32 ? Dec 07 19:47:39 if you type cd / Dec 07 19:47:55 and then ls is that where you web folder is Dec 07 19:48:01 okay Dec 07 19:48:14 the one you refer to in DocumentRoot Dec 07 19:48:40 when I telnet into the nslu2 Dec 07 19:48:49 that folder is cd web Dec 07 19:48:53 from the root Dec 07 19:48:56 ok Dec 07 19:49:16 then in the root type chmod 644 web/ Dec 07 19:49:25 the root folder that is Dec 07 19:49:49 now I get a new page Dec 07 19:49:53 ww2.jwjkp.com Dec 07 19:50:02 You don't have permission to access / on this server Dec 07 19:50:08 instead of index.html Dec 07 19:50:11 i see that Dec 07 19:50:30 for testing purposes try chmod 777 web/ Dec 07 19:50:35 k Dec 07 19:50:56 ok back to index.html Dec 07 19:50:57 same Dec 07 19:51:11 what are the permissions of index.html in the web folder Dec 07 19:51:16 type ls -l Dec 07 19:51:41 and there will be like rwxrwxrwx or something like that next to index.html Dec 07 19:51:51 nope Dec 07 19:51:55 it just lists each file Dec 07 19:51:58 nothing beside them Dec 07 19:52:21 even if you do ls -l Dec 07 19:52:35 idle.txt Dec 07 19:52:35 index.html Dec 07 19:52:35 lee.jpg Dec 07 19:52:41 there's three lines of what I see Dec 07 19:53:21 try ls -ls or ls -la Dec 07 19:53:52 -rwxrw---- 1 guest everyone 9 Nov 12 13:02 index.html Dec 07 19:54:34 ok... chmod 644 index.html Dec 07 19:54:57 same Dec 07 19:55:01 yep Dec 07 19:55:42 hmm Dec 07 19:55:55 it showed a welcome to apache type screen before I changed it Dec 07 19:56:33 what are the permissions on that folder..then old one... Dec 07 19:56:57 drw-r--r-- 5 admin everyone 4096 Nov 13 19:37 web Dec 07 19:57:38 what about the old DocumentRoot folder Dec 07 19:57:45 :) Dec 07 19:57:49 not sure where that was Dec 07 19:58:35 i think it is opt/share/www Dec 07 19:58:40 let me check Dec 07 19:59:15 drwxr-xr-x 2 root root 4096 Dec 7 20:36 www Dec 07 19:59:43 ok chmod 755 web/ Dec 07 19:59:49 from the root directory Dec 07 19:59:52 k Dec 07 20:00:17 there you go Dec 07 20:00:20 awesome Dec 07 20:00:22 thanks Dec 07 20:00:25 not a problem Dec 07 20:00:31 mind another question Dec 07 20:00:32 ? Dec 07 20:00:37 sure Dec 07 20:00:48 nano has to have two variables set to be able to run Dec 07 20:00:55 what is nano? Dec 07 20:01:01 how can I make these two variables assign whenever I login to telnet Dec 07 20:01:09 nano is my favorite unix text editor Dec 07 20:01:28 ok Dec 07 20:01:46 http://www.nslu2-linux.org/wiki/Unslung/Nano Dec 07 20:01:52 see how you have to set those two variables Dec 07 20:02:07 TERMINFO and TERM Dec 07 20:02:11 it wont run until you do Dec 07 20:02:21 I don't want to have to enter those everytime I login to telnet Dec 07 20:03:28 in /root Dec 07 20:03:32 ya Dec 07 20:03:35 vi .profile Dec 07 20:03:58 or nano .profile Dec 07 20:04:09 basically create a file called .profile Dec 07 20:04:13 make sure the . is there Dec 07 20:04:14 k Dec 07 20:04:21 it is Dec 07 20:04:23 what do I type Dec 07 20:04:45 and stick "export TERMINFO=/opt/share/terminfo" and "export TERM=vt100" without "" in there Dec 07 20:04:49 on two lines Dec 07 20:05:13 that may work...do it and log out and back in Dec 07 20:05:43 awesome, worked...one more thing (last thing) Dec 07 20:05:47 ok Dec 07 20:05:55 how can I make it so I can just type nano Dec 07 20:05:59 instead of /opt/bin/nano Dec 07 20:06:03 like anywhere Dec 07 20:06:17 you have to add /opt/bin to the PATH Dec 07 20:06:25 ? Dec 07 20:06:35 first type echo $PATH Dec 07 20:06:43 and paste results here Dec 07 20:07:02 /sbin:/bin:/usr/sbin:/usr/bin Dec 07 20:07:47 ok..one second Dec 07 20:07:50 k Dec 07 20:08:00 you are a great help (I just started with this thing today) Dec 07 20:09:16 do I just add export $PATH /sbin:/bin:/usr/sbin:/user/bin:/opt/bin Dec 07 20:09:21 to that .profile Dec 07 20:10:29 yep Dec 07 20:10:31 that worked Dec 07 20:10:33 * Nimmit is learning Dec 07 20:11:36 what worked Dec 07 20:11:58 in .profile Dec 07 20:12:17 ok then Dec 07 20:12:25 I added: export PATH=/sbin:/bin:/usr/sbin:/user/bin:/opt/bin Dec 07 20:12:36 I was going to tell you a different way but it seems that works Dec 07 20:12:38 and it worked Dec 07 20:12:43 tell me your way Dec 07 20:12:51 * Nimmit wants to learn these things Dec 07 20:12:51 yeah...anything with bin means binary Dec 07 20:12:57 k Dec 07 20:13:15 so programs like ls, cd, cp, mv, and nano Dec 07 20:13:22 are in these directories Dec 07 20:13:32 ah Dec 07 20:13:39 I'm so use to dir Dec 07 20:13:49 instead of dir Dec 07 20:14:05 if you add then to your path then you can just type their names because the OS knows to look for the file in the places specified in PATH Dec 07 20:14:15 where is ls Dec 07 20:14:22 so I can make a dir variable for it Dec 07 20:14:24 do you have which Dec 07 20:14:29 type which Dec 07 20:14:31 or which ls Dec 07 20:14:32 k Dec 07 20:14:45 # which ls Dec 07 20:14:45 which: No such file or directory Dec 07 20:15:00 you have to install that package....it is in /bin Dec 07 20:15:04 cd / Dec 07 20:15:07 woops Dec 07 20:15:08 I found it Dec 07 20:15:38 is that all??? Dec 07 20:15:52 hmm Dec 07 20:15:58 I would ipkg install dropbear so you can ssh intead Dec 07 20:15:59 adding export dir=/bin/ls Dec 07 20:16:01 more secure Dec 07 20:16:07 no no no Dec 07 20:16:08 didn't make dir an alias for ls like I wanted Dec 07 20:16:15 ssh Dec 07 20:16:16 awesome Dec 07 20:16:22 * Nimmit is more use to ssh Dec 07 20:17:17 you would say in your .profile alias dir='ls' Dec 07 20:17:27 k Dec 07 20:17:40 that might work Dec 07 20:19:06 alright...i gotta get going... Dec 07 20:19:21 hmm Dec 07 20:19:26 my nano command stopped working Dec 07 20:19:32 If anyone is reading this...I am looking for mod_proxy_html.so or someone who can compile the .c file for me! Dec 07 20:19:51 I need the ARM version of course so it will work on the slug Dec 07 20:20:00 then I would get rid of the alias thing Dec 07 20:20:11 and get used to ls...its quicker to type! Dec 07 20:20:27 see ya later Nimmit Dec 07 20:20:32 I don't think it loaded the .profile Dec 07 20:24:46 well, I really appreciated your help thomasrawley05 Dec 07 20:26:43 by the way, ssh works Dec 07 22:00:36 ipkg command to uninstall an installed package? **** ENDING LOGGING AT Thu Dec 08 02:59:59 2005