I have borrowed this technique from this post, but made it shorter.
First, go into terminal and type this:
Insert this at the end of the script, before the exit 0:Code:sudo gedit /etc/rc.local
Where ethX is your wireless card. Reboot.Code:ifconfig eth0 up ifconfig eth0 192.168.2.1 echo "1" > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o ethX -s 192.168.2.1/24 -j MASQUERADE
Hookup your Xbox360 and your computer via Ethernet and boot up the Xbox360 without a game in it. Go to Network Settings and Edit Settings. Now change these things:
IP Address: 192.168.2.2
Subnet mask: 255.255.255.0
Gateway: 192.168.2.1
It will ask you to test these settings. Test Xbox Live. You should get an IP, but no DNS. Go to Edit settings once it's finished.
Your DNS should be the router's IP Address. To check it, return to your computer, right-click the wireless bars/two computers in the taskbar. Click 'Connection Information'. The Default route should be the router's IP address.
Now, If you're still not connecting and Network Manager is connecting to the Ethernet automatically instead of your wireless connection, you need to set the network manually. Go to System->Network. Click eth0 (or whatever your Ethernet is) and hit 'Properties'. Uncheck 'Enable Roaming mode' and change the configuration from DHCP to Static IP Address. Now do this:
IP Address: 192.168.2.1
Subnet mask: 255.255.255.0
Gateway: 192.168.1.1 (this should be your Router's IP)
Now connect to Xbox live and keep trash talking
Update: Having trouble connecting to a few people? Your wireless card could be the problem. Usually, a wireless card needs to be in promiscuous mode to operate this well, however, 95% of wireless cards do not unless you force it to. All you need to do is this:
If that doesn't help, try the same thing on you Ethernet card. Your Xbox 360 may still say it is moderate or strict NAT, though, Ubuntu might not, in theory, be giving the Xbox a NAT.Code:sudo ifconfig ethX -promisc #ethX is your wireless card
Try adding the line above in /etc/rc.local, but without the sudo. I have not tested this part, however, it should work.
Bookmarks