You are not logged in.

#1 2013-09-24 09:08:48

zidarsk8
Member
Registered: 2011-12-06
Posts: 97

[solved] creating a bridge with netctl

I followed the wiki ( https://wiki.archlinux.org/index.php/Bridge_with_netctl ) and created a bridge config for netctl

$ cat /etc/netctl/bridge
Description="Lxc Bridge connection"
Interface=br0
Connection=bridge
BindsToInterfaces=(enp3s0 tap0)
IP=dhcp

but after enabling it and trying to start it, I get

$ sudo netctl start bridge 
A dependency job for netctl@bridge.service failed. See 'journalctl -xn' for details.

but the journal just shows:

Sep 24 11:05:37 haxor gnome-session[406]: (gnome-shell:549): Clutter-CRITICAL **: clutter_text_get_editable: assertion `CLUTTER_IS_TEXT (self)' failed
Sep 24 11:05:37 haxor gnome-session[406]: (gnome-shell:549): Clutter-CRITICAL **: clutter_text_get_text: assertion `CLUTTER_IS_TEXT (self)' failed
Sep 24 11:05:37 haxor gnome-session[406]: (gnome-shell:549): Clutter-CRITICAL **: clutter_text_set_text: assertion `CLUTTER_IS_TEXT (self)' failed

Any help would be useful. Thanks

Last edited by zidarsk8 (2014-03-14 15:13:07)

Offline

#2 2013-09-24 10:47:24

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [solved] creating a bridge with netctl

What does "journalctl -u netctl@bridge.service" show?


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#3 2013-09-24 12:16:59

zidarsk8
Member
Registered: 2011-12-06
Posts: 97

Re: [solved] creating a bridge with netctl

I get this (and a few more of the same lines)

$ sudo journalctl -u netctl@bridge.service
-- Logs begin at Thu 2013-09-05 19:31:35 CEST, end at Tue 2013-09-24 14:15:47 CEST. --
Sep 24 10:11:29 haxor systemd[1]: Dependency failed for Example Bridge connection.

Offline

#4 2013-09-24 13:04:17

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [solved] creating a bridge with netctl

Just a question, but are you about to create a vpn bridge ? (got suspicious by seeing tap interface)
Are enp3s0 and tap0 up?


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#5 2013-09-24 13:52:44

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [solved] creating a bridge with netctl

Something strange is going on. The error message in post 3 says "Dependency failed for Example Bridge connection" but the description of your bridge from post 1 is "Lxc Bridge connection". If it were your connection failing, the error message would be "Dependency failed for Lxc Bridge connection".


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#6 2013-09-24 15:09:57

zidarsk8
Member
Registered: 2011-12-06
Posts: 97

Re: [solved] creating a bridge with netctl

scar wrote:

Just a question, but are you about to create a vpn bridge ? (got suspicious by seeing tap interface)
Are enp3s0 and tap0 up?

To be honest I have no idea what a tap device is, I just followed the the wiki page, and changed the eth0 which I knew what was suppose to be.

enp3s0 is up since I'm connected to the web with it.

Offline

#7 2013-09-24 17:54:59

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [solved] creating a bridge with netctl

If you don't know, that a tap interface is, you probably did not set it up, so netctl fails to create the bridge.

O.K., a basic question: why are you setting up a bridge?

Last edited by scar (2013-09-24 17:56:54)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#8 2013-09-30 14:45:36

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: [solved] creating a bridge with netctl

You need bridge as per wiki

https://wiki.archlinux.org/index.php/LX … pace_tools

As for tap0 try removing it from config (just have enp3s0)

Managed to get an arch container to build and run using netctl bridge, only I had problems with network connection from within container

Last edited by Mr Green (2013-09-30 14:46:04)


Mr Green

Offline

Board footer

Powered by FluxBB