上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
摘要: 1 Ethernet MinSize = 512bit = 64 Byte 2 Ethernet MaxSize = 1518 Byte 3 so Ethernet IP MTU = 1518 - 18 ( 6 SRCMAC+ 6 DSTMAC+ 2 TYPE+ 4 CRC) = 1500 B 4 阅读全文
posted @ 2021-06-19 22:38 嗷嗷鹿鸣[VX|dshoub] 阅读(638) 评论(0) 推荐(0) 编辑
摘要: iptables限制某个ip或者某组ip的连接数 测试规则如下:# Firewall configuration written by system-config-firewall# Manual customization of this file is not recommended.#-A I 阅读全文
posted @ 2021-06-18 11:56 嗷嗷鹿鸣[VX|dshoub] 阅读(853) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh netcard=`ip l show|grep -Ev "macvlan|ppp"|grep ens|awk -F ":" '{print $2}'` txbyte1=0 rxbyte1=0 txbyte2=0 rxbyte2=0 for i in $netcard;do ##e 阅读全文
posted @ 2021-06-16 19:16 嗷嗷鹿鸣[VX|dshoub] 阅读(111) 评论(0) 推荐(0) 编辑
摘要: mkdir my_rootfs rpm --root /root/my_rootfs/ --initdb #设置rpm操作的根目录 下载包:http://vault.centos.org/ wget http://vault.centos.org/7.5.1804/os/x86_64/Package 阅读全文
posted @ 2021-06-02 13:48 嗷嗷鹿鸣[VX|dshoub] 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/qq_43280079/article/details/109221969 修改hello模块 自己编写模块: https://wiki.osdev.org/Writing_GRUB_Modules 阅读全文
posted @ 2021-05-27 22:48 嗷嗷鹿鸣[VX|dshoub] 阅读(193) 评论(0) 推荐(0) 编辑
摘要: ROS开启DNS服务器后,使用ROS脚本动态从服务端数据库时更新IP到ROS里,实现批量的动态DDNS,供客户使用 php脚本 <?php header('Content-type: text/plain'); $id=filter_input(INPUT_GET,'id'); echo ":glo 阅读全文
posted @ 2021-05-15 20:15 嗷嗷鹿鸣[VX|dshoub] 阅读(323) 评论(0) 推荐(0) 编辑
摘要: :local localAddr //本地IP :local remoteAddr //远程IP :local callerId :local calledId :local interfaceName //接口名字 :set localAddr $"local-address" :set remo 阅读全文
posted @ 2021-05-10 11:04 嗷嗷鹿鸣[VX|dshoub] 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 端口映射配置 # Generated by iptables-save v1.4.21 on Sat May 8 08:46:36 2021 *nat :PREROUTING ACCEPT [141:13746] :INPUT ACCEPT [82:5267] :OUTPUT ACCEPT [1:7 阅读全文
posted @ 2021-05-08 20:45 嗷嗷鹿鸣[VX|dshoub] 阅读(82) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh cat>/etc/iproute2/rt_tables<<EOF # # reserved values # 255 local 254 main 253 default 0 unspec # # local # #1 inr.ruhep EOF for i in `seq 10 阅读全文
posted @ 2021-05-07 00:21 嗷嗷鹿鸣[VX|dshoub] 阅读(1734) 评论(0) 推荐(0) 编辑
摘要: 有些linux发行版默认使用dhcpcd这个软件去自动获取计算机的ip,但由于某种情况,我们需要配置静态ip。 修改配置文件/etc/dhcpcd.conf,在文件最后加入以下语句: interface ethX static ip_address=192.168.xxx.xxx/24 #这里用CI 阅读全文
posted @ 2021-04-25 11:25 嗷嗷鹿鸣[VX|dshoub] 阅读(1044) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页