Active Topics

 



Notices


Reply
Thread Tools
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#131
correct package is now in extras-devel: http://maemo.org/packages/view/reaver/
 

The Following 4 Users Say Thank You to pali For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#132
Originally Posted by pali View Post
correct package is now in extras-devel: http://maemo.org/packages/view/reaver/
Is the debian 1.4 version the same release like from svn?
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#133
I do not know, but in debian is same 1.4 version as official 1.4 from download page: https://code.google.com/p/reaver-wps/downloads/list
(sha1sum is same)
 
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#134
Really sorry to all of you guys
@pali you are right at the three double posts, i was wrong, and i need to learn more about autobuilder
as im using Py2deb for creating .changes .dsc and .tar.gz files,

@Nobless
you got to excuse me for that as i am almost dont sleep

sorry again

./sifo
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#135
@pali,

For the reaver.db to be created and to store the partial tries it is necessary to create a folder called reaver in /etc.
Could you add in the postinstall script something like the following?
Code:
   if [ ! -d /home/user/.reaver ]; then
      mkdir -p /home/user/.reaver
   fi
   if [ ! -d /etc/reaver ]; then
      ln -s /home/user/.reaver /etc/reaver
   fi
Otherwise from my tests to integrate your package in cleven all work as expected. I think I will release it soon if I don't find anything.

Well done, thanks.
 

The Following 2 Users Say Thank You to Saturn For This Useful Post:
Posts: 18 | Thanked: 14 times | Joined on Aug 2012
#136
I was trying reaver yesterday for the first time and I got 3 seconds/pin but I got stuck at 6%. If I try it now I always get the error 0x4 and 0x2.

"WPS transaction failed (code: 0x4), re-trying last pin"

Signal strength -75
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#137
Originally Posted by Saturn View Post
@pali,

For the reaver.db to be created and to store the partial tries it is necessary to create a folder called reaver in /etc.
Could you add in the postinstall script something like the following?
Code:
   if [ ! -d /home/user/.reaver ]; then
      mkdir -p /home/user/.reaver
   fi
   if [ ! -d /etc/reaver ]; then
      ln -s /home/user/.reaver /etc/reaver
   fi
Otherwise from my tests to integrate your package in cleven all work as expected. I think I will release it soon if I don't find anything.

Well done, thanks.
I think that path /home/user/.reaver is cleven specified, so I think it is better to call that script in cleven postinst file.
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#138
Originally Posted by pali View Post
I think that path /home/user/.reaver is cleven specified, so I think it is better to call that script in cleven postinst file.
Hi Pali,

I'm sorry if I wasn't clear before. There is nothing related to cleven in my comment.

The /etc/reaver folder is used by reaver to have the db file and the session temporary stored. It creates inside this directory a file named by the mac address of the access point were it stores the pins it has tried. In the next try testing the same access point reaver can be instructed to continue from were it left before.

If the /etc/reaver does not exist it does not try to create it, but also doesn't save any logs or the successful output of the test.

I have seen that most makeinstall scripts for several distributions create it. For Maemo I thought it is better not to really store the folder under /etc/ (to avoid possible space issues) and therefore my proposal to put it in the user's folders and just link it.
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#139
I used package from Debian and it has no /etc/reaver too... And storing this data to /etc/ on Maemo is not good idea. (User data should go to $HOME and also /etc/ is on rootfs where is no space...)

I think that this code should go to cleven postinst script:

Code:
if ! test -d /home/user/.reaver; then
    mkdir -p /home/user/.reaver
fi
if ! test -H /etc/reaver; then
    if test -d /etc/reaver; then
        mv /etc/reaver/* /home/user/.reaver/
        rm -rf /etc/reaver
    fi
    ln -s /home/user/.reaver /etc/reaver
fi
EDIT: fixed ln

Last edited by pali; 2012-08-13 at 14:15.
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#140
Spotted a type The last line should be ln
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

The Following 2 Users Say Thank You to mr_pingu For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 12:40.