Community discussions

  • 1
  • 2
  • 3
  • 4
  • 5
  • 8
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 23630
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Metarouter images

Tue May 26, 2009 3:37 pm

As you know, new RouterOS versions now support other OS images for MetaRouter, so we welcome you - the users - to try this, and make new images that work. If you share your ready made images, that actually work with RouterOS MetaRouter, and add meaningful features (for example Asterix for VOIP, IPcop for firewall etc.), I will give you a Level6 license for an article in the Wiki and the Image.

The first image is already made - run your own OpenWRT inside a RouterOS machine:

* In our Wiki: http://wiki.mikrotik.com/wiki/Metaroute ... al_machine
* In our Newsletter: http://www.mikrotik.com/pdf/news18.pdf

A list of different distributions is here:

* http://en.wikipedia.org/wiki/List_of_Li ... ons#Others

Note that RB450G has 256MB of RAM, which is perfect for this kind of application.
No answer to your question? How to write posts
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5702
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Metarouter images

Tue May 26, 2009 4:00 pm

Other interesting ideas would be:
*) linux image running squid proxy server (for those who don't like Mikrotik proxy)
*) linux image running intrusion detection system (snort).
I have seen several requests to integrate IDS into RouterOS. Now it is possible by using metarouter or xen.
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Fri Jun 05, 2009 4:01 pm

I tried this first image of OpenWRT on RB450G and after install have next comments:

1) I can't change password for root:

BusyBox v1.11.3 (2009-05-22 14:09:05 EEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r15956) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:/# passwd
Changing password for root
New password:
Retype password:
passwd: warning: cannot create backup copy '/etc/passwd-': Operation not permitted
passwd: cannot update password file /etc/passwd
root@OpenWrt:/#

2) may be problem with fs metafs? output of mount:

rootfs on / type rootfs (rw)
/dev/root on / type metafs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=6948k)
tmpfs on /dev type tmpfs (rw,size=512k)
devpts on /dev/pts type devpts (rw,mode=600)

3) after it I recompile OpenWRT to latest trunk (r16316) with many extra packages (like asterisk14, asterisk16, snort, nmap, openser, X-wrt, tcpdump and many other - about 150), but with same result: 8-(

BusyBox v1.13.4 (2009-06-04 08:24:42 EEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r16316) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:/# device eth0 entered promiscuous mode
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Plase use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
IMQ driver loaded successfully.
Hooking IMQ before NAT on PREROUTING.
Hooking IMQ after NAT on POSTROUTING.
root@OpenWrt:/# passwd
Changing password for root
New password:
Retype password:
passwd: warning: cannot create backup copy '/etc/passwd-': Operation not permitted
passwd: cannot update password file /etc/passwd
root@OpenWrt:/#
Last edited by nik247 on Fri Jun 05, 2009 5:37 pm, edited 1 time in total.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5702
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Metarouter images

Fri Jun 05, 2009 4:17 pm

v3.24 has some file problems. Wait for v3.25 where this bug is fixed.
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Fri Jun 05, 2009 5:56 pm

I installed ROS 3.25 (temp version) on RB450G - error is the same.
May be need new patch for OpenWRT and rebuild image?
You do not have the required permissions to view the files attached to this post.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5702
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Metarouter images

Fri Jun 05, 2009 6:20 pm

this should be the latest patch. Try to rebuild, if not working contact support.
http://www.mikrotik.com/download/openwr ... uter.patch
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Fri Jun 05, 2009 6:44 pm

Yes - it was last patch - now I download patch again and:
[nik@vm0 trunk]#diff openwrt-metarouter-old.patch openwrt-metarouter.patch
[nik@vm0 trunk]

same files... 8-(
May be need try build not trunk - 2 day ago released OpenWRT 8.09.1?
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Tue Jun 09, 2009 1:26 pm

send supout.rif to support@mikrotik.com
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5702
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Metarouter images

Fri Jun 12, 2009 2:50 pm

Anyone who had problems with file permissions and other similar problems,
*) upgrade to latest version v3.25
*) co latest openwrt trunk
*) patch and rebuild openwrt
Link to new patch:
http://www.mikrotik.com/download/openwr ... -1.1.patch
 
ayufan
Member
Member
Posts: 331
Joined: Sun Jun 03, 2007 9:35 pm
Contact:

Re: Metarouter images

Fri Jun 12, 2009 3:09 pm

when will be 3.25?
hAP AC, TP-Link Archer C7 v2, RB951G, RB450G, RPI2, RPI zero
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 23630
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Metarouter images

Fri Jun 12, 2009 3:12 pm

later today
No answer to your question? How to write posts
 
ayufan
Member
Member
Posts: 331
Joined: Sun Jun 03, 2007 9:35 pm
Contact:

Re: Metarouter images

Fri Jun 12, 2009 4:46 pm

