Community discussions

Search found 592 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 12
by hci
Fri Jan 18, 2019 9:43 pm
Forum: Scripting
Topic: Auto Update Script
Replies: 1
Views: 417

Auto Update Script

I have a router that I want to update but not tell 3am. I have this scheduler script. /system scheduler add interval=1d name=system_update on-event="/system package update\r\ \ncheck-for-updates once\r\ \n:delay 1s;\r\ \n:if ( [get status] = \"New version is available\") do={ install }\r\ \n" policy...
by hci
Wed Oct 03, 2018 11:00 pm
Forum: RouterBOARD hardware
Topic: Powering a FiberBox
Replies: 5
Views: 460

Re: Powering a FiberBox

I guess I am thinking a "Male DC Power Adapter Plug to Screw Terminal Block". Is it a 2.1mm plug?
by hci
Tue Oct 02, 2018 10:24 pm
Forum: RouterBOARD hardware
Topic: Powering a FiberBox
Replies: 5
Views: 460

Re: Powering a FiberBox

How exactly would you do PoE over fibre (I've never seen PoE-capable RJ45 SFP modules)? Last time I checked, glass was a pretty good insulator. Other than that, pull a two-wire cable (with decent copper core cross-section) and use 24V or 28V power supply. I would assume you put a copper POE port in...
by hci
Tue Oct 02, 2018 5:10 pm
Forum: RouterBOARD hardware
Topic: Powering a FiberBox
Replies: 5
Views: 460

Powering a FiberBox

How do you power this up on a tower? Would be nice if it was POE.

https://mikrotik.com/product/fiberbox
by hci
Wed Jul 18, 2018 4:44 pm
Forum: General
Topic: Limit Bandwidth to Subnet
Replies: 4
Views: 494

Re: Limit Bandwidth to Subnet

I tried this:

/queue simple
add disabled=yes max-limit=256k/1M queue=pcq-upload-default/pcq-download-default target=192.168.1.0/24

But it seems to pool all the IP's together and limit them too 1mbps. I want each IP separately limited too 1mbps.
by hci
Wed Jul 18, 2018 4:37 pm
Forum: General
Topic: Limit Bandwidth to Subnet
Replies: 4
Views: 494

Re: Limit Bandwidth to Subnet

Can you explain how this works a little more? If this works it would be wonderful. Basically we run into issues when the connection is maxed by one user when anyone else wants to use it they say its slow as mud. What is significance of the "max-limit=55M/15M"?
by hci
Wed Jul 18, 2018 2:01 am
Forum: General
Topic: Limit Bandwidth to Subnet
Replies: 4
Views: 494

Limit Bandwidth to Subnet

I have a Mikrotik router that is connected to the Internet by PPPoE connection providing it 6mbps. It provides multiple clients in 192.168.1.0/24 subnet IP leases by DHCP. I would like an easy way to limit each IP leased in that subnet too 2 mbps so a single client does not max out the circuit. How ...
by hci
Wed Apr 25, 2018 11:31 pm
Forum: Scripting
Topic: Convert Text File to Address List
Replies: 2
Views: 618

Convert Text File to Address List

Is there a script that will download a text file over https containing a list of IP addresses and convert them to an address list on the Mikrotik?
by hci
Fri Apr 20, 2018 4:53 pm
Forum: General
Topic: IPv6 and DHCPv6
Replies: 2
Views: 349

IPv6 and DHCPv6

Is there a way to setup DHCPv6 instead of using advertise? How do you assign DNS etc with DHCPv6?
by hci
Thu Mar 22, 2018 5:54 pm
Forum: Scripting
Topic: NTP Client Synchronized
Replies: 2
Views: 686

NTP Client Synchronized

In my scheduler I want to only run my script after the clock is synced with NTP server since it depends on the clock being accurate. I could just add a delay but if there is say a temporary Internet outage that will not help. Is there a way to do this? while NTP NOT SYNCED: { sleep(30s) } /system sc...
by hci
Fri Feb 02, 2018 4:42 pm
Forum: General
Topic: Reset CRS then Load Script
Replies: 4
Views: 519

Re: Reset CRS then Load Script

The delay seemed to work.

Now when I try to set the password at end of config it does not take.

/password old-password="" new-password=newpass confirm-new-password=newpass
by hci
Thu Feb 01, 2018 10:09 pm
Forum: General
Topic: Reset CRS then Load Script
Replies: 4
Views: 519

Re: Reset CRS then Load Script

That sounds like exactly what I need. Problem is when I select no-defaults, skip-backup and then the rsc file that has config and then reboot the router does not import the rsc file. I can mac-telnet in after reboot and import the file but it does not happen on its own.
by hci
Thu Feb 01, 2018 7:25 pm
Forum: General
Topic: Reset CRS then Load Script
Replies: 4
Views: 519

Reset CRS then Load Script

I want to reset the a mikrotik CRS to no settings then load an rsc file settings into it. Is there a way to do this remotely?
by hci
Wed Nov 01, 2017 3:39 pm
Forum: RouterOS v6 RC and v7 BETA
Topic: Report "Delegated-IPv6-Prefix" attribute for PPPoE
Replies: 192
Views: 35881

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

It would be great if they could concentrate on a carrier grade NAT and rounding out and improving IPv6 support. With the ipv4 shortage it won’t be long before some users are NAT on private IPv4 and IPv6 dual stack. Almost all cellphone connections are that way now in US.
by hci
Thu Aug 24, 2017 4:21 pm
Forum: RouterOS v6 RC and v7 BETA
Topic: Report "Delegated-IPv6-Prefix" attribute for PPPoE
Replies: 192
Views: 35881

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

If you have a thousand PPPoE users you want to give static /64 IPv6 delegations you must create a thousand pools on the Mikrotik to match.

Also, is IPv6 accounting of an sort working yet?
by hci
Fri Jul 14, 2017 12:12 am
Forum: Scripting
Topic: Download IP List
Replies: 2
Views: 700

Download IP List

I was wondering if it was possible to download a list of IP's from a URL in text format like:

10.0.12.123
10.0.34.23
etc.

Then convert them all to a dynamic address list in a Mikrotik router.
by hci
Mon Jun 26, 2017 7:59 pm
Forum: Scripting
Topic: Parsing Log File To Create Blacklist
Replies: 1
Views: 436

Parsing Log File To Create Blacklist

I saw this.

https://wiki.mikrotik.com/wiki/Log_Pars ... ger_Script

Is there anyway to create a blacklist of IP's that have a "Login Failure" in log file more then 5 times in 5 minutes and them add them to a dynamic list that is black listed for say a week?
by hci
Thu Jun 22, 2017 7:25 pm
Forum: General
Topic: Set Limited defaults
Replies: 1
Views: 302

Set Limited defaults

I want to set defaults for say:

/system lcd

I do not want to change settings for any other parts of the router config. Is there a way to do that?
by hci
Thu Apr 13, 2017 2:10 am
Forum: General
Topic: iPhone VPN and IPv6
Replies: 0
Views: 314

iPhone VPN and IPv6

Is there anyway from an iPhone to VPN into a Mikrotik and get a private IPv4 address and a public IPv6 address?
by hci
Wed Mar 15, 2017 7:11 pm
Forum: Scripting
Topic: Schedule Reboot
Replies: 2
Views: 8383

Schedule Reboot

Is there a easy way to schedule a reboot to occur at 3am and only happen once. This is to do a OS update.
by hci
Fri Mar 10, 2017 7:11 pm
Forum: RouterOS v6 RC and v7 BETA
Topic: Report "Delegated-IPv6-Prefix" attribute for PPPoE
Replies: 192
Views: 35881

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Really need...

Delegated-IPv6-Prefix
and
IPv6-Accounting
by hci
Fri Mar 10, 2017 7:02 pm
Forum: General
Topic: CRS and Port Isolation
Replies: 1
Views: 657

CRS and Port Isolation

Looking for a simple way to do this yet maintain full 1Gbps speed on CRS125-24G-1S-IN. Hypothetically. I have 2 PPPoE servers. I want to plug one into CRS port 1 and the other in 2. I want to plug all my backhauls and APs into all other ports, 3 through 24 ports. I want ports 1 and 2 to be able to t...
by hci
Wed Feb 22, 2017 5:46 pm
Forum: General
Topic: Tunneling into PPTP
Replies: 2
Views: 379

Re: Tunneling into PPTP

With my windows 10 laptop I can PPTP in just fine from my remote location. I want the whole remote network to use the remote pptp ip though. I can get the MikroTik to dial into the pptp connection too. I just cannot get the MikroTik to mascarade all its dhcp clients on pptp ip rather then the ip it ...
by hci
Wed Feb 22, 2017 5:13 pm
Forum: General
Topic: Tunneling into PPTP
Replies: 2
Views: 379

Tunneling into PPTP

i have a Mikrotik that gets a 192.168.1.x IP from a DSL router. I want it to use that IP to tunnel back through PPTP to another Mikrotik in our NOC and get a public IP with PPTP and use that to to offer NATed access to all clients connected via wifi. Does anyone have an example of doing that or can ...
by hci
Thu Jan 12, 2017 5:17 pm
Forum: General
Topic: https problem on hotspot
Replies: 97
Views: 88308

Re: https problem on hotspot

If you select authentication method MAC and MAC as username and password will this prevent them from being forced through the login page until the HTPP cookie lifetime expires? Seems like if they are idle for a while even if there cookie has not expired it forces them through the login page to verif...
by hci
Thu Jan 12, 2017 4:54 pm
Forum: General
Topic: https problem on hotspot
Replies: 97
Views: 88308

Re: https problem on hotspot

my solution to this long time problem as high percentage of browsers home pages are set to google.com add this expression to your walled garden in the host field :^www\.google\.com$ with port 443 now when they are directed to https://google.com the google page will load instead of an error, Better ...
by hci
Tue Jan 10, 2017 11:18 pm
Forum: Scripting
Topic: Randomize Essid
Replies: 1
Views: 408

Randomize Essid

Anyone know of an easy way to change the ESSID once a month to a random value?

I want it changed too myessid9999 where 9999 is a random number between 1 and 9999.
by hci
Thu Jan 05, 2017 7:35 pm
Forum: RouterOS v6 RC and v7 BETA
Topic: IPv6 Accounting
Replies: 3
Views: 1137

Re: IPv6 Accounting

I am looking at this from PPPoE perspective. Is there any other way to get this data? How does tools graphing get its data?
by hci
Thu Jan 05, 2017 1:47 am
Forum: RouterOS v6 RC and v7 BETA
Topic: IPv6 Accounting
Replies: 3
Views: 1137

IPv6 Accounting

Is there a feature like IP accounting for IPv6?
by hci
Thu Nov 03, 2016 11:41 pm
Forum: RouterOS v6 RC and v7 BETA
Topic: Feature Req: IKEv2 server and client
Replies: 291
Views: 77016

Re: Feature Req: IKEv2 server and client

Please update how it works for you.
by hci
Wed Oct 19, 2016 8:15 pm
Forum: RouterOS v6 RC and v7 BETA
Topic: Report "Delegated-IPv6-Prefix" attribute for PPPoE
Replies: 192
Views: 35881

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Looks like IPv4 space is going for about 13$ USD an IP at IPv4 auctions etc. Current plan is to give all users a IPv6 /64 and lower speed tier users a NATTED IPv4 rather then a public IPv4. "Delegated-IPv6-Prefix" attribute would sure be helpful.
by hci
Wed Oct 19, 2016 8:05 pm
Forum: RouterBOARD hardware
Topic: 802.3at POE CRS
Replies: 1
Views: 561

802.3at POE CRS

Is there a CRS with 802.3at POE output planned? Sure would be nice.
by hci
Tue Oct 11, 2016 7:12 pm
Forum: RouterOS v6 RC and v7 BETA
Topic: Feature Req: IKEv2 server and client
Replies: 291
Views: 77016

Re: Feature Req: IKEv2 server and client

Since Mikrotik does not currently support IKEv2 is there any other inexpensive and easy to setup solution until we get support in Mikrotik?
by hci
Thu Sep 15, 2016 6:09 pm
Forum: RouterOS v6 RC and v7 BETA
Topic: Feature Req: IKEv2 server and client
Replies: 291
Views: 77016

Re: Feature Req: IKEv2 server and client

Apple IOS 10.x just pulled PPTP support. But they support IKEv2 for long time now.
by hci
Tue Jul 05, 2016 10:30 pm
Forum: General
Topic: 11+ Port Router/Switch
Replies: 4
Views: 739

11+ Port Router/Switch

I need a Mikrotik switch or router with at least 11 copper ethernet ports.  The CRS125-24G-1S-IN is too big too fit in my enclosure.  I would really like something DIN mount but not essential.  Are there any other options?
by hci
Thu Jun 30, 2016 9:43 pm
Forum: General
Topic: Long Cat-5 Run
Replies: 6
Views: 764

Re: Long Cat-5 Run

Thought of that.  But I need to bond so online speedtests show near 20mbps and no out of order packets for there VOIP.  Is there a way to do that?  802.3ad prevents out of order packets but each connection flows over only one link.  balance-rr allows 20mbps connections but has out of order packets t...
by hci
Thu Jun 30, 2016 8:26 pm
Forum: General
Topic: Long Cat-5 Run
Replies: 6
Views: 764

Re: Long Cat-5 Run

Its buried for 600 foot.  Running 700 foot now at 10base fine for over a year.  Need 20mbps now though.  Was thinking of shortening it too 600 foot with POE powered mikrotiks to get down too 600 and hopefully getting 100base.
by hci
Thu Jun 30, 2016 8:07 pm
Forum: General
Topic: Long Cat-5 Run
Replies: 6
Views: 764

Long Cat-5 Run

Has anyone gotten a 600 foot shielded cat-5 run between Mikrotiks to link at 100base?
by hci
Fri Jun 03, 2016 11:43 pm
Forum: General
Topic: Chromebook and Winbox
Replies: 1
Views: 710

Chromebook and Winbox

I know Winbox will not run but is there a way to log into a Mikrotik with just MAC address with a Chromebook?
by hci
Fri May 20, 2016 8:18 pm
Forum: Scripting
Topic: Netwatch Gmail Alarm
Replies: 0
Views: 1070

Netwatch Gmail Alarm

Trying to email alarm through Gmail with Netwatch and having terrible time. I have this in my Netwatch "Up" event. The email never goes. I need to use authentication so I can eventually send to my phone SMS email address. /tool e-mail send to="<my.gmail.address.not.9@gmail.com>" from="<my.gmail.addr...
by hci
Tue Mar 22, 2016 4:55 pm
Forum: Scripting
Topic: system clock get date
Replies: 2
Views: 960

Re: system clock get date

[find where name=guest]

Fixed it. Thanks.
by hci
Tue Mar 22, 2016 4:29 pm
Forum: Scripting
Topic: system clock get date
Replies: 2
Views: 960

system clock get date

This used to return a date.

/system clock get date

After updating Mikrotik it no longer does.

The script in question:

:if ([:pick [/system clock get date] 0 3] = "jan") do { /ip hotspot user set 0 password=hot_password99 }
by hci
Thu Jan 28, 2016 5:53 pm
Forum: General
Topic: NTP client in NTP package not working
Replies: 4
Views: 1142

Re: NTP client in NTP package not working

What ROS version are you running? NTP client seems to have quit on one of our boxes when we moved too v6.33.5 on a CCR. It seems to have a few other issues too.
by hci
Wed Jan 27, 2016 3:54 am
Forum: General
Topic: Mikrotik PPPoE Server and Static IPv6
Replies: 2
Views: 1930

Mikrotik PPPoE Server and Static IPv6

Has anyone figured out how to assign a PPPoE client a static IPv6 /64 pool? I am doing it right now with DHCPv6 PD Pool on the PPPoE profile but I do not seem to be able to insure they get the same /64 each time and that is not very useful.
by hci
Wed Jan 27, 2016 12:11 am
Forum: General
Topic: PPPoE Duplicate Sessions with Radius
Replies: 0
Views: 374

PPPoE Duplicate Sessions with Radius

When using radius with a Mikrotik PPPoE server how do you prevent more then one session with the same username but different MAC address?
by hci
Mon Jan 25, 2016 6:45 pm
Forum: RouterOS v6 RC and v7 BETA
Topic: Report "Delegated-IPv6-Prefix" attribute for PPPoE
Replies: 192
Views: 35881

Re: Report "Delegated-IPv6-Prefix" attribute for PPPoE

Any progress made in assigning static IPv6 pools and IPv6 accounting? We need IPv6 support.
by hci
Sun Jan 24, 2016 12:29 am
Forum: General
Topic: PPPoE Server and Proxy ARP with IPv4 and IPv6
Replies: 2
Views: 612

PPPoE Server and Proxy ARP with IPv4 and IPv6

On our PPPoE servers we have used proxy ARP for IPv4 connections. Is there a way to do the same thing with IPv6? Say a user logs in on one of several PPPoE servers and I want to statically assign them the same IPv6 /64 every time. I am currently statically routing the a /48 to the PPPoE server then ...
by hci
Wed Jan 20, 2016 1:56 am
Forum: General
Topic: PPPoE server with RADIUS, how to add IPv6
Replies: 11
Views: 4752

Re: PPPoE server with RADIUS, how to add IPv6

I have a working IPv4 PPPoE setup with freeradius, looking to add IPv6 dual-stack support (testing with a FritzBox 7570 which should support IPv6 properly). However, the instructions I found suggest to use an IPv6 pool. Is there a simple way to assign static IPv6 prefixes to customers, just like st...
by hci
Wed Dec 23, 2015 11:51 pm
Forum: General
Topic: IPv6 and PPPoE
Replies: 1
Views: 729

Re: IPv6 and PPPoE

No one knows?
by hci
Wed Dec 23, 2015 11:49 pm
Forum: General
Topic: PPPoE and FreeRadius with IPv6/IPv4
Replies: 2
Views: 700

Re: PPPoE and FreeRadius with IPv6/IPv4

Is no one else doing PPPoE and IPv6?
  • 1
  • 2
  • 3
  • 4
  • 5
  • 12