<div dir="ltr"><p>Hello,</p><p>I'm stil having trouble trying to get my Xbox talking to my network. I have two ethernet devices.</p><p>eth0 is an on board lan card. I have it set to a static ip = <a href="http://192.168.2.2">192.168.2.2</a> with a gate way of <a href="http://255.255.225.0">255.255.225.0</a>. It is directly connected to the Xbox via a cross-over cable. he Xbox' ip is static at <a href="http://192.168.2.3">192.168.2.3</a>. I can ftp between the Ubuntu box and the Xbox. That part works very well.</p>
<p>ath0 is a wireless pci card that interfaces with a wireless network access point and networks with my windows machines. I have the settings of "roaming enabled". That is the only setting that doesn't result in both my lan and wlan devices being disabled. I've tried to enable dhcp on one, both, and either or the other and I could not get both working any other way.</p>
<p>My UBuntu box can communicate with my windows machines via the network. File transfers and everything else works fine. The Ubuntu box can communicate with the Xbox and vice versa.</p><p>The Xbox cannot access the internet nor the windows machines.</p>
<p>I used the following to attempt to set up ICS for the Xbox.<br></p><p><br></p><p># ifconfig eth0 <a href="http://192.168.2.2">192.168.2.2</a><br></p>
<p>configured the NAT as follows</p>
<p># iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE</p>
<p># echo 1 > /proc/sys/net/ipv4/ip_forward</p>
<p>Installed dnsmasq and ipmasq using the following command</p>
<p># apt-get install dnsmasq ipmasq</p>
<p>Restart dnsmasq using the following command</p>
<p># /etc/init.d/dnsmasq restart</p>
<p>Reconfigured ipmasq to start after networking has been started</p>
<p># dpkg-reconfigure ipmasq</p>
<p>Started by configuring the network card that interfaces to the other computers on you network</p>
<p># ifconfig eth0 <a href="http://192.168.2.2">192.168.2.2</a><br></p>
<p>Then configured the NAT as follows</p>
<p># iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE</p>
<p>where ethX is the network card that the Internet is coming from</p>
<p># echo 1 > /proc/sys/net/ipv4/ip_forward</p>
<p>Added the line "net.ipv4.ip_forward = 1″ to /etc/sysctl.conf</p>
<p># gedit /etc/sysctl.conf</p><p><br></p><p>Rebooted the machine to no avail.</p><p>Any help would be greatly appreciated as I now have a headache and need food.</p><p>Thanks,</p><p>Ray<br></p><br clear="all"><br>-- <br>
Ray Smith<br>Masterton<br>New Zealand<br>
</div>