西维蜀黍

【Network】路由(Routing)

路由(Routing)

Routing is the process of selecting a path for traffic in a network or between or across multiple networks.

A route is a defined pair of addresses which represent the “destination” and a “gateway”. The route indicates that when trying to get to the specified destination, send the packets through the specified gateway. There are three types of destinations: individual hosts, subnets, and “default”. The “default route” is used if no other routes apply. There are also three types of gateways: individual hosts, interfaces, also called links, and Ethernet hardware (MAC) addresses. Known routes are stored in a routing table.

  ...


【macOS】Mac Mini 2012 安装 Big Sur

[Approach 1] - Patched-Sur

https://github.com/BenSova/Patched-Sur

打开 .dmg,下载并写入到U盘。

按住 Alt,选择 EFI,此后电脑会动shutdown。

按电脑开关以打开电脑,同时按住 Alt,选择install Big Sur。然后,就开始愉快的系统安装了。

patch不work,因此我使用big-sur-micropatcher的patch:

$ sudo /Volumes/Image\ Volume/patch-kexts.sh /Volumes/Macintosh\ HD

[Approach 2] big-sur-micropatcher

https://github.com/barrykn/big-sur-micropatcher

Download OS

For downloading Big Sur installer, we will use a tool called gibMacOS

  1. Open this link, and press green “Code” button, and download as zip
  2. Unzip it, and run gibMacOS.command in the folder
  3. Wait unil “Available Products” screen, enter number of the Big Sur option and press Enter. Also, you can choose specific version, look at the terminal screen for the info about it
  4. Wait until it finishes
  5. After that, open “macOS Downloads” folder in the gibMacOS folder, and run InstallAssistant.pkg
  6. Select your current OS drive, and wait until it finishes
  7. Installer will be in Applications
  ...


【Linux】Aquantia AQC107 网卡驱动安装

# Make sure you have all the packages required to build a standalone kernel module.
sudo apt install build-essential
sudo apt-get install linux-headers-`uname -r`

# Untar/unzip archive:

cd Aquantia-AQtion-x.y.z/

# Compile the driver module:
$ make

# Load the dependencies and the module itself:
$ sudo make load
	
# Unload the driver, if an older version is in use:
# $ sudo rmmod atlantic
	
# Load the module: 
$ sudo insmod atlantic.ko

# Install the driver
$ sudo make install

# check your kernel version
$ uname -r
5.8.0-50-generic

# Install the driver in the system
$ sudo make && sudo make install

Leaving directory '/usr/src/linux-headers-5.8.0-50-generic'
  ...


【Hackintosh】AMD Ryzen Hackintosh 安装 Docker

Error

  ...


【Ubuntu】安装 AMD Radeon 显卡驱动

Download

Download from https://www.amd.com/en/support/graphics/amd-radeon-6000-series/amd-radeon-6800-series/amd-radeon-rx-6800-xt

$ tar -xJvf amdgpu-pro_*.tar.xz
  ...