使用NS2遇到的问题集合

问题1:ubuntu 使用sudo vim /etc/apt/sources.list命令修改文件后该如何退出?

解答:

Esc
输入冒号(即shift+分号)
输入wq
ENTER

问题2:sudo 无法执行时

解答:source  /etc/environment

问题3:couldn’t read file”aodv.tcl”?

解答:cd /home/yinting/ns-allinone-2.35/ns-2.35/tcl/ex(就是一直cd 到脚本文件(.tcl文件)相应的目录下)

terminal下,输入 ns *.tcl (*代表文件名),即可运行得到相应的.tr .nam 文件

问题4:invalid command name “Agent/OLSR” while executing “Agent/OLSR set use_mac_  ture”(file “oler_example.tcl” line 44)

解决:需要运行um-olsr_ns-2.35_v1.0.patch的补丁(也可以自己手敲),然后sudo make,编译一下

问题5:显示VMware Workstation 与Device/Credential Guard不兼容

解决:https://jingyan.baidu.com/article/9f63fb916b50e1c8400f0ebf.html

问题6:在make后,显示程序“ns”未安装

解决:重新安装一遍./install

问题7:如何使用gnuplot画图

解决:https://blog.youkuaiyun.com/dongping1023/article/details/50760173

http://blog.sina.com.cn/s/blog_4c8287230100hnl3.html

https://kooyee.iteye.com/blog/415145

http://blog.chinaunix.net/uid-21411227-id-1826744.html

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值