Howto: change andLinux network configuration
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/profile configuration file
- TAP-Colinux ip address and subnet
- andLinux launcher registry configuration
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 gateway 169.254.28.1
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:00000051
After restarting andLinux your launcher will connect to the network services providing access to binary files.