博威---云架构决胜云计算

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1674|回复: 0

Fedora6成功模拟pix7.21

[复制链接]
发表于 2007-5-3 04:39:08 | 显示全部楼层 |阅读模式
Fedora6成功模拟pix7.21 2007-04-29 16:16:04
 标签:pix Fedora6 模拟 



版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://kendy.51cto.com/blog/147692/25367
    1):下载qemu-0.9.0-i386.tar.gz模拟器到这里下载 kendy 51cto技术博客
    [url=http://fabrice.bellard.free.fr/qemu/download.html[/url]]http://fabrice.bellard.free.fr/qemu/download.html[/url]kendy 51cto技术博客
    2):下载kqemu-1.3.0pre11.tar.gz(QEMU Accelerator Module) kendy 51cto技术博客
    地址同上当然这一步不是必须的kendy 51cto技术博客
    3):下载pixemu和pixos 到[url=http://www.dynamips.cn/]www.dynamips.cn[/url]这里可以找到。kendy 51cto技术博客
    注意:kendy 51cto技术博客
    因为我使用的是pixemu_public2007-04-13[1]_code.rar源码   ([url=http://www.dynamips.cn/]www.dynamips.cn[/url]有下),按要求源码需要在           kendy 51cto技术博客
    gcc3.4下面编译,所以你必须在你的linux下面装载gcc3.4哦kendy 51cto技术博客
   (这里[url=ftp://linuxforum.net/ftp.gcc.gnu.org/]ftp://linuxforum.net/ftp.gcc.gnu.org/[/url]有下)kendy 51cto技术博客
    安装步骤kendy 51cto技术博客
    tar -zxvf file.tar.gz (放在根目录即/下面即可)kendy 51cto技术博客
    ./configurekendy 51cto技术博客
    make(这大概是个漫长的过程,耐心等待吧,谁让我们是搞这个的呢)kendy 51cto技术博客
    make installkendy 51cto技术博客
    完毕 输入gcc -v 应该可以看到你的gcc版本是3.40了kendy 51cto技术博客
    接下来我们开始安装模拟器z:kendy 51cto技术博客
    1):解压qemu-0.9.0-i386.tar.gz在/目录下,无需安装.kendy 51cto技术博客
    2):解压安装kqemu-1.3.0pre11.tar.gz(此步骤可选)kendy 51cto技术博客
         tar -zxvf file.tar.gz (放在根目录即/下面即可)kendy 51cto技术博客
         ./configurekendy 51cto技术博客
         makekendy 51cto技术博客

         make installkendy 51cto技术博客
    3):编译pixemu_public2007-04-13[1]_code kendy 51cto技术博客
         unzip pixemu_public2007-04-13[1]_code.zipkendy 51cto技术博客
         cd pixemu_public2007-04-13kendy 51cto技术博客
         makekendy 51cto技术博客
         修改Makefile(CC=gcc-3.4换成CC=gcc"Z0ef,BHOST_CC=gcc-3.4换成HOST_CC=gcc)kendy 51cto技术博客
         可手动到该文件夹下修改并保存。kendy 51cto技术博客
    4):在pixemu目录下执行 dd if=/dev/zero of=FLASH bs=1k count=16kkendy 51cto技术博客
    5):把PixOS7.21.bin文件复制到pixemu_public2007-04-13目录内,然后执行命令:kendy 51cto技术博客
         unzip pixos7.21.bin kendy 51cto技术博客
         mv target/f1/pix ./kendy 51cto技术博客

6):Pix7.21码激活kendy 51cto技术博客
         修改pixemu.ini可以激活版本, 在ini里面改ACKey无效,运行后用命令kendy 51cto技术博客
         ac 0xd2390d2c 0x9fc4b36d 0x98442d99 0xeef7d8b1
    7):启动pix(全部一起输入)kendy 51cto技术博客
       ./pixemu -net nic,vlan=1,macaddr=00:aa:00:00:02:01 kendy 51cto技术博客
       -net tap,vlan=1,script=if1up -net nic,vlan=2,macaddr=00:aa:00:00:02:02 kendy 51cto技术博客
-net tap,vlan=2,script=if2up -serial stdio -m 128 FLASHkendy 51cto技术博客
                                |            |                             
                                |||          |||                           
                              .|| ||.      .|| ||.                          
                           .:||| | |||:..:||| | |||:.                       
      C i s c o  S y s t e m s
kendy 51cto技术博客
Cisco PIX Security Appliance Software Version 7.2(1) kendy 51cto技术博客
Copyright (c) 1996-2006 by Cisco Systems, Inc.kendy 51cto技术博客
                Restricted Rights Legendkendy 51cto技术博客
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

                Cisco Systems, Inc.
                170 West Tasman Drive
                San Jose, California 95134-1706
kendy 51cto技术博客
         Type help or '?' for a list of available commands.
         pixfirewall>
         pixfirewall>
         pixfirewall>
         pixfirewall>

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|boway Inc. ( 冀ICP备10011147号 )

GMT+8, 2024-5-18 16:14 , Processed in 0.096284 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表