How to pass in promiscuous mode?

Asked by tashi

Hi to all,

I'd like to know how to pass my network interface in promiscuous mode? I still don't know if it's already done, and neither how to know if ever it's done... Please tell me how to get this mode!

Thanks, and good bye!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Andy Hodges
Solved:
Last query:
Last reply:
Revision history for this message
Andy Hodges (ahodges) said :
#1

You should get what you need from here:

http://www.oreillynet.com/linux/cmd/cmd.csp?path=i/ifconfig

You can get information catered to your system by going "man ifconfig" at the terminal too.

You can also use Wireshark which may be a little more user friendly as it has a GUI.

Revision history for this message
tashi (pierre-mirmont) said :
#2

Great! Thanks! But what shall I write? My network is wlan1, may I have to write ifconfig wlan1 promisc, or what? It doesn't seem to work...

Please, a bit more help! But thanks a lot anyway!

Revision history for this message
tashi (pierre-mirmont) said :
#3

And I did try to write
"ifconfig wlan1 inet promisc",
and it did answer "wlan1 unknown interface, type ifconfig --help..." What's the way for it? Thanks to help me, it's a wireless network...

Revision history for this message
Best Andy Hodges (ahodges) said :
#4

"sudo ifconfig wlan0 inet promisc" works @ this end. Of course, I'm on wlan0. You'll have to find out why your system isn't fully recognizing the fact that it's a wireless card before you can hope to get this working.

If you just type "ifconfig", it'll list all the interfaces on your system, maybe try a different one? Are you able to connect in regular non promiscuous mode over that network card?

Revision history for this message
tashi (pierre-mirmont) said :
#5

Thanks Andy Hodges, that solved my question.

Revision history for this message
tashi (pierre-mirmont) said :
#6

Thanks a million for this help,

My interface was just wlan1, but it's quite as same ;)!
You told me exactly the point I was looking for, and it's good to find some help like yours!