LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Configure Linux box as bridge for XBox (https://www.linuxquestions.org/questions/linux-networking-3/configure-linux-box-as-bridge-for-xbox-525291/)

8th sin 02-03-2007 01:38 PM

Configure Linux box as bridge for XBox
 
I currently have a wireless network in my home and my linux box (opensuse 10.2) is configured to use it properly. I also have an xbox right next to my linux PC that I'd like to get online. The xbox needs to be able to hit the internet and be able to be FTP'd to from my linux PC. I had a wireless adapter for the XBOX, but it bit the dust awhile ago and I can't justify spending another $100 on one. I have a crossover cable to run from the xbox to my pc.

I'm very much unfamiliar with setting up network bridges in Linux. Both my NIC's are recognized in linux (wlan0 and eth0), and the wlan0 side is configured properly

Here is my ifconfig output:

Code:

pwned:/home/brian # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:11:32:34:7F
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:169

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:52 errors:0 dropped:0 overruns:0 frame:0
          TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3288 (3.2 Kb)  TX bytes:3288 (3.2 Kb)

wlan0    Link encap:Ethernet  HWaddr 00:0F:66:6F:39:E5
          inet addr:192.168.100.187  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::20f:66ff:fe6f:39e5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1591 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1630 errors:0 dropped:0 overruns:0 carrier:0
          collisions:99 txqueuelen:1000
          RX bytes:1025117 (1001.0 Kb)  TX bytes:239181 (233.5 Kb)
          Interrupt:177 Base address:0x8000

I've seen a few other similar posts on here and elsewhere on the internet, but with everyone's unique IP's, gateways, subnets, etc it makes it very difficult to just copy/paste the commands. Like I said, I don't know enough about networking at this level. Can anyone lend a hand?

MS3FGX 02-03-2007 01:55 PM

While not specifically for the Xbox, I wrote a Wii Networking Guide which has a strong focus on GNU/Linux. I have been meaning to adapt it and put it up here on LQ under the Tutorials, but I never seem to have the time.

The Section you will want to look at is Section 4.1, which covers sharing your Internet connection out step-by-step. But if you just want to get it done and over with, take a look at Section 4.1.3.

This contains a script I wrote which allows the user to share an Internet connection from their computer to a client device connecting either over WiFi or Ethernet. It also sets up DHCP for the client, as well as doing error checking to make sure everything is installed properly.

The default mode is Ethernet, sharing a connection from eth0 to eth1. You will want to change the source interface to wlan0, but the rest should be fine.

8th sin 02-03-2007 02:11 PM

sounds like just what I need...but the link is bad

MS3FGX 02-03-2007 02:16 PM

That is the proper link. Did you give it a second to load? It is a rather large text file.

8th sin 02-03-2007 02:19 PM

I'm going to use this tutorial: http://www.linuxquestions.org/linux/...a_wireless_LAN

should have looked there first, but I searched the forms and didn't find anything I could use

when I'm done, can I just use 192.168.2.2 to FTP to my xbox?

8th sin 02-03-2007 02:20 PM

It's a referring link error. Takes me to this page: http://www.gamefaqs.com/nolink.html

Let me try the LQ tutorial first, I was able to get through that pretty easily.

MS3FGX 02-03-2007 02:36 PM

I was not aware that GameFAQs blocked that sort of thing.

Then I suppose you would have to go to the Wii Page, then click on "Wii Networking Guide".

According to that Guide, 192.168.2.2 would be the IP of the Xbox, yes.


All times are GMT -5. The time now is 07:15 PM.