net.interface_up and unimplemented net.80203 properties (linux)

Danny Kukawka danny.kukawka at web.de
Sun Mar 11 18:29:52 PDT 2007


On Sonntag, 11. März 2007, Brian J. Tarricone wrote:
> Lately I've been working on a wireless networking configuration GUI
> app, and I've been looking into using HAL for some aspects of it.
> Unfortunately, I found that the net.interface_up parameter is always
> 'false', regardless of the interface state.  Also, I saw that
> net.80203.link and net.80203.rate are listed as unimplemented in the HAL
> spec.

They are not part of HAL because we removed them from HAL since 
NetworkManager handle this. Maybe we should remove net.80203.link and
net.80203.rate from HAL. We already discussed that Networkmanager should
set net.interface_up if the state change, but this is currently not 
implemented in Networkmanager.

> I decided to implement an 'addon' for HAL to make these three work
> (using the Linux rtnetlink socket for notification of state changes),
> as well as adding dbus methods to bring an interface up and down.
> 
> Is this the correct approach? 

IMO this should be the job of Networkmanager as already decided a long
time ago.

> The method names I came up with are
> org.freedesktop.Hal.Device.NetworkInterface.UpInterface
> and .DownInterface, though they can of course be changed easily if
> there's some convention I should be following.

You can IMO use Networkmanager for this.
 
> Comments?  Suggestions?  Any other methods or properties the
> network-related functionality should support that I could add?

See my comments above.

Danny


More information about the hal mailing list