0

I have a external wireless card of D-Link, which I generally use in Linux Mint. But I wanna use it in windows too. After spending a lot of time googling, i realized that configuring it in windows (just like the ifconfig and iwconfig commands in linux would let you do) is not that straightforward in windows 7.

I recently wrote a packet capturer/analyzer/injector tool n when I started injecting packets on that interface, n sniffed using wireshark (on the same iface of course), nothing was captured. Tried another injector software (Colasoft), but still nothing. Just couldn't get it to work..I think it isn't in operational mode ("up") or something.. Anybody done this before? Any suggestions on how to configure it are welcome.

Machine is Windows 7 32bit.

1 Answers1

0

Okay, so you just want to be able to enable and disable by the command line?

If so, per the directions here

You need to get a list of NICs and their index numbers with the command:

wmic nic get name, index

The disable command is (for example, for nic 7):

wmic path win32_networkadapter where index=7 call disable

The enable command is:

wmic path win32_networkadapter where index=7 call enable
OldWolf
  • 2,493