Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

Screenshots

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.

share|improve this question
    
Possible duplicate askubuntu.com/questions/54375/… –  Alvar Nov 5 '11 at 21:35
    
@Alvar, How so? –  gatoatigrado Nov 5 '11 at 22:04
    
you are trying to bridge your wired connection with your wireless. that's the same problem I have... –  Alvar Nov 5 '11 at 22:13
    
@Alvar, no, I'm trying to share from wifi to ethernet. Hopefully the new title change makes that clear. Plz upvote so it gets attention, thx. –  gatoatigrado Nov 6 '11 at 0:39
    
I only give up-votes to good or interesting question. IF YOU WANT MORE ATTENTION, OFFER BOUNTY! :) –  Alvar Nov 6 '11 at 9:08
show 2 more comments

2 Answers 2

up vote 2 down vote accepted

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.

share|improve this answer
add comment

There is a GUI application for creating bridges:

http://sourceforge.net/projects/bridger/files/netbridge_3.1-2_deb.tar.gz/download

share|improve this answer
2  
I t would probably be better if the link did not take you straight to the download but the page describing the program. sourceforge.net/projects/bridger –  lqlarry Nov 21 '11 at 0:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.