**** BEGIN LOGGING AT Sat Jun 02 02:59:58 2012 Jun 02 17:44:55 <_Estel_> hello nslu2 Jun 02 17:45:42 <_Estel_> I have a question about using optware on linksys wrt54gl. i'm trying to manually install optware there, I've read instruction and documentation. I'm, hoever, confused at step: Jun 02 17:45:55 <_Estel_> feed=http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable Jun 02 17:46:12 <_Estel_> of coruse I know I should replace cd08qlarmel with approriate branch... Jun 02 17:46:28 <_Estel_> ...and I've found list of those in: Jun 02 17:46:29 <_Estel_> http://ipkg.nslu2-linux.org/feeds/optware/ Jun 02 17:48:07 sorry, got dc'ed Jun 02 17:48:35 so, I've found a list of branches in: Jun 02 17:48:36 http://ipkg.nslu2-linux.org/feeds/optware/ Jun 02 17:48:49 ...but I don't know which flavor should I use with linksys wrt54gl Jun 02 17:48:55 any idea, anyone? Jun 02 20:34:21 nvm, i've finally managed to do it myself Jun 02 20:41:47 Estel_: probably one of those mipsel feed? Jun 02 20:42:06 might be ddwrt or oleg Jun 02 20:42:10 it seems yes, I just used ddwrt one (although, i'm actually using tomato) Jun 02 20:42:28 hm, thinking about that, oleg would be probably better... or just the same? Jun 02 20:42:42 I actually don't know Jun 02 20:43:01 it seems that official instructions on openwrt page (part of nslu2 homepage) lack one step Jun 02 20:43:37 if you can, please update the wiki Jun 02 20:43:49 would lvoe to, but it's not wiki? sec, i'll give link Jun 02 20:43:54 s/lvoe/love/ Jun 02 20:44:46 http://www.nslu2-linux.org/wiki/Optware/HomePage Jun 02 20:45:04 last section, "Manual setup Optware on a device" Jun 02 20:45:31 what step is missing? Jun 02 20:46:00 I think you can "edit", maybe there's a password, try nslu2 Jun 02 20:47:09 vi /opt/etc/ipkg.conf Jun 02 20:47:16 this file isn't existing at all, after previous steps Jun 02 20:47:20 You need to put there something like Jun 02 20:48:15 oh, no, sorry, i'm talking bullshit Jun 02 20:48:29 this file exist Jun 02 20:48:40 although, now I'm not sure if it's generally missing step or jsut in my case Jun 02 20:48:43 I needed to edit it Jun 02 20:48:51 and replace src/gz with src Jun 02 20:48:58 so it's probably related to my system only Jun 02 20:49:10 sorry, was trying so many things, that two methods merged in my head into one :) Jun 02 20:49:30 now scrolled through things that finally led to sucess, and only modification of this file was required Jun 02 20:49:44 I dont know why src/gz wasn't working in my case, after followin all previous steps Jun 02 20:50:45 ...so in my case, 'src/gz optware http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/unstable" was resulting in ipkg update giving false positive, without actually updating anything Jun 02 20:50:59 and 'src optware http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/unstable' result in everything working fine Jun 02 20:51:36 maybe I should add it as a reminder, just, "in case of problems"? I'm not sure if it apply to every manual install, or my software on wrt54gl was a little "different" Jun 02 20:51:43 for sure, I have tar installed :P Jun 02 20:53:03 could be the version of tar Jun 02 20:53:20 busybox version of tar may not support gz Jun 02 21:00:47 true Jun 02 21:00:54 good point Jun 02 21:01:04 eno, could I bother You with noobish question now? Jun 02 21:01:47 I've sucessfuly installes dircproxy package from optware repository, and it landed where it should, in /opt/bin etc Jun 02 21:02:03 I've also exported /opt/bin to my PATH Jun 02 21:02:37 when I try to use dircproxy, i can autocomplete it's name just fine, it's properly recognized as sitting in /opt/bin/dircproxy Jun 02 21:02:40 yet, when I execute it Jun 02 21:03:22 -sh: dircproxy: not found Jun 02 21:03:25 any ideas? Jun 02 21:03:57 maybe I've still something missing from my PATH? Jun 02 21:10:05 Estel_: other than dircproxy, have you had any luck with any binary executable? Jun 02 21:10:22 nope, just tried dircproxy-crypt and ipkg-opt Jun 02 21:10:30 basically, everything from my /opt/bin gives such reply Jun 02 21:10:33 if I execute Jun 02 21:10:44 /opt/bin/ Jun 02 21:10:45 okay, ddwrt might not be the right feed Jun 02 21:10:48 I get response: Jun 02 21:11:11 -sh: /opt/bin/: not found Jun 02 21:11:12 ah, I see Jun 02 21:11:27 it's strange, as ddwrt is for sure able to run on this router model Jun 02 21:11:46 difference between tomato and dd-wrt made it incompatible? Jun 02 21:11:55 it could be a uclibc incompatibility Jun 02 21:12:26 * Estel_ nods Jun 02 21:12:31 will try oleg Jun 02 21:12:42 or do you have better recommendations? Jun 02 21:12:55 Thansk a lot for You help, by the way Jun 02 21:12:57 I'd suggest you to search a bit at tomato community resource Jun 02 21:13:02 np Jun 02 21:13:06 tried that, nothing about openwrt Jun 02 21:13:21 so are you running openwrt? Jun 02 21:13:33 everything seems to be related to DDWRT. OTOH, somewhere people claimesd to have openwrt running with tomato and sdcard mod - it's irrelevant on my case, as I use jffs2 space Jun 02 21:13:44 sorry, mistake Jun 02 21:13:50 I mean nothing about tomato and optware Jun 02 21:13:59 s/openwrt/optware/ Jun 02 21:13:59 k Jun 02 21:14:13 actually, there are plenty of articles for optware and openwrt ;) Jun 02 21:15:39 "TomatoUSB natively supports Optware" Jun 02 21:15:46 http://tomatousb.org/doc:optware Jun 02 21:16:13 http://tomatousb.org/tut:optware-installation Jun 02 21:17:08 yes, I'm not using usb variant as wrt54GL don't have USB Jun 02 21:17:09 althouygh Jun 02 21:17:12 You're right, probably Jun 02 21:17:19 should just use that firmware and don't care about usb Jun 02 21:17:29 * Estel_ is heading to read those links Jun 02 21:18:18 just downloaded their optware-install.sh Jun 02 21:18:27 ddwrt is used Jun 02 21:18:35 with additional uclibc packages Jun 02 21:18:57 since you've already got ddwrt feed installed Jun 02 21:19:08 I'd just install any additional packages Jun 02 21:19:12 and see if that helps Jun 02 21:24:04 oh damn, uclibc, it's 800 kb Jun 02 21:24:30 more than space I've on jffs2, I just wnated 70 kb dircproxy :P Jun 02 21:24:48 it seems that it won't be possible without sd card mod... Well, need to use my soldering iron ;) Jun 02 21:24:59 thans again for help, wouldn't be able to get to this point without Your suggestions Jun 02 21:28:07 the fact the ipkg can run, means that the architecture is correct Jun 02 21:28:20 the built-in uclibc is incompatible Jun 02 21:28:38 that's why they installed uclibc-opt Jun 02 21:30:14 optware is initially targeted on NAS, so space was not a big concern Jun 02 21:31:12 if you know how to build, you can also try hack a static version of the package you want Jun 02 21:36:53 good idea Jun 02 21:37:11 well, I'm kinda noon at building - my linux experience comes form using N900 (debian-based handheld) Jun 02 21:37:30 eno, but, anyway, it's always good reason to finally move my ass, setup scratchbox, and learn how to compile :) Jun 02 21:37:36 BTw, I've found missing step from instructions Jun 02 21:37:39 actually, there was one Jun 02 21:37:41 export IPKG_CONF_DIR=/opt/etc Jun 02 21:37:57 without it, ipkg tries config from /etc/ipkg.conf Jun 02 21:38:11 which, obviously, fails, as we need /opt/etc/ipkg.conf Jun 02 21:38:17 k Jun 02 21:38:29 thx for catching that Jun 02 21:38:29 it seems like really missing steep, as I don't see how it could be device/flavour related Jun 02 21:38:45 no problem, I'mglad that, considering my limite dknowledge, I was able to get past it, lol Jun 02 21:39:44 but, since /opt/bin is at the front of PATH Jun 02 21:39:59 shouldn't /opt/bin/ipkg by default look at /opt/etc/ipkg.conf ? Jun 02 21:40:44 are you sure you were not using /usr/bin/ipkg ? Jun 02 21:42:10 good catch. I *must* have been using /usr/bin/ipkg, but with feed and configs from opt as Jun 02 21:42:12 i Jun 02 21:42:27 ipkg-opt from opt wasn't running, due to mentioned error Jun 02 21:42:30 same as dircproxy Jun 02 21:42:39 k, that makes sense now Jun 02 21:43:13 but, honestyly, instructions mentioned by me doens't involve using /opt/ipkg anywhere Jun 02 21:43:18 after all, they install ipkg-opt Jun 02 21:43:22 but tell us to use ipkg Jun 02 21:43:35 so either -opt is missing from mentioned command Jun 02 21:43:40 and author meant ipkg-opt Jun 02 21:43:42 there's an explicit step, export PATH=/opt/bin:$PATH Jun 02 21:43:52 yea Jun 02 21:44:07 but still, after that, "usage" tells us to use ipkg, not upgraded ipkg-opt Jun 02 21:44:27 that ipkg-opt thing probably is feed specific Jun 02 21:44:49 in most feeds, it's just installed as /opt/bin/ipkg Jun 02 21:45:34 ah, I see Jun 02 21:45:37 or, /opt/bin/ipkg-opt is a symlink to /opt/bin/ipkg Jun 02 21:46:08 what can help here, is to note that error message Jun 02 21:46:12 but, is there a chance, that using older ipkg (although, it put files from package in approriate place in /opt) made my programs unusable? Jun 02 21:46:14 or it's still rather Jun 02 21:46:22 uclibc-opt related Jun 02 21:46:54 if you encounter that "program not found" error, that means either wrong arch, or libc mismatch Jun 02 21:47:16 using ipkg-opt from OLEG feed, it also respond -sd: ipkg-opt: not found Jun 02 21:47:34 right, that means neither feed is a perfect fit Jun 02 21:47:46 installing uclibc-opt is a workaround Jun 02 21:47:48 so, it probably means it won't work without me soldering card and installing updated uclibc-opt Jun 02 21:47:50 yea Jun 02 21:48:00 that's why both dd-wrt and tomatousb use it Jun 02 21:48:22 erm, even compiling it staticaly wouldn't help me with space constraints, yes? Jun 02 21:48:24 right, the ideal solution, is to have a specific feed Jun 02 21:48:45 that depends on the size of the result binary Jun 02 21:49:02 could be less than uclibc-opt itself? Jun 02 21:49:51 could be, but I'm not sure, and it takes some work Jun 02 21:50:22 yea, and - whiole learning how to compile properly is anyway thing I must get my a** one day, I think soldering Sd card will be more approriate solution for now Jun 02 21:50:26 I'm lazy, I'd get some router with USB Jun 02 21:50:36 probably, next day or week I'll want to install something more than dircproxy Jun 02 21:50:57 right, either sd, or usb Jun 02 21:51:03 hehe, it's also an option, but honestly, i like my wrt54gl very much, it's moddable as hell, including hardware ones Jun 02 21:52:12 qall right, going to take some dust from sd mod tutorials... Thanks once more for your help, i'm sure experience gained while messing with it now will help to install everything swiftly later Jun 02 21:52:34 see ya! Jun 02 21:53:03 good luck Jun 02 21:54:05 wiki updated Jun 02 23:26:02 thanks, it's ncie to have even littlest impact :) Jun 03 02:35:57 hey Estel_ **** ENDING LOGGING AT Sun Jun 03 02:59:58 2012