PDA

View Full Version : [all variants] Wireless bridge



Kayos02
September 2nd, 2009, 04:09 AM
So I put Xubuntu 9.0.4 on my Inspiron 1300. It's a note taking device for school and a part time access point :P.


Previous Setup:
Laptop receives wireless connection from main router, eth is hooked up to a switch, Windows XP bridges these two connections, computers in room that are hooked up to switch get static IPs, it's all good. Any computer that I chose to use DHCP could be managed by the main router.

Note that if I recall correctly I had to enable a forced mode when I was in XP for the bridging to work. I don't remember what it is, I'll look up and edit later.


Now:
I need to set up the same thing in the new OS. So what I need to do I suppose is connect to wlan and eth0 and then bridge them, this was ridiculously easy in XP, but after googling and reading and making attempts I cannot seem to pull it off now.

If it works like the old setup did, I don't need a DHCP server on the lappy, because it was pulling DHCP from the main router.


Bottom line: How the poopsmith do I bridge connections for ICS properly in *ubuntu?

Kayos02
September 2nd, 2009, 02:06 PM
This is an extremely important part of my network setup and I don't have an access point to replace it with. Help?

Zodiac69
September 2nd, 2009, 06:54 PM
Edit /etc/network/interfaces
This is my setup and work as follow:

eth1 is static - connected to router
eth0 is connected to switch
all pc's connect to switch and is assigned address from router


#This is to Bridge two network cards
#Lose local internet connection
#
auto eth0
iface eth0 inet manual
#
auto eth1
iface eth1 inet static
address xxx.xxx.1.100
network xxx.xxx.1.0
netmask 255.255.255.0
broadcast xxx.xxx.1.255
gateway xxx.xxx.1.1
#
auto br0
iface br0 inet dhcp
bridge_ports eth0 eth1
#
#The loopback network interface
auto lo
iface lo inet loopback

Kayos02
September 3rd, 2009, 05:48 AM
ARGH.


auto eth0
iface eth0 inet manual
auto wlan0
iface wlan0 inet static
address 192.168.1.10
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.254

auto br0
iface br0 inet dhcp
bridge_ports eth0 eth1

auto lo
iface lo inet loopback



PC connected to switch with static IP cannot ping the lappy, the router, or anything outside.

Kayos02
September 4th, 2009, 02:58 AM
Anyone...? I may have to reinstall XP, and that would make me a sad panda.

superprash2003
September 4th, 2009, 05:38 PM
i presume you mean internet connection sharing ?

Kayos02
September 5th, 2009, 06:19 PM
i presume you mean internet connection sharing ?

Yes

Kayos02
September 6th, 2009, 06:49 AM
I heard you like it when I bump like this.

3rdalbum
September 6th, 2009, 06:57 AM
There are two programs that can reportedly set up Internet Connection Sharing for you.

The first is the Network Manager applet that ships with Ubuntu. There should be a HOWTO about it somewhere online; check with Google.

The second program that can set up ICS is Firestarter, which is actually a firewall configuration program.

I didn't have any success when I tried those, but then I was attempting to share a flakey mobile broadband connection across a wired network. And it was late at night. You might have more luck.

Kayos02
September 6th, 2009, 07:14 AM
I tried Firestarter with 0 luck a while back. Couldn't quite seem to find out how to do it with the network manager app.

superprash2003
September 16th, 2009, 04:06 PM
tried this? https://help.ubuntu.com/community/Internet/ConnectionSharing