proxmox折腾记

添加NAT网桥 只有一个公网IP,想要虚拟机上网,就只能使用NAT模式.没有使用WEB UI上的方案,直接编辑/etc/network/interface文件 auto vmbr0 iface vmbr0 inet static address 192.168.100.1 netmask 255.255.255.0 bridge_port……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

全志H3折腾日记

Toolchain 使用linaro的工具链,因为新版uboot要求gcc版本根得上时代,下载GCC 7.1下载地址 解压,并编译/etc/profile将环境变量添加进去 安装dtc编译器 apt-get install device-tree-compiler uboot 编译 git clone git://git.denx.de/……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97

U盘自动挂载并升级应用程序

自动挂载U盘 现在Kernel中一般都有udev mdev.在U盘接入后会自动升成节点/dev/sd*[0,9] ,不过在udev配置文件中并没有挂载到目录,仅生成了设备节点. 这时可以自已写个脚本来实现 #!/bin/sh if [ ! -f “/dev/sda1” ]; then mount /dev/sda1 /udisk -t v……


Warning: Illegal string offset 'index' in /www/wwwroot/justchen.com/wp-content/themes/9IPHP-master/index.php on line 97