tree: c8ed981ebd82e1c5b40b43e9ff0e297524e9d046 [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. config/
  5. meta/
  6. netcfg.config
  7. src/
src/connectivity/network/netcfg/README.md

netcfg

netcfg is the policy manager for netstack.

Currently, netcfg can be used to override the four word fuchsia device name, derived from the MAC address of the first network interface (gethostbyname, mDNS, uname -a, and DeviceSettingsManager will all reflect the changed name).

Modify netcfg/config/default.json and add a key for device_name:

{
  "device_name": "my-cool-new-device"
}