How do I bridge my wireless to my wired connection?
Posted
by
gatoatigrado
on Ask Ubuntu
See other posts from Ask Ubuntu
or by gatoatigrado
Published on 2011-11-05T20:11:17Z
Indexed on
2011/11/21
2:07 UTC
Read the original article
Hit count: 231
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 192.168.4.1
on the computer sharing the inet, and ifconfig eth0 192.168.4.2
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 10.42.43.1
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.
© Ask Ubuntu or respective owner