Network Bridge on Linux
#1
Posted 09 January 2009 - 08:35 PM
I was going to fiddle with this tomorrow, and that would leave one machine with Windows. And once I can get around Netflix's "We need Windows to run!!" deal, it will be long gone.
On a side note I'll bet Internet Explorer as well as Windows Media player works on WINE.
#2
Posted 09 January 2009 - 08:57 PM
Whats the point of the bridge? Im a bit confused what your using it for (and im interested)
#3
Posted 09 January 2009 - 09:30 PM
Not really sure what your trying to do by iptables would probally work. There are even some nice frontends like Webmin and firestarter (i've used webmin for a ubuntu firewall i made but never used firestarter). Using iptables will allow you to set up rules to specify that packets coming into interface1 should be sent out to interface2 and visa versa.
Whats the point of the bridge? Im a bit confused what your using it for (and im interested)
At one end of the house I have a nice little wifi router, but on the opposite side of the house I have her computer machine which can't receive the signal. So in the middle of the house I have the windows box with two wifi adapters. I bridged them, and one pushes the wifi connection out to her computer, while the other grabs the connection from the router. So it's a bit like an ad-hoc, but not I suppose. I should have worded it better. I'm just trying to see if I can do that with a linux machine.
And firestarter is pretty nifty. I set it up a couple days ago on her new ubuntu machine. I thought I was having problems with it, because it kept telling me the Binary Revolution was attacking her computer. Then I realized that our computers had been using the same IP address. I fixed it, and found to my dismay that BR wasn't trying to download all her pron.
#4
Posted 10 January 2009 - 12:13 AM
Sure, why not?So in the middle of the house I have the windows box with two wifi adapters. I bridged them, and one pushes the wifi connection out to her computer, while the other grabs the connection from the router. So it's a bit like an ad-hoc, but not I suppose. I should have worded it better. I'm just trying to see if I can do that with a linux machine.
In fact, save yourself some work. Go download pfSense (actually a BSD-based distribution, not linux) and it will make it a lot easier for you. That distribution is designed to be a firewall/router, so you can configure it all through the web GUI (instead of tinkering with drivers and network config and such by hand). Assuming it can recognize the two WiFi cards (which gets to be a bit of a problem once you step outside of the Microsoft world), it should be no problem to bridge them.
Alternately, you could look into getting a better antenna for your AP, or perhaps relocating it. Lots of options.
#5
Posted 10 January 2009 - 12:23 AM
Sure, why not?
In fact, save yourself some work. Go download pfSense (actually a BSD-based distribution, not linux) and it will make it a lot easier for you. That distribution is designed to be a firewall/router, so you can configure it all through the web GUI (instead of tinkering with drivers and network config and such by hand). Assuming it can recognize the two WiFi cards (which gets to be a bit of a problem once you step outside of the Microsoft world), it should be no problem to bridge them.
Alternately, you could look into getting a better antenna for your AP, or perhaps relocating it. Lots of options.
I'll check this out, thank you. It's such a small download. I know that the last time I played around with linux on that particular machine, I needed Madwifi for one of the wifi cards, but I haven't checked up on the usb wifi card yet. I'll give it a go and see what happens. Thanks again.
#6
Posted 10 January 2009 - 06:42 PM
#8
Posted 14 January 2009 - 11:01 AM
There is a 'howto' here:
http://www.linuxfoun...g/en/Net:Bridge
Cheers,
Mungewell.
BinRev is hosted by the great people at Lunarpages!













