LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-31-2005, 09:38 AM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
capture SSID of wifi network


How to use ethereal or other open source packet sniffer to capture SSID of wifi network? What is the command line argument (instead of using GUI) to do that?
What capture or display filter should I use?
 
Old 08-31-2005, 12:10 PM   #2
Wha?Where?
LQ Newbie
 
Registered: Jul 2005
Posts: 19

Rep: Reputation: 0
Have you tried this?
http://airsnort.shmoo.com
 
Old 08-31-2005, 01:38 PM   #3
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Why use a packet sniffer just to get the SSID? Can you use 'iwlist wlan0 scan' ?
 
Old 08-31-2005, 05:09 PM   #4
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
My custom made hardware does not have wlan0.
# iwlist wlan0 scan
wlan0 Interface doesn't support scanning : No such device

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:48:83:14:53
inet addr:172.31.1.100 Bcast:172.31.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:48ff:fe83:1453/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:896507 errors:0 dropped:0 overruns:0 frame:0
TX packets:751607 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:179147137 (170.8 Mb) TX bytes:498988338 (475.8 Mb)
Base address:0xc000 Memory:f2000000-f2020000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:66568 errors:0 dropped:0 overruns:0 frame:0
TX packets:66568 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12940562 (12.3 Mb) TX bytes:12940562 (12.3 Mb)


Quote:
Originally posted by dracolich
Why use a packet sniffer just to get the SSID? Can you use 'iwlist wlan0 scan' ?
 
Old 08-31-2005, 07:24 PM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
is "eth0" a wireless card? Then 'iwlist eth0 scan'. Otherwise, try 'iwlist XYZ scan', where XYZ is your wireless interface (assuming it is not show in your ifconfig output). You could use "iwconfig" to find the name of the wireless interface.
 
Old 09-01-2005, 09:00 AM   #6
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
# iwconfig
lo no wireless extensions.

sit0 no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:30:48:83:14:53
inet addr:172.31.1.100 Bcast:172.31.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:48ff:fe83:1453/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1027858 errors:0 dropped:0 overruns:0 frame:0
TX packets:908024 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:198692206 (189.4 Mb) TX bytes:674441371 (643.1 Mb)
Base address:0xc000 Memory:f2000000-f2020000

eth1 Link encap:Ethernet HWaddr 00:30:48:83:E9:87
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Base address:0xd100 Memory:f1000000-f1020000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:76218 errors:0 dropped:0 overruns:0 frame:0
TX packets:76218 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13805088 (13.1 Mb) TX bytes:13805088 (13.1 Mb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Quote:
Originally posted by Half_Elf
is "eth0" a wireless card? Then 'iwlist eth0 scan'. Otherwise, try 'iwlist XYZ scan', where XYZ is your wireless interface (assuming it is not show in your ifconfig output). You could use "iwconfig" to find the name of the wireless interface.
 
Old 09-01-2005, 03:23 PM   #7
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
I hadn't tried airsnort.

Google give this:
www.kismetwireless.net

It seems useful to me.

Quote:
Originally posted by Wha?Where?
Have you tried this?
http://airsnort.shmoo.com
 
Old 09-01-2005, 08:14 PM   #8
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
I dont see any wireless card in what you shown us... are you sure your network card is installed and that the driver is loaded?
 
  


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
Bridging a wired network to a wifi network bobmcobob Linux - Wireless Networking 2 07-18-2008 07:36 PM
Can't connect to wireless network when SSID broadcast is disabled, Atheros card/SuSE9 baters Linux - Wireless Networking 19 01-15-2007 07:56 AM
Wireless Network SSID? jeopardyracing Linux - Newbie 3 09-19-2004 01:13 PM
Capture IM traffic on the network shelby Linux - Security 1 08-10-2004 02:53 PM
Network packet capture avaya Linux - Newbie 2 10-14-2002 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 PM.

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