HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nmap on hp-ux 11.0
Operating System - HP-UX
1833495
Members
2646
Online
110052
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2001 11:30 AM
11-26-2001 11:30 AM
nmap on hp-ux 11.0
When I try to run nmap on my 11.0 workstation I get the following error message.
ovserv|root:/opt/nmap/bin # ./nmap -sP 10.64.162.0/24
Starting nmap V. 2.53 by fyodor@insecure.org ( www.insecure.org/nmap/ )
pcap_open_live: can't find PPA for /dev/lan0
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 r
ecompile your kernel with SOCK_PACKET enabled.
*BSD: If you are getting device not configured, you need to recompile your kern
el with Berkeley Packet Filter support. If you are getting No such file or dire
ctory, try creating the device (eg cd /dev; MAKEDEV; or use mknod).
SOLARIS: If you are trying to scan localhost and getting '/dev/lo0: No such fil
e or directory', complain to Sun. I don't think Solaris can support advanced lo
calhost scans. You can probably use "-P0 -sT localhost" though.
QUITTING!
Any help would be greatly appreciated.
ovserv|root:/opt/nmap/bin # ./nmap -sP 10.64.162.0/24
Starting nmap V. 2.53 by fyodor@insecure.org ( www.insecure.org/nmap/ )
pcap_open_live: can't find PPA for /dev/lan0
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 r
ecompile your kernel with SOCK_PACKET enabled.
*BSD: If you are getting device not configured, you need to recompile your kern
el with Berkeley Packet Filter support. If you are getting No such file or dire
ctory, try creating the device (eg cd /dev; MAKEDEV
SOLARIS: If you are trying to scan localhost and getting '/dev/lo0: No such fil
e or directory', complain to Sun. I don't think Solaris can support advanced lo
calhost scans. You can probably use "-P0 -sT localhost" though.
QUITTING!
Any help would be greatly appreciated.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2001 12:26 PM
11-26-2001 12:26 PM
Re: nmap on hp-ux 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 12:00 AM
11-27-2001 12:00 AM
Re: nmap on hp-ux 11.0
You can try giving the device name (PPA) like /dev/dlpi0
Manoj
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2002 04:03 AM
01-30-2002 04:03 AM
Re: nmap on hp-ux 11.0
You need to modify the lan0 device file to use the dlpi driver in the kernel instead of the lan driver.
1. Log on to your box as root and issue a lanscan command. The far right column should be titled "DLPI Mjr#".
2. Find the entry for lan0 and make a note of the dlpi major number for lan0 (on my machine it's 119).
3. Change directory to /dev
4. ll the lan0 file and make a note of the minor device number (that's the long one starting 0x), on my system it is 0x000000.
5. mv the lan0 file to lan0.old (in case you want to go back later).
6. Use the mknod command to create a new lan0 device file using the major number for dlpi and minor number from your "old" lan file. On my system the command becomes "mknod lan0 c 119 0x000000".
7. nmap should now work (fingers crossed!).
1. Log on to your box as root and issue a lanscan command. The far right column should be titled "DLPI Mjr#".
2. Find the entry for lan0 and make a note of the dlpi major number for lan0 (on my machine it's 119).
3. Change directory to /dev
4. ll the lan0 file and make a note of the minor device number (that's the long one starting 0x), on my system it is 0x000000.
5. mv the lan0 file to lan0.old (in case you want to go back later).
6. Use the mknod command to create a new lan0 device file using the major number for dlpi and minor number from your "old" lan file. On my system the command becomes "mknod lan0 c 119 0x000000".
7. nmap should now work (fingers crossed!).
In time, on budget, good quality. Pick any two.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP