<div dir="ltr">Hello, I am attempting to create a bridge to WiFi on Fedora 19, but it is failing.<div><br></div><div>In Virtual Machine Manager's View > Connection Details > Network Interfaces > Add Interface, I was able to create a bridge to my Lenovo ThinkPad T510 laptop's ethernet port, and it works with my VM. However, when I try the same procedure to create a bridge to my WiFi card, it fails.</div>
<div><br></div><div>These are the options I am setting:</div><div>===</div><div>Interface type: Bridge</div><div><div>Start mode: onboot</div><div>Activate now: checked</div><div>Interface to bridge: wlp3s0 (em1, virbr0-nic, and lo are also available options; em1 is my ethernet port)</div>
</div><div>===</div><div><br></div><div>This is the error I get:</div><div>===</div><div><div>Error creating interface: 'Could not create interface: internal error failed to create (start) interface br1: failed to execute external program - Running 'ifup br1' failed with exit code 1: </div>
<div>Determining IP information for br1... failed; no link present.  Check cable?</div><div>'</div><div><br></div><div>Traceback (most recent call last):</div><div>  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 100, in cb_wrapper</div>
<div>    callback(asyncjob, *args, **kwargs)</div><div>  File "/usr/share/virt-manager/virtManager/createinterface.py", line 1134, in do_install</div><div>    self.interface.install(meter, create=activate)</div>
<div>  File "/usr/share/virt-manager/virtinst/Interface.py", line 258, in install</div><div>    raise RuntimeError(errmsg)</div><div>RuntimeError: Could not create interface: internal error failed to create (start) interface br1: failed to execute external program - Running 'ifup br1' failed with exit code 1: </div>
<div>Determining IP information for br1... failed; no link present.  Check cable?</div></div><div>===</div><div><br></div><div>I notice that if I have no ethernet cable plugged in so that WiFi is my only connection, and I have a ping running while I do this, the ping starts returning the below message shortly after I click Finish. I do not have network access again until I use NetworkManager Applet to reconnect to my wireless router.</div>
<div>ping: sendmsg: Network is unreachable<br></div><div><br></div><div>I also tried a bit of fixing on my own. I edited /usr/share/virt-manager/virtinst/Interface.py and put a time.sleep(30) just before the iface.create(0) that fails, and I reconnected to the router during that 30 second pause (and ping started working again), but the interface adder just failed with "Failed to create virtual interface" instead. I have since restored Interface.py to the original version.</div>
<div><br></div><div>Does anyone have any idea how I can get this to work? Or, is there a different procedure I should follow to bridge my VM to WiFi? Any help is appreciated.</div><div><div><div><br></div><div>Thank you,</div>
 ~ Paul Nickerson</div>
</div></div>