DISCUSSION: Connecting to XBox Live through a linux computer connected to a wireless LAN
This thread is to discuss the article titled:
Connecting to XBox Live through a linux computer connected to a wireless LAN Quote:
|
Great tutoria
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. thanx |
He forgot to tell how to Port Forward the Xbox live connection. Here is what you need
Code:
$IPTABLES -t nat -A PREROUTING -i $WAN_IF -p tcp --dport 3074 -j DNAT --to-destination $XBOX_IP |
making it permanent
it wont seem to stay permanent can some one please help me?
|
Quote:
I think I used /etc/rc.local in ubuntu. |
Distro
im using Ubuntu. but rc.local has no effect, i can type it into my terminal get it to work but then after i turn off my computer it never works again.
also could ndis wrapper have any affect on this? |
I don't think ndiswrapper has anything to do but I can't be sure.
Did you tried creating a script in your /home directory and executing it with rc.local? /home/daniel/xboxnet.sh: Code:
#!/bin/bash Code:
#!/bin/sh -e NOTE: both files need to be executable. |
Hey! thanks it works now!!!
|
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! |
Quote:
|
sorry I'm so late to the game
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.
Hope this helps you! |
not working
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 Quote:
|
Quote:
IP: 192.168.1.2 subnet: 255.255.255.0 gateway: 192.168.1.1 DNS: 192.168.1.1 |
Simple solution, very good. Works as intended. I'm running Arch Linux i686. Thank you!
|
Quote:
|
Wait what???
Quote:
|
Certainly, however first I would need to know a little bit of information from you:
|
Quote:
eth0 Link encap:Ethernet HWaddr 00:e0:b8:d7:82:b1 inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::2e0:b8ff:fed7:82b1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:265888 errors:1 dropped:2671 overruns:0 frame:1 TX packets:276358 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:41910851 (41.9 MB) TX bytes:59176605 (59.1 MB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:24 errors:0 dropped:0 overruns:0 frame:0 TX packets:24 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 wlan0 Link encap: Ethernet HWaddr 00:c0:a8:e5:5c:a4 inet addr:10.0.0.8 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::2c0:a8ff:fee5:5ca4/64 Scope:Link UP BROADCASTING RUNNING MULTICAST MTU:1500 Metric:1 RX packets:33631 errors:0 dropped:0 overruns:0 frame:0 TX packets:20345 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:50387776 (50.3 MB) TX bytes:1839033 (1.8 MB) And im running with an Xbox 360 but not the slim one. if that makes sense. |
I'm sorry for the late response, but here would be the correct settings for your particular situation:
Code:
iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 3074 -j DNAT --to-destination 192.168.2.2 Code:
IP Address: 192.168.2.2 |
Im sorry for the late response myself but thanks so much that was a lot of help :D!
|
eth0 Link encap:Ethernet HWaddr c8:0a:a9:df:42:16
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::ca0a:a9ff:fedf:4216/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2491 errors:0 dropped:1902 overruns:0 frame:0 TX packets:3343 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:188736 (188.7 KB) TX bytes:731843 (731.8 KB) Interrupt:43 Base address:0x4000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2498 errors:0 dropped:0 overruns:0 frame:0 TX packets:2498 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:259579 (259.5 KB) TX bytes:259579 (259.5 KB) wlan0 Link encap:Ethernet HWaddr 70:f1:a1:f0:a7:80 inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::72f1:a1ff:fef0:a780/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:639935 errors:0 dropped:0 overruns:0 frame:0 TX packets:523572 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:674334897 (674.3 MB) TX bytes:116570008 (116.5 MB) Did everything exactly like tutorial and still get DNS error. Any mistakes you can find? |
guitaristmatt: can I see the exact format of the command you typed? I mean the iptables command, in your case however.
|
All times are GMT -5. The time now is 07:40 AM. |