To handle an updated Phase 0 in the way the Michael is
proposing then from the
GNOME side we would most likely to the following, with an
aim to re-using as
much of this as possible for the Phase 1 deliverable post
2008.11:
- Make the GNOME Netstatus Applet appear by default, and
show the active
network interface
- The active interface would need to be
communicated/determined from NWAM
for it to correctly reflect NWAM's state.
- Enhance the GNOME Netstatus applet to support Wi Fi
information on
OpenSolaris, already does this on Linux, with some icon
updates to make it
nicer than the current set if possible.
- At present you need to have the NET_RAWACCESS privilege
before you can
even open the network device and run the necessary
ioctl() calls to gather
information. To overcome this, there are two options
available:
1) Update the network ioctl() mechanism to not require
elevated
privileges for read-only information - such as the
ESSID, Signal
Strength, etc.
2) Create a helper application that is run-able by a
console user (or
user with specific profile), which runs with the
NET_RAWACCESS
privilege and can provide information back to the
UI.
Of course the ideal solution is the first one, but this
is not a trivial
change and needs significant effort - it is planned to
be done as part of
a larger project, but there is a risk that it may not
make it for 2008.11.
While not ideal, the second option is possible to
achieve relatively
easily with RBAC, the main issue will be in securing the
binary that is
run. For example, we can define a new profile
"Network Wireless Info"
which runs a binary as nobody, but with the specific
privilege
NET_RAWACCESS.
- The next step is to provide the notification information
and interact with
the user. To do this we would use a (significantly) cut
down implementation
of the NWAM UI panel presence, which presents status
information about NWAM
itself and would interact with the user should they need
to provide more
information - e.g. wireless key, or select wireless
network.
A possibly useful mechanism for Phase 0 might be to be
able to signal a
restart/re-evaluation of state manually - akin to the
"Repair Network"
functionality on some platforms.
- The functionality that would be needed from the NWAM
side would be
something along the lines of:
- Synchronous calls would be something along the lines
of:
- Register/De register event callback
- Get Current NWAM State
- Get NWAM Active Interface
- Re sync/Re-evaluate NWAM State (Network Repair)
- Events Mechanism, with the following event types:
- Asynchronous information events (e.g. status
update)
- Synchronous (response required events)
- Wireless Network selection from a list, or add a
new one with a
not-listed ESSID.
- Provide the WEP key for a Wireless network - the
assumption is
that we will still not support WPA for this
release - it is
planned for NWAM Phase 1.
I would certainly be interested in people comments on
this...
Thanks,
Darren.
_______________________________________________
nwam-discuss mailing list
nwam-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/nwam-discu
ss
|