运行无线网络模拟出现的错误与解决方法
来源:互联网 发布:怎样下载英语软件 编辑:程序博客网 时间:2024/06/06 12:43
问题1:
num_nodes is set 2 ns-address.tcl:set-address-format: Unknown address format flat while executing "error "ns-address.tcl:set-address-format: Unknown address format $opt"" (procedure "_o3" line 20) (Simulator set-address-format line 20) invoked from within "$self set-address-format $addressType_ " (procedure "_o3" line 53) (Simulator node-config line 53) invoked from within "$ns node-config -addressType flat " (file "examplehw2.tcl" line 34) 解决方法:
将书中第29行改成:$ns node-config -addressType def/
注意结尾要有个 " / "
问题2:
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
create lookup failed
解决方法:
在create-god 3下面定义了一个信道参数
set chan [new $val(chan)]
把节点定义的那行-channeType改成
-channel $chan/
见柯志恒http://140.116.72.80/~smallko/ns2/nstutorial_wireless1.htm
- 运行无线网络模拟出现的错误与解决方法
- Magento运行出现错误的解决方法
- ns2无线网络模拟出现的错误和调试-转自csdn响亮空间
- 运行程序的时候出现内存错误的解决方法
- 运行游戏时出现0xc000007b错误的解决方法
- 运行游戏时出现0xc000007b错误的解决方法
- 运行游戏时出现0xc000007b错误的解决方法
- 【转】运行游戏时出现0xc000007b错误的解决方法
- IIS7运行WCF服务出现404错误的解决方法
- Dev c++运行出现以下错误的解决方法
- exclipse运行时出现skipping错误的解决方法
- shiny运行如果出现致命错误的可能解决方法
- 运行EasyPR出现“_pFirstBlock == pHead”错误的解决方法
- 运行游戏时出现0xc000007b错误的解决方法
- 出现错误的解决方法:
- 出现错误的解决方法:
- 运行ASP时出现Automation错误解决方法!
- 关于出现"出现了运行时间错误,是否要进行调试"的解决方法
- perl链接Oracle数据库
- 继续摘抄:一些面试题及答案
- 关于Discuz论坛整合问题
- 多年前对《代码大全》作者的采访
- 继续摘抄:牢记!SQL Server数据库开发的二十一条军规(SQL收藏)
- 运行无线网络模拟出现的错误与解决方法
- seo 工具
- JPanel 添加JLabel 设置组件字体颜色
- 女儿的名字 之 明珠赋
- 黛玉VS宝钗 美体私招大PK
- 女儿的照片
- vim中taglist的用法
- flash播放时中文路径解决办法
- 44