[Dev] tcpdump in mac OS to capture loopback interfaces

2014-12-16 Thread Sajith Abeywardhana
Hi,

I need to capture loopback address in my Mac OS. When I used *-i lo* it
gives message like this.

tcpdump: Io: No such device exists


How should I capture loopback address in Mac OS?

*Command and output*

sh-3.2# tcpdump -vv -w /Users/apple/Desktop/temp01.pcap -s5000 -i Io

tcpdump: Io: No such device exists

(BIOCSETIF failed: Device not configured)

sh-3.2#


*Sajith Abeywardhana* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka.
Mobile: +94772260485
Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] tcpdump in mac OS to capture loopback interfaces

2014-12-16 Thread Prabath Ariyarathna
Hi sajith.

Please try lo0 instead of lo

On Tue, Dec 16, 2014 at 4:59 PM, Sajith Abeywardhana saji...@wso2.com
wrote:

 Hi,

 I need to capture loopback address in my Mac OS. When I used *-i lo* it
 gives message like this.

 tcpdump: Io: No such device exists


 How should I capture loopback address in Mac OS?

 *Command and output*

 sh-3.2# tcpdump -vv -w /Users/apple/Desktop/temp01.pcap -s5000 -i Io

 tcpdump: Io: No such device exists

 (BIOCSETIF failed: Device not configured)

 sh-3.2#


 *Sajith Abeywardhana* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka.
 Mobile: +94772260485
 Email: saji...@wso2.com mahe...@wso2.com | Web: www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



-- 

*Prabath Ariyarathna*

*Associate Technical Lead*

*WSO2, Inc. *

*lean . enterprise . middleware *


*Email: prabat...@wso2.com prabat...@wso2.com*

*Blog: http://prabu-lk.blogspot.com http://prabu-lk.blogspot.com*

*Flicker : https://www.flickr.com/photos/47759189@N08
https://www.flickr.com/photos/47759189@N08*

*Mobile: +94 77 699 4730 *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev