Mac address ([\da-f]{2}:){5}[\da-f]{2}
Many Armbian images come in two flavours : Legacy (using an older kernel version) and current (up-to-date LTS kernel). Depending on kernel version, the procedure to enable/disable features is not the same.
- Legacy kernel (5.4.x): DT (Device Tree) overlays
- Current kernel (5.10.x) : DT (Device Tree) overlays
Note: Support for older kernel versiones (like 3.4.x or 3.10.x) has been dropped.
AAA-auto-starter-for-motionmark |
Thanks to https://www.thegeekdiary.com/how-to-clone-linux-disk-partition-over-network-using-dd/
Clone using telnet
and bzip
has advantages to reduce clone time, but make sure you use a secure network.
Lets assume server-B has ip address 192.168.100.2
Run this command in server B (destination):
# nc -l -p 19000 | bzip2 -d | dd bs=16M of=/dev/sda
def main(prefix: str, start: int, ip: int, total: int): | |
for t in range(total): | |
with open(f'{prefix}{start+t:04}', 'w') as f: | |
f.write(f'ifconfig-push 10.8.0.{ip+t} 255.255.0.0') | |
f.write('\n') | |
if __name__ == '__main__': | |
import argparse | |
parser = argparse.ArgumentParser() |
The board I am using is Beaglebone Black Enhanced
, kernel: 4.19.94-ti-r57
,
wifi model 0bda:b720
If you are using kernel 5.4 then just use rtl8xxxu
instead of 8723bu
.
$ modinfo 8723bu
filename: /lib/modules/4.19.94-ti-r57/kernel/drivers/net/wireless/8723bu.ko
version: v4.3.6.11_12942.20141204_BTCOEX20140507-4E40
author: Realtek Semiconductor Corp.
For issue like
awk: include/scan.awk: line 21: function asort never defined
We can solve it by
sudo apt-get install gawk
--- | |
Language: Cpp | |
# BasedOnStyle: WebKit | |
AccessModifierOffset: -4 | |
AlignAfterOpenBracket: Align | |
AlignConsecutiveAssignments: true | |
AlignConsecutiveDeclarations: true | |
AlignEscapedNewlinesLeft: false | |
AlignOperands: true | |
AlignTrailingComments: true |