Posts

Showing posts from February, 2019

VMware Workstation 14 Bridge Mode not Connected to Internet

Hello again friends and readers (don't know how many of you read my writings, but whateva)

I recently encountered a problem where everytime I tried to set my vm on pc to Bridge mode, it will always not connected to internet.

At first I thought it was the image problem, but after several time of deleting and installing VM, I realised that that is not my actual problem.

Then after several minutes of internet surfing, I found some other folks with similar problem with me, and there is actually solution for that.
https://communities.vmware.com/thread/580135

In short, what you need to do are:
-- Be sure your vm is stopped.
--Run the VMWare Virtual Network Editor
(click start and search for Virtual Network Editor)
-- Run it as administrator (or click the button at the bottom of the screen that says, "change settings." VMNet0 will dislpay when running as administrator. Otherwise, it will not be visible)
-- Highlight VMNet0 and click on "Automatic Settings"
-- You will s…

This is how I understand Data Encapsulation

I tried to understand Data Encapsulation but failed to find stuff that easy to understand, maybe because I am a slow learner.
So, I have written this to gain understanding on this topic. Please help me correct this material in case there is error. Also pardon my shit english, it is my second language.
If you gain benefit from this, I am glad, thank you for reading.

Fundamental - OSI layer and PDU

OSI - 7 Layer (Physical, Data Link, Network, Transport, Session, Presentation, Application)

PDU - Protocol Data Unit, the model/control of the information on each layer. PSU are encapsulated by attaching them to the data at each layer.

Per OSI, 5th, 6th and 7th layer is considered application layer or upper layer.

1st, 2nd, 3rd and 4th layer are considered data flow layer.

For encapsulation, we want to look more at tne Data Flow layer. PDU on each layer are defines as follows:

Transport layer - SegmentNetwork layer - PacketData link layer - FramePhysical layer- Bit

=============================…

Add Go-related path into your Visual Studio Code in Ubuntu 18.04

Image
I started learning Golang and having difficulties in configuration as there is no simple way to find where the hell is "howto config" guide.

Frustratingly googling didn't give good result until I found this blog in Chinese:
https://colobu.com/2016/04/21/use-vscode-to-develop-go-programs/

Kudos to you for writing it in a beginner friendly way!

In short:


File -> Preferences -> User Setttings.In the search bar, just type "go" and it will list some suggested result.You will probably find like in this snapshot


Click on "Edit in settings.json". It will open a new tab of "settings.json"