Hi,

Upon calling ... (blah.pl as non-root user)
"$ifspeed = @{$kstat->{$module}{$instance}{$module.$instance}}{qw(ifspeed)};"
... I get "Attempt to access disallowed key 'bge1' in a restricted hash"

So, calling:
#kstat bge:1:bge1:ifspeed returns nothing (As I would suspect) and,

#kstat bge:0:bge0:ifspeed returns
module: bge                             instance: 0
name:   bge0                            class:    net
        ifspeed                         1000000000

Why am I getting access denied to interface 1 (which does not exist) Why is the 
system even defining kstat information for a unplumbed device?

#ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
bge0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
bge0:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
bge0:3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
bge0:4: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
bge0:5: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2

Thank you
 
 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to