README: Monitor interface is created automatically

Keep the commands on setting up a netlink monitor interface in the
README file.
This commit is contained in:
Patrik Flykt 2014-10-03 13:39:11 +03:00 committed by Denis Kenzior
parent d9768348d5
commit 3de80fb7c0
1 changed files with 6 additions and 6 deletions

12
README
View File

@ -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: