LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-03-2007, 01:38 PM   #1
8th sin
LQ Newbie
 
Registered: Jan 2006
Distribution: Suse 10.0
Posts: 11

Rep: Reputation: 0
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?
 
Old 02-03-2007, 01:55 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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.

Last edited by MS3FGX; 02-03-2007 at 01:56 PM.
 
Old 02-03-2007, 02:11 PM   #3
8th sin
LQ Newbie
 
Registered: Jan 2006
Distribution: Suse 10.0
Posts: 11

Original Poster
Rep: Reputation: 0
sounds like just what I need...but the link is bad
 
Old 02-03-2007, 02:16 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
That is the proper link. Did you give it a second to load? It is a rather large text file.
 
Old 02-03-2007, 02:19 PM   #5
8th sin
LQ Newbie
 
Registered: Jan 2006
Distribution: Suse 10.0
Posts: 11

Original Poster
Rep: Reputation: 0
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?
 
Old 02-03-2007, 02:20 PM   #6
8th sin
LQ Newbie
 
Registered: Jan 2006
Distribution: Suse 10.0
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 02-03-2007, 02:36 PM   #7
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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.

Last edited by MS3FGX; 02-03-2007 at 02:39 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Box as a Network Bridge JmanA9 Linux - Networking 7 01-21-2007 11:37 PM
LXer: War Installing GNU/Linux or The Any Box: Do We Share The Hardware or Raise a Bridge? LXer Syndicated Linux News 0 02-09-2006 04:16 PM
Using a linux box as a bridge sikon Linux - Networking 1 12-12-2004 12:47 AM
do i have to bridge a wireless and wired connection on the same linux box ulto Linux - Wireless Networking 2 04-07-2004 12:37 PM
Bridge Network to another box to install Gentoo?? kierl Linux - General 3 07-15-2003 12:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration