LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 08: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, 02:42 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 02:53 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 7,002

Rep: Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520
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 02:58 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:08 AM
How can I packet sniff my xbox? NuxIT Linux - Networking 9 05-18-2006 06:41 AM
Using tcpdump to find out the TTL of a packet going outside my box Menestrel Linux - Networking 4 01-20-2006 12:03 PM
determine tcpdump packet loss Tiago Sousa Linux - Networking 1 12-16-2005 03:27 AM
determine tcpdump packet loss Tiago Sousa Linux - Newbie 1 12-15-2005 12:37 PM


All times are GMT -5. The time now is 10:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration