- 浏览: 3472839 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
wanglf1207:
EJB的确是个不错的产品,只是因为用起来有点门槛,招来太多人吐 ...
weblogic-ejb-jar.xml的元素解析 -
qwfys200:
总结的不错。
Spring Web Flow 2.0 入门 -
u011577913:
u011577913 写道也能给我发一份翻译文档? 邮件437 ...
Hazelcast 参考文档-4 -
u011577913:
也能给我发一份翻译文档?
Hazelcast 参考文档-4 -
songzj001:
DbUnit入门实战
Contents
[hide ]<script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script>
Abstract
andLinux is configured with two network interfaces by default, eth0 and eth1. The eth1 is used to communicate to the Windows host via the TAP-Colinux network interface.
The Windows interface is configured with ip address 192.168.11.1, and the Linux eth1 adapter is configured with 192.168.11.150. The TAP-Colinux interface operates as a router, so from the Windows host you can ping the eth1 interface and access the various network services you have configured.
What needs to be changed?
In order to change the network ip addresses you need to modify the following configuration items:
- andLinux eth1 ip address and subnet
- andLinux /etc/hosts file
- andLinux /etc/profile configuration file
- TAP-Colinux ip address and subnet
- andLinux launcher registry configuration
- add the new ip address to the Xming allowed hosts file
Step-by-step
In this example we will change the network to be 169.254.28.0/24. The Windows host will keep the host address 1, andLinux eth1 will retain the host id 150.
andLinux eth1 ip address configuration
The eth1 static ip configuration is stored in the '/etc/network/interfaces' config file. So we are going to edit this file to reflect the following information:
iface eth1 inet static address 169.254.28.150 netmask 255.255.255.0
andLinux /etc/hosts file
The hosts file is used to resolve windows-host used in mounting the host smb share.
169.254.28.1 windows-host
andLinux /etc/profile configuration
In order to ensure that the andLinux components interact properly with their Windows counterpart we need to edit the /etc/profile files content as shown here:
# set DISPLAY env variable export DISPLAY=169.254.28.1:0.0 export ESPEAKER=169.254.28.1:16001 export PULSE_SERVER=169.254.28.1
TAP-Colinux ip address configuration
Change the TAP-Colinux network interface from 192.168.11.1 to 169.254.28.1.
andLinux launcher configuration
Add the following registry key, which is not present by default:
[HKEY_LOCAL_MACHINE\SOFTWARE\andLinux\Launcher] "IP"="169.254.28.150" "Port"=dword:00000821
Note: In andLinux Beta 2 the default launcher port changed from 81 (hex: 51) to 2081 (hex: 821). So, if you are using older versions of andLinux, you'll need 51 instead of 821 in the registry setting above.
Xming Configuration on the windows host
Edit the X0.hosts file located in the Xming directory of your andLinux installation. Within the directory you'll find the X0.hosts file. This file controls which hosts on the network will able to connect to the Xming server so we need to tell it about the new ip address we've assigned. Open it and add the ip address you've assigned andLinux. You can remove the existing ip address as it is no longer required.
localhost 169.254.28.150
Conclusion
After restarting andLinux your launcher will connect to the network services providing access to binary files.
发表评论
-
微软内部补丁(非正式发布)之取得方式(20110713)
2011-08-06 13:58 10542http://support.micr ... -
当您尝试登录到 Telnet 服务器正在运行 Windows Server 2003,与 Service Pack 1 或 Service Pack 2 时出现
2011-08-06 13:41 3053http://support.microsoft.com/kb ... -
collectd
2011-08-03 14:27 2238collectd是一个守护(daemon)进程,用来收集系 ... -
rhel5的xen内核无法使用串口的原因和解决方法
2011-03-20 19:10 2451公司有一台服务器安装的了rhel5系统,默认的内核是带 ... -
RDM与VMFS 对比与解释
2010-12-25 17:53 2400在一个存储区域网络 ... -
通过VMWare的Webservice API连接ESX|ESXi主机的JAVA源码
2010-12-25 17:52 5529参考VMWare的Webservice API的文档,连接到E ... -
修改 ESX Server IP 地址
2010-12-25 17:51 11358修改 ESX Server IP 地址 ... -
Debian Linux下如何以root账号登录桌面
2010-12-22 12:51 6215I Debian Linux 方法有两种,一是图 ... -
coLinux
2010-11-02 22:11 9057coLinux是我极其喜爱的一款虚拟机。它快速而灵巧,最为方便 ... -
Linux操作下的进程管理利器 Supervise
2010-10-19 21:02 2797[摘要] Supervise是daemontoo ... -
andLinux介绍:
2010-08-22 20:51 39481:来自linuxtoy:是一个基 ... -
andlinux root 密码修改
2010-08-21 09:54 3141安装andlinux后发现root密码不知道,后发现,输入当前 ... -
RHEL
2010-08-02 17:46 2750Red Hat Enterprise Linux Advan ... -
coLinux ExpandingRootedit
2010-03-18 01:45 2640Contents 1 First backu ... -
AndLinux
2010-03-18 01:05 4045AndLinux (http://andlinux.org ... -
andLinux 在系统重装后手工修复
2010-03-15 22:21 2801话说“家有一老,如有一宝”,而手边有一个linux,也可以 ... -
寻找最快的 ubuntu / debian 源 及 建立局域网deb 更新服务器和安装初步
2010-03-15 01:51 4621寻找最快的 ubuntu / debian 源 寻找最快的 ... -
colinux的安装与网络配置
2010-03-15 00:37 9356在windows上模拟linux ... -
使用colinux在windows上虚拟linux
2010-03-12 13:44 5273Cooperative Linux is th ... -
Linux发行版大全
2010-03-06 03:20 3379基于Debian Adamantix: ...
相关推荐
这个是合集~一般是这里最全的了 另外加的 PDF是英文的 .为 GCC4.1的HOWTO <br>目录 <br>ADSM-Backup-html<br>Advocacy<br>Automount-html<br>Battery-Powered-html<br>BootPrompt-HOWTO<br>Bridge-......
Linux中文HOWTO Linux中文HOWTO Linux中文HOWTO
Linux HOWTO(中文版) BootPrompt-HOWTO (28KB) 启动提示说明 CDROM-HOWTO (27KB) 如何安装, 设定及使用光驱,同时列出支援的硬体. Chinese-HOWTO (39KB) 如何在 Linux 的系统上使用中文?/TD> Config-...
This book teaches you to set up the latest CentOS Linux network services including DNS, DHCP, SSH and VNC, Web, FTP, Mail, Firewall, and LDAP, enabling you to provide these services on your own ...
including Penetration Tester's Open Source Toolkit (ISBN: 1-5974490210), Stealing the Network: How to Own an Identity (ISBN: 1597490067), InfoSec Career Hacking (ISBN: 1597490113), and OS X for ...
If you've ever wondered how Linux carries out the complicated tasks assigned to it by the IP protocols -- or if you just want to learn about modern networking through real-life examples -- ...
You will learn how to utilize the arsenal of tools available in Kali Linux to conquer any network environment. The book offers expanded coverage of the popular Burp Suite and has new and updated ...
Practical Packet Analysis, 3rd Edition will show you how to make sense of your PCAP data and let you start troubleshooting the problems on your network. This third edition is updated for Wireshark ...
How to install NiftyReg - Linux and MacOs
Linux Howto 中文版完整版.zip
Linux Assembly HOWTO
Secure Programming for Linux and Unix HOWTO by David A. Wheeler v3.010 Edition Published v3.010, 3 March 2003 Copyright ? 1999, 2000, 2001, 2002, 2003 by David A. Wheeler This book provides a set of ...
This text makes a great supplement and provides a systematic approach for teaching undergraduate and graduate students how to read, understand, think about, and do proofs. The approach is to ...
信息安全_数据安全_Lost_Boys:How_Linux_and_mac_Inte 安全风险 漏洞管理 安全研究 安全威胁 风控
Linux HOWTO 中文版(全) Linux HOWTO 中文版(全) Linux HOWTO 中文版(全)
OpenCL in Action is a thorough, hands-on presentation of OpenCL, with an eye toward showing developers how to build high-performance applications of their own. It begins by presenting the core ...
This code shows you how to creat a local network chat room so that you and your friends can have a chat room which nowone else can enter
k8s-ol-howto:适用于Oracle Linux本地Cloud Native部署的操作指南
Linux Bible(2007 Edition)