[wellylug] Xbox -> Ubuntu ICS

Ray Smith nazgul748 at gmail.com
Sat Sep 27 17:00:05 NZST 2008


Hello,

I'm stil having trouble trying to get my Xbox talking to my network. I have
two ethernet devices.

eth0 is an on board lan card. I have it set to a static ip =
192.168.2.2with a gate way of
255.255.225.0. It is directly connected to the Xbox via a cross-over cable.
he Xbox' ip is static at 192.168.2.3. I can ftp between the Ubuntu box and
the Xbox. That part works very well.

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.

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.

The Xbox cannot access the internet nor the windows machines.

I used the following to attempt to set up ICS for the Xbox.


# ifconfig eth0 192.168.2.2

configured the NAT as follows

# iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE

# echo 1 > /proc/sys/net/ipv4/ip_forward

Installed dnsmasq and ipmasq using the following command

# apt-get install dnsmasq ipmasq

Restart dnsmasq using the following command

# /etc/init.d/dnsmasq restart

Reconfigured ipmasq to start after networking has been started

# dpkg-reconfigure ipmasq

Started by configuring the network card that interfaces to the other
computers on you network

# ifconfig eth0 192.168.2.2

Then configured the NAT as follows

# iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE

where ethX is the network card that the Internet is coming from

# echo 1 > /proc/sys/net/ipv4/ip_forward

Added the line "net.ipv4.ip_forward = 1″ to /etc/sysctl.conf

# gedit /etc/sysctl.conf


Rebooted the machine to no avail.

Any help would be greatly appreciated as I now have a headache and need
food.

Thanks,

Ray


-- 
Ray Smith
Masterton
New Zealand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20080927/2765d22b/attachment.htm 


More information about the wellylug mailing list