Friday, March 13, 2009

给andLinux配置网络

安装了andLinux,因为要安装新软件,要联网,所以花了一些时间做了配置,具体步骤如下:
  1. Windows, "Network Connections", enable network sharing on your main network card (the one for internet access), by doing so, IP address for "TAP-Colinux" will changed to 192.168.0.1
  2. Modify "TAP-Colinux", set network mask to 255.255.0.0 (the 3rd byte is 0, not 255), also add your DNS server and WINS server IP address
  3. Run "regedt32", do the following changes, andLinux key is not there, so you need to create by yourself.
         [HKEY_LOCAL_MACHINE\SOFTWARE\andLinux\Launcher]
         "IP"="192.168.11.150"
         "Port"=dword:00001f91
  4. In andLinux console. edit /etc/network/interfaces, change
         iface eth1 inet static
         address 192.168.11.150
         netmask 255.255.0.0
         gateway 192.168.0.1
  5. edit /etc/resolv.conf to add your DNS server
  6. edit /etc/hosts, /etc/profile to change windows host IP address to 192.168.0.1
  7. /etc/init.d/networking restart


No comments: