关于IOU的start文件
andlinux安装后,我把IOU文件复制到andlinux的目录下创建的CiscoIOU文件夹里,安网上的操作我都做了一边,在. ./start的时候提示:Waiting on port 3001 ...
Process Id for child is 2525, parent is 2524
Unable to run router: No such file or directory
IOU 2525 exit
': not a valid identifierAP
': not a valid identifier
请高手们帮忙看一下是什么原因啊,下面是start文件
#!/bin/bash
#set -v
cd /root/mnt/and/CiscoIOU/Lab3
export NETIO_NETMAP=/root/mnt/and/CiscoIOU/Lab3/NETMAP
export IOURC=/root/mnt/and/CiscoIOU/Lab3/iourc
./wrapper-linux -m /root/mnt/and/CiscoIOU/Lab3/i86bi_linuxl2-upk9-ms.M -p 3001 1 -- -e 2 -n 1024
unset NETIO_NETMAP
unset IOURC
echo *************Powered by:http://www.cisco.com***********
echo *************All routers started***********************
echo *************This is shenghua luoHaha!!!*************
11111111111 export NETIO_NETMAP=/root/mnt/and/CiscoIOU/Lab3/NETMAP改成./NETMAP
export IOURC=/root/mnt/and/CiscoIOU/Lab3/iourc改成./iourc
./wrapper-linux -m /root/mnt/and/CiscoIOU/Lab3/i86bi_linuxl2-upk9-ms.M -p 3001 1 -- -e 2 -n 1024改成./wrapper-linux -m ./i86bi_linuxl2-upk9-ms.M -p 3001 1 -- -e 2 -n 1024 hongrun007 发表于 2012-3-27 09:02 static/image/common/back.gif
export NETIO_NETMAP=/root/mnt/and/CiscoIOU/Lab3/NETMAP改成./NETMAP
export IOURC=/root/mnt/and/Cisco ...
这样不行啊,改了以后提示输入输出错误啊 xiaodon 发表于 2012-3-27 09:14 static/image/common/back.gif
这样不行啊,改了以后提示输入输出错误啊
什么错?应该不会错了啊
hongrun007 发表于 2012-3-27 13:39 static/image/common/back.gif
什么错?应该不会错了啊
你的意思是让我这么改是吗:
# cat start
#!/bin/bash
#set -v
cd /root/mnt/and/CiscoIOU/Lab3
export NETIO_NETMAP= ./NETMAP
export IOURC./iourc
./wrapper-linux -m ./i86bi_linuxl2-upk9-ms.M -p 3001 1 -- -e 2 -n 1024
unset NETIO_NETMAP
unset IOURC
我改了以后就出现下面的错误:
#
# . ./start
: No such file or directoryscoIOU/Lab3
': not a valid identifier
': not a valid identifierurc
Waiting on port 3001 ...
Process Id for child is 2486, parent is 2485
Options:
-e <n> Number of Ethernet interfaces (default 2)
-s <n> Number of Serial interfaces (default 2)
-n <n> Size of nvram in Kb (default 16KB)
-b <string> IOS debug string
-c <name> Configuration file name
-d Generate debug information
-t Netio message trace
-q Suppress informational messages
-h Display this help
-C Turn off use of host clock
-m <n> Megabytes of router memory (default 256MB)
-L Disable local console, use remote console
-u <n> UDP port base for distributed networks
-R Ignore options from the IOURC file
-U Disable unix: file system location
-W Disable watchdog timer
-N Ignore the NETMAP file
IOU 2484 exit
': not a valid identifierAP
': not a valid identifier hongrun007 发表于 2012-3-27 13:39 static/image/common/back.gif
什么错?应该不会错了啊
我是在WIN XP下安装的,安装目录:C:\Program Files\andLinux\CiscoIOU\Lab3 。Lab3下面放的crack.py,i86bi_linuxl2-upk9-ms.M,iourc,NETMAP,start,wrapper-linux这几个文件。
另外还有一个问题就是我安装了andlinux以后,按网上的操作步骤是在开始--程序--andlinux下运行start andlinux以后,就看到框子闪了一下,之后就没反应了,也不知道是什么情况。我在安装目录里一个startup这个文件运行的。麻烦你帮忙看一下是不是和这个有关呢?谢谢你了啊 我想你在WIN下装的是虚拟机,看到你export IOURC./iourc写错了吧,当中有“=”的,仔细看看原来的
页:
[1]