Thursday, April 18, 2024

Creating a loading screen using batch scripting

1) Press Windows button + R and type Notepad.

2) Copy and paste the following code into Notepad:

 3) Save it as loading.bat on your desktop and execute the file to see the result.

 




Display time using batch scripting

1) Press Windows button + R and type Notepad.

2) Copy and paste the following code into Notepad:

@echo off

color 1A

:start

echo Display System Date

echo.

echo Current date: %date%

ping localhost -n 2 >nul

cls

goto start

3) Select File > Saves as, assign a file name: time.bat. Make sure to save on your desktop or in any folder on your computer that you can easily find. In this case, the time.bat file is saved on the desktop.



 


Saturday, April 13, 2024

Internet bandwidth control for a specific user using Mikrotik

Mikrotik bandwidth control

 1) Login to Mikrotik through a Browser or Winbox using your admin account.

2) To add a new bandwidth meter policy, select Queues > Click the Plus sign (+)


3) Input the following information;

Name - PC_name | User_name | Network_ID. ex. PC01

Target - IP address of the workstation

Max Limit (Upload and Download Target): if 50 MB, input 50M for upload and download.

4) Click OK button to save the information.


5) Use https://www.speedtest.net/to check the upload and download speeds.

Note: The speed test must be performed on the PC where the IP address is assigned.

Friday, April 12, 2024

How to add a new user in Mikrotik RouterOS

Mikrotik RouterOS v6.48.6

1) Login to Mikrotik through a Browser or Winbox using your admin account.

2) To add a new user. Select Systems > Users.

3) Click the Plus sign (+) and provide the following information;

Name, Group, Password and Confirm Password

Name - is your username

Group - is the accessibility restriction:

  • full - admin privilege
  • read - view only
  • write - edit Mikrotik config.

Password and Confirm Password should be the same.

Hit OK button.


4) Go back to USERS to check the created account.


Here you go; you have successfully created a new user!