From 3de80fb7c071f529519b47f375193971d501c463 Mon Sep 17 00:00:00 2001 From: Patrik Flykt Date: Fri, 3 Oct 2014 13:39:11 +0300 Subject: [PATCH] README: Monitor interface is created automatically Keep the commands on setting up a netlink monitor interface in the README file. --- README | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README b/README index f7354e86..3affb350 100644 --- a/README +++ b/README @@ -81,18 +81,18 @@ Netlink monitoring The included iwmon utility can be used to monitor the 802.11 subsystem generic netlink commands and events. It uses the nlmon kernel driver -from Linux 3.10 and later. +from Linux 3.10 and later. On startup network monitor interface named +named 'nlmon' is created unless another interface name is given on the +command line. If the monitor interface was created by the iwmon utility, +it will be removed on program exit. -In order to use iwmon to create traces, the nlmon network interface -needs to be created: +Manually the monitor interface can be created using the following +commands: ip link add name nlmon type nlmon ip link set dev nlmon allmulticast on ip link set dev nlmon up -For now it is important that the netlink monitor interace is actually -named nlmon. Future version might relax this requirement. - It is possible to create netlink traces in PCAP format using tcpdump and then read them via iwmon utility: