Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not install ngrep dependencies #31

Closed
XiaoliChan opened this issue Jul 18, 2018 · 11 comments
Closed

can not install ngrep dependencies #31

XiaoliChan opened this issue Jul 18, 2018 · 11 comments

Comments

@XiaoliChan
Copy link

when i use opkg install ngrep , it told me this:

Unknown package 'ngrep'.
Collected errors:
 * opkg_install_cmd: Cannot install package ngrep.

@XiaoliChan
Copy link
Author

how can i solve this problem?

@foxtrot
Copy link
Contributor

foxtrot commented Jul 20, 2018

It would appear that the ngrep ipk is not in the OpenWRT 15.05 repository (and doesn't seem to have been included in the previous releases 'new' packages).

You can install it by doing the following:

cd /tmp/
wget https://archive.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/oldpackages/ngrep_1.45-3_ar71xx.ipk
opkg install ngrep_1.45-3_ar71xx.ipk
ln -s /usr/lib/libpcap.so.1 /usr/lib/libpcap.so.1.3

ngrep should run normally from then on.

@pidgy
Copy link
Contributor

pidgy commented Jul 21, 2018

@foxtrot Should this fix be added to the module in the case where it fails?

@XiaoliChan
Copy link
Author

@foxtrot ok i will try it later

@XiaoliChan
Copy link
Author

XiaoliChan commented Jul 22, 2018

@foxtrot but when i click start button from ngrep in wifipineapple modules manager , nothing happend, the logs say "ngrep is not running...", though i restart my wifipineapple,but when i use ssh to my wifipineapple and input "ngrep" , it working

@adde88
Copy link
Contributor

adde88 commented Aug 18, 2018

I have a repo. full of useful tools for the Pineapples.
You can find the latest version of ngrep there, compiled with the "correct" version of libpcap, so you don't have to sym-link stuff to get it working.

Here's a link to ngrep from my repo:
https://raw.githubusercontent.com/adde88/openwrt-useful-tools/master/ngrep_1.45-3_ar71xx.ipk

@XiaoliChan
Copy link
Author

@adde88 Thanks guy , i will try it later

@adde88
Copy link
Contributor

adde88 commented Aug 18, 2018

I've sent a pull-request to Hak5. Which would fix this problem.
But they could also decide to host the ngrep package on the hak5-repos. (that the pineapples are also using), which would fix the problem as well.

@XiaoliChan
Copy link
Author

@adde88 Nice

@XiaoliChan
Copy link
Author

@adde88 wifipineapple offical did not fix ngrep in the latest version

@moliata
Copy link

moliata commented Aug 23, 2018

@foxtrot @sebkinne #37 (comment) should be pulled and then this issue should be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants