start.sh
来自「National Institute of Standards and Tech」· Shell 代码 · 共 22 行
SH
22 行
#!/bin/sh#AODV Dev# Tells AODV which interface use wish to use.AODV_DEV="wlan0"#Local Subnet# If there is a small network attached to this node # and you want to route through it, then describe it# here. Other nodes will also be able to get routes# to it. This is not commonly set.# You must specify a subnet along with a subnet mask.#LOCAL_SUBNET="local_subnet=192.168.1.0/255.255.255.0"echo "1" > /proc/sys/net/ipv4/ip_forwardecho "0" > /proc/sys/net/ipv4/route/min_delayinsmod kernel_aodv.o use_dev=$AODV_DEV $LOCAL_SUBNET
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?