when trying to patch openwrt:
patching file target/linux/metarouter/base-files/etc/inittab
(Stripping trailing CRs from patch.)
patching file target/linux/metarouter/base-files/etc/hotplug2-init.rules
(Stripping trailing CRs from patch.)
patching file target/linux/metarouter/Makefile
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 2245:
md5sum of openwrt.patch
c78b9248feb09c1e8870f2ea9af6924a openwrt-metarouter-1.1.patch
hAP AC, TP-Link Archer C7 v2, RB951G, RB450G, RPI2, RPI zero
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Fri Jun 12, 2009 11:30 pm

Thanks to support Mikrotik.
I rebuild OpenWRT to latest trunk with new patch and wait final v.3.25
I try this image in v.3.24 and v.3.25 beta - passwd doesn't work - wait final.

to ayufan and support Mikrotik.
Error apply patch: last patch not finish with empty string (CR-LF after prelast string).
After it patch was successfully apply.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8143
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Metarouter images

Sat Jun 13, 2009 7:32 pm

later today
:(
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
QpoX
Member
Member
Posts: 387
Joined: Mon Mar 24, 2008 7:42 pm
Location: Lemvig, Denmark

Re: Metarouter images

Sat Jun 13, 2009 8:54 pm

later today
:(
Don't worry, Normis has a timemachine...
When he finds out that he forgot it, he will go back in time and upload :)
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Sun Jun 14, 2009 12:08 pm

I builded latest trunk image OpenWRT (r16437) for Metarouter with new patch.
And wait final v.3.25, with doesn't has bug with hardlinks:
MT support writed me:
here was a problem with hardlinks. It will be fixed in v3.25 also
to fix the problem you will need to rebuild latest trunk with new patch.


My image contains base files and 2 extra packages: mc(with subshell support) and bash:
root@OpenWrt:~# opkg list_installed
base-files-metarouter - 22-r16437 -
bash - 3.2-2 -
busybox - 1.13.4-1 -
dnsmasq - 2.49-1 -
dropbear - 0.52-2 -
dropbearconvert - 0.52-2 -
firewall - 1-3 -
glib1 - 1.2.10-1 -
hotplug2 - 1.0-beta-3 -
iptables - 1.4.3.2-1 -
iptables-mod-conntrack - 1.4.3.2-1 -
iptables-mod-nat - 1.4.3.2-1 -
kernel - 2.6.27.21-metarouter-1 -
kmod-crc-ccitt - 2.6.27.21-metarouter-1 -
kmod-ipt-conntrack - 2.6.27.21-metarouter-1 -
kmod-ipt-core - 2.6.27.21-metarouter-1 -
kmod-ipt-nat - 2.6.27.21-metarouter-1 -
kmod-ipt-nathelper - 2.6.27.21-metarouter-1 -
kmod-ppp - 2.6.27.21-metarouter-1 -
kmod-pppoe - 2.6.27.21-metarouter-1 -
libc - 0.9.30.1-22 -
libgcc - 4.1.2-22 -
libiptc - 1.4.3.2-1 -
liblua - 5.1.4-3 -
libncurses - 5.7-1 -
libpthread - 0.9.30.1-22 -
librt - 0.9.30.1-22 -
libuci - 0.7.5-1 -
libuci-lua - 0.7.5-1 -
libxtables - 1.4.3.2-1 -
mc - 4.6.1-2 -
mtd - 8 -
opkg - 4993-4 -
ppp - 2.4.4-1 -
ppp-mod-pppoe - 2.4.4-1 -
uci - 0.7.5-1 -
ucitrigger - 0.7.5-1 -
udevtrigger - 106-1 -
root@OpenWrt:~#

You can try this image.
Many extra packages here

Basic setting – network:

Use openwrt tool UCI or you can manual edit file /etc/config/network

Prepare: don’t forget setup correct interface to current system in metarouter setting (look wiki),
for check try:

root@OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr 02:7F:3D:7B:EA:22
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:577 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100557 (98.2 KiB) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr 02:7F:3D:7B:EA:22
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:833 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:118339 (115.5 KiB) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1632 (1.5 KiB) TX bytes:1632 (1.5 KiB)

If you see it – you can start next step.

1) show current setting:
root@OpenWrt:/# uci show network.lan
network.lan=interface
network.lan.ifname=eth0
network.lan.type=bridge
network.lan.proto=static
network.lan.netmask=255.255.255.0
network.lan.ipaddr=192.168.1.1

2) setting your define IP setting:
uci set network.lan.ipaddr="192.168.1.3"
uci set network.lan.netmask="255.255.255.0"
uci set network.lan.gateway="192.168.1.254"
uci set network.lan.dns="192.168.1.254"
uci commit

3) fixed DNS for static IP setup
default install file /etc/resolv.conf has symlink to /tmp/resolv.conf
root@OpenWrt:/# cat /etc/resolv.conf
nameserver 127.0.0.1
we need to stop and disable dnsmasq demon
root@OpenWrt:/# /etc/init.d/dnsmasq stop
root@OpenWrt:/# /etc/init.d/dnsmasq disable
After it will be create symlink from /tmp/resolv.conf to /tmp/resolv.conf.auto

4) set define hostname:
root@OpenWrt:/# uci show system
system.@system[0]=system
system.@system[0].timezone=UTC
system.@system[0].hostname=OpenWrt
root@OpenWrt:/# uci set system.@system[0].hostname="Metarouter"
root@OpenWrt:/# uci commit
root@OpenWrt:/etc# uci show system
system.@system[0]=system
system.@system[0].timezone=UTC
system.@system[0].hostname=Metarouter

5) Now we have correct LAN setting: ip address, default gw, DNS, hostname


Basic setting – change root password:

As command “passwd” doesn’t work correct yet – manual edit file /etc/password to setup password “123”
before edit:
root@OpenWrt:~# cat /etc/passwd
root:!:0:0:root:/root:/bin/bash
nobody:*:65534:65534:nobody:/var:/bin/false
daemon:*:65534:65534:daemon:/var:/bin/false
after edit:
root@OpenWrt:~# cat /etc/passwd
root:$1$8PdvdwlZ$NfvLlnxRnNpf9GkAH4ajU1:0:0:root:/root:/bin/bash
nobody:*:65534:65534:nobody:/var:/bin/false
daemon:*:65534:65534:daemon:/var:/bin/false

Now time take reboot and apply all new setting:
- enable ssh access
- disable telnet access
- activated your define LAN setting

root@OpenWrt:~# reboot

Now we have remote ssh access with login “root” and password “123” and working LAN setting:
root@Metarouter:~# ping google.com -c 3
PING google.com (74.125.127.100): 56 data bytes
64 bytes from 74.125.127.100: seq=0 ttl=239 time=191.389 ms
64 bytes from 74.125.127.100: seq=1 ttl=239 time=191.942 ms
64 bytes from 74.125.127.100: seq=2 ttl=239 time=195.998 ms

--- google.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 191.389/193.109/195.998 ms

Basic setting – packages system:

Now you can install manual any packages:
root@Metarouter:~# opkg install http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
screen_4.0.3-1_mips. 100% |****************************************************************************| 154k --:--:-- ETA
Installing screen (4.0.3-1) to root...
Configuring screen
root@Metarouter:~#

But for resolve many dependences recommend setup correct repo:
1) add to /etc/opkg.conf
root@Metarouter:~#echo "src/gz metarouter http://openwrt.pantele.com.ua/trunk/metarouter/packages" >> /etc/opkg.conf
2) comment not working repo in file /etc/opkg.conf:
#src/gz snapshots http://downloads.openwrt.org/snapshots/ ... r/packages

after it look your /etc/opkg.conf:
root@Metarouter:~# cat /etc/opkg.conf
#src/gz snapshots http://downloads.openwrt.org/snapshots/ ... r/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /jffs
src/gz metarouter http://openwrt.pantele.com.ua/trunk/metarouter/packages

3) update packages list first:
root@Metarouter:~# opkg update
Downloading http://openwrt.pantele.com.ua/trunk/met ... ackages.gz
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
Packages.gz 100% |****************************************************************************| 29394 --:--:-- ETA
Inflating http://openwrt.pantele.com.ua/trunk/met ... ackages.gz
Updated list of available packages in /var/opkg-lists/metarouter
root@Metarouter:~#

4) look available packages for install:
root@Metarouter:~# opkg list
apache - 2.2.9-2 - The Apache Web Server is a powerful and flexible HTTP/1.1 compliant
apache-icons - 2.2.9-2 - The Apache Web Server is a powerful and flexible HTTP/1.1 compliant
asterisk14 - 1.4.25.1-1 - Asterisk is a complete PBX in software. It provides all of the features
.
.
5) now you can install any available packages (nmap for exp.):
root@Metarouter:~# opkg install nmap
Installing nmap (4.20-1) to root...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
nmap_4.20-1_mips.ipk 100% |****************************************************************************| 565k --:--:-- ETA
Installing libdnet (1.10-2) to root...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 2_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
libdnet_1.10-2_mips. 100% |****************************************************************************| 24308 --:--:-- ETA
Installing libpcap (1.0.0-1) to root...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
libpcap_1.0.0-1_mips 100% |****************************************************************************| 74679 --:--:-- ETA
Installing libpcre (7.9-1) to root...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
libpcre_7.9-1_mips.i 100% |****************************************************************************| 51675 --:--:-- ETA
Installing uclibcxx (0.2.2-1) to root...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
uclibcxx_0.2.2-1_mip 100% |****************************************************************************| 59989 --:--:-- ETA
Configuring libdnet
Configuring libpcap
Configuring libpcre
Configuring nmap
Configuring uclibcxx
root@Metarouter:~#

root@Metarouter:~# nmap localhost

Starting Nmap 4.20 ( http://insecure.org ) at 1970-01-01 00:06 UTC
Interesting ports on localhost. (127.0.0.1):
Not shown: 1694 closed ports
PORT STATE SERVICE
22/tcp open ssh
53/tcp open domain
80/tcp open http

Nmap finished: 1 IP address (1 host up) scanned in 2.050 seconds
root@Metarouter:~#

6) example installation X-WRT to Metarouter:
root@Metarouter:~# opkg install webif
Installing webif (0.3-4754) to root...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 4_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
webif_0.3-4754_mips. 100% |****************************************************************************| 164k --:--:-- ETA
Installing haserl (0.9.25-1) to root...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
haserl_0.9.25-1_mips 100% |****************************************************************************| 12132 --:--:-- ETA
Configuring haserl
Configuring webif
cat: can't open '/proc/mtd': No such file or directory
Collected errors:
* Could not obtain administrative lock
Committing new firmware id ...
SUCCESS! Webif^2 installation appears OK. Welcome to X-Wrt!
You may need to do a hard REFRESH to clear old CSS style from your browser.
Reinitializing httpd ...
root@Metarouter:~#

7) Don’t forget install ntpclient – doesn’t include in def.image
root@Metarouter:/etc/config# opkg update
Downloading http://openwrt.pantele.com.ua/trunk/met ... ackages.gz
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
Packages.gz 100% |****************************************************************************| 29394 --:--:-- ETA
Inflating http://openwrt.pantele.com.ua/trunk/met ... ackages.gz
Updated list of available packages in /var/opkg-lists/metarouter
root@Metarouter:/etc/config#


root@Metarouter:~# opkg install ntpclient
WARNING: Ignoring unknown configuration parameter: trunk/trunk
Installing ntpclient (2007_365-1) to root...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
ntpclient_2007_365-1 100% |****************************************************************************| 11493 --:--:-- ETA
Configuring ntpclient
root@Metarouter:~#

8 ) I want test VoIP and I installed asterisk 1.4 too:

root@Metarouter:/etc/config# opkg install asterisk14
Installing asterisk14 (1.4.25.1-1) to root...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
asterisk14_1.4.25.1- 100% |****************************************************************************| 1291k --:--:-- ETA
Installing libpopt (1.7-4) to root...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 4_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
libpopt_1.7-4_mips.i 100% |****************************************************************************| 12773 --:--:-- ETA
Configuring asterisk14
Configuring libpopt
root@Metarouter:/etc/config#
root@Metarouter:/etc/config# /etc/init.d/asterisk enable
root@Metarouter:/etc/config# /etc/init.d/asterisk start
root@Metarouter:/etc/config# asterisk -vrc
Asterisk 1.4.25.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.25.1 currently running on Metarouter (pid = 2357)
Verbosity was 0 and is now 1
Metarouter*CLI> iax2 show peers
Name/Username Host Mask Port Status
demo/asterisk 216.207.245.47 (S) 255.255.255.255 4569 Unmonitored
1 iax2 peers [0 online, 0 offline, 1 unmonitored]
Metarouter*CLI>

Now we have correct setup LAN setting, time, X-WRT, packages system, same tools (nmap, screen) and VoIP server (asterisk 1.4)

Good luck.

Update:
15.06.2009 – rebuild to latest trunk r16453, ntpclient now in default image, add more packages.
24.06.2009 - rebuild to latest trunk r16549 and tree of packages too.
02.09.2009 - rebuild to latest trunk r17456 and tree of packages too.
Last edited by nik247 on Wed Sep 02, 2009 5:02 pm, edited 2 times in total.
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images - ROS 3.25 delayed

Mon Jun 15, 2009 11:16 am

later today
:(
From: MikroTik Support Sent: Monday, June 15, 2009 9:31 AM

Hello,
We had some problems with metarouters on RB1000, so release of version will be delayed until mentioned problems are fixed.

Regards
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Mon Jun 15, 2009 3:43 pm

Now Mikrotik released ROS v.3.25
Bug with passwd fixed!!!!

BusyBox v1.13.4 (2009-06-13 19:49:09 EEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r16453) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@Metarouter:/# passwd
Changing password for root
New password:
Retype password:
Password for root changed by root
root@Metarouter:/#
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Fri Jun 26, 2009 6:16 pm

Updated my repo for Metarouter to latest trunk r.16564 and packages tree too.

Last image locate here
Packages repo here.

Instruction for update to latest trunk:

1) update to latest packages list:

| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r16453) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@Metarouter:~#
root@Metarouter:~# opkg update
Downloading http://openwrt.pantele.com.ua/trunk/met ... ackages.gz
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
Packages.gz 100% |************************************************************************************************************| 59240 --:--:-- ETA
Inflating http://openwrt.pantele.com.ua/trunk/met ... ackages.gz
Updated list of available packages in /var/opkg-lists/metarouter
root@Metarouter:~#

2) upgrade to latest packages (all answer N (default), but only for banner - Y )

root@Metarouter:~# opkg upgrade
Upgrading base-files-metarouter on root from 22-r16480 to 23-r16564...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 4_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
base-files-metaroute 100% |************************************************************************************************************| 28393 --:--:-- ETA
Configuration file '/etc/banner'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions (if diff is installed)
The default action is to keep your current version.
*** banner (Y/I/N/O/D) [default=N] ?y
Configuration file '/etc/hosts'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions (if diff is installed)
The default action is to keep your current version.
*** hosts (Y/I/N/O/D) [default=N] ?
Configuration file '/etc/passwd'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions (if diff is installed)
The default action is to keep your current version.
*** passwd (Y/I/N/O/D) [default=N] ?
Configuration file '/etc/shells'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions (if diff is installed)
The default action is to keep your current version.
*** shells (Y/I/N/O/D) [default=N] ?
Configuration file '/etc/sysctl.conf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions (if diff is installed)
The default action is to keep your current version.
*** sysctl.conf (Y/I/N/O/D) [default=N] ?
Configuration file '/etc/config/network'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions (if diff is installed)
The default action is to keep your current version.
*** network (Y/I/N/O/D) [default=N] ?
Configuration file '/etc/config/system'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions (if diff is installed)
The default action is to keep your current version.
*** system (Y/I/N/O/D) [default=N] ?
Upgrading libc on root from 0.9.30.1-22 to 0.9.30.1-23...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 3_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
libc_0.9.30.1-23_mip 100% |************************************************************************************************************| 203k --:--:-- ETA
Upgrading libdnet on root from 1.10-2 to 1.11-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
libdnet_1.11-1_mips. 100% |************************************************************************************************************| 25097 --:--:-- ETA
Upgrading libgcc on root from 4.1.2-22 to 4.1.2-23...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 3_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
libgcc_4.1.2-23_mips 100% |************************************************************************************************************| 24593 --:--:-- ETA
Upgrading libpthread on root from 0.9.30.1-22 to 0.9.30.1-23...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 3_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
libpthread_0.9.30.1- 100% |************************************************************************************************************| 19187 --:--:-- ETA
Upgrading librt on root from 0.9.30.1-22 to 0.9.30.1-23...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 3_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
librt_0.9.30.1-23_mi 100% |************************************************************************************************************| 2092 --:--:-- ETA
Upgrading luci-admin-core on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-admin-core_0.9+ 100% |************************************************************************************************************| 11100 --:--:-- ETA
Upgrading luci-admin-full on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-admin-full_0.9+ 100% |************************************************************************************************************| 25104 --:--:-- ETA
Upgrading luci-cbi on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-cbi_0.9+svn4929 100% |************************************************************************************************************| 22490 --:--:-- ETA
Upgrading luci-core on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... uci-core_0.
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-core_0.9+svn492 100% |*****************************************************
Upgrading luci-http on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... uci-http_0.
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-http_0.9+svn492 100% |*****************************************************
Upgrading luci-i18n-english on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... ci-i18n-en
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-i18n-english_0. 100% |*****************************************************
Upgrading luci-i18n-russian on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... ci-i18n-ru
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-i18n-russian_0. 100% |*****************************************************
Upgrading luci-ipkg on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... uci-ipkg_0.
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-ipkg_0.9+svn492 100% |*****************************************************
Upgrading luci-lucid on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... ci-lucid_0
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-lucid_0.9+svn49 100% |*****************************************************
Upgrading luci-nixio on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-nixio_0.9+svn49 100% |************************************************************************************************************| 63605 --:--:-- ETA
Upgrading luci-px5g on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-px5g_0.9+svn492 100% |************************************************************************************************************| 31934 --:--:-- ETA
Upgrading luci-sgi-cgi on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-sgi-cgi_0.9+svn 100% |************************************************************************************************************| 2272 --:--:-- ETA
Upgrading luci-sys on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-sys_0.9+svn4929 100% |************************************************************************************************************| 15031 --:--:-- ETA
Upgrading luci-theme-base on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-theme-base_0.9+ 100% |************************************************************************************************************| 3858 --:--:-- ETA
Upgrading luci-theme-fledermaus on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-theme-fledermau 100% |************************************************************************************************************| 17649 --:--:-- ETA
Upgrading luci-theme-freifunk on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-theme-freifunk_ 100% |************************************************************************************************************| 20693 --:--:-- ETA
Upgrading luci-theme-openwrt on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-theme-openwrt_0 100% |************************************************************************************************************| 73428 --:--:-- ETA
Upgrading luci-uci on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-uci_0.9+svn4929 100% |************************************************************************************************************| 3860 --:--:-- ETA
Upgrading luci-uvl on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-uvl_0.9+svn4929 100% |************************************************************************************************************| 17388 --:--:-- ETA
Upgrading luci-web on root from 0.9+svn4847-1 to 0.9+svn4929-1...
Downloading http://openwrt.pantele.com.ua/trunk/met ... 1_mips.ipk
Connecting to openwrt.pantele.com.ua (91.206.252.20:80)
luci-web_0.9+svn4929 100% |************************************************************************************************************| 12199 --:--:-- ETA
Configuration file '/etc/config/luci'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions (if diff is installed)
The default action is to keep your current version.
*** luci (Y/I/N/O/D) [default=N] ?
Configuring base-files-metarouter
Configuring libc
Configuring libdnet
Configuring libgcc
Configuring libpthread
Configuring librt
Configuring luci-admin-core
Configuring luci-admin-full
Configuring luci-cbi
Configuring luci-core
Configuring luci-http
Configuring luci-i18n-english
Configuring luci-i18n-russian
Configuring luci-ipkg
Configuring luci-lucid
Configuring luci-nixio
Configuring luci-px5g
Configuring luci-sgi-cgi
Configuring luci-sys
Configuring luci-theme-base
Configuring luci-theme-fledermaus
Configuring luci-theme-freifunk
Configuring luci-theme-openwrt
Configuring luci-uci
Configuring luci-uvl
Configuring luci-web
root@Metarouter:~#

3)reboot
root@Metarouter:~# reboot

4)result:

| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r16564) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@Metarouter:~#
 
andreacoppini
Trainer
Trainer
Posts: 482
Joined: Wed Apr 13, 2005 11:51 pm
Location: Malta, Europe

Re: Metarouter images

Sun Aug 30, 2009 5:20 am

I tried downloading your image at http://openwrt.pantele.com.ua/trunk/met ... rootfs.tgz but when I copy it to my RB433UAH and import it in MetaROUTER, I immediately get an error saying "Couldn't continue - import failed: could not extract: archive is too short (6)"

Any idea why this is happening? fix?
- No strings attached -

<< Please give good Karma if this post helped you. Press the + button above the Location entry
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Wed Sep 02, 2009 5:08 pm

Updated my repo for Metarouter to latest OpenWRT trunk r.17468 and packages tree too.

Last image locate here
Packages repo here.

BusyBox v1.13.4 (2009-09-01 14:09:36 EEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r17468) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
---------------------------------------------------
root@Metarouter:/#
 
canopa
just joined
Posts: 5
Joined: Wed Sep 02, 2009 1:26 pm

Re: Metarouter images

Thu Sep 03, 2009 12:26 pm

Hi nik247,
i have small request. Please, would you compile next image Metarouter with pppoe-relay or add package pppoe-relay?
Thank you,
P.
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Fri Sep 04, 2009 7:30 am

Updated my repo for Metarouter to latest OpenWRT trunk r.17511 and packages tree too.

Last image locate here
Packages repo here.

to canopa - package rp-pppoe-relay was add to repo.
 
gcakici
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Thu Feb 23, 2006 11:44 am

Re: Metarouter images

Sun Oct 18, 2009 4:32 pm

Hi nik247,

Is it possible to add rsyslog and related packages to the package repository? Especially the relp and tls packages.

Thanks
Gokalp
 
User avatar
soho
newbie
Posts: 30
Joined: Sat Sep 09, 2006 3:05 am

Re: Metarouter images

Tue Oct 20, 2009 2:51 am

Updated my repo for Metarouter to latest OpenWRT trunk r.17511 and packages tree too.

Last image locate here
Packages repo here.

to canopa - package rp-pppoe-relay was add to repo.
hi nik247.


which the parameters that I use to compile some modules of freeradius 2 to install this version of OpenWRT compiled by you?
 
canopa
just joined
Posts: 5
Joined: Wed Sep 02, 2009 1:26 pm

Re: Metarouter images

Fri Oct 23, 2009 11:25 am

Hi nik247,
i have small request. Please, would you compile next image Metarouter with fprobe or add package fprobe?
Thank you,
P.


PS:Thank you for rp-pppoe-relay -- work very best!! Thank You!!
 
andreacoppini
Trainer
Trainer
Posts: 482
Joined: Wed Apr 13, 2005 11:51 pm
Location: Malta, Europe

Re: Metarouter images

Fri Oct 23, 2009 12:16 pm

Anybody managed to get an Asterisk running with a nice web GUI and care to share? I know there's loads of stuff on the internet, but I'm a total noob when it comes to OpenWRT.. or basically anything Linux.
- No strings attached -

<< Please give good Karma if this post helped you. Press the + button above the Location entry
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 23630
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Metarouter images

Fri Oct 23, 2009 12:23 pm

Brian had Metarouter with Asterisk running in his MUM demo:
http://mum.mikrotik.com/presentations/US09/vargyas.pdf
http://www.tiktube.com/?video=244
No answer to your question? How to write posts
 
andreacoppini
Trainer
Trainer
Posts: 482
Joined: Wed Apr 13, 2005 11:51 pm
Location: Malta, Europe

Re: Metarouter images

Fri Oct 23, 2009 12:34 pm

bah.. all the cool stuff is always at the US MUMs... in the EU ones all you get is some dork talking about rebooting routers via SNMP! :)

Thanks.
- No strings attached -

<< Please give good Karma if this post helped you. Press the + button above the Location entry
 
User avatar
normis
MikroTik Support
MikroTik Support
Topic Author
Posts: 23630
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Metarouter images

Fri Oct 23, 2009 12:38 pm

bah.. all the cool stuff is always at the US MUMs... in the EU ones all you get is some dork talking about rebooting routers via SNMP! :)

Thanks.
Your presentation was great, don't even say anything like that :) I recommend it to people who write to support about certain things
No answer to your question? How to write posts
 
gcakici
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Thu Feb 23, 2006 11:44 am

Re: Metarouter images

Fri Nov 20, 2009 3:41 pm

Original image repository not reachable anymore.

root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/ ... ackages.gz
Connecting to downloads.openwrt.org (78.24.191.177:80)
wget: server returned error: HTTP/1.1 404 Not Found
Collected errors:
* opkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -P /tmp/opkg-sf9ALg http://downloa
ds.openwrt.org/snapshots/trunk/metarouter/packages/Packages.gz'

Any suggestions?

Thanks
Gokalp
 
dalejoyce
Frequent Visitor
Frequent Visitor
Posts: 51
Joined: Mon May 05, 2008 1:39 pm

Re: Metarouter images

Sat Dec 05, 2009 2:27 pm

nik247 - You seem to know what your are doing when it comes to compiling Packages. Is there any chance of compling wifidog 1.1.5 to work with the metarouter patched OpenWRT. i am having terrible trouble compiling this and all packages avaliable throw the following error:

Collected errors:
* Packages were found, but none compatible with the architectures configured

Cheers

Dale
 
dalejoyce
Frequent Visitor
Frequent Visitor
Posts: 51
Joined: Mon May 05, 2008 1:39 pm

Re: Metarouter images

Sun Dec 06, 2009 8:55 pm

Does anyone have any sugestions?
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Mon Dec 07, 2009 11:07 am

After update to latest trunk last week I can't build any image any packages for Metarouter - in menu config "Metarouter" not avalible as build system. 8-(
 
reverged
Member Candidate
Member Candidate
Posts: 270
Joined: Thu Nov 12, 2009 8:30 am

Re: Metarouter images

Mon Dec 07, 2009 9:32 pm

nik247: you were our last hope!

Well this is actually good news. At least we are all seeing the same error.

Metarouter does not show up due to an error in the Makefile, from what I can see.

I played with the Makefile and I get metarouter to show up as an option, but then other errors occur.

It seems none of us can build the latest Openwrt.

It would be nice to simply draw a line at an Openwrt revision and claim support at that revision.
At present, the instructions say to download the latest trunk, which does not build.

Is metarouter a priority at all for Mikrotik support?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5702
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Metarouter images

Tue Dec 08, 2009 7:40 am

OpenWRT removed kernel support that RouterOS is using, you will have to use older OpenWRT untill we upgrade kernel.
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Tue Dec 08, 2009 12:09 pm

OpenWRT removed kernel support that RouterOS is using, you will have to use older OpenWRT untill we upgrade kernel.
Normis answered me in other post about new kernel in ROS - "When RouterOS gets newer kernel? - Probably in RouterOS v5"

For using Metarouter now we should:
1) Try find correct last trunk revision OpenWRT (I chouse this way)
2) Wait release ROS 5.0
 
gcakici
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Thu Feb 23, 2006 11:44 am

Re: Metarouter images

Tue Dec 08, 2009 9:33 pm

We can compile 17511 revision of Openwrt trunk.

Openwrt does not support 2.6.27.21 kernel revision in new trunk releases and i think that's where we all stuck compiling the new trunks. Go with the 17511.
svn -r 17511 co svn://svn.openwrt.org/openwrt/trunk
Regards
Gokalp
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Wed Dec 09, 2009 7:05 am

We can compile 17511 revision of Openwrt trunk.

Openwrt does not support 2.6.27.21 kernel revision in new trunk releases and i think that's where we all stuck compiling the new trunks. Go with the 17511.
svn -r 17511 co svn://svn.openwrt.org/openwrt/trunk
Regards
Gokalp
I checked trunk history -> last revision with support kernel 2.6.27 is 18200 and Metarouter. Starting from r.18201 support kernel 2.6.27 was removed.

svn co svn://svn.openwrt.org/openwrt/trunk --revision 18200

Today I am going rebuild my repo to trunk r.18200 of OpenWRT and packages to latest revision (18701)
Last edited by nik247 on Wed Dec 09, 2009 11:48 am, edited 2 times in total.
 
reverged
Member Candidate
Member Candidate
Posts: 270
Joined: Thu Nov 12, 2009 8:30 am

Re: Metarouter images

Wed Dec 09, 2009 11:06 am

Thanks nik247!

I'm going to give 18200 a try.
 
reverged
Member Candidate
Member Candidate
Posts: 270
Joined: Thu Nov 12, 2009 8:30 am

Re: Metarouter images

Thu Dec 10, 2009 9:33 am

OK, 18200 fails:
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
Copies of these libraries' source code can be found at their respective
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
If you obtained GMP and/or MPFR from a vendor distribution package, make
sure that you have installed both the libraries and the header files.
They may be located in separate packages.
make[3]: *** [/Volumes/openwrt2/metarouter/trunk_18200/build_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/gcc-4.3.3/.prepared] Error 1
make[2]: *** [toolchain/gcc/prepare] Error 2
make[1]: *** [/Volumes/openwrt2/metarouter/trunk_18200/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/stamp/.toolchain_install] Error 2
make: *** [world] Error 2
It's strange, because the version of mpfr that comes with Openwrt (2.4.1) is failing when compared against 2.3.0 by openwrt during the build. This may be a simple path or config setting, I'll figure it out when I get some time.

The good news is 17511 does build (thanks for the tip, Gokalp) after deleting the patch file as described here:

http://forum.mikrotik.com/viewtopic.php ... 49#p170349

Thanks for all the help. If there is interest, I can make a repository public.
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Thu Dec 10, 2009 12:23 pm

Today (10.12.2009) I updated my repo to latest possible OpenWRT trunk r.18199 and packages tree to r.181727.
Image tested on RB450G with ROS 4.3

Last image locate here
Packages repo here.

BusyBox v1.14.4 (2009-12-08 22:28:36 EET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r18199) ------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@Metarouter:

In new packages tree may forgot yo build same packages. If you need specific packages - write pls. here or PM.
P.S. Package wifidog present in repo:
root@Metarouter:~# opkg list wifi\*
wifidog - 20090925-1 - The Wifidog project is a complete and embeddable captive
root@Metarouter:~#
 
reverged
Member Candidate
Member Candidate
Posts: 270
Joined: Thu Nov 12, 2009 8:30 am

Re: Metarouter images

Thu Dec 10, 2009 10:45 pm

nik247,

Wonderful!!

I am in need of the openrrcp package. Please and thank you.

What OS are you using for your devel system?

------------------------------------------------------------
P.S.
To add to my saga, I was able to build 17511, and it runs. However, I cannot build packages, nor can I rebuild 17511.
If I type >make V=99 I get an error early on.

I have to delete everything, re-svn it, re-patch it and then it builds again! Really strange. I'm doing this on Darwin (OS X) so maybe that has something to do with it.
 
nik247
Frequent Visitor
Frequent Visitor
Posts: 60
Joined: Fri Jan 16, 2009 1:00 pm
Location: Ukraine, Kiev

Re: Metarouter images

Thu Dec 10, 2009 11:23 pm

nik247,

Wonderful!!

I am in need of the openrrcp package. Please and thank you.

What OS are you using for your devel system?
My repo packages updated to r.18734 (OpenWRT still r.18199)
Openrrcp was add to repo.
My devel system is CentOS 5.4.
Last edited by nik247 on Fri Dec 11, 2009 5:35 am, edited 1 time in total.
 
reverged
Member Candidate
Member Candidate
Posts: 270
Joined: Thu Nov 12, 2009 8:30 am

Re: Metarouter images

Fri Dec 11, 2009 12:06 am

Thank You!
 
midsizewisp
Frequent Visitor
Frequent Visitor
Posts: 53
Joined: Tue Dec 08, 2009 10:34 pm

Re: Metarouter images

Thu Dec 31, 2009 4:11 am

How do you see a second interface? I added two interfaces (vif1, vif2) but I can only see a single eth1.
 
jdcook
just joined
Posts: 1
Joined: Thu Mar 11, 2010 12:22 am

Re: Metarouter images

Thu Mar 11, 2010 12:26 am

Hello, nik247,

You seem to know what you are doing. Could you compile and make a package of the emailrelay program for openwrt? It is at http://emailrelay.sourceforge.net/ I found a possible patch file for it at http://seiner.com/openwrt/kamikaze_8.09 ... mailrelay/ that might be helpful.

Thanks for your consideration.
 
BMWGuinness
newbie
Posts: 25
Joined: Wed Mar 17, 2010 4:29 pm

Re: Metarouter images

Fri Mar 26, 2010 1:24 pm

Does anyone have a library of known good images for Metarouter?

I came across such library last week, but didn't bookmark it unfortunately.

Thank you!
 
User avatar
THG
Member
Member
Posts: 472
Joined: Thu Oct 15, 2009 1:05 am

Re: Metarouter images

Mon Apr 19, 2010 10:38 am

I will give you a Level6 license for an article in the Wiki and the Image.
Does this offer only apply to MetaRouter images?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6267
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Metarouter images

Mon Apr 19, 2010 2:38 pm

yes, that applies to MetaROUTER images that will work on mipsbe (MIPS) or PPC (powerpc) architecture. What makes this quite a challenge.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 8

Who is online

Users browsing this forum: No registered users and 1 guest