Community discussions

MikroTik App
 
Robotics909
just joined
Topic Author
Posts: 18
Joined: Wed Oct 31, 2012 5:14 pm

RouterBoard 750 GL Script Error

Fri Nov 02, 2012 9:26 pm

I have just purchased the Router Boad 750 GL. I have applied your all script . But device gave me some error message. Can you tell me what is this error.

MMM MMM KKK TTTTTTTTTTT KKK
MMMM MMMM KKK TTTTTTTTTTT KKK
MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK
MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK
MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK
MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK

MikroTik RouterOS 5.21 (c) 1999-2012 http://www.mikrotik.com/

[admin@MikroTik] > /IP ADRESS
expected command name (line 1 column 2)
[admin@MikroTik] > IP ADRESS
expected command name (line 1 column 1)
[admin@MikroTik] > /ip address
[admin@MikroTik] /ip address> add address=192.168.0.1/24 network=192.168.0.0 broad
cast=192.168.0.255 interface=Localal
[admin@MikroTik] /ip address> add address=192.168.1.2/24 network=192.168.1.0 broad
cast=192.168.1.255 interface=WAN1N1
[admin@MikroTik] /ip address> add address=192.168.2.2/24 network=192.168.2.0 broad
cast=192.168.2.255 interface=WAN2N2
[admin@MikroTik] /ip address> add address=192.168.3.2/24 network=192.168.3.0 broad
cast=192.168.3.255 interface=WAN3N3
[admin@MikroTik] /ip address> add address=192.168.4.2/24 network=192.168.4.0 broad
cast=192.168.4.255 interface=WAN4N4
[admin@MikroTik] /ip address> /ip firewall mangle
[admin@MikroTik] /ip firewall mangle> add dd chain=input in-interface=WAN1 action=
mark-connection new-connection-mark=WAN1_connnn
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=input in-interface=WAN2 action
=mark-connection new-connection-mark=WAN2_connnn
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=input in-interface=WAN3 action
=mark-connection new-connection-mark=WAN3_connnn
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=input in-interface=WAN4 action
[admin@MikroTik] /ip firewall mangle>> add dd chain=input in-interface=WAN4 action=
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add chain=output connection-mark=WAN1_conn a
ction=mark-routing new-routing-mark=to_WAN1
[admin@MikroTik] /ip firewall mangle> add chain=output connection-mark=WAN2_conn ac
tion=mark-routing new-routing-mark=to_WAN2
[admin@MikroTik] /ip firewall mangle> add chain=output connection-mark=WAN3_conn ac
tion=mark-routing new-routing-mark=to_WAN3
[admin@MikroTik] /ip firewall mangle> add chain=output connection-mark=WAN4_conn ac
tion=mark-routing new-routing-mark=to_WAN4
[admin@MikroTik] /ip firewall mangle> add dd chain=prerouting dst-address=192.168.1
.0/24 action=accept in-interface=Local
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address=192.168.
2.0/24 action=accept in-interface=Local
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address=192.168.
3.0/24 action=accept in-interface=Local
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address=192.168.
4.0/24 action=accept in-interface=Local
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>>
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address-type=!lo
cal in-interface=Local per-connection-classifier=both-addresses-and-ports:4/0 actio
n=mark-connection new-connection-mark=WAN1_conn passthrough=yes
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address-type=!lo
cal in-interface=Local per-connection-classifier=both-addresses-and-ports:4/1 actio
n=mark-connection new-connection-mark=WAN2_conn passthrough=yes
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address-type=!lo
cal in-interface=Local per-connection-classifier=both-addresses-and-ports:4/2 actio
n=mark-connection new-connection-mark=WAN3_conn passthrough=yes
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address-type=!lo
cal in-interface=Local per-connection-classifier=both-addresses-and-ports:4/3 actio
n=mark-connection new-connection-mark=WAN4_conn passthrough=yes
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting connection-mark=WAN1
_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN1
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting connection-mark=WAN2
_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN2
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting connection-mark=WAN3
_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN3
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting connection-mark=WAN4
_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN4
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> /ip route
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.1.1 routi
ng-mark=to_WAN1 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.2.1 routi
ng-mark=to_WAN2 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.3.1 routi
ng-mark=to_WAN3 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.4.1 routi
ng-mark=to_WAN4 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>>
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.1.1 dista
nce=1 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.2.1 dista
nce=2 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.3.1 dista
nce=3 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.4.1 dista
nce=4 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> /ip firewall nat
[admin@MikroTik] /ip firewall nat>> add dd chain=srcnat out-interface=WAN1 action=m
asquerade
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall nat>> add dd chain=srcnat out-interface=WAN2 action=m
asquerade
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall nat>> add dd chain=srcnat out-interface=WAN3 action=m
asquerade
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall nat>> add dd chain=srcnat out-interface=WAN4 action=m
asquerade
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall nat>> /ip address
[admin@MikroTik] /ip address>>
[admin@MikroTik] /ip address>> add disabled=d address=192.168.0.1/24 network=192.16
8.0.0 broadcast=192.168.0.255 interface=Local
syntax error (line 1 column 14)
[admin@MikroTik] /ip address>> add disabled=d address=192.168.1.2/24 network=192.16
8.1.0 broadcast=192.168.1.255 interface=WAN1
syntax error (line 1 column 14)
[admin@MikroTik] /ip address>> add disabled=d address=192.168.2.2/24 network=192.16
8.2.0 broadcast=192.168.2.255 interface=WAN2
syntax error (line 1 column 14)
[admin@MikroTik] /ip address>> add disabled=d address=192.168.3.2/24 network=192.16
8.3.0 broadcast=192.168.3.255 interface=WAN3
syntax error (line 1 column 14)
[admin@MikroTik] /ip address>> add disabled=d address=192.168.4.2/24 network=192.16
8.4.0 broadcast=192.168.4.255 interface=WAN4
syntax error (line 1 column 14)
[admin@MikroTik] /ip address>> /ip firewall mangle
[admin@MikroTik] /ip firewall mangle>> add dd chain=input in-interface=WAN1 action=
mark-connection new-connection-mark=WAN1_conn
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=input in-interface=WAN2 action=
mark-connection new-connection-mark=WAN2_conn
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=input in-interface=WAN3 action=
mark-connection new-connection-mark=WAN3_conn
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=input in-interface=WAN4 action=
mark-connection new-connection-mark=WAN4_conn
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>>
[admin@MikroTik] /ip firewall mangle>> add dd chain=output connection-mark=WAN1_con
n action=mark-routing new-routing-mark=to_WAN1
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=output connection-mark=WAN2_con
n action=mark-routing new-routing-mark=to_WAN2
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=output connection-mark=WAN3_con
n action=mark-routing new-routing-mark=to_WAN3
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=output connection-mark=WAN4_con
n action=mark-routing new-routing-mark=to_WAN4
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>>
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address=192.168.
1.0/24 action=accept in-interface=Local
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address=192.168.
2.0/24 action=accept in-interface=Local
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address=192.168.
3.0/24 action=accept in-interface=Local
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address=192.168.
4.0/24 action=accept in-interface=Local
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>>
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address-type=!lo
cal in-interface=Local per-connection-classifier=both-addresses-and-ports:4/0 actio
n=mark-connection new-connection-mark=WAN1_conn passthrough=yes
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address-type=!lo
cal in-interface=Local per-connection-classifier=both-addresses-and-ports:4/1 actio
n=mark-connection new-connection-mark=WAN2_conn passthrough=yes
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address-type=!lo
cal in-interface=Local per-connection-classifier=both-addresses-and-ports:4/2 actio
n=mark-connection new-connection-mark=WAN3_conn passthrough=yes
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting dst-address-type=!lo
cal in-interface=Local per-connection-classifier=both-addresses-and-ports:4/3 actio
n=mark-connection new-connection-mark=WAN4_conn passthrough=yes
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting connection-mark=WAN1
_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN1
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting connection-mark=WAN2
_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN2
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting connection-mark=WAN3
_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN3
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> add dd chain=prerouting connection-mark=WAN4
_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN4
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall mangle>> /ip route
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.1.1 routi
ng-mark=to_WAN1 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.2.1 routi
ng-mark=to_WAN2 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.3.1 routi
ng-mark=to_WAN3 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.4.1 routi
ng-mark=to_WAN4 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>>
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.1.1 dista
nce=1 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.2.1 dista
nce=2 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.3.1 dista
nce=3 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> add dd dst-address=0.0.0.0/0 gateway=192.168.4.1 dista
nce=4 check-gateway=ping
expected end of command (line 1 column 5)
[admin@MikroTik] /ip route>> /ip firewall nat
[admin@MikroTik] /ip firewall nat>> add dd chain=srcnat out-interface=WAN1 action=m
asquerade
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall nat>> add dd chain=srcnat out-interface=WAN2 action=m
asquerade
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall nat>> add dd chain=srcnat out-interface=WAN3 action=m
asquerade
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall nat>> add dd chain=srcnat out-interface=WAN4 action=m
asquerade
expected end of command (line 1 column 5)
[admin@MikroTik] /ip firewall nat>>
[admin@MikroTik] /ip firewall nat>> /ip dns s set allow-remote-requests=yes cache-m
ax-ttl=1w cache-size=5000KiB max-udp-packet-size=512 servers=221.132.112.8,8.8.8.8
bad command name s (line 1 column 9)
[admin@MikroTik] /ip firewall nat>> add dd chain=srcnat out-interface=WAN4 action=masquerade
 
jandafields
Forum Guru
Forum Guru
Posts: 1515
Joined: Mon Sep 19, 2005 6:12 pm

Re: RouterBoard 750 GL Script Error

Fri Nov 02, 2012 10:06 pm

In that last command, you have an extra s after dns.



Sent from my DROID4 using Tapatalk 2
 
Robotics909
just joined
Topic Author
Posts: 18
Joined: Wed Oct 31, 2012 5:14 pm

Re: RouterBoard 750 GL Script Error

Fri Nov 02, 2012 11:29 pm

what is wrong in this line?
[admin@MikroTik] /ip firewall mangle> add dd chain=input in-interface=WAN1 action=
mark-connection new-connection-mark=WAN1_connnn
expected end of command (line 1 column 5)
 
jandafields
Forum Guru
Forum Guru
Posts: 1515
Joined: Mon Sep 19, 2005 6:12 pm

Re: RouterBoard 750 GL Script Error

Sat Nov 03, 2012 1:01 am

what is wrong in this line?
[admin@MikroTik] /ip firewall mangle> add dd chain=input in-interface=WAN1 action=
mark-connection new-connection-mark=WAN1_connnn
expected end of command (line 1 column 5)
You really need to read the documentation so you can see the correct syntax for these commands.

Anyway, in that command, you have an extra "dd" after the word "add".

It should be "add chain..." NOT "add dd chain...."
 
ditonet
Forum Veteran
Forum Veteran
Posts: 835
Joined: Mon Oct 19, 2009 12:52 am
Location: Europe/Poland/Konstancin-Jeziorna
Contact:

Re: RouterBoard 750 GL Script Error

Sat Nov 03, 2012 1:31 am

@Robotics909
Disable console 'HotLock' mode as described in Wiki:
http://wiki.mikrotik.com/wiki/Manual:Co ... tLock_Mode
In this mode ROS is trying to autocomplete every command, hence errors like 'add dd'.

HTH,

Who is online

Users browsing this forum: anav, tuiespacecorp and 40 guests