Network Module

Botman

Compatibility :

Description

This module returns the network configuration.
This module only works on Windows at the moment.


Configuration

This module does not need any configuration file.

Query botmans through Alfred

It is possible to make alfred able to query botmans for you by combining the power of the spam and rewrite modules.
You can add the following JSON object as a new rule of the rewrite module’s configuration file:

{
   "name" : ".network",
   "filter" : ".network*",
   "rule" : "sed -r 's/^.network (.*)/.spam \\1 .network/'",
   "description" : ".network <pattern>"
}


Commands

Fetch network configuration

(14:56:10) guillaume.friloux@botman.master.com: .network
(14:56:10) botman-xxxx:
[{
   "name": "{8ECC48CB-13D8-4566-A88A-99BD8D41F071}",
   "name_friendly":        "Connexion au réseau local",
   "description":  "Realtek RTL8139C+ carte réseau Fast Ethernet",
   "dns_suffix":   "botman.master.com",
   "mtu":  1500,
   "addresses":    {
      "physical":     "52:54:00:2C:01:8C",
      "unicast":      ["fe80::d5b:19ce:eccb:ea9e%10", "192.168.4.113"],
      "dns_server":   ["192.168.4.1"]
   }
}, {
   "name": "{846EE342-7039-11DE-9D20-806E6F6E6963}",
   "name_friendly":        "Loopback Pseudo-Interface 1",
   "description":  "Software Loopback Interface 1",
   "dns_suffix":   "",
   "mtu":  -1,
   "addresses":    {
      "physical":     "",
      "unicast":      ["::1", "::1"],
      "dns_server":   ["::1", "fec0:0:0:ffff::2%1", "fec0:0:0:ffff::3%1"]
   }
}, {
   "name": "{507059DE-5A6E-4792-A30F-88A67D200A5E}",
   "name_friendly":        "isatap.botman.master.com",
   "description":  "Carte Microsoft ISATAP",
   "dns_suffix":   "botman.master.com",
   "mtu":  1280,
   "addresses":    {
      "physical":     "00:00:00:00:00:00:00:E0",
      "unicast":      ["fe80::5efe:192.168.4.113%11"],
      "dns_server":   ["192.168.4.1"]
   }
}]