Nmap Development mailing list archives
Re: Execution problem : getinterfaces: Failed to open ethernet in terface (fxp9)
From: Fyodor <fyodor () insecure org>
Date: Sun, 8 Jan 2006 17:42:30 -0800
On Sat, Jan 07, 2006 at 11:49:48PM -0000, Dom Devitto wrote:
BINGO, got it: "getinterfaces: Failed to open ethernet interface" really means - for 'clean' OpenBSD 3.8 at least: "You need more BPF devices, rebuild your kernel, and remake /dev, possibly changing MAKEDEV" Alternatively, using "ifconfig <interface> delete" to delete some interfaces seems to work too.
Good find. I have added a link to your message to the error message: --- tcpip.cc (revision 3017) +++ tcpip.cc (working copy) @@ -2296,7 +2307,7 @@ eth_addr_t ethaddr; if (!ethsd) - fatal("%s: Failed to open ethernet interface (%s)", __FUNCTION__, + fatal("%s: Failed to open ethernet interface (%s). A possible cause on BSD operating systems is running out of BPF devices (see http://seclists.org/lists/nmap-dev/2006/Jan-Mar/0014.html).", __FUNCTION__, mydevs[numifaces].devname); if (eth_get(ethsd, ðaddr) != 0) fatal("%s: Failed to obtain MAC address for ethernet interface (%s)", Cheers, -F _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev
Current thread:
- RE: Execution problem : getinterfaces: Failed to open ethernet in terface (fxp9) Dom Devitto (Jan 07)
- Re: Execution problem : getinterfaces: Failed to open ethernet in terface (fxp9) Fyodor (Jan 08)
- Re: Execution problem : getinterfaces: Failed to open ethernet in terface (fxp9) Michael Coulter (Jan 08)
- <Possible follow-ups>
- RE: Execution problem : getinterfaces: Failed to open ethernet in terface (fxp9) Dom Devitto (Jan 09)