📄 start.sh
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -