Thursday 9 March 2023

Windows Script Host Access is disabled (Smadav)

For Smartdav user

Windows Script Host that initially already exists does not work, usually because it is disabled by the Antivirus. For example Smadav.

Basically, Smadav by default doesn’t give access permission on Windows Script Host. Therefore, this will cause notifications to be disabled later.

  1. Open the Smadav Icon tray (bottom right corner) > Then right-click on the Smadav icon
  2. Next, please select Allow Windows Script & Office Macro Permanent
  3. Restart your computer if you have

For this step, I made it so that Windows Script continues to be active. If you want to use the Until Restart option, you can. But don’t forget to set it up again when it restarts.

 

Sunday 26 February 2023

Change DNS Resolver Name Server

 

In this tutorial, I share how to show DNS Reslover if you own dns server.


Go to Config Tree > system > ip > IPv4 settings and put router ip.


To check used dns resolver is to use cmd
nslookup

and test www.google.com






Wednesday 22 February 2023

Qos Best Practice To Consider (Router Edge OS)

ISP bandwith download is 100 Mbps
ISP bandwith upload is 50 Mbps


For stable internet conectivity you can try to use Host Fairness Queue.
If in your home/ office have 5 host. It will apply max downlod of 4Mbps if all the download bandwith use (100Mbps) and share the upload bandwith (50Mbps) to all host.
If the download bandwith is not use at max, some of the host will get above 4Mbps.


Tuesday 14 February 2023

What is Quality Of Service?

Quality Of Service (QOS) is the use of mechanisms or technologies that work on a network to control traffic and ensure the performance of critical applications with limited network capacity.

For EdgeRouter OS it has 4 type of QOS

1. PFIFO - Packet limited First In, First Out queue (default).
2.
SFQ - Stochastic Fairness Queuing.
3. HFQ - Host Fairness Queuing.
4. FQ-CODEL - Fair Queuing (FQ) with Controlled Delay (CoDel).


Packet limited FIFO (first in first out) essentially, the simplest type of queue you can have on a router and will be running by default. Basically, when a packet enters an interface, the router will service the packets in the order they arrive. If the queue has a max depth of 1000 packets and the queue is full due to congestion, every new packet will be dropped regardless of it's size/importance, this is called tail drop. Essentially - it can cause TCP sessions to really slow down, and hurt throughput, but it's the default mode on literally every router or switch.

Stochastic fair queueing. A little more advanced and more useful. what happens here, is that when packets arrive on an interface, the router will measure the Source IP, Destination IP, and Source/Dest Port, (3 tuple) then create a hash for that flow of data. The flow will then be placed in it's own queue (your router might support up to 1024 queues, depending on how much memory it has). The router will then service each queue in a round-robin fashion. This mode offer a little more fairness, because the router is dividing the flows up into individual buckets and servicing them sequentially - it means big flows of 1500 byte packets (file download) might not hurt 64 byte packets as badly (gaming traffic) so it's a little kinder to traffic.

Host Fairness Queue the policy is normally applied to an entire subnet, say 192.168.100.0/24, the router will then divide the available bandwidth up between all the hosts on the subnet, to provide some fairness between hosts. The problem here is that in some cases, on some implementations - if you have 50Mbit of bandwidth and 2x hosts on the network, it'll always divide it in half so each hosts gets 25Mbit, whether the other host is using it or not, I don't think it'll burst between queues - but it might depend on the implementation.

FQ-Codel (Flow-Queue codel) is a much new thing and more complex. It puts packets in queues similar to SFQ, in the sense it creates a bunch of queues (somewhere between 1024 and 65535, hashes the packets to the queues and so on) but it's the dequeue which is the advanced part. It's based on something called DRR (modified deficit round-robin) Essentially, when you have congestion - you have various different flows, in various different queues. The DRR algorithm has a value called a deficit value, or counter for each flow - this counter is normally the number of bytes that a flow can send when it's ready. It will only send the packet if the deficit value is larger than the packet in the queue. This basically means you'll avoid a situation where a single queue of traffic, hogs all the bandwidth and none of the other queues get served, so it's quite fair, it also requires hardly any configuration



Monday 13 February 2023

Setup EdgeRouter-X PPOE Unifi

This is how to setup EdgeOS Router for TM fiber unifi




1. Login and go to wizard
2. Set basic configuration

3. choose PPOE and insert your login name and password from ISP Provider (unifi)
4. tick use Vlan Internet
5. set 500 for vlan tag

And thats it. Save and reboot your router.

TM unifi Vlan Tag
400 voip
500 internet
600 iptv

Sunday 15 May 2011

Kad Mesra Petronas

Belum buat Kad Mesra Petronas? g lah mana2 stesen minyak Petronas, minta kat cashier borang untuk buat kad mesra. dah siap isi, bagi balik kat cashier and anda terus dapat kad mesra. then bleh la isi minyak atau beli barang dan dapat points.
Setiap 1 liter petrol yang kita spent kita akan dapat 1 points.
Kalau spent RM1 kat kedai Mesra = 1 points.

Kalau redeem petrol lak 1 points = 1 sen.
Contoh points dah 100, maknanya kita dah boleh tebus RM1


Anda bleh check points anda disini https://www.kad-mesra.com.my/Default.aspx

Windows Script Host Access is disabled (Smadav)

For Smartdav user Windows Script Host that initially already exists does not work, usually because it is disabled by the Antivirus. For exam...