commandline session

$iw --debug wlan0 info
-- Debug: Sent Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 28
    .nlmsg_type = 22 <0x16>
    .nlmsg_flags = 5 
    .nlmsg_seq = 1344974880
    .nlmsg_pid = 41009
  [PAYLOAD] 12 octets
    05 00 00 00 08 00 03 00 02 00 00 00                   ............
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 64
    .nlmsg_type = 22 <0x16>
    .nlmsg_flags = 0 <>
    .nlmsg_seq = 1344974880
    .nlmsg_pid = 41009
  [PAYLOAD] 48 octets
    07 01 00 00 08 00 03 00 02 00 00 00 08 00 01 00 00 00 ..................
    00 00 0a 00 04 00 77 6c 61 6e 30 00 00 00 08 00 05 00 ......wlan0.......
    02 00 00 00 08 00 2e 00 05 00 00 00                   ............
---------------------------  END NETLINK MESSAGE   ---------------------------
Interface wlan0
	ifindex 2
	type managed
	wiphy 2
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 36
    .nlmsg_type = 2 
    .nlmsg_flags = 0 <>
    .nlmsg_seq = 1344974880
    .nlmsg_pid = 41009
  [ERRORMSG] 20 octets
    .error = 0 "Success"
  [ORIGINAL MESSAGE] 16 octets
    .nlmsg_len = 16
    .nlmsg_type = 22 <0x16>
    .nlmsg_flags = 5 
    .nlmsg_seq = 1344974880
    .nlmsg_pid = 41009
---------------------------  END NETLINK MESSAGE   ---------------------------
$

Debian Research

These Notes Comes With NO WARRANTY

Debug Using Application/Command That Support Debug Mode.
I Call This “Inbuilt Debugging”

This post has no comments. Be the first to leave one!

Join the discussion

Your email address will not be published. Required fields are marked *

Copyright © 2009,  2010,  2011,  2012,  2013, 2014     BeautifulWork Project    e-mail:  ahiliation@yahoo.co.in
BeautifulWork Project comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.