Community discussions

Search found 558 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 12
by c0d3rSh3ll
Fri Jun 09, 2017 5:40 pm
Forum: General
Topic: ££$$ paid work ££$$$
Replies: 4
Views: 440

Re: ££$$ paid work ££$$$

My email Is c0d3rSh3ll@hotmail.com
Send me any details

Sent from my x600 using Tapatalk
by c0d3rSh3ll
Thu Aug 27, 2015 9:41 am
Forum: General
Topic: Script for Hire
Replies: 2
Views: 323

tabate47:

Please send me an email to

c0d3rSh3ll [at] hotmail [dot] com




Regards
by c0d3rSh3ll
Tue Apr 28, 2015 5:37 am
Forum: General
Topic: Looking for contractor
Replies: 2
Views: 449

Hello.
In my signature you can see my email.
by c0d3rSh3ll
Sat Apr 25, 2015 4:01 am
Forum: Scripting
Topic: script change user info dose not work
Replies: 3
Views: 616

Re: script change user info dose not work

check this
/ip hotspot user
	:foreach i in=[find disabled=no] do={
		:local name [ get value-name=name $i]
			:local profile [get value-name=profile $i]
		:if ( $profile = "mm") do={set password=aaa $name}
}}
by c0d3rSh3ll
Tue Feb 03, 2015 9:23 pm
Forum: General
Topic: All ethernet ports cuts conections every few seconds
Replies: 12
Views: 2485

Re: All ethernet ports cuts conections every few seconds

Same here with 6.25 and a rb1100ahx2 and the latest firmware.

I downgraded ti 6.23 and everything is OK again
by c0d3rSh3ll
Tue Feb 03, 2015 5:52 am
Forum: Scripting
Topic: Script for adding ip adresses to whitelist
Replies: 1
Views: 905

Re: Script for adding ip adresses to whitelist

check this

ros code

/ppp active 
	:foreach i in=[find] do={
		:local ip [get value-name=address $i]
			/ip firewall address-list add list=pptp-whitelist address=$ip
		}
by c0d3rSh3ll
Tue Feb 03, 2015 5:40 am
Forum: Scripting
Topic: Removing the colon from [/system clock get clock]?
Replies: 1
Views: 555

Re: Removing the colon from [/system clock get clock]?

this can help you

ros code

put ( [pick [system clock get time] 0 2] . [pick [system clock get time] 3 5] . [pick [system clock get time] 6 8] )
by c0d3rSh3ll
Fri Jan 30, 2015 4:19 am
Forum: The User Manager
Topic: Cannot access User Manager
Replies: 4
Views: 5576

Re: Cannot access User Manager

Maybe you not have instaled the user manager package. Check it in the system-- package menú.
by c0d3rSh3ll
Sat Jan 10, 2015 3:42 am
Forum: Scripting
Topic: script error for wan ip info
Replies: 3
Views: 1114

Re: script error for wan ip info

check this:

ros code

/ip address
		:foreach i in=[ find interface=wan] do={
	:local ip [get value-name=address $i]
		:local status [ get value-name=disabled $i]
			:if ($status = false) do={
	:log error "ip address $ip"
 }
 }


change the interface name..
by c0d3rSh3ll
Tue Dec 09, 2014 6:57 pm
Forum: General
Topic: please help!
Replies: 1
Views: 467

Re: please help!

There are some way to do it.
You can use web proxy feature for redirect only HTTP traffic to a local web server for who didnt pay.

Also you can use a dst nat for redirect only HTTP traffic to a your web server.
by c0d3rSh3ll
Tue Dec 09, 2014 6:51 pm
Forum: Beginner Basics
Topic: Help selecting right product.
Replies: 15
Views: 1441

Re: Help selecting right product.

I can recommend a rb1100ahx2. Is a good option.

For load balance the connection from your customers you can use PCC method.
by c0d3rSh3ll
Fri Oct 17, 2014 6:08 am
Forum: Scripting
Topic: Script to redirect non-payers
Replies: 3
Views: 909

Re: Script to redirect non-payers

what is the "Butch's script " ?

https is not possible to redirect with web proxy.
by c0d3rSh3ll
Tue Oct 14, 2014 10:27 pm
Forum: Scripting
Topic: dhcp-relay responses monitoring needed
Replies: 5
Views: 1229

Re: dhcp-relay responses monitoring needed

