git clone https://github.com/150balbes/Amlogic_s905-kernel.git cd Amlogic_s905-kernel vim arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts using the keyword search code: interrupts = <29 I...
互联网技术
Use N1Box and CUPS to make the usb Printer connecting Network
Because of the price, I bought a usb Printer. It is Cannon IP2780. And the N1Box can be installed Arabian OS. So I try to make the AirPrint of my MacBook and iPhone. Let's do it. install softwa...
Connect to WPA2 enterprise wifi on N2 Box
nmcli connection edit type 802-11-wireless nmcli> goto 802-11-wireless nmcli 802-11-wireless> set ssid <your_ssid> nmcli 802-11-wireless> back nmcli> goto 802-11-wireless-security nmcli 802-11-...
Fixed some errors of DSDT
Non-hex letters must be upper case (pnp0c14) 所有自必须是大写字母 把 pnpc改成大写字母 2.Invalid combination of Length and Min/Max fixed flags 错误提示无效的长度 length的计算方法为 The Max Val...
Upgrade macOS Catalina on my Thinkpad E450
In the last few years, I learned a lot about how to install macOS on pc. So this week I try to upgrade macOS Catalina on Thinkpad E450. Because this computer has good compatibility with the macO...
Listen network traffic using shell script
vim net.sh #!/bin/bash ethn=$1 while true do RX_pre=$(cat /proc/net/dev | grep $ethn | sed 's/:/ /g' | awk '{print $2}') TX_pre=$(cat /proc/net/dev | grep $ethn | sed 's/:/ /g' | awk '{prin...
install the latest syncthing on N1 box
// add the soft source sudo apt install curl apt-transport-https curl -s https://syncthing.net/release-key.txt | sudo apt-key add - sudo echo "deb https://apt.syncthing.net/ syncthing release" > /...
Backup some scripts of refresh rom for N1Box
After setting up using the armbian-config command. Then install the Chinese support. sudo apt-get install ttf-wqy-zenhei sudo fc-cache -v sudo vim /etc/pro...
Install gogs with my N1 Box
Last week, I bought a Phicomm N1 Box. I installed the Armbian OS to it. Let's install gogs for it. First we use this guide to install go-lang. Because of the N1 box's cpu is armv8l and the a...
Setting up 802.1x auth using command line in Ubuntu
My company's network has 802.1x auth. So I need to auth my network.Today we using the nmcli tool to set up network. which nmcli nmcli con edit eth0 nmcli> set ipv4.method auto nmcli> set 802-1...
A demo of the UDP transmission used python
server.py # -*- coding: utf-8 -*- import ctypes import socket import json # ipv4 SOCK_DGRAM指定了这个Socket的类型是UDP s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.setsockopt(so...
Install the RTL8821CU wifi driver on Linux Deepin
My Linux kernel is 4.1.5 , OS version is Linux Deepin . Below list is the step of install the wifi deriver: git clone https://github.com/whitebatman2/rtl8821CU cd rtl8821CU sudo apt-get inst...
Some useful information of learning the docker and oracle database
// login the docker sudo docker login // search the oracle-11g databaes docker search docker-oracle-xe-11g // download the oracle-xe-11g docker file sudo docker pull marcelmaatkamp/docker-oracle-x...