Get a han­dle on Mon­i­tor mode

Linux Format - - GPS MAPPING -

So what’s all the fuss about us­ing an ad­di­tional Wi-Fi card? In short, there are sev­eral modes that are po­ten­tially avail­able on net­work cards. These modes in­clude Mon­i­tor, In­fra­struc­ture, Mesh and Man­aged, as well as a few oth­ers. Most of the time users won’t have to un­der­stand or even make use of the modes. As a re­sult the hard­ware man­u­fac­tur­ers don’t spend much ef­fort on mak­ing cards that work well with mon­i­tor mode.

While putting this ar­ti­cle to­gether, it took sev­eral at­tempts to find a USB card that works for Rasp­bian. It’s pos­si­ble to find out which modes your net­work card works with us­ing the com­mand iw­con­fig info wlan0 (or other wire­less in­ter­face). This will give var­i­ous groups of in­for­ma­tion, in­clud­ing de­tails on Sup­ported modes. By de­fault, Kis­met con­fig­ures the net­work card to use Mon­i­tor mode so it doesn’t have to be man­u­ally set.

It’s, how­ever, pos­si­ble to make the card man­u­ally switch into Mon­i­tor mode by us­ing the fol­low­ing com­mands:

sudo if­down wlan1 sudo iw­con­fig wlan1 mode Mon­i­tor sudo ifup wlan1

As pre­vi­ously noted, if you do this the net­work will stop re­spond­ing if you use it on the net­work in­ter­face you’re con­nected through. It’s set to pas­sively mon­i­tor and re­port all net­works it sees. The wire­less card used in this tu­to­rial was a TP-LINK TL-WN727N pur­chased on­line for about £9. Do be sure to check its specs though – there are a lot of sim­i­lar cards that don’t work.

Newspapers in English

Newspapers from Australia

© PressReader. All rights reserved.