agentscript
来自「mobile ip 源程序 对移动ip 的人员有用~!」· 代码 · 共 19 行
TXT
19 行
# Edit for your setup. Refer to the software documentation for# clarifications.IPADDR="128.226.3.28" # REPLACE with permanent IP address of YOUR AGENT!NETMASK="255.255.255.0" # REPLACE with YOUR netmask!HADDR="00:20:AF:9F:67:9A" # REPLACE with YOUR AGENT'S hw address!INTERFACE="eth0" # REPLACE with the interface name for YOUR AGENT! LOGFILE="agent.log" # REPLACE with the name of YOUR log file!# The following line forces link level broadcasts (sent on 255.255.255.255)# to go out on a specific interface./sbin/route add -net 224.0.0.0 netmask 240.0.0.0 dev ${INTERFACE};# Start up the agent daemonagent -a ${IPADDR} -m ${NETMASK} -h ${HADDR} -i ${INTERFACE} 2> ${LOGFILE}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?