running the RC right now and i can mount from my virtualbox ubuntu but not from openwrt jet . tho i can use smbclient flawlessly on bot osx and openwrt the mounting part is what is failing here. But i guess eventually i get there if i lear n how to debug mount -t cifs
I am using 6.0rc6 that have smb part similar to 5.22 and i am able to mount smb of the router.
add share
[admin@MikroTik] > /ip smb shares add name=tst$ sudo mount -t cifs //192.168.88.1/tst ./mnt/
$ mount |grep cifs
//192.168.88.1/tst on /home/janisk/test/mnt type cifs (rw)
srry for really offtopic discussion here, did you mounted this from openwrt metarouter? or just from random shell you have at hand?
that would be random shell (namely my workstation with latest Kubuntu)
$ smbclient -V
Version 3.6.6
What options are you using (and how the command you are trying to use to mount looks like? What version of samba OpenWRT use?
how is last revision of openWRT supported by patch 1.2, please?
no, it has to be manually applied to it.
Your answer isn’t relevant for my question.
I want to know number of last revision supported by patch 1.2
Thank you for this information
Any good news about Metarouter on multi-cpu routerboards? How about on tile CPU?
Thanks for posting this. This patch personally came in handy for me.
– Nathan
If you read my post over at this thread (which you posted to, by the way, so I know you have seen it!), I mentioned which version of OpenWRT ‘trunk’ was the last one to have support for kernel version 2.6.31. Of course, that by itself is no guarantee you will be able to build that revision of ‘trunk’ without difficulty. I can’t say because I haven’t tried. Your mileage may vary.
– Nathan
Hello. Could you make new patch for openwrt, because actual trunk have kernel “LINUX_VERSION:=3.10.12”. And this version have asterisk11, it is very important, because asterisk11 have faxgateway.
I agree we need a new patch. We are having serious trouble compiling the current version even with the recent changes in the documentation:
sudo apt-get update sudo apt-get install gcc g++ patch binutils bzip2 flex make gettext pkg-config unzip libz-dev libc6 ncurses-base ncurses-bin libncurses5-dev subversion git
Mikrotik:
svn checkout -r 33081 svn://svn.openwrt.org/openwrt/trunk/ cd trunk/
wget http://www.mikrotik.com/download/metarouter/openwrt-metarouter-1.2.patch
patch -p0 <openwrt-metarouter-1.2.patch make menuconfig
I get this error: https://gist.github.com/ppaulojr/7219679
Hi,
I’m relatively new to Routerboards, but a long time user of OpenWRT trunk builds on a variety of different hardware. I’m really interested in the metarouter concept to run OpenWRT as a VM, but I like using trunk and certainly don’t want to be way out of date.
I see there is a patch (v1.2) discussed on this list, but I’ve also seen references to a “linux_3_3_5_patch.gz”.
I was considering trying to port the v1.2 patch to the current OpenWRT trunk kernel when I discovered the 3_3_5 patch, which looks much easier to apply to the current kernel. The 3_3_5 patch also seems to be a more generic “support for Routerboards” patch rather than a metarouter specific patch.
So I have a couple of questions:
- Do MikroTik have any plans to get this stuff included in the stock kernel? (the rb523 is there!)
- Do MikroTik have any plans to get this stuff included in the standard OpenWRT builds?
- Is this the most recent patch available?
- Was this patch part of a planned release cycle? I don’t see any announcements or anything?
- Do you intend to release future patches as you progress RouterOS versions?
I’d love to spend some time trying to make this work, but I’m quite keen to understand how serious MikroTik are about OpenWRT as a virtual platform in the longer term.
Thanks,
Lee.
linux_3_3_5_patch is for current 6.x RouterOS
patches are released as they are requested at support@mikrotik.com (you can get details there)
It is not connected to openwrt patch we are talking about here.
There are some plans to create next patch for a newer openwrt, but nothing has been decided yet.
Ive messed with OpenWRT to get virtualization and packetfence support. All thats needed to run it directly is to enable Dynamic VLAN Assignment.. Go Vote here for it : http://forum.mikrotik.com/t/vote-for-packetfence-support/78509/1
Thread jacking.
Based on http://naberius.de/2015/01/10/openwrt-barrier-breaker-metarouter-instance-on-mikrotik-rb-2011/ - i’ve “fixed” the panic issuing network interfaces in Barrier Breaker.
The main issue with network is the rxbuf size. I did not made other checks, but i saw a packet that’s >= 300bytes leads kernel to crash, what leads to 1600 (Old RXBUF) - 300 == 1300 - for some kind of another stuff. So i increased RXBUF to 10300 and compiled. Its running now a Privoxy and i tested a Ubuntu ISO download from a local mirror and archived my link total speed (5mbps), so for a baby step, is enough. Also in kdoc (link in gist above), skb_put really leads to panic if buffer dont fit the allocation.
I published the patch here: https://gist.github.com/leleobhz/61cd38b851d254a0cee6
I tried your patch but it crashes the router for a while when there is network connected:
http://forum.mikrotik.com/t/router-os-is-constantly-crashed-when-openwrt-is-running-in-metarouter-with-network-connections-for-a-while/90740/1
Is it because of “skb_put really leads to panic if buffer dont fit the allocation.”? Any idea how to proceed to solve this issue?
Hi,
Are there any new information about patch (will be new version)?
The last I found in the web is here http://www.kriskinc.com/mikrotik-metarouter but it’s for OpenWrt 12.09 (Linux 3.3).
I am also looking for an update Patch to bring Metarouter Supports for the OpenWRT Fork LEDE https://lede-project.org
I will be very cool if there will come a Update and I can use it on several Routers ![]()