c0d3rSh3ll thank you very much +1 ;) and maybe you can add... if responses = 0 and if requests > 0 :local resp; :local req /ip dhcp-relay monitor 0 do={ :set resp ( responses); :set req (requests ); } once; :if [ ($resp = 0 ) && ($req > 0)] do={ /system reboot; } some other thing? :D
by c0d3rSh3ll
Tue Oct 14, 2014 1:11 am
Forum: Scripting
Topic: Script Ping (Host To IP) to the variable.
Replies: 2
Views: 3396

Re: Script Ping (Host To IP) to the variable.

there are some ways to do it.
you can use resolve command, something like this

ros code

{
local host1 [resolve google.com]
put $host1 }
or

ros code

{
local host1 [resolve google.com]
log error $host1 }
by c0d3rSh3ll
Tue Oct 14, 2014 12:00 am
Forum: Scripting
Topic: dhcp-relay responses monitoring needed
Replies: 5
Views: 1229

Re: dhcp-relay responses monitoring needed

check this

ros code

:local resp
/ip dhcp-relay monitor 0  do={
:set resp ( responses) } once;
:if ($resp = 0 ) do={
/system reboot;}
by c0d3rSh3ll
Fri Oct 10, 2014 9:45 pm
Forum: Scripting
Topic: Check client IP address for pptp-client
Replies: 1
Views: 1694

Re: Check client IP address for pptp-client

