Get ipkg to work on RT-AC68u

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
fdsljlkjerw
DD-WRT Novice


Joined: 22 Nov 2010
Posts: 4

PostPosted: Mon Apr 07, 2014 21:06    Post subject: Get ipkg to work on RT-AC68u Reply with quote
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:
Code:
 ipkg update
.

I get the following error message:
Code:
sh: 10000: unknown operand
mkdir: can't create directory '/opt/tmp/': Read-only file system


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.

Thanks for your help.

PS: I also read this: http://www.dd-wrt.com/wiki/index.php/Optware%2C_the_Right_Way but it specifically states that:
Quote:
Kong AC builds are not supported
and since this is a AC router, I suppose it won't work.
Sponsor
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 1592
Location: Germany

PostPosted: Mon Apr 07, 2014 21:23    Post subject: Re: Get ipkg to work on RT-AC68u Reply with quote
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:
Code:
 ipkg update
.

I get the following error message:
Code:
sh: 10000: unknown operand
mkdir: can't create directory '/opt/tmp/': Read-only file system


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.

Thanks for your help.

PS: I also read this: http://www.dd-wrt.com/wiki/index.php/Optware%2C_the_Right_Way but it specifically states that:
Quote:
Kong AC builds are not supported
and since this is a AC router, I suppose it won't work.


Create at least two partitions, use the usb setup page to mount one partition to /jffs and the other to /opt, after that run:

ipkg update
ipkg -force-depends install opkg
opkg update

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.

_________________
Development Units I use for Development:
R7000/R6300V2/R6300

Kong K3 AC DD-WRT Builds for Mipsel R6300/WNDR4500/D1800H/AC66U/EA6500V1
Kong K3 AC DD-WRT Builds for ARM R6250/R6300v2/R7000/AC56U/AC68U/DIR-868
Kong DD-WRT Guides
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum