OpenWrt Forum Archive

Topic: OpenWrt on RB493G

The content of this topic has been archived between 23 Apr 2018 and 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

renne wrote:

Which means writing tickets to get it fixed until final release.

I guess that is the appropriate start. Hope we can nail that one before release. I also think it is about time we got a userfriendly (i.e., an image we can install through web-interface) installation of openwrt on rb493g too.

renne wrote:

Did you try the SD-card-reader?

No, sorry. I did apply the patch, but all the suitable SD cards I have are in busy use by my family. I can try to nick one soon. However, I came from a TP-Link TL-WR1043ND less than a year ago where I had to do with 8MB of storage. Got a Buffalo WZR-HP-AG300H last year with a whopping 32MB of storage. Now this Mikrotik beauty has 128MB of storage. Even after installing Python on it I still have only 30% usage, so I am hard pressed putting additional storage to good use. I already have a USB-disk I will use for file-sharing and back-up.

BTW, I noticed the wget2nand script does not clean up the rootfs.tgz file. I will try to find time to submit a patch for it, but in the mean time you can free up (in my case where I compiled in a lot the file is just over 10MB) some storage on the nand by deleting it. You will find it in the root folder I believe ( that is / and not /root, sorry for the ambiguity).

(Last edited by Del on 9 Jan 2013, 14:01)

Del wrote:

I also think it is about time we got userfriendly (i.e., image we can install through web-interface) installation of openwrt on rb493g too.

Factory install:
It would be necessary to move the running RouterOS to RAM somehow and overwrite the NAND.

Update:
Main problem: How to update OpenWrt on the NAND without erasing the configuration?
Another problem is how to automatically install missing OPKG packages after the update.

That's why I'm still stuck with 12.09beta.

Del wrote:
renne wrote:

Did you try the SD-card-reader?

No, sorry. I did apply the patch, but all the suitable SD cards I have are in busy use by my family. I can try to nick one soon. However, I came from a TP-Link TL-WR1043ND less than a year ago where I had to do with 8MB of storage. Got a Buffalo WZR-HP-AG300H last year with a whopping 32MB of storage. Now this Mikrotik beauty has 128MB of storage. Even after installing Python on it I still have only 30% usage, so I am hard pressed putting additional storage to good use. I already have a USB-disk I will use for file-sharing and back-up.

For OpenWrt 128 MB is great. But at 30 MByte/s speed with Samba (limit of my USB-stick) I'm interested in using the SD-card as NAS storage. Question is if a SD-card can be driven at that speed in the RB493G.

Additionally I want to see the RB493G in in the 'Supported hardware' section instead of the "Work in progress" section to draw more users to get more developers. wink

renne wrote:

Factory install:
It would be necessary to move the running RouterOS to RAM somehow and overwrite the NAND.

Maybe, but something similar must de done for any router I guess. Do you know how this is done on other routers?

renne wrote:

Update:
Main problem: How to update OpenWrt on the NAND without erasing the configuration?
Another problem is how to automatically install missing OPKG packages after the update.

That is the easy part I belive. There is already code in Luci to backup and roll back configuration.

renne wrote:

That's why I'm still stuck with 12.09beta.

No reason to do that. Compile your own image. If you like I can guide you through a manual install (i.e., doing the wget2nand operations manually with local files). It is basically just to copy two files over.

renne wrote:

But at 30 MByte/s speed with Samba (limit of my USB-stick)

Indeed. You can try to share the /dev /shm folder. It is a ramdisk linux creates upon boot that can hold up to half of your ram in storage. It should remove any bottleneck and enable maxing out the samba speed available.

renne wrote:

I'm interested in using the SD-card as NAS storage. Question is if a SD-card can be driven at that speed in the RB493G.

Only one way to find out, test it :-)

renne wrote:

Additionally I want to see the RB493G in in the 'Supported hardware' section instead of the "Work in progress" section to draw more users to get more developers. wink

Actually, I get more triggered by the fact that it is not fully supported, i.e., there is stuff to get done. But I believe you are right.

Did some digging on the missing luci-app-openvpn package. There already is a ticket on it:
https://dev.openwrt.org/ticket/12331
so I built the package by exposing broken packages in make menuconfig and installed it. I did a search on all tickets reported on the package to look for hints as to why it is marked broken. Found one fixed issue:
https://dev.openwrt.org/ticket/10473#comment:2
found one issue that made no sense to me:
https://dev.openwrt.org/ticket/8843#comment:2
that leaves only three issues I haven't looked closer at:
https://dev.openwrt.org/ticket/11190
https://dev.openwrt.org/ticket/11222
https://dev.openwrt.org/ticket/11975

Seems this is easier than I feared, unless there is something escaping me. Guess this is getting off topic, so I will follow up this one in ticket 12331.

On topic, I found documentation on the sysupgrade: http://wiki.openwrt.org/doc/howto/generic.sysupgrade seems there is quite a bit of documentation available for making an installable image. Submitted a patch for the wget2nand issue, it was quicker than creating a ticket.

(Last edited by Del on 9 Jan 2013, 21:13)

renne wrote:

how to automatically install missing OPKG packages after the update.

I haven't found any built in option for this, but it is fairly easy to accomplish still. Just ssh into the router, then you can collect installed packages with:

opkg list-installed | awk '{print $1}' > /tmp/installed-packages

you can roll them back in with

cat /tmp/installed-packages|xargs opkg install

is there any way to put sub interface to individual port for RB493G?
that is Eth2 - eth0.2, Eth3, - eth0.3 and so on.

Yes

The discussion might have continued from here.