Posted: Mon Apr 07, 2014 21:06 Post subject: Get ipkg to work on RT-AC68u
Hi,
I own a Asus RT-AC68u router, and installed : DD-WRT v24-sp2 (04/02/14) kongac (SVN revision 23770M-R01).
That part went ok. Now, I want to install various packages, so I need to get ipkg working. Reading this wiki on ipkg (http://www.dd-wrt.com/wiki/index.php/Ipkg), I get stuck at the first line:
I gathered this is related to the fact that the flash is read-only unless I enabled the jffs2. So I followed the instructions here: http://www.dd-wrt.com/wiki/index.php/Jffs
Basicall, I:
- Enabled jffs2 support under the administration tap
- I did the "Clean JFFS" as described in the previous URL
I also tried to insert a USB key and enabled "Core USB Support" and "USB Storage Support", but didn't know what to put under "Automatic Drive Mount" so I am not sure if that part worked (my usb key isn't formatted for linux file system).
I do see that I have a writable directory under /tmp/mnt/jffs/tmp/ipkg (I created those directories after reading a wiki instructing me to do so) but for some reason, when I run "ipkg update" it tries to do so in the /opt directory and not in the /mnt.
I assume this is a noob question about how to supersede the /opt mount with the one in /mnt, but I have no idea how to do so.
Bottom line, how can I get the line "ipkg update" to work under my environment? I have done quite a bit of reading, and I am convinced others are wondering the same thing.
Posted: Mon Apr 07, 2014 21:23 Post subject: Re: Get ipkg to work on RT-AC68u
fdsljlkjerw wrote:
Hi,
I own a Asus RT-AC68u router, and installed : DD-WRT v24-sp2 (04/02/14) kongac (SVN revision 23770M-R01).
That part went ok. Now, I want to install various packages, so I need to get ipkg working. Reading this wiki on ipkg (http://www.dd-wrt.com/wiki/index.php/Ipkg), I get stuck at the first line:
I gathered this is related to the fact that the flash is read-only unless I enabled the jffs2. So I followed the instructions here: http://www.dd-wrt.com/wiki/index.php/Jffs
Basicall, I:
- Enabled jffs2 support under the administration tap
- I did the "Clean JFFS" as described in the previous URL
I also tried to insert a USB key and enabled "Core USB Support" and "USB Storage Support", but didn't know what to put under "Automatic Drive Mount" so I am not sure if that part worked (my usb key isn't formatted for linux file system).
I do see that I have a writable directory under /tmp/mnt/jffs/tmp/ipkg (I created those directories after reading a wiki instructing me to do so) but for some reason, when I run "ipkg update" it tries to do so in the /opt directory and not in the /mnt.
I assume this is a noob question about how to supersede the /opt mount with the one in /mnt, but I have no idea how to do so.
Bottom line, how can I get the line "ipkg update" to work under my environment? I have done quite a bit of reading, and I am convinced others are wondering the same thing.
now you can install packages using opkg. OTRW is a collection of scripts not all of them are ready to work with the arm units, but some are already working e.g. asiablock, but I still have to pack the modified scripts into a package s so they can easily installed using opkg. _________________ KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
So I bind-mounted /opt/usr over /usr (to make it writable) and now ipkg fails silently:
Code:
root@gateway:/opt# mount -o bind /opt/usr /usr
root@gateway:/opt# ipkg update
root@gateway:/opt#
I've read that that can happen if there's no space available, but there does appear to be plenty of writable space. I even tried bind-mounting other directories, so it now looks like:
Posted: Sat Oct 25, 2014 2:40 Post subject: Problem ...
I have the same issue too. Even having two partition on the USB drive, one for /jffs , one for /opt , it still give me the read-only file system error.
What? How did you guys managed to install optware on ac68u??? i cannot run ipkg or opkg!
Please respond....
The ipkg repository for arm is also broken, you get a 404 not found when trying to run ipkg update. Does anyone know of a solution??
i have an r6300v2 running. i have run kong and bs builds, currently on r25309. great overall stability but cannot run ipkg or opkg. ipkg gives the /usr/local/lib read-only error. jffs and opt are mounted and are wrteable.