Security Basics mailing list archives

NMAP Failed to lookup device subnet/netmask: eth0


From: TStark <stark.ironman () gmail com>
Date: Tue, 5 Apr 2005 19:49:28 -0400

Hello,

Been away from Linux for a while so this is a newbie type question, I
am running Fedora Core 3. When I try running NMap 3.81 I get the
message pasted below, stating that it can't find eth0 I pasted the
results of ifconfig below too. I can get out to the Internet, ping,
run TCPDump, etc. but I am not sure how to get NMap to see the NIC
card like everything else does. The NIC is a wireless Orinoco Gold but
I don't think that would matter?
Could someone please tell me how to get NMap to work?

Thank You!
Tony
<snip>
Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-04-05 19:22 EDT
Failed to lookup device subnet/netmask: eth0: no IPv4 address assigned
QUITTING!
</snip>

<snip>
[root@localhost ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:02:2D:WS:2G:4B
          inet6 addr: ffgtr::1212:###:fe###:####/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2778 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5225 errors:2 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3104537 (2.9 MiB)  TX bytes:747605 (730.0 KiB)
          Interrupt:3 Base address:0x100

eth0:1    Link encap:Ethernet  HWaddr 00:02:##:##:##:##
          inet addr:192.168.100.44  Bcast:192.###.###.###  Mask:255.###.###.#
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2778 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5225 errors:2 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3104537 (2.9 MiB)  TX bytes:747605 (730.0 KiB)
          Interrupt:3 Base address:0x100

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:5335 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5335 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2549446 (2.4 MiB)  TX bytes:2549446 (2.4 MiB)
</snip>

---------------------------------------------------------------------------
Earn your MS in Information Security ONLINE
Organizations worldwide are in need of highly qualified information security 
professionals.  Norwich University is fulfilling this demand with its MS in 
Information Security offered online.  Recognized by the NSA as an 
academically excellent program, NU offers you the opportunity to earn your 
degree without disrupting your home or work life.

http://www.msia.norwich.edu/secfocus_en
----------------------------------------------------------------------------


Current thread: