Available/To be prepared port for Raspberry Pi 2

Discussion in 'Xiaopan Support' started by Raspi2, 19 Jul 2015.

  1. Raspi2

    Raspi2 Active Member

    Joined:
    13 Jul 2015
    Messages:
    7
    Likes Received:
    0
    Greetings,

    since I'm newbie on linux, is there availabe port of Xiaopan+Minidwep for the RPi 2?
    PWnPi is lacking Minidwep :(
    And as you know very well, Minidwep can keep head cool from typing MACs/commnds :)
    Is there a suitable way to build one from source?

    Any ideas appriciated!

    Thanks in advance!
     
  2. meknb

    meknb Mod
    Moderator Dev Team VIP

    Joined:
    2 Jun 2012
    Messages:
    702
    Likes Received:
    203
    Minidwep is just a script should work on pi as long as you have zenity or xdialog and aircrack installed.
    Don't think there will be a xiaopan for pi but would be easy enough to build one based on picore.
     
  3. Raspi2

    Raspi2 Active Member

    Joined:
    13 Jul 2015
    Messages:
    7
    Likes Received:
    0
    I've tried to add minidwep to Ubuntu mate for rpi 2 (download it as a deb file from sourceforge). It said "invalid architecture x86". Which file I should use anyway?
    I'll test in picore as tcz and will write soon.
     
  4. meknb

    meknb Mod
    Moderator Dev Team VIP

    Joined:
    2 Jun 2012
    Messages:
    702
    Likes Received:
    203
    Yes it would do, you will need to build or install gtk-server, zenity, xdotool,reaver,aircrack
    The easiest way is unzip the deb file and look at the files in the bin and lib directories all those need to be built for raspberry then run the minidwep-gtk.sh in the minileafdwep folder "this folder can be copied to your bin folder as these are the scripts."
     
  5. Raspi2

    Raspi2 Active Member

    Joined:
    13 Jul 2015
    Messages:
    7
    Likes Received:
    0
    Ok I'll try it.
    --- Double Post Merged, 21 Jul 2015, Original Post Date: 21 Jul 2015 ---
    well, my basic Linux knowledge simly isn't enough :)
    I did everything except that I could not find the gtk-server in ubuntu-mate/ports repos.
    Is it possible to use:
    sudo apt get install gnome-core-devel build-essential install libgtk2.0-dev libgtk2.0-doc devhelp

    Also I'm having hard time with building the exact files from the lib and bin direcories (is it sudo make install? ).

    Any help is appreciated.
     
  6. meknb

    meknb Mod
    Moderator Dev Team VIP

    Joined:
    2 Jun 2012
    Messages:
    702
    Likes Received:
    203
    You'd only need them for developing app's there is nothing to be built for minidwep unless your missing dep's

    Code:
    Select All
    sudo apt-get install libgtk2.0 devhelp
    would do
    You would have to install wmctrl also
    Code:
    Select All
    sudo apt-get install wmctrl
    it's all the other dependencies you need to find
    You can use search to find the others i.e
    Code:
    Select All
    apt-cache search harfbuzz
    I think harfbuzz and pango are more dependencies libffcall1-dev are some of the one's in the lib folder i.e. lib trampoline.a and xdotool for the others.
    You'll have to copy the minileafdwep folder to your bin folder and the minidwep-gtk script
     
    #6 meknb, 22 Jul 2015
    Last edited: 22 Jul 2015
  7. Raspi2

    Raspi2 Active Member

    Joined:
    13 Jul 2015
    Messages:
    7
    Likes Received:
    0
    ok, so far so good. I'm having some dificulties copying to my bin folder, but I'll fix it soon. By copying minileafdwep folder, you mean to copy the minileafdwep folder content into my bin folder, right? And then the minidwep-gtk script next to the minileafdwep folder content, and all into my bin folder? So at the end which one do I have to start in sudo shell - minidwep-gtk script?
    Another question is how can I make a starter on the ubuntu desktop for the minidwep-gtk?
    Also, I have noticed the debian folder inside the .deb file, in it there's a descriptor saying "architecture: i386". What if I can change it to "architecture: armhf"? Wouldn't it then be possible to install the minidwep the normal way (double clicking the .deb), thus saving all dependencies/scripts? It's just an idea, sorry, but I'm trying to go as low efforts as possible since my linux knowledge is not on par with yours.
    While I'm learning fast, I still need your support :)

    Thanks in advance!
     
  8. meknb

    meknb Mod
    Moderator Dev Team VIP

    Joined:
    2 Jun 2012
    Messages:
    702
    Likes Received:
    203
    No the folder and content,it will be in usr/local/bin also copy the minidwep-gtk file This is a alias "shortcut" you will need to be root.

    I would run it from a terminal for now you can see error's run the minidwep-gtk.sh in the minileafdwep folder.

    If only it was that easy.

    Also I couldn't find gtk-server you could try looking in raspbain repo's or you may have to build it yourself
    Warning building on Pi can takes ages
    Code:
    Select All
    sudo apt-get build-dep gtk-server
    You may need you to edit /etc/apt/sources.list to add the source repositories.
    Or you could try installing from tbz not sure if it's arm5 or arm7
    http://ftp.vim.org/ftp/os/Linux/distr/fatdog/arm/packages/alpha/
    Just untar it and copy gtk-server and stop-gtk-server to you bin
    Code:
    Select All
    tar xvjf gtk-server-2.3.1-sr-armhf-1.tbz
    List of dep's
    Code:
    Select All
    atk,bzip2,cairo,expat,fontconfig,freetype,gdk-pixbuf,glib,gtk+,harfbuzz,libffi,libpng,libX11,libXau,libxcb,libXcomposite, libXcursor,libXdamage,libXdmcp,libXext,libXfixes,libXi,libXinerama, libXrandr,libXrender,openssl,pango,pcre,pixman,zlib
     
    #8 meknb, 25 Jul 2015
    Last edited: 25 Jul 2015
  9. Raspi2

    Raspi2 Active Member

    Joined:
    13 Jul 2015
    Messages:
    7
    Likes Received:
    0
    I untared the gtk-server-armhf and copied the two files (gtk-server and stop-gtk-server) and the folder and the script (minileafdwep and minidiwep-gtk.sh) using nautilus.
    cd to
    /usr/local/bin
    and
    sudo minidwep-gtk.

    then nothing happened, no errors, only active terminal line, indicating that something is working, bu nothing.
    Now I'm dealing with the dep's. Some of them arenot in the repos, so I'll plan to use your ftp link. There are some of them or all.
    Am I on the right way?
     
  10. meknb

    meknb Mod
    Moderator Dev Team VIP

    Joined:
    2 Jun 2012
    Messages:
    702
    Likes Received:
    203
    Yes on the right path but i'd try the script itself first for error's as the shortcut nulls terminal output.
    Code:
    Select All
    cd /usr/local/bin/minileafdwep then sudo ./minidwep-gtk.sh
     
  11. Raspi2

    Raspi2 Active Member

    Joined:
    13 Jul 2015
    Messages:
    7
    Likes Received:
    0
    Just tried it. It says error in line 1830: /usr/local/bin/gtk-server no such file or directory. I've double checked - the file is there. Any ideas?
     
  12. meknb

    meknb Mod
    Moderator Dev Team VIP

    Joined:
    2 Jun 2012
    Messages:
    702
    Likes Received:
    203
    Do you get errors from
    Code:
    Select All
    gtk-server -showconf
     
    #12 meknb, 8 Aug 2015
    Last edited: 8 Aug 2015
  13. Raspi2

    Raspi2 Active Member

    Joined:
    13 Jul 2015
    Messages:
    7
    Likes Received:
    0
    bash: /usr/local/bin/gtk-server: No such file or directory

    But I can see the file is there, even tried sudo gtk-server -showconf

    It seems I messed it up :(

    pi@pi-desktop:~$ gtk-server -showconf
    bash: /usr/local/bin/gtk-server: No such file or directory
    pi@pi-desktop:~$ sudo gtk-server -showconf
    [sudo] password for pi:
    sudo: unable to execute /usr/local/bin/gtk-server: No such file or directory
    pi@pi-desktop:~$ gtk-server -showconf
    bash: /usr/local/bin/gtk-server: No such file or directory
    pi@pi-desktop:~$ cd /usr/local/bin
    pi@pi-desktop:/usr/local/bin$ ls
    gtk-server minidwep-gtk minileafdwep stop-gtk-server
    pi@pi-desktop:/usr/local/bin$
     
    #13 Raspi2, 9 Aug 2015
    Last edited: 9 Aug 2015
  14. meknb

    meknb Mod
    Moderator Dev Team VIP

    Joined:
    2 Jun 2012
    Messages:
    702
    Likes Received:
    203
    Is it the right architecture what does
    Code:
    Select All
    file gtk-server
    say about the files??
     

Share This Page

Loading...