PDA

View Full Version : Sharing Wireless Connection?


ProTech Support
06-22-2009, 05:40 PM
As you know I am VERY fresh to Linux, so if I ask stupid questions don't mind me. I know I can Google this, but I also know there are many Linux God's around here so I rather here how you do things as I want to learn. Here is my scenario:

To connect my Xbox-360 to the internet I normally connect it directly to the wired port of my laptop, then share my wireless connection. Of course this is in Windows, but I need to do the same thing in Linux (I am trying to replace Windows on my laptop).

How would I go about this mission? Currently I have Ubuntu 9.04 installed, not sure if it matters. Thanks for the help!

ProTech Support
06-22-2009, 06:31 PM
Thanks ACG, would this be the correct way of going about it?

Procedure to follow

1. Get bridge-utils through Synaptic. This is the software we'll use to create the Network Bridge.

sudo aptitude install bridge-utils

Now, keep in mind to either print this out or not exit your browser, because in this next step we'll stop the Networking Services to change them.

2. Open a terminal, and type

sudo /etc/init.d/networking stop

Keep the terminal open.

3. Now we're going to edit our interfaces file:

gksu gedit /etc/network/interfaces

Replace whatever is there with:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto eth1
iface eth1 inet manual

auto br0
iface br0 inet dhcp
bridge_ports eth0 eth1

Save the changes.

4. Now we'll restart the Network Services

sudo /etc/init.d/networking start

MSgherzi
06-25-2009, 04:04 AM
ProTech,

Those instructions look about right. :) Good luck.

abe
06-25-2009, 04:09 AM
ProTech,

Those instructions look about right. :) Good luck.

lol. do you even understand whats written.

MSgherzi
06-25-2009, 04:37 AM
lol. do you even understand whats written.

I do, smartalek. You can consider yourself officially ignored, as well.

ProTech Support
06-25-2009, 02:34 PM
Yes sir. That sounds right.

Thanks for the confirmation, will try tonight. I will let everyone know how it goes or how it doesn't :p

krutoi
06-29-2009, 04:43 AM
To connect my Xbox-360 to the internet I normally connect it directly to the wired port of my laptop, then share my wireless connection

What device provides your internet service? Is it cable or adsl? What brand/model modem do you use? Does the modem you are using also have a router function?

ProTech Support
06-29-2009, 02:42 PM
Ok, sorry for the delayed post, things got a bit crazy around here. I was able to get everything up and running smoothly :) Thanks for all of your help, I did follow the commands I posted above and everything worked fine.

I am loving linux more and more as I try new things!

ProTech Support
06-29-2009, 06:17 PM
Glad to hear it! Linux is very powerful, and can be very robust to those who use it properly.

I always brushed Linux to the side always assuming it could not meet all of my needs, but this time around it has done pretty well. Grant it, I would not be able to use it as my sole OS - it still makes a great replacement on extra computers. I see myself using it more and more, and I am starting to develop a love for terminal :-p