VirCloud's Blog https://vircloud.net/ zh-CN Is there something better you could be doing with your time right now ? Let's start learning ! Here are a lot of interesting thing I wish to share with you. Thu, 30 May 2024 14:42:03 +0800 Thu, 30 May 2024 14:42:03 +0800 OpenWrt soft route storage space expansion method makes full use of hard disk space https://blog.vircloud.net/exp/openwrt-disk.html https://blog.vircloud.net/exp/openwrt-disk.html Thu, 30 May 2024 14:42:03 +0800 Owens When installing the official OpenWrt firmware, the space allocated by default is very small. The 22.03 version is about 4G:

 root@OpenWrt :~# df -h Filesystem                Size      Used Available Use% Mounted on /dev/root               102.3M     27.3M     73.0M  27% / tmpfs                     3.8G    328.0K      3.8G   0% /tmp tmpfs                   512.0K         0    512.0K   0% /dev

In fact, the hard disk space of soft routing is very large, which causes waste! And the default size is difficult to meet the size requirements of the hard disk for installing some plug-ins, so it needs to be reallocated!

The simplest allocation method is to directly use the remaining space, and then use the mount point to directly allocate this space to the root directory.

one


For more exciting content, please see the source article>>
]]>
zero https://blog.vircloud.net/exp/openwrt-disk.html#comments https://blog.vircloud.net/feed/exp/openwrt-disk.html
OpenWrt web page management does not display mount points https://blog.vircloud.net/exp/openwrt-fstab.html https://blog.vircloud.net/exp/openwrt-fstab.html Thu, 30 May 2024 12:24:00 +0800 Owens This is mainly because there are a few plug-ins missing from the standard firmware. You can install them manually.

Plug ins include:

 block-mount mount-utils libmount1

After installing from the source, restart the soft route.


For more exciting content, please see the source article>>
]]>
zero https://blog.vircloud.net/exp/openwrt-fstab.html#comments https://blog.vircloud.net/feed/exp/openwrt-fstab.html
OpenWrt serial port error Failed to load DMC firmware i915/glk_dmc_ver1_04.bin https://blog.vircloud.net/exp/openwrt-i915-error.html https://blog.vircloud.net/exp/openwrt-i915-error.html Thu, 30 May 2024 12:20:00 +0800 Owens It mainly occurs in x86_64 firmware, usually in soft routing. After the system starts, wait a minute or two to check the kernel log or the display. There will be such a string:

 [   65.613323] i915 0000:00:02.0: [drm] Failed to load DMC firmware i915/glk_dmc_ver1_04.bin. Disabling runtime power management. [   65.624794] i915 0000:00:02.0: [drm] DMC firmware homepage:  https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmwa

For more exciting content, please see the source article>>
]]>
zero https://blog.vircloud.net/exp/openwrt-i915-error.html#comments https://blog.vircloud.net/feed/exp/openwrt-i915-error.html
OpenWrt installs the WiFi driver of the wireless network card and solves the problem that there is no wireless option for web pages https://blog.vircloud.net/exp/openwrt-wireless.html https://blog.vircloud.net/exp/openwrt-wireless.html Thu, 30 May 2024 12:15:00 +0800 Owens The firmware used is the official original version of OpenWrt, so it does not contain any wireless network card drivers, and you need to install them yourself. There are not many types of wireless network cards officially supported by OpenWrt. You should pay attention when you buy your own network card.

Here, the wireless network card model I use is: RTL8822CE , supports 2.4G and 5G frequency bands, is compatible with 802.11AC/A/B/G/N, and supports up to 867Mbps.

In OpenWrt's kmods Source, can


For more exciting content, please see the source article>>
]]>
zero https://blog.vircloud.net/exp/openwrt-wireless.html#comments https://blog.vircloud.net/feed/exp/openwrt-wireless.html
The Linux SSH password free key prompts "The selected user key is not registered on the remote host" when logging in https://blog.vircloud.net/exp/ssh-key-login.html https://blog.vircloud.net/exp/ssh-key-login.html Fri, 19 Apr 2024 08:00:00 +0800 Owens The server has configured a key login, but the client (Xshell, etc.) always prompts "the selected user key is not registered on the remote host" when logging in. After troubleshooting, it is found that the SSH configuration of the Azure CentOS7 template is different from other systems. No wonder nothing else is wrong, but the Azure server cannot log in!

SSH Profile /etc/ssh/sshd_config There is such a line in

 # AuthorizedKeysFile      .ssh/authorized_key

If you enable Key login, we usually delete the key in front of this line # However, it is easy to ignore that the files of other systems are .ssh/authorized_keys And here it is


For more exciting content, please see the source article>>
]]>
two https://blog.vircloud.net/exp/ssh-key-login.html#comments https://blog.vircloud.net/feed/exp/ssh-key-login.html
Handling of flow interruption problem of Intel I226-V 2.5G network card in Esxi soft routing virtual machine https://blog.vircloud.net/operations/i226-esxi.html https://blog.vircloud.net/operations/i226-esxi.html Fri, 12 Apr 2024 14:35:00 +0800 Owens 1、 What is disconnection

In short, in the daily use process, there are such situations as signal without network, stuck, slow download speed, network delay, etc.

For example, the network signal is clearly full, but login to WeChat still shows that the current network is unavailable; Another example is listening to online music and suddenly buffering off and on.

2、 Cause analysis

After consulting online materials and analysis, it can be determined that it is basically related to TSO services.

The full name of TSO is TCP Segmentation Offload, that is, TCP Segmentation Offload, also known as LSO, Large Send Offload)。 Segmentation refers to dividing large data blocks into smaller data segments. Unloading refers to the practice of moving workload from CPU to network card. Uninstalling this work can save CPU cycles and generally improve packet processing performance. That is, TSO is a technology that uses a small amount of processing power of the network card to reduce the load of data packets sent by the CPU, Support of network card hardware and driver is required

To put it simply, the TSO service is abnormal due to driver or hardware problems, such as insufficient heat dissipation. In this case, just turn off the TSO service.

3、 Operation command

1. Esxi kernel

That is, VMKernel, which is connected to the Esxi master through SSH for execution.

1. View Command

List network cards:


For more exciting content, please see the source article>>
]]>
zero https://blog.vircloud.net/operations/i226-esxi.html#comments https://blog.vircloud.net/feed/operations/i226-esxi.html
Oracle Cloud Oracle Cloud uses API (OCI) to create VNC connection and serial connection https://blog.vircloud.net/exp/oracle-cloud-oci-create-console-conn.html https://blog.vircloud.net/exp/oracle-cloud-oci-create-console-conn.html Mon, 08 Apr 2024 09:54:00 +0800 Owens Sometimes, due to unexpected circumstances, it is not possible to directly connect to the virtual machine instance. At this time, VNC or serial is useful.

1、 What are VNC connections and serial connections?

In simple terms, it means that a channel is opened in the master machine above the virtual machine to connect to the virtual machine. As for VNC or serial, it is essentially the same, depending on which is convenient for you to use.
VNC is generally used as a springboard to connect virtual machines, and serial is used to connect virtual machines directly.

In addition, VNC connection and serial connection, to be exact, should be called VNC console connection and serial console connection.

2、 Use Prerequisites

For the convenience of explanation, simply draw a flow chart

Client computer A --->computer creating connection B --->Oracle connection created --->Oracle Cloud virtual machine actually to be connected

A and B can be the same computer.

For PC B:

1. Since the OCI command is used, the OCI environment needs to be configured before everything starts. See the previous article《 Oracle Cloud Oracle Cloud Object Storage ObjectStorage API (OCI) Detailed Instructions 》In Environment Configuration This section will not be repeated here.

For computers A and B:

2. The SSH key pair is also required. It can be the same as that used when creating an instance. The connection is encrypted by SSH in essence, so it needs to be prepared before starting. If the key format is wrong during configuration, see the article《 Oracle Cloud Oracle Cloud Console Add API Key Format Error 》Processing.

The above two are prerequisites for creating a connection. When using:

For PC A or B:

3. For Windows: plink.exe (The command link connection tool provided with PuTTY. You can install PuTTY or plink.exe separately);

For computer A, if you want to use VNC connection, you need to install support V first


For more exciting content, please see the source article>>
]]>
zero https://blog.vircloud.net/exp/oracle-cloud-oci-create-console-conn.html#comments https://blog.vircloud.net/feed/exp/oracle-cloud-oci-create-console-conn.html
Once again, the dragon will grow old, and everything will shine. The swallow will herald spring! Here I wish you all a long journey and a bright future! https://blog.vircloud.net/default/happy-lunar-new-year-2024.html https://blog.vircloud.net/default/happy-lunar-new-year-2024.html Sat, 10 Feb 2024 00:00:00 +0800 Owens As the "descendant of the dragon", it is the most important symbol in the Chinese zodiac. The "dragon" totem is also an important symbol of the Chinese national spirit. With the sound of firecrackers, the Year of the Dragon has arrived. Congratulations:

Reading, Long Yuexin Cheng!

prepare


For more exciting content, please see the source article>>
]]>
zero https://blog.vircloud.net/default/happy-lunar-new-year-2024.html#comments https://blog.vircloud.net/feed/default/happy-lunar-new-year-2024.html
Rebirth of Hoh Xil Wolf King https://blog.vircloud.net/default/kekexili.html https://blog.vircloud.net/default/kekexili.html Tue, 30 Jan 2024 11:47:32 +0800 Owens I was born again, and turned into a wolf in the no man's land. Looking at my hairy paws, the sky whirled around. I had more memories that were not my own. I was the strongest wolf king in the no man's land, but everyone deserted me. He was robbed of the throne and abandoned to Hoh Xil. My territory is thousands of miles away. In the fight against the invasion of new forces again, I was seriously injured, and the ethnic group was also occupied by the new force Black Wolf King... At this moment, a metallic sound with a tingle came to my mind. Congratulations to the host, activate the system, and complete the system task, you can get 5 Force bonuses. The first task is to find human beings and get food, Complete 2 stars of difficulty... Since God has given me a chance to rebirth, I want to live this life well, return to the ethnic group, and take back everything that belongs to me
Want to continue listening


For more exciting content, please see the source article>>
]]>
zero https://blog.vircloud.net/default/kekexili.html#comments https://blog.vircloud.net/feed/default/kekexili.html
Oracle Cloud Oracle Cloud API (OCI) Prompt CryptographyDeprecationWarning Problem Resolution https://blog.vircloud.net/exp/oracle-cloud-oci-crypto-error.html https://blog.vircloud.net/exp/oracle-cloud-oci-crypto-error.html Thu, 25 Jan 2024 21:00:00 +0800 Owens Recently, when using the oci command on the Oracle virtual machine, a prompt appears every time:

 /usr/local/oracle/lib/oracle-cli/lib/python3.6/site-packages/oc

For more exciting content, please see the source article>>
]]>
zero https://blog.vircloud.net/exp/oracle-cloud-oci-crypto-error.html#comments https://blog.vircloud.net/feed/exp/oracle-cloud-oci-crypto-error.html