may be this can help you, you can improve it with more time :D :local tmp [/ip address get value-name=address [find interface=pptp-out1]] :local ip [pick $ip 0 ([:len $ip]-3) ] :log warning "Monitoring..."; :if (ip != 10.200.13.20) do={ :log error "wrong ip" :log error $ip /interface pptp-client dis...
by c0d3rSh3ll
Fri Oct 10, 2014 9:14 pm
Forum: Scripting
Topic: Script - search queues
Replies: 4
Views: 1815

Re: Script - search queues

try this:

ros code

/queue simple 
:foreach i in=[ find ] do={
	:local max [ get value-name=max-limit $i]
		:local ip [ get value-name=target $i]
:if ($max = "2M/2M") do={
		/ip firewall address-list add list=queue address=$ip
} 
	}
by c0d3rSh3ll
Mon Oct 06, 2014 2:59 am
Forum: General
Topic: Did we loose IP cloud?
Replies: 155
Views: 22591

Re: Did we loose IP cloud?

Same here. I upgrade my router to 6.20 and routerOS can not connect.
by c0d3rSh3ll
Thu Sep 25, 2014 9:12 pm
Forum: Scripting
Topic: help with address-list script please
Replies: 2
Views: 713

Re: help with address-list script please

is wrong your script, check this:

ros code

foreach i in=[ip firewall address-list find list=blocked ] do={
local ip [ip firewall address-list get value-name=address $i]
log info ($ip) }
by c0d3rSh3ll
Thu Sep 25, 2014 9:07 pm
Forum: Scripting
Topic: Is possible to run 2 different commands at the same time?
Replies: 3
Views: 696

Re: Is possible to run 2 different commands at the same time

I dont know what do you wan to do, but if you need to run some scritp at the same time maybe you can use comma like this

ros code

/system script run script1; /system script run script2;
by c0d3rSh3ll
Thu Sep 25, 2014 8:55 pm
Forum: Scripting
Topic: Scripting Sum Count of bytes Out
Replies: 3
Views: 1412

Re: Scripting Sum Count of bytes Out

check this, may be is the solution for you

ros code

global gigabyte
:foreach name in=[/ip hotspot user find ] do={
global byte [/ip hotspot user get $name bytes-out]
:set gigabyte [($gigabyte + $byte)] 
:put $gigabyte
by c0d3rSh3ll
Tue Sep 16, 2014 6:50 am
Forum: Scripting
Topic: Getting wireless interface rx signal-strength
Replies: 7
Views: 2146

Re: Getting wireless interface rx signal-strength

Where can you read the result?
paste this in the terminal

ros code

put [/interface wireless registration-table get value-name=signal-strength 0 ]
this read the signal strength for the station 0
by c0d3rSh3ll
Sun Sep 14, 2014 7:17 am
Forum: Scripting
Topic: Need help with script to make simple queue for dhcp entries
Replies: 10
Views: 5308

Re: Need help with script to make simple queue for dhcp entr

Does this script still work with V6.19 ? I am trying to implement this script again and I cant seem to get it to work. the original scritp is for 5.x, I remove the wrong code tested in 6.19: :foreach a in=[/queue simple find] do={ :local tmpip [/queue simple get $a target] /ip dhcp-server lease :fo...
by c0d3rSh3ll
Sat Sep 13, 2014 11:47 pm
Forum: Scripting
Topic: check ip and renew
Replies: 3
Views: 834

Re: check ip and renew

there are some ways to do it while condition=([ip dhcp-client get value-name=gateway 0]!= 1.1.1.1) do={ delay 2s; ip dhcp-client disable 0; delay 5s; ip dhcp-client enable 0; delay 3s;}} or local ip [ip dhcp-client get value-name=gateway 0] if ($ip!= 1.1.1.1) do={ ip dhcp-client release 0; ip dhcp-c...
by c0d3rSh3ll
Sat Sep 13, 2014 11:07 pm
Forum: Scripting
Topic: 750up POE on/off script
Replies: 6
Views: 2310

Re: 750up POE on/off script

for power off

ros code

interface ethernet poe set poe-out=off ether5
for power on

ros code

interface ethernet poe set poe-out=auto-on ether5
or

ros code

interface ethernet poe set poe-out=forced-on ether5
by c0d3rSh3ll
Sun Sep 07, 2014 4:45 am
Forum: RouterBOARD hardware
Topic: GPIO for remote installations, why not?
Replies: 5
Views: 1551

Re: GPIO for remote installations, why not?

You can use an arduino with ethernet shield to control any device through digital/analog pins with a web control pannel.
by c0d3rSh3ll
Sun Aug 31, 2014 8:00 pm
Forum: Scripting
Topic: ˑ
Replies: 2
Views: 785

Re: wireless registration mac to hotspot user script

try this { :foreach i in=[ /int wir reg find ap=no] do={ local signal [interface wireless registration-table get value-name=signal-strength $i] local st [ :pick $signal 0 [:find $signal "dBm"]] local mac [interface wireless registration-table get value-name=mac-address $i] :if (-73 < $st) do={ /ip h...
by c0d3rSh3ll
Sun Aug 31, 2014 6:56 pm
Forum: The User Manager
Topic: delete all user expire
Replies: 1
Views: 1032

Re: delete all user expire

you can use a script daily or monthly for remove all expired users.
by c0d3rSh3ll
Sun Aug 31, 2014 6:39 pm
Forum: General
Topic: pppoe client loadbalance & pppoe server
Replies: 3
Views: 882

Re: pppoe client loadbalance & pppoe server

yes, is possible use only 1 rb for all the task.
I suggest to use pcc instead of nth.
by c0d3rSh3ll
Sun Aug 31, 2014 6:32 pm
Forum: Scripting
Topic: ˑ
Replies: 2
Views: 785

Re: Hotspot add active user script with profile

I not understand what do you want to do.
by c0d3rSh3ll
Fri Aug 29, 2014 9:35 pm
Forum: General
Topic: Load balance PCC with ppoe problem
Replies: 9
Views: 1883

Re: Load balance PCC with ppoe problem

everything look like fine
by c0d3rSh3ll
Wed Aug 27, 2014 9:02 am
Forum: General
Topic: Load balance PCC with ppoe problem
Replies: 9
Views: 1883

Re: Load balance PCC with ppoe problem

You have a wrong setup in the mangle rule. Change in interface in the pcc rule to in interface your lan network
by c0d3rSh3ll
Tue Aug 26, 2014 2:17 am
Forum: Beginner Basics
Topic: download upgrade package file directly on Mikrotik
Replies: 2
Views: 1157

Re: download upgrade package file directly on Mikrotik

yes, you can, execute this in the terminal

this is the 6.18 for mipsbe hardware:

/tool fetch mode=http url=http://download2.mikrotik.com/routeros/ ... e-6.18.npk


you can go to mikrotik website and copy the url to the npk and replace the url in the command.
by c0d3rSh3ll
Tue Aug 26, 2014 12:23 am
Forum: Scripting
Topic: eoip script help.
Replies: 3
Views: 1044

Re: eoip script help.

add a simple script something like this

ros code

local remoteIP [resolve yourdomain.com]
interface eoip set your-eoip-tunnel remote-address=$remoteIP
}
by c0d3rSh3ll
Sun Aug 24, 2014 7:22 pm
Forum: General
Topic: PCC in-interface
Replies: 2
Views: 522

Re: PCC in-interface

Is not necessary set in-interface. You can set src-address-list where the router has every network of every vlan.
by c0d3rSh3ll
Sun Aug 24, 2014 7:19 pm
Forum: General
Topic: resolving dns via VPN?
Replies: 2
Views: 776

Re: resolving dns via VPN?

Add a route for 8.8.8.8 through vpn with gateway the vpn interface.
by c0d3rSh3ll
Tue Jul 08, 2014 6:51 pm
Forum: Wireless Networking
Topic: https redirect issue
Replies: 12
Views: 14906

Re: https redirect issue

But everytime the device than connect to hotspot complain about unsigned - untrusted certificates, displayng warning messages, because your own cert, are not autorized by root certificates...
as he say:
can i use a self signed certificate for testing before buying a real one?
by c0d3rSh3ll
Tue Jul 08, 2014 6:46 pm
Forum: Beginner Basics
Topic: Dynamic to Static automatically
Replies: 8
Views: 1738

Re: Dynamic to Static automatically

sorry, I posted from my mobile phone.
is ok now.

rextended:

[admin@homeAP] > /ip firewall address-list set dynamic=no [find dynamic]
[admin@homeAP] >

tested in 6.15.
by c0d3rSh3ll
Tue Jul 08, 2014 6:13 pm
Forum: Beginner Basics
Topic: Dynamic to Static automatically
Replies: 8
Views: 1738

Re: Dynamic to Static automatically

Thanks. Could anybody help me with a simple script for it?

I would like to suggest to Mikrotik that
if users do address-list-timeout=0s (unlimited), the address list should be Static.
/ip firewall address-list set dynamic=no [find dynamic]
by c0d3rSh3ll
Tue Jul 08, 2014 5:59 pm
Forum: Wireless Networking
Topic: https redirect issue
Replies: 12
Views: 14906

Re: https redirect issue

Thank you Rextended for your answer,

can i use a self signed certificate for testing before buying a real one?
Yes. You can generate in linux and upload to routerOS.
by c0d3rSh3ll
Tue Jul 08, 2014 3:39 am
Forum: Beginner Basics
Topic: Reset data counter on each 10th of the month
Replies: 3
Views: 999

Re: Reset data counter on each 10th of the month

For reset the counter for any interface is:

/interface ethernet reset-counter etherX

You can execute the script each 30 days
by c0d3rSh3ll
Tue Jul 08, 2014 2:49 am
Forum: RouterBOARD hardware
Topic: system rebooted because of kernel failure, any help?
Replies: 10
Views: 2599

Re: system rebooted because of kernel failure, any help?

everyday my mikrotik 433 borad reboots everyday @ 9 am, so sounds wired, and i do not know what is the problem, so i just logged into my borad logs, i found that "system rebooted because of kernel failure". so what is that, and how i can fix the problem, thx Reinstall routerOS with netinstall. Some...
by c0d3rSh3ll
Sun Jul 06, 2014 9:00 am
Forum: Scripting
Topic: Change Simple Queue Bytes Values
Replies: 2
Views: 778

Re: Change Simple Queue Bytes Values

byte counter is read value, so you can not change it.
by c0d3rSh3ll
Tue Jun 17, 2014 10:04 am
Forum: Beginner Basics
Topic: need help
Replies: 2
Views: 722

Re: need help

PM is not possible on this forum.
by c0d3rSh3ll
Mon Jun 16, 2014 7:08 am
Forum: Scripting
Topic: remove namefilter address-list
Replies: 4
Views: 1036

Re: remove namefilter address-list

I need a script that removes all the address-list entry's that starts with "T-"

ros code

/ip firewal address-list remove [find list~"T-"]
Here is my script that removes everything in my address-list
for remove everything in your address list the best way is

ros code

/ip firewal address-list remove [find]
by c0d3rSh3ll
Sun Jun 15, 2014 5:39 pm
Forum: General
Topic: which winbox is recommand for android?
Replies: 2
Views: 1133

Re: which winbox is recommand for android?

We not have an official version.

This app are and api client and are very limited.

You can access to your router through any browes to webfig

Is so similar to winbox.exe
by c0d3rSh3ll
Sun Jun 15, 2014 5:35 pm
Forum: Beginner Basics
Topic: Net Connected Downloads working no Browsing
Replies: 1
Views: 575

Re: Net Connected Downloads working no Browsing

I think is a dns problem

Post your export of your conf:

/export
by c0d3rSh3ll
Sun Jun 15, 2014 5:28 pm
Forum: RouterOS v6 RC and v7 BETA
Topic: Mikrotik RB 1100AHx2 and ROS 6.XX support.
Replies: 9
Views: 4298

Re: Mikrotik RB 1100AHx2 and ROS 6.XX support.

I have running and rb1100ahx2 with the same problem ( 5.26 and the latest firmware) I have a dubt if in 6.x I will have the same problem. I reported the problem with mikrotik suppuort but they suggest me "upgrade to the latest version" This device is allocated in other city (400 km) so is a problem ...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 12