Ubuntu: How do I bridge my wireless to my wired connection?


I want to bridge the wireless connection with the wired connection. The wireless is the host and the wired is the client, so to speak.

Internet sharing (inet <--> wifi <--> ethernet)  

I tried to bridge my ethernet connection by going to

  • network manager > edit connections
  • wired > edit
  • IPv4 settings > shared to other computers


However, it seems to automatically disconnect half a second after it says "connection established"!

edit 2

got the network manager logs, it seems the address is in use. See http://pastebin.com/DjqRshxW , line 45.

nm-tool output is here: http://pastebin.com/x5Aci5V1 . I tried firestarter, as mentioned in another thread, and no luck.

I don't have time to bother with a dozen command line tricks, unless is copy & pasting a shell script... so please suggest ways that use GUIs and/or won't leave my computer in a confused state (e.g. disabling network manager, manually connecting to a WPA network, installing brutils, etc.).

edit: one idea that would work, if it's possible -- is there a way to share connections via SSH and SOCKS5? I'd need to do this at a system-wide level though; I only know how to do it through the browser now. Then, I could run ifconfig eth0 on the computer sharing the inet, and ifconfig eth0 on the computer I'm trying to share with; I know this does work for host-to-host transfers.

edit 3

If I run sudo killall dnsmasq, then nothing is using the address the network manager sharing wants to use. But now it just takes longer to die, with error "NetworkManager[5935]: dnsmasq died with signal 9" [ http://pastebin.com/4FNtpugi ]. Looking at just the commands [ http://pastebin.com/1vrtQeWk ], maybe it's trying to route eth0 to itself? I'm not that familiar with networking things though.


I highly suggest dumping < $20 on a TP-LINK TL-WN722N USB Wifi adapter for the computer you're trying to bridge to, and forget the bridging.

It's Atheros hardware, which works out of the box on Linux, and seems to be fine signal-strength.

I've gone through a lot of wifi adapter models before finding one that works. And, to go on, I'm using one of them as a Wifi access point, via hostapd.


There is a GUI application for creating bridges:


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »