DISCUSSION: Connecting to XBox Live through a linux computer connected to a wireless LAN
LinuxAnswers DiscussionThis forum is to discuss articles posted to LinuxAnswers.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Introduction This is a common setup for Xbox users. You have a computer, TV and Xbox in one room, and a wireless router on the other side of the home. A logical option, besides buying an Xbox wireless adapter, is to connect your xbox to a PC that is connected to that router. In my opinion, is just as easy to get this working in Linux as it is in Windows. Assumptions 1. You have a WLAN card and a regular LAN card installed 2. Both have working drivers installed 3. You can connect to the router with the wireless card and access the internet without problems
hey, great tutorial you gave me one more reason to erase my XP partition.
only one thing. when i test my xbox live connection i have a NAT error, it shows MODERATE. Do you know what can i do to fix this, when i connected through XP i didn't have this error.
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/home/daniel/xboxnet.sh
Well, I guess I'm the lone soul who this doesn't work even the first time. I don't get any errors upon entering the commands, but when I test my Xbox Live connection, it says there were errors and that it could not reach the xbox live servers or Xbox.com. When I set the DNS to manual and to the address of the laptop (192.168.2.1, like in the tutorial) it hangs for a while and then gives a different error.
Would be great if I could get this to work! Any idea of how to fix it would be nice!
Well, I guess I'm the lone soul who this doesn't work even the first time. I don't get any errors upon entering the commands, but when I test my Xbox Live connection, it says there were errors and that it could not reach the xbox live servers or Xbox.com. When I set the DNS to manual and to the address of the laptop (192.168.2.1, like in the tutorial) it hangs for a while and then gives a different error.
Would be great if I could get this to work! Any idea of how to fix it would be nice!
Oops! I was lazy, and I didn't read to set the IP to the ROUTER, and not just the LAPTOP! Very sorry!
I've successfully connected my Xbox 360 to the internet, but then it says that it does not recognise the port for xbox and xbox live. I think this has to do with the port-forwarding seigex talked about, but I am unsure what to type for $IPTABLES and $WAN_IF when he says to replace the variables. Help would be nice.
taketslow: the $IPTABLES for me is literally just iptables on the command line. the $WAN_IF refers to the interface that the computer uses to connect to the internet. In my case, this was wifi0, as the laptop connected using WiFi. If you are using 2 wired connections and eth0 is connected to the internet and eth1 is to the xbox, $WAN_IF would be eth0.
it says can't connect to your router because your network hardware is using a static ip. your manually defined ip may be wrong"
my router is 192.168.1.1 so i just copied word for word did i do something wrong?
Xbox reads:
ip:192.168.2.2
sub net:225.255.255.0
geateway:192.168.2.1
DNS: 192.168.1.1
it says can't connect to your router because your network hardware is using a static ip. your manually defined ip may be wrong"
my router is 192.168.1.1 so i just copied word for word did i do something wrong?
Xbox reads:
ip:192.168.2.2
sub net:225.255.255.0
geateway:192.168.2.1
DNS: 192.168.1.1
IP addresses beginning with 192.168.x.x are class C addresses. This means that the first 3 groups of digits must be the same, so if the router is 192.168.1.1, the Xbox needs to be 192.168.1.x, where x can be anything from 2 to 254. So the Xbox should be:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.