movEAX_444
07-31-2005, 10:51 AM
When I try to use nmap on myself, I get the following error:
# nmap -sS localhost
Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-07-31 10:48 EDT
WARNING: Could not determine what interface to route packets through to 127.0.0.1, changing ping scantype to ICMP ping only
pcap_open_live: ioctl: No such device
There are several possible reasons for this, depending on your operating system:
LINUX: If you are getting Socket type not supported, try modprobe af_packet or recompile your kernel with SOCK_PACKET enabled.
*BSD: If you are getting device not configured, you need to recompile your kernel with Berkeley Packet Filter support. If you are getting No such file or directory, try creating the device (eg cd /dev; MAKEDEV <device>; or use mknod).
SOLARIS: If you are trying to scan localhost and getting '/dev/lo0: No such file or directory', complain to Sun. I don't think Solaris can support advanced localhost scans. You can probably use "-P0 -sT localhost" though.
Running ifconfig shows me wlan0 (I am using ndiswrapper), and no other devices. "ifconfig lo up" doesn't give me /dev/lo0 either.
This all worked fine before I started using wifi. I have ndiswrapper modprobed in one of my start up scripts (/etc/rc.d/local) -- That is also where I put the command to connect to my AP.
# nmap -sS localhost
Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-07-31 10:48 EDT
WARNING: Could not determine what interface to route packets through to 127.0.0.1, changing ping scantype to ICMP ping only
pcap_open_live: ioctl: No such device
There are several possible reasons for this, depending on your operating system:
LINUX: If you are getting Socket type not supported, try modprobe af_packet or recompile your kernel with SOCK_PACKET enabled.
*BSD: If you are getting device not configured, you need to recompile your kernel with Berkeley Packet Filter support. If you are getting No such file or directory, try creating the device (eg cd /dev; MAKEDEV <device>; or use mknod).
SOLARIS: If you are trying to scan localhost and getting '/dev/lo0: No such file or directory', complain to Sun. I don't think Solaris can support advanced localhost scans. You can probably use "-P0 -sT localhost" though.
Running ifconfig shows me wlan0 (I am using ndiswrapper), and no other devices. "ifconfig lo up" doesn't give me /dev/lo0 either.
This all worked fine before I started using wifi. I have ndiswrapper modprobed in one of my start up scripts (/etc/rc.d/local) -- That is also where I put the command to connect to my AP.