Re: [jail][vnet] wlandebug inside jail, operation not permitted

2011-02-17 Thread Monthadar Al Jaberi
Thank you for clarifications. I am using jails like a virtual host, each having its own network stack and a wireless card, I am trying out to test 802.11s mesh code, and sometimes when I find that some scenario is not working I want to turn on debug information to see what is happening, it is hard

Re: [jail][vnet] wlandebug inside jail, operation not permitted

2011-02-16 Thread Rick van der Zwet
On 16 February 2011 17:34, Monthadar Al Jaberi wrote: > I have created a jail with "jail -c jid=1 vnet persist", then moved a > wlan to it "ifconfig wlan0 vnet 1" but when I try to run: > "jexec 1 wlandebug -i wlan0 state" I get : > > wlandebug: sysctl-set(net.wlan.0.debug): Operation not permitte

Re: [jail][vnet] wlandebug inside jail, operation not permitted

2011-02-16 Thread Jamie Gritton
This is by design. The "root" in a jail isn't quite a full-featured root, and in particular can't do anything that affects the hardware in ways beyond normal non-administrative use. - Jamie On 02/16/11 09:34, Monthadar Al Jaberi wrote: Hej, I have created a jail with "jail -c jid=1 vnet persis