Loading

上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 76 下一页
摘要: 需求 项目用到一台华为的嵌入式设备且ip不允许更改,计划使用openwrt软路由+4G网卡实现内网穿透远程访问。 改造 4G网卡型号华为E8372h-155,路由器(理论上支持openwrt带usb都行) 连接4G网卡,登陆openwrt后台,如无法识别需要安装依赖 kmod-usb-net-rnd 阅读全文
posted @ 2021-05-08 11:40 azureology 阅读(2201) 评论(0) 推荐(0)
摘要: 需求 跳板机需要记录用户登陆日志 实现 查看/var/log/auth.log包含用户认证信息如下 Accepted publickey for jump from XXX.XXX.XX.XXX port XXXXX ssh2: RSA SHA256:pO8i... 其中SHA256可于识别用户 $ 阅读全文
posted @ 2021-04-22 15:20 azureology 阅读(1218) 评论(0) 推荐(0)
摘要: Issue 因编译swap耗尽强制重启,发现系统无法上网。 ifconfig只有本地回路lo ifconfig -a能看见eno1网卡,提示interrupt 16 memory xxxx Solve 手动修复配置文件 sudo -i service network-manager stop rm 阅读全文
posted @ 2021-04-22 11:14 azureology 阅读(1520) 评论(0) 推荐(0)
摘要: server create a user without shell access(proxy jump only) sudo -i useradd jump -m -d /home/jump -s /home/jump/nologin cd /home/jump cat <<EOF >> nolo 阅读全文
posted @ 2021-04-13 20:25 azureology 阅读(191) 评论(0) 推荐(0)
摘要: 起因 最近code review看到有关vector末尾元素的问题 代码 一个简单的例子 #include <iostream> #include <vector> int main() { std::vector<int> vec{1,2,3,4,5}; std::cout<<*vec.end() 阅读全文
posted @ 2021-04-12 23:52 azureology 阅读(2478) 评论(1) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 76 下一页