I'd also like an answer about this..
hello,
I have asus RT N-16 running kingkong 18050 build. I am having trouble installing optware. Which method should i use ipkg or opkg. Ipkg tutorial in ddwrt is obsolete and only supports kernel 2.4 i guess. well i want to install the optware from this feed which is fairly updated
http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/
how to proceed ? I tried installing
http://downloads.openwrt.org/backfire/10.03.1-rc6/brcm47xx/packages/libgcc_4.3.3+cs-43.29_brcm47xx.ipk
http://downloads.openwrt.org/backfire/10.03.1-rc6/brcm47xx/packages/uclibcxx_0.2.2-3_brcm47xx.ipk
ipkg.conf shows these
src whiterussian http://downloads.openwrt.org/whiterussian/packages
/>src non-free http://downloads.openwrt.org/whiterussian/packages/non-free
/>src backports http://downloads.openwrt.org/backports/rc5
/>dest root /jffs
dest mmc /mmc
dest smbfs /tmp/smbshare
dest ram /tmp
I dont have jffs as i have a usb storage. Why it is still whiterussian ?
Or opkg will just do fine for me if someone please guide me what to do and how can i install opkg packages since there is no tutorial & i am a novice.
Kong & other gurus please respond..
Thanks
yeah i am quite surprised. No one bother to answer any question. Is there something wrong with my question or the forum is dead ???
Installing "Optware the right way" according to the dd-wrt wiki should work fine and it does indeed support 2.6 kernel versions.
There are a few things that need to be adjusted in the scripts due to the new version of Busybox, and some of the services in OTRW can be disabled since Kong has added functionality. The needed changes are discussed in this forum for the later Kong build threads.
After installing OTRW you can *probably* use opkg in order to keep the software packages current. I'm still on Kong 18010 and use 'ipkg-opt' to keep the packages updated.
Thanks for the feedback i have installed optware the rightway from the wiki. But the repository is outdated and i want to use opkg and install updated packages. Anybody got opkg working ??
Have you enabled jffs in the gui?
Tried "opkg update" +"opkg upgrade" in terminal?
when trying to use opkg: has no valid architecture, ignoring
for all packages. I guess the source is the issue. Tried to alter it in /tmp/etc/opkg.conf but it is read-only file system. Is there a way to edit it ? Or is there a workaround ?
In my case the opkg.conf is located under /etc which is readonly. However the file may be relocated to a different location eg. /opt/etc. In order to point to this location use the "-f" option. See this link: http://wiki.openwrt.org/doc/techref/opkg
It seems that the content of the current opkg.conf is incorrect (at least in Build 18010). I'm pretty sure the offending line is the first one which in my case is "src/gz openwrt http://downloads.openwrt.org/snapshots/trunk/brcm47xx/packages/"
Thanks it seems to be working now. But i am having some troubles installing packages. It all seems to be related with Kmod
Configuring kernel.
Configuring kmod-crc-ccitt.
/opt//jffs/lib/opkg/info/kmod-crc-ccitt.postinst: .: line 3: can't open '/etc/fu
nctions.sh'
Configuring kmod-ppp.
/opt//jffs/lib/opkg/info/kmod-ppp.postinst: .: line 3: can't open '/etc/function
s.sh'
Configuring kmod-pppoe.
/opt//jffs/lib/opkg/info/kmod-pppoe.postinst: .: line 3: can't open '/etc/functi
ons.sh'
Configuring libwrap.
Configuring portmap.
Configuring libreadline.
Configuring ppp.
Configuring libncurses.
Configuring kmod-pppol2tp.
/opt//jffs/lib/opkg/info/kmod-pppol2tp.postinst: .: line 3: can't open '/etc/fun
ctions.sh'
Collected errors:
* pkg_run_script: package "kmod-crc-ccitt" postinst script returned status 2.
* opkg_configure: kmod-crc-ccitt.postinst returned 2.
* pkg_run_script: package "kmod-ppp" postinst script returned status 2.
* opkg_configure: kmod-ppp.postinst returned 2.
* pkg_run_script: package "kmod-pppoe" postinst script returned status 2.
* opkg_configure: kmod-pppoe.postinst returned 2.
* pkg_run_script: package "kmod-pppol2tp" postinst script returned status 2.
* opkg_configure: kmod-pppol2tp.postinst returned 2.
is there any workaround for this ?
having a similar issue. I have 18010 and neither ipkg, opkg or ipkg-opt work for me. They all complain about /jffs directory.
Wabe, why should I enable JFFS? I am not using a usb thumb drive. I am using a hard drive connected over USB. Optware the right way says that you don't need to enable jffs for my case.
sdddwrt: I'm running 18010 and don't have any issues with ipkg-opt in this build or in the earlier Kong builds.
Enabling jffs gives you a small partition that may be used to for automatic boot up scripts. If you don't need that stuff no need to enable. No harm though
Opkg is only available for Atheros SOC routers. The RT-N16 is a broadcom router so all pakages are architecturally incompatible.
well opkg supports both mips(atheros) and mipsel(broadcom) architectures. Many broadcom based routers supported by openwrt runs perfectly fine with opkg. Its the problem with dd-wrt kernel to insert those Kmods.
packages for broadcom based routers
http://downloads.openwrt.org/backfire/10.03.1-rc6/brcm47xx/packages/
waiting for full support from openwrt. Tracking the progress
https://dev.openwrt.org/ticket/6580
Hadji said: Opkg is only available for Atheros SOC routers. The RT-N16 is a broadcom router so all pakages are architecturally incompatible.I don't think that's correct. There are repositories for several Socs.
hi,
ipkg is broken in the current kong-mod release, an opkg doesn't work either, according to the "invalid architecture" bug.
But if you combine those two... you can get ipkg-opt working.
The common way of optware is to install ipkg-opt through ipkg (and for this you have to ENABLE jffs2 support, eaven if you have a usb drive).
To get Optware working you must:
1. Enable Jffs2 support
2.mount your USB-Drive as /opt
2.
~ # mkdir /opt/jffs
~ # mount -o bind /opt/jffs /jffs
~ # mkdir /jffs/opt
~ # mount -o bind /opt /jffs/opt #<-i know it sounds kind of strange ^^
~ # mkdir /jffs/tmp
~ # mkdir /jffs/tmp/ipkg
~ # mkdir /opt/etc
~ # vi /opt/etc/ipkg.conf
3. Write this in /opt/etc/ipkg.conf:
src optware http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable
dest root /jffs
4.
~ # export IPKG_CONF_DIR=/opt/etc
~ # export OPKG_CONF_DIR=/opt/etc #<-don't know if you must do that
5.
~ # ipkg update #<-it will complain
~ # opkg update #<-this should not complain ^^
6.
Somewhere in tmp/opkg.../lists/ should be a file called "optware".
Copy those file to /opt/lib/ipkg/lists/optware, and to /jffs/lib/ipkg/lists/optware
Note: you need to copy it just to one of these two directorys, but i dont know which one it was, so i mentioned both.
7.
Follow the guide http://www.dd-wrt.com/wiki/index.php/Optware-ByHand , starting by "/bin/ipkg -d root install ipkg-opt"

RSS


BUMP