Sunday, July 14, 2019

EdgeRouter X VLAN Awared Switch Setup

After managed to setup my EdgeRouter X (ER-X) as a VLAN awared switch, I want to make a few notes on things I have learnt.

1. For the trunk port, set the VID field with VLAN IDs it handles (tagged).  In my setup, eth0 is my trunk port and it allows VLAN ID 1, 10, 20 and 100 to pass-through.

2. For VLAN port (un-tagged), put the desired VLAN ID in the PVID field (see example below)

3. Last but not least, it may worthwhile to tick the "Use non-default VLAN for management" option, and set the VLAN ID to the VLAN which you would like to be used as your management network while using the wizard to setting up the ER-X.  This allows you to get back to the ER-X later if you wish to change its settings later.





Tuesday, July 2, 2019

Mint Linux Firefox scrollbar fix

Part of the reason I have moved away from Firefox is because of its scrollbar issue in Linux.

Ever since GTK 3 (or earlier), scrollbar in Firefox goes to when you click rather than jump a page when you click on its blank area.  This is very annoying when you are reading an article and you are not equipped with a mouse with a scroll wheel.

Anyway, the fix is quite simple.  You just need to add the below to ~/.config/gtk-3.0/settings.ini
[Settings]
gtk-primary-button-warps-slider=0
 If the file doesn't exist, you just create it, i.e. touch ~/.config/gtk-3.0/settings.ini