Network

Steps to Check Netwok Interface Card (NIC) Configurations

2018-06-13. Category & Tags: Default Network, NIC

UBUNTU 20.04 #

New command: ip & ss.
ubuntu.com

check & setup nic in cli #

check hardware info (canNOT guarantee it is up?):

ethtool -i wlp4s0

config ip & gateway:

ip link set dev wlp4s0 up
dhclient wlp4s0
ip route add 192.168.50.1 dev wlp4s0
ip route add default via 192.168.50.1

UBUNTU 18.04 dated #

Check the physical NIC is connected.

lspci

Note: The NIC will be shown regardless if drivers are installed, this is a PCI feature. Ref.

...

VirtualBox Network and Skills

2018-04-14. Category & Tags: Default VirtualBox, Network

OBS: cloning a VM with the status of pause (not powered-off), it canNOT re-initialize the MAC address. Thus, it is necessary to disconnect the cable and poweroff to re-initialize the MAC and then boot.

INSTALL ON UBUNTU #

Tested on v18.04.

sudo apt-get update && \
sudo apt-get -y install virtualbox

(sometimes, maybe need to prepare the env before installation:)

sudo apt-get update && \
sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms && \
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -  && \
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -  && \
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list'

NICs #

Two NICs are needed BEFORE installing the system to avoid messy issues.

...