Giter Site home page Giter Site logo

Comments (10)

killmipls avatar killmipls commented on August 21, 2024

So I need to delete the line or am I suppose to re-edit the script? Because the correct repo that you gave is the same inside the INSTALL_raspberry_pwn.sh. I kinda confuse and I keep getting error to install in the "2012-07-15-wheezy-raspbian.zip" img.

Edited: I can't seem to run aircrack-ng suite well. Is my installation issues or is there some problems of armhf that cannot support? When I run it, it gave me the following output:
aircrack-ng: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

from raspberry_pwn.

goonbag avatar goonbag commented on August 21, 2024

quick & dirty fix - change that line to

echo "deb http://ftp.debian.org/debian/ wheezy main contrib non-free" > /etc/apt/sources.list

seems to be working here :)

from raspberry_pwn.

Jimvin avatar Jimvin commented on August 21, 2024

The fix will not work on Raspbian on account of the armhf packages in the official repo being for ARMv7 and not the ARMv6 chip on the Raspberry Pi. The docs show the valid repo to be:

deb http://archive.raspbian.org/raspbian wheezy main contrib non-free rpi
deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free rpi

I would recommend not changing the repo in Raspbian from the default value. Will test with the repo update commented out.

from raspberry_pwn.

goonbag avatar goonbag commented on August 21, 2024

i stand corrected - did get some errors after all.

will also try your solution

from raspberry_pwn.

killmipls avatar killmipls commented on August 21, 2024

but after installed, can it successful run airodump-ng etc? Because i getting error of libssl.so.0.9.8

from raspberry_pwn.

zhovner avatar zhovner commented on August 21, 2024

I even can't compile aircrack-ng on 2012-07-15-wheezy-raspbian

make[2]: Leaving directory `/root/Raspberry-Pwn/src/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0  -Iinclude aircrack-ng.o crypto.o common.o uniqueiv.o aircrack-ptw-lib.o sha1-sse2.S -o aircrack-ng -lpthread -lssl -lcrypto  
/usr/bin/ld: error: aircrack-ng uses VFP register arguments, aircrack-ng.o does not
/usr/bin/ld: failed to merge target specific data of file aircrack-ng.o
/usr/bin/ld: error: aircrack-ng uses VFP register arguments, crypto.o does not
/usr/bin/ld: failed to merge target specific data of file crypto.o
/usr/bin/ld: error: aircrack-ng uses VFP register arguments, common.o does not
/usr/bin/ld: failed to merge target specific data of file common.o
/usr/bin/ld: error: aircrack-ng uses VFP register arguments, uniqueiv.o does not
/usr/bin/ld: failed to merge target specific data of file uniqueiv.o
/usr/bin/ld: error: aircrack-ng uses VFP register arguments, aircrack-ptw-lib.o does not
/usr/bin/ld: failed to merge target specific data of file aircrack-ptw-lib.o
collect2: ld returned 1 exit status
make[1]: *** [aircrack-ng] Error 1
make[1]: Leaving directory `/root/Raspberry-Pwn/src/aircrack-ng-1.1/src'
make: *** [install] Error 2

from raspberry_pwn.

cbk914 avatar cbk914 commented on August 21, 2024

I think a proper fix would be remove this line in the install script:
echo "deb http://ftp.debian.org/debian/ squeeze main contrib non-free" > /etc/apt/sources.list

and in the same place insert these:

echo "deb http://archive.raspbian.org/raspbian wheezy main contrib non free rpi" >> /etc/apt/sources.list
echo "deb-src http://archive.raspbian.org/raspbian wheezy main contrib non free rpi" >> /etc/apt/sources.list

ensuring that /etc/apt/sources.list has the references to the debian ftp removed or commented.

from raspberry_pwn.

jcran avatar jcran commented on August 21, 2024

this has been at least somewhat addressed in the latest incarnation of the install script. -- the debian wheezy source is added (and removed after install). Obv installing packages from Debian on Raspian (however related) is probably a bad idea. Needs more brainpowder, but should be working on the master branch.

from raspberry_pwn.

jcran avatar jcran commented on August 21, 2024

I was way off in suggesting that we should install Debian packages on Raspbian. This turns out to be a Bad Idea (r). The original INSTALL / UNINSTALL scripts were designed when the Pi was still running / supporting Debian armel packages. As mentioned above by JimVin, that is no longer the case with the move by the RPi folks to Raspbian to an armhf-like base system and set of packages. This is well documented in the links on this page: http://www.raspbian.org/RaspbianAbout

As noted on the FAQ, mixing with base Debian packages won't work: http://www.raspbian.org/RaspbianFAQ

So, crap. There are a couple options:

  • Ping the Raspbian folks and ask them to support the native packages we care about (nmap / etc). Arch 'all' packages should be fine as there is no compilation process
  • Set up our own buildd evironment to mirror what the Rasbian folks are doing, and compile our own Rasbian-compatible packages
  • Move to compiling everything at install time and away from packages altogether.

from raspberry_pwn.

jcran avatar jcran commented on August 21, 2024

See issue #13 for further updates here.

from raspberry_pwn.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.