海运的博客

VMware Workstation9安装Windows8虚拟机自动挂起

发布时间:November 30, 2012 // 分类:VMware // No Comments

Windows8发布月余了禁不信诱惑用VMware尝试安装了下,发现一段时间后虚拟机会自动挂起,原来是系统电源配置的问题,默认30分钟计算机无活动会进入休眠状态,在VMware下会自动挂起。
windows8调整电源策略.png

此内容被密码保护

发布时间:November 2, 2012 // 分类:VMware,Windows // No Comments

请输入密码访问

VMware虚拟机安装DD-wrt x86

发布时间:September 6, 2012 // 分类:DD-WRT,VMware // 1 Comment

在已存在虚拟机内新建硬盘,接口一定要为IDE,不然安装后DD-wrt一直重启。虚拟机使用Winodws和Linux都可,用于将DD-wrt镜像写入到硬盘中,然后新建VMware虚拟机以此硬盘启动DD-wrt。
下载DD-wrt x86镜像,选择dd-wrt_public_vga.image
Linux下使用dd命令写入DD-wrt镜像:

#https://www.haiyun.me
dd if=./dd-wrt_public_vga.image of=/dev/sdb
记录了22528+0 的读入
记录了22528+0 的写出
11534336字节(12 MB)已复制,0.610544 秒,18.9 MB/秒

Windows下使用physdiskwrite工具写入:

physdiskwrite c:\dd-wrt_public_vga.image
#如果硬盘大于2G加-u参数
physdiskwrite v0.5.2 by Manuel Kasper <mk@neon1.net>

Searching for physical drives...

Information for \\.\PhysicalDrive0:
   Windows:       cyl: 5221
                  tpc: 255
                  spt: 63
   C/H/S:         16383/15/63
   Model:         VMware Virtual IDE Hard Drive
   Serial number: 00000000000000000001
   Firmware rev.: 00000001

Information for \\.\PhysicalDrive1:
   Windows:       cyl: 130
                  tpc: 255
                  spt: 63
   C/H/S:         2080/16/63
   Model:         VMware Virtual IDE Hard Drive
   Serial number: 01000000000000000001
   Firmware rev.: 00000001

Which disk do you want to write? (0..1) 1
11534336/11534336 bytes written in total

新建VMware虚拟机使用刚刚写入DD-wrt镜像的硬盘启动系统,默认账号root,密码:admin。
DD-wrt管理界面.png

GNS3和VMware构建网络实验环境

发布时间:July 24, 2012 // 分类:VMware,Cisco // No Comments

实验环境如下:
VMware新建ROS虚拟机,Wan端以桥接方式连接,IP:192.168.1.21,
Lan端以Host-only连接,IP:192.168.40.2
GNS3运行Cisco路由连接ROS Lan端,FastEthernet0/0 IP:192.168.40.3
FastEthernet0/1 IP:192.168.30.1
VMware网络查看:
VMware网络管理.png
配置ROS网卡为host-only:
VMware网卡host-only.png
ROS内配置:

#https://www.haiyun.me
ip address add address=192.168.1.21/24 interface=ether1 
ip address add address=192.168.40.2/24 interface=ether2 
ip route add gateway=192.168.1.1
ip route add dst-address=192.168.30.0/24 gateway=192.168.40.3
ip dns set servers=192.168.1.1
ip firewall nat add chain=srcnat src-address=192.168.40.0/24 action=masquerade 

GNS3工作区,Cloud添加vmnet1(Host-only),并用连接线连接到Router FastEthernet0/0。
GNS3添加VMnet1.png
Router配置:

enable
configure terminal 
interface fastEthernet 0/0
ip address 192.168.40.3 255.255.255.0
no shutdown
exit
interface fastEthernet 0/1
ip address 192.168.30.1 255.255.255.0
no shutdown
ip route 0.0.0.0 0.0.0.0 192.168.40.2
ip name-server 192.168.1.1

Router内Ping测试:

Router#ping 192.168.40.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.40.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/24/56 ms
Router#ping 192.168.1.1 

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/11/12 ms
Router#ping www.haiyun.me 
Translating "www.haiyun.me"...domain server (192.168.1.1) [OK]

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 184.164.141.188, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 348/354/360 ms

后续也可使用VCPS虚拟PC配合GNS3进行测试。

分类
最新文章
最近回复
  • 海运: 恩山有很多。
  • swsend: 大佬可以分享一下固件吗,谢谢。
  • Jimmy: 方法一 nghtp3步骤需要改成如下才能编译成功: git clone https://git...
  • 海运: 地址格式和udpxy一样,udpxy和msd_lite能用这个就能用。
  • 1: 怎么用 编译后的程序在家里路由器内任意一台设备上运行就可以吗?比如笔记本电脑 m参数是笔记本的...
  • 孤狼: ups_status_set: seems that UPS [BK650M2-CH] is ...
  • 孤狼: 擦。。。。apcupsd会失联 nut在冲到到100的时候会ONBATT进入关机状态,我想想办...
  • 海运: 网络,找到相应的url编辑重发请求,firefox有此功能,其它未知。
  • knetxp: 用浏览器F12网络拦截或监听后编辑重发请求,修改url中的set为set_super,将POS...
  • Albert: 啊啊啊啊啊啊啊啊啊 我太激动了,终于好了英文区搜索了半天,翻遍了 pve 论坛没找到好方法,博...