tree: 7ff662904d9d049ef01390ab38c37ce47cf41536 [path history] [tgz]
  1. config/
  2. meta/
  3. src/
  4. BUILD.gn
  5. netcfg.config
  6. OWNERS
  7. README.md
garnet/bin/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"
}