Jump to content

FW 2.7.0 nmap not working - fixed manually


Aaron Outhier
 Share

Recommended Posts

@Whistle Master

On a freshly restored Pineapple Nano and freshly erased (with a zero fill) and reformatted SD card, I installed the map module onto the SD card, and then pressed the button to install dependancies onto SD card.

Upon launching from the Web UI, nothing seems to happen. From within an SSH terminal, I tried running

nmap --help

but was given an error about missing library libpcap.so.0.8 . I then issued

opkg install libpcap -d sd

Everything worked fine after that. Can anyone else confirm this issue and/or fix?

Edited by Aaron Outhier
Stupid autocorrect!
Link to comment
Share on other sites

  • 3 weeks later...

Can confirm error, but fix does not seem to work for me

root@Pineapple:~# nmap --help
Error loading shared library libpcap.so.0.8: No such file or directory (needed by /sd/usr/bin/nmap)
Error relocating /sd/usr/bin/nmap: pcap_close: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_open_live: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_geterr: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_compile: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_get_selectable_fd: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_next_ex: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_stats: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_getnonblock: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_datalink: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_setfilter: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_setnonblock: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_freecode: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_next: symbol not found
Error relocating /sd/usr/bin/nmap: pcap_lib_version: symbol not found

root@Pineapple:~# opkg install libcap -d sd
Installing libcap (2.27-1) to sd...
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/libcap_2.27-1_mips_24kc.ipk
Configuring libcap.

still same error messages after install

Link to comment
Share on other sites

Ahh. I see. I posted the fix that worked for me. Perhaps an explanation is in order. The “-d sd” at the end instructs opkg to install the library to my SD card. If you didn’t install the nmap assets to the SD card, then this isn’t going to work for you. Simply omit the -d sd part if nmap assets are stored on internal storage.

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...