Howto: change andLinux network configuration

From andLinux

(Difference between revisions)
Jump to: navigation, search
Line 14: Line 14:
<h2>andLinux eth1 ip address configuration</h2>
<h2>andLinux eth1 ip address configuration</h2>
<p>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:</p>
<p>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:</p>
-
<code>
+
<blockquote>
-
iface eth1 inet static<br/>
+
<pre>
-
address 169.254.28.150<br/>
+
iface eth1 inet static
-
netmask 255.255.255.0<br/>
+
address 169.254.28.150
-
gateway 169.254.28.1
+
netmask 255.255.255.0
-
</code>
+
gateway 169.254.28.1
 +
</pre>
 +
</blockquote>
<h2>andLinux /etc/profile configuration</h2>
<h2>andLinux /etc/profile configuration</h2>
<p>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:</p>
<p>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:</p>
-
<code>
+
<blockquote>
<pre>
<pre>
-
# set DISPLAY env variable<br/>
+
# set DISPLAY env variable
-
export DISPLAY=169.254.28.1:0.0<br/>
+
export DISPLAY=169.254.28.1:0.0
-
export ESPEAKER=169.254.28.1:16001<br/>
+
export ESPEAKER=169.254.28.1:16001
-
export PULSE_SERVER=169.254.28.1<br/>
+
export PULSE_SERVER=169.254.28.1
-
<br/></pre>
+
</pre>
-
</code>
+
</blockquote>
<h2>TAP-Colinux ip address configuration</h2>
<h2>TAP-Colinux ip address configuration</h2>
-
<p>lorem ipsum</p>
+
<p>Change the TAP-Colinux network interface from 192.168.11.1 to 169.254.28.1.</p>
<h2>andLinux launcher configuration</h2>
<h2>andLinux launcher configuration</h2>
-
<p>lorem ipsum</p>
+
<p>Add the following registry key, which is not present by default:</p>
 +
<blockquote>
 +
<pre>
 +
[HKEY_LOCAL_MACHINE\SOFTWARE\andLinux\Launcher]
 +
"IP"="169.254.28.150"
 +
"Port"=dword:00000051
 +
</pre>
 +
</blockquote>

Revision as of 05:31, 22 April 2008

Contents

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/profile configuration file
  • TAP-Colinux ip address and subnet
  • andLinux launcher registry configuration

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
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

Seen a page that contains spam or objectionable material? Please report the link and/or login of the author to david @ andLinux . org (remove spaces)