[haiku-development] New NetworkSetup BNetworkInterface Questions

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 24 Feb 2011 10:00:07 -0600

I've been hearing varying answers to this question in IRC. I wanted to
ping the list and see what best matches the future direction of the
Network stack as a whole.

My work on the new network preference applet is closing in on the
feature to write the interface configurations, so far I have queried
each network interface for its ip through the Network
Roster/BNetworkInteface/BNetworkInterfaceAddress and friends.

One issue is that I have *no* idea what the best way to write the
interface configuration is.. do I call BNetworkInterface SetAddress to
set the family address directly, or should I simply write the new
configuration out to the /boot/common/settings/network/interfaces file
(like the current network preference panel does) and let Net Server
pick up the changes?

I know in the future to get the profiles
working /boot/common/settings/network/interfaces will need to be a copy
or symlink to a profile configuration... but right now I am focused on
just getting the address set to try and get the new network applet into
the upcoming alpha.


Here are the latest screenshots for those who haven't see it thus far:
http://dl.dropbox.com/u/5560191/netpref.png
http://dl.dropbox.com/u/5560191/netpref-wifi.png

Thanks!
 -- Alex

Other related posts:

  • » [haiku-development] New NetworkSetup BNetworkInterface Questions - Alexander von Gluck