* batman-adv: Unable to add interface in LXC @ 2012-12-30 19:34 Pau Koning [not found] ` <CANiGF9-dq-HrvWrgu9EMC94rP=1YdrmaFbCF2g1SZ9ocu77ysw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Pau Koning @ 2012-12-30 19:34 UTC (permalink / raw) To: b.a.t.m.a.n-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r Cc: netdev-u79uwXL29TY76Z2rM5mHXA I am running LXC (SID) under Debian SID and the current git version of batman-adv (v3.7-rc7-1325-gaf5d4f7) +batctl (v2012.4.0-30-ga395164). But it fails to add any of my interfaces and non-batman-adv interfaces can be created without problems # ip link 13: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000 link/ether 00:ff:aa:00:00:01 brd ff:ff:ff:ff:ff:ff 15: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 # batctl if add eth0 Error - can't open file '/sys/class/net/eth0/batman_adv/mesh_iface': Read-only file system # ls -l /sys/class/net/eth0/batman_adv/mesh_iface -rw-r--r-- 1 root root 4096 Dec 30 18:26 /sys/class/net/eth0/batman_adv/mesh_iface # id uid=0(root) gid=0(root) groups=0(root) # ip link add dev br0 type bridge # ip link set dev eth0 master br0 # ip link 18: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP mode DEFAULT qlen 1000 link/ether 00:ff:aa:00:00:01 brd ff:ff:ff:ff:ff:ff 20: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 21: br0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT link/ether 00:ff:aa:00:00:01 brd ff:ff:ff:ff:ff:ff ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CANiGF9-dq-HrvWrgu9EMC94rP=1YdrmaFbCF2g1SZ9ocu77ysw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: batman-adv: Unable to add interface in LXC [not found] ` <CANiGF9-dq-HrvWrgu9EMC94rP=1YdrmaFbCF2g1SZ9ocu77ysw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2012-12-31 7:11 ` Marek Lindner 2013-01-21 9:11 ` [B.A.T.M.A.N.] " Pau Koning 0 siblings, 1 reply; 4+ messages in thread From: Marek Lindner @ 2012-12-31 7:11 UTC (permalink / raw) To: b.a.t.m.a.n-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r Cc: netdev-u79uwXL29TY76Z2rM5mHXA, Pau Koning On Monday, December 31, 2012 03:34:38 Pau Koning wrote: > I am running LXC (SID) under Debian SID and the current git version of > batman-adv (v3.7-rc7-1325-gaf5d4f7) +batctl (v2012.4.0-30-ga395164). > But it fails to add any of my interfaces and non-batman-adv interfaces > can be created without problems > > # ip link > 13: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast > state UP mode DEFAULT qlen 1000 > link/ether 00:ff:aa:00:00:01 brd ff:ff:ff:ff:ff:ff > 15: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN > mode DEFAULT > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > # batctl if add eth0 > Error - can't open file '/sys/class/net/eth0/batman_adv/mesh_iface': > Read-only file system Did you check your kernel log messages ? I'd expect batman-adv to print something there in case of an error. Cheers, Marek ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [B.A.T.M.A.N.] batman-adv: Unable to add interface in LXC 2012-12-31 7:11 ` Marek Lindner @ 2013-01-21 9:11 ` Pau Koning 2013-01-24 12:17 ` Antonio Quartulli 0 siblings, 1 reply; 4+ messages in thread From: Pau Koning @ 2013-01-21 9:11 UTC (permalink / raw) To: Marek Lindner; +Cc: b.a.t.m.a.n, netdev > Did you check your kernel log messages ? I'd expect batman-adv to print > something there in case of an error. No output at all ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [B.A.T.M.A.N.] batman-adv: Unable to add interface in LXC 2013-01-21 9:11 ` [B.A.T.M.A.N.] " Pau Koning @ 2013-01-24 12:17 ` Antonio Quartulli 0 siblings, 0 replies; 4+ messages in thread From: Antonio Quartulli @ 2013-01-24 12:17 UTC (permalink / raw) To: Pau Koning; +Cc: Marek Lindner, b.a.t.m.a.n, netdev [-- Attachment #1: Type: text/plain, Size: 475 bytes --] Hello Pau, On Mon, Jan 21, 2013 at 10:11:15AM +0100, Pau Koning wrote: > > Did you check your kernel log messages ? I'd expect batman-adv to print > > something there in case of an error. > > No output at all Sorry for the long delay. However batman-adv does not support lxc at the moment. Therefore the error you are getting is likely to be related to this. Cheers, -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-01-24 12:17 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-12-30 19:34 batman-adv: Unable to add interface in LXC Pau Koning [not found] ` <CANiGF9-dq-HrvWrgu9EMC94rP=1YdrmaFbCF2g1SZ9ocu77ysw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2012-12-31 7:11 ` Marek Lindner 2013-01-21 9:11 ` [B.A.T.M.A.N.] " Pau Koning 2013-01-24 12:17 ` Antonio Quartulli
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).