LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2011, 07:08 PM   #1
Tonyyyp
LQ Newbie
 
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
Tcpdump/ngrep sniff packet network command lines


Hello everyone,
I would like to know the command lines for;
-detecting the wifi in my house without being connected to it
-getting ips/macaddress from the people connected to the wifi
 
Old 06-22-2011, 01:42 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You can't, that's not what the tools are for. libpcap based programs watch actual network traffic, not wireless radio data. You can't detect wifi with them. In terms of getting macs and the likes then if you have a system on the same network then you can just watch the netwrok traffic and see the mac addresses of any traffic addressed to you but on wifi, like a switch (as opposed to a hub) you will only see the traffic addressed to you / from you, not other users doing other things.
 
Old 06-22-2011, 01:53 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by Tonyyyp View Post
I would like to know the command lines for;
-detecting the wifi in my house without being connected to it
If I read the question the way it's written, the answer is:

Code:
iwlist scan
Seriously, though, I know what you mean. Look into Kismet.

Last edited by dugan; 06-22-2011 at 01:58 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to know method wireshark or tcpdump to capture packet? haxpor Programming 1 04-12-2007 01:08 AM
How can I packet sniff my xbox? NuxIT Linux - Networking 9 05-18-2006 05:41 AM
Using tcpdump to find out the TTL of a packet going outside my box Menestrel Linux - Networking 4 01-20-2006 11:03 AM
determine tcpdump packet loss Tiago Sousa Linux - Networking 1 12-16-2005 02:27 AM
determine tcpdump packet loss Tiago Sousa Linux - Newbie 1 12-15-2005 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration