maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Aircrack-NG 1.1 (Now in Extras!) (https://talk.maemo.org/showthread.php?t=73417)

Mentalist Traceur 2011-05-24 23:20

[Announce] Aircrack-NG 1.1 (Now in Extras!)
 
Aircrack-ng is a WiFi pentesting suite. It's command-line only currently - there's a GUI that you can install on top of it, called faircrack, which has its own thread.

The current version in Extras-Devel is 1.1-maemo12.
The current version in Extras-Testing is 1.1-maemo12.
The current version in Extras is 1.1-maemo12.

*Current, in this context, is defined as the last time this post was edited. You can always check the package page (http://maemo.org/packages/view/aircrack-ng/), or update from your N900, to see if there's something newer.

If you have the -devel or in -testing repositories enabled, I would appreciate it if you could vote for the version currently in -testing, as without sufficient votes it can't be pushed to extras. (And, in fact, if you could vote for all of the software that you use that is currently in the QA queue in -testing I'm sure many developers here would be happier: http://maemo.org/packages/repository...xtras-testing/)

------ Everything below this point isn't new information, I'm just leaving it for historical purposes --------

- Edit 10 -
"Cleaning" the post up by putting the useful information in the top, leaving all the other crap as I originally wrote it under this point.

- Edit 8 (Edit 9: 1.1-maem10 made it to -testing, so I edited the content of Edit 8 accordingly) -
Aircrack-NG 1.1-maemo10 is now in Extras-Testing. Rejoice, those who have -testing enabled, but not -devel.

Test, or if you've already tested, vote here, so that the masses with only Extras enabled may have aircrack-ng goodness too:
http://maemo.org/packages/package_in...g/1.1-maemo10/
(It's not the most intuitive system - you need to log in with your maemo.org account, which is separate from your talk.maemo.org account, AND, you press the thumbs up/thumbs down icons to vote. So press the up thumb to vote for, press the down thumb to vote against.)

Here's the list of blockers which you should diligently check for before voting (I don't believe that this version violates any of them, as it has been optified, has a bugtracker link, and is otherwise awesome, but, if you genuinely believe aircrack-ng violates any of these, say so in here, so that I may look into fixing it):
http://wiki.maemo.org/Extras-testing...klist#Blockers

- Edit 5 -
Removed "(kinda)" from topic title, because I now know the package works in general terms - so if I break something with one update I can still fix it with the next one by reverting. So now it's a legit "Announce".

Okay, so I just put an aircrack-ng 1.1 package into the autobuilder.

As of this writing it shows up here in the "Changes" but not in the "Releases": http://maemo.org/packages/view/aircrack-ng/
-Edit 2-
Looks like it has appeared for armel in the releases part too, and the .deb is downloadable from the above package interface link, SO I think that conclusively says the package should be downloadable through Extras-devel as well.

*Shrug*

Anyway, it seems to be in devel (Edit: or it's not in devel yet, and still somewhere in the auto-builder cogs... it's my first time uploading anything so I can't really tell what means what where in all the various parts of maemo.org). I don't have access to internet from my N900 at this exact moment so unfortunately I can't test it at all from device right now.

I can already see the changelog for the version I uploaded just says "debian/changelog"... which is an issue. *Facepalm* I'll get this right eventually. In the meantime, if you're seeing it as an update, that means you've got extras-devel enabled, and if you're in devel, I assume you to be perfectly ready for whatever device breaking horrors my inexperienced uploading unleashes upon your device.

- Edit 3 -

Now temporarily removed the iw dependency, because apparently iw has a conflict on its end with aircrack-ng... for some absurd reason.

I WILL eventually figure out how to get autobuilder compile this package with sqlite=true and unstable=true set as make flags, allowing you access to some of the other tools that aircrack-ng can be compiled with (airolib-ng and the **sside-ng's, and I'm not sure what else). Edit 6: sqlite=true and unstable=true added to debian/rules, so rejoice. airolib-ng and a few other utilities are now added in.

- Edit 4 -
Sent an email to the maintainer of iw requesting that he update without a conflict against aircrack-ng, or at least let me maintain the package if he is unwilling.

- Edit 6 -
For those still reading this first post: When I have time, I will be working on getting an iw into the repository that contains no conflict with aircrack-ng. I can upload new version even without being a maintainer, but it's a pain in the *** to figure out how to, exactly, because last I did it the build failed for i386 but worked for armel. In the meantime, there's a .deb of iw you can download about 20-30 posts into this thread, which doesn't conflict with aircrack-ng.

- Edit 7 -
So I have now also been added to the official maintainers list on aircrack-ng's maemo package interface page, so everyone mentally thank the original maintainer for doing that. I can now promote the packages from -devel to -testing, and I have just now done that. So it's only a matter of time before aircrack-ng makes its way to testing.

JohnLF 2011-05-24 23:46

Re: [Announce (kinda)] Aircrack-NG 1.1
 
The following packages have unmet dependencies:
aircrack-ng: Depends: iw but it is not going to be installed
E: Broken packages

Mentalist Traceur 2011-05-24 23:52

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Quote:

Originally Posted by JohnLF (Post 1014773)
The following packages have unmet dependencies:
aircrack-ng: Depends: iw but it is not going to be installed
E: Broken packages

Ughhh... I had a concern this would happen (because iw and aircrack-ng used to conflict... I guess they still do, not sure how to fix that though). What happens if you apt-get install iw first (if it doesn't work by itself, then after uninstalling aircrack-ng first, the install iw, and then trying to install aircrack-ng again)?

- Edit -

AND there's a dependency on zlib1g for some reason... *Facedesk*(Edit 3: apparently that's supposed to be there for aircrack-ng 1.1, and it's not a bug. Cool, less work for me.)

- Edit 2 -

I figured it out (by manually getting the deb on my N900 and using dpkg --simulate -i on it) - it's iw that conflicts with aircrack-ng... Okay, I'll remove the iw dependency on the aircrack-ng end and then annoy the maintainer of iw to get rid of the conflict on his end.

JohnLF 2011-05-25 00:10

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Yep, I manually installed iw and it still complained about the dependancy when installing aircrack. Sorry for delay, my wifi chose to fail so I did all the testing OTA.

[edit] Can you revert in the meantime, as now there is no installable aircrack package in the repositories?

Mentalist Traceur 2011-05-25 01:58

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Sorry for delay - was away from computer for a bit since my last post.

I just put another version into the auto-builder. This should have the iw dependency removed.

- Edit -
Build of the next version completed, now it's just a matter of waiting for it to float into the repository.

- Edit 2 -
And it has now appeared in the repository. You should now be able to install aircrack-ng as normal. (Though you do have to get rid of iw if you have it installed, as iw still conflicts with aircrack-ng - I'm writing the maintainer of it an e-mail now. If iw is extremely important to you in the meantime, I have an aircrack-ng 1.1 precompiled uploaded as a bunch of .tar files in another thread], that you can use to install aircrack-ng binaries underneath the dpkg/apt-get system, thus avoiding the conflict with iw.)

pusak gaoq 2011-05-25 06:07

Re: [Announce (kinda)] Aircrack-NG 1.1
 
i just update my aircrack from 1.0.3 to 1.1.....doesnt look much different as i tested....
may i know what did u update from this release my friends???

Creamy Goodness 2011-05-25 07:06

Re: [Announce (kinda)] Aircrack-NG 1.1
 
i like your style. don't even apologize. don't answer any questions from people with less than 9000 posts.
ummmmmmmm
conflicts with iw
not cool
i think thats why i did mine like this:
Code:

Source: aircrack-ng-1.1
Section: user/network
Priority: extra
Maintainer: Lance Colton <Lance@unknown>
Build-Depends: debhelper (>= 5)
Standards-Version: 3.7.2

Package: aircrack-ng-1.1
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, iw
Replaces: aircrack-ng
Description: Aircrack-ng is a set of tools for auditing wireless networks.
 Contains:
  airmon-ng: wifi interface mode switcher
  airodump-ng: wifi discovery and monitoring tool,
  aireplay-ng: inject packets over wifi
  aircrack-ng: test wifi security (...)
  and more...
  Official website: http://www.aircrack-ng.org

change the name, they can't "conflict" with you :P
(change your package name and replace the original)



here's the rules file too while i'm at it, in case another one ever comes out and we don't update these:

Code:

#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1




CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
else
        CFLAGS += -O2
endif

configure: configure-stamp
configure-stamp:
        dh_testdir
        # Add here commands to configure the package.

        touch configure-stamp


build: build-stamp

build-stamp: configure-stamp
        dh_testdir

        # Add here commands to compile the package.
        $(MAKE) sqlite=true unstable=true
        #docbook-to-man debian/aircrack-ng-1.1.sgml > aircrack-ng-1.1.1

        touch $@

clean:
        dh_testdir
        dh_testroot
        rm -f build-stamp configure-stamp

        # Add here commands to clean up after the build process.
        -$(MAKE) clean

        dh_clean

install: build
        dh_testdir
        dh_testroot
        dh_clean -k
        dh_installdirs

        # Add here commands to install the package into debian/aircrack-ng-1.1.
        $(MAKE) DESTDIR=$(CURDIR)/debian/aircrack-ng-1.1 sqlite=true unstable=true install


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build install
        dh_testdir
        dh_testroot
        dh_installchangelogs ChangeLog
        dh_installdocs
        dh_installexamples
#        dh_install
#        dh_installmenu
#        dh_installdebconf       
#        dh_installlogrotate
#        dh_installemacsen
#        dh_installpam
#        dh_installmime
#        dh_python
#        dh_installinit
#        dh_installcron
#        dh_installinfo
        dh_installman
        dh_link
        dh_strip
        dh_compress
        dh_fixperms
#        dh_perl
#        dh_makeshlibs
        dh_installdeb
        dh_shlibdeps
        dh_gencontrol
        maemo-optify
        dh_md5sums
        dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure


vi_ 2011-05-25 07:40

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Good work squire, you are now a developer and thus earned yourself the the right to a RM680!

StefanL 2011-05-25 08:17

Re: [Announce (kinda)] Aircrack-NG 1.1
 
1 Attachment(s)
Quote:

Originally Posted by Mentalist Traceur (Post 1014765)
Okay, so I just put an aircrack-ng 1.1 package into the autobuilder.

As of this writing it shows up here in the "Changes" but not in the "Releases": http://maemo.org/packages/view/aircrack-ng/
-Edit 2-
Looks like it has appeared for armel in the releases part too, and the .deb is downloadable from the above package interface link, SO I think that conclusively says the package should be downloadable through Extras-devel as well.

*Shrug*

Anyway, it seems to be in devel (Edit: or it's not in devel yet, and still somewhere in the auto-builder cogs... it's my first time uploading anything so I can't really tell what means what where in all the various parts of maemo.org). I don't have access to internet from my N900 at this exact moment so unfortunately I can't test it at all from device right now.

I can already see the changelog for the version I uploaded just says "debian/changelog"... which is an issue. *Facepalm* I'll get this right eventually. In the meantime, if you're seeing it as an update, that means you've got extras-devel enabled, and if you're in devel, I assume you to be perfectly ready for whatever device breaking horrors my inexperienced uploading unleashes upon your device.

- Edit 3 -

Now temporarily removed the iw dependency, because apparently iw has a conflict on its end with aircrack-ng... for some absurd reason.

I WILL eventually figure out how to get autobuilder compile this package with sqlite=true and unstable=true set as make flags, allowing you access to some of the other tools that aircrack-ng can be compiled with (airolib-ng and the **sside-ng's, and I'm not sure what else).

- Edit 4 -
Sent an email to the maintainer of iw requesting that he update without a conflict against aircrack-ng, or at least let me maintain the package if he is unwilling.

I have been using 1.1 for a while now and don't remember any iw dependency issues with it. Deb attached below.

Enjoy :p

karam 2011-05-25 08:44

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Quote:

Originally Posted by Mentalist Traceur (Post 1014765)
Okay, so I just put an aircrack-ng 1.1 package into the autobuilder.

As of this writing it shows up here in the "Changes" but not in the "Releases": http://maemo.org/packages/view/aircrack-ng/
-Edit 2-
Looks like it has appeared for armel in the releases part too, and the .deb is downloadable from the above package interface link, SO I think that conclusively says the package should be downloadable through Extras-devel as well.

*Shrug*

Anyway, it seems to be in devel (Edit: or it's not in devel yet, and still somewhere in the auto-builder cogs... it's my first time uploading anything so I can't really tell what means what where in all the various parts of maemo.org). I don't have access to internet from my N900 at this exact moment so unfortunately I can't test it at all from device right now.

I can already see the changelog for the version I uploaded just says "debian/changelog"... which is an issue. *Facepalm* I'll get this right eventually. In the meantime, if you're seeing it as an update, that means you've got extras-devel enabled, and if you're in devel, I assume you to be perfectly ready for whatever device breaking horrors my inexperienced uploading unleashes upon your device.

- Edit 3 -

Now temporarily removed the iw dependency, because apparently iw has a conflict on its end with aircrack-ng... for some absurd reason.

I WILL eventually figure out how to get autobuilder compile this package with sqlite=true and unstable=true set as make flags, allowing you access to some of the other tools that aircrack-ng can be compiled with (airolib-ng and the **sside-ng's, and I'm not sure what else).

- Edit 4 -
Sent an email to the maintainer of iw requesting that he update without a conflict against aircrack-ng, or at least let me maintain the package if he is unwilling.

Well For me i use aircrack-ng 1.1
Here is how:

sudo gainroot
apt-get install aircrack-ng
apt-get install -d iw
mkdir temp
dpkg -x /var/cache/apt/archives/iww*.deb ./temp
cp ./temp/usr/sbin/iw /usr/sbin
chmod 755 /usr/sbin/iw
rm -r temp
apt-get clean


And for wessid-ng tkiptun airolib mdk3 cowpatty genpmk if you want them i will put them in attachment and you only have to place them in /usr/sbin
and chmod them

StefanL 2011-05-25 09:23

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Quote:

Originally Posted by karam (Post 1014947)
Well For me i use aircrack-ng 1.1
And for wessid-ng tkiptun airolib mdk3 cowpatty genpmk if you want them i will put them in attachment and you only have to place them in /usr/sbin
and chmod them

Been looking for binary of cowpatty for a couple of days now, please drop here :).

cutehunk04 2011-05-25 09:33

Re: [Announce (kinda)] Aircrack-NG 1.1
 
why is my DATA is always 0...

StefanL 2011-05-25 09:36

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Quote:

Originally Posted by cutehunk04 (Post 1014976)
why is my DATA is always 0...

Need to post a little more info if you are looking for help ;)

cutehunk04 2011-05-25 09:42

Re: [Announce (kinda)] Aircrack-NG 1.1
 
am using faircrack version.1.03 ..... the becon keeps keeps on increasing but the #data remains on 0....

please tell me wat to do??


http://i56.tinypic.com/282q0ld.png

karam 2011-05-25 09:46

Re: [Announce (kinda)] Aircrack-NG 1.1
 
1 Attachment(s)
Here are cowpaty genpmk and mdk3
as a request from some members :)

sudo gainroot

tar xzvf binary.tar.gz
mv mdk3 /usr/bin
chmod +rwx /usr/bin/mdk3
mv cowpatty /usr/bin
chmod +rwx /usr/bin/cowpatty
mv genpmk /usr/bin
chmod +rwx /usr/bin/genpmk

Glad To help :)
more tools and guides at
http://talk.maemo.org/showpost.php?p...50&postcount=1

karam 2011-05-25 09:50

Re: [Announce (kinda)] Aircrack-NG 1.1
 
oH i need someone to drop me the .autorun wich is in MyDocs
i have deleted it accidentaly

StefanL 2011-05-25 09:53

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Quote:

Originally Posted by cutehunk04 (Post 1014984)
am using faircrack version.1.03 ..... the becon keeps keeps on increasing but the #data remains on 0....

please tell me wat to do??


http://i56.tinypic.com/282q0ld.png

I am guessing that there is no traffic on the connection you are listening to. Find a router that you know is connected to a more active client.

cutehunk04 2011-05-25 09:54

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Quote:

Originally Posted by StefanL (Post 1014991)
I am guessing that there is no traffic on the connection you are listening to. Find a router that you know is connected to a more active client.

but the router is connected and being used by other pc's here in office.

mr_pingu 2011-05-25 10:00

Re: [Announce (kinda)] Aircrack-NG 1.1
 
try aireplay, first do fake authentication (-1) then do ARP replay attack (-3)

also you can download wifite_r68.py and become root and let wifite do the job by typing: python wifite_r68.py when you are in the same folder of this script. Remember to put wlan0 or mon0 in monitor mode first ;)

karam 2011-05-25 10:02

Re: [Announce (kinda)] Aircrack-NG 1.1
 
You may need to have kernel-power-v47
and injection drivers
Anyway can somebody upload the .autorun
wich is in MyDocs

cp /hom/user/MyDocs/.autorun* /home/user/MyDocs

and upload autorun into here

mr_pingu 2011-05-25 10:05

Re: [Announce (kinda)] Aircrack-NG 1.1
 
1 Attachment(s)
Quote:

Originally Posted by karam (Post 1014998)
You may need to have kernel-power-v47
and injection drivers
Anyway can somebody upload the .autorun
wich is in MyDocs

cp /hom/user/MyDocs/.autorun* /home/user/MyDocs

and upload autorun into here

S'ill vous plâit ;)

karam 2011-05-25 10:08

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Thanks i realy thought this communitry is helpless but looks like i was wring :p

StefanL 2011-05-25 10:21

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Quote:

Originally Posted by cutehunk04 (Post 1014992)
but the router is connected and being used by other pc's here in office.

Are these connected over wireless or LAN?

Unfortunately my current browser does not let me see the picture you have attached, put it in a zip and attach that way please so I can see if there are any clients attached. :)

pfontana77 2011-05-25 11:03

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Just upgraded from FAM without problem.

JohnLF 2011-05-25 11:05

Re: [Announce (kinda)] Aircrack-NG 1.1
 
Quote:

Originally Posted by pfontana77 (Post 1015026)
Just upgraded from FAM without problem.

Me too, and it automatically removed the previously installed iw package as well.

mr_pingu 2011-05-25 11:25

Re: [Announce (kinda)] Aircrack-NG 1.1
 
I am still using the deb form creamy goodness. The iw in the repos has a conflict with aircrack-ng. Creamy's package has another name so iw works :)

Iw is needed for the use of airmon-ng, which can spawn the mon0 interface. This isn't neccesary because you can also put the wlan0 interface in monitor by using: "
Code:

ifconfig wlan0 down
iwconfig wlan0 mode Monitor
ifconfig wlan0 up

" I believe.

Mentalist Traceur 2011-05-25 14:23

Re: [Announce (kinda)] Aircrack-NG 1.1
 
This is why I hate sleep. You go do it for 8 hours and then you come back to ~30 posts to respond to.

Quote:

Originally Posted by pusak gaoq
i just update my aircrack from 1.0.3 to 1.1.....doesnt look much different as i tested....
may i know what did u update from this release my friends???

For now it's just newer code. It's code pulled from the aircrack-ng.org SVN just a few days ago - so all the improvements/bugfixes that the upsteams aircrack-ng project had between 1.0 and 1.1.

I AM currently adding the unstable=true and sqlite=true flags, so it would come with more of the tools in aircrack-ng than the previous versions. So the version I uploaded into the auto-builder as I typed this should have more stuff in it.

Quote:

Originally Posted by Creamy Goodness
i like your style. don't even apologize. don't answer any questions from people with less than 9000 posts.

The internet being what it is I can't tell if you're being sincere or sarcastic there.

Quote:

Originally Posted by Creamy Goodness
conflicts with iw
....
(change your package name and replace the original)

If I can't get the iw package updated with no conflict, that's what I'll eventually do. (Though it'll look messy in the repos, I think, as both will show up, right?) There's light on the fixing iw front. That packages maintainer responded and said that he thinks I don't need to even be made maintainer to upload new versions.

So I THINK I can just try to push an iw package with an updated debian/control file. That's what I'll be looking into later today.

Quote:

Originally Posted by Creamy Goodness
here's the rules file too while i'm at it, in case another one ever comes out and we don't update these

Massive thank you. I just incorporated that into the rules file on my end. I actually tried to do exactly that earlier (on pure guesswork) but I couldn't figure out how to make a .deb on my end, and I didn't want to push a possibly break-everything-again version into the repos just yet.

I commented out maemo-optify in this version of maemo/rules because I already added a debian/optify file. Not sure which one is better, but if it comes out not optified this way, or otherwise broken, I'll revert.

Quote:

Originally Posted by vi_
Good work squire, you are now a developer and thus earned yourself the the right to a RM680!

Had to look up that one as I didn't know the technical designation. Joke makes sense now. At any rate, thank you.

Quote:

Originally Posted by StefanL
I have been using 1.1 for a while now and don't remember any iw dependency issues with it. Deb attached below.

If I wanted to put these up for download from a link, I've had precompiled 1.1 aircrack-ng binaries sitting on my N900 for months. There's even a thread where I posted them (the .deb is more convenient, unlike my .tar files, so thanks to creamy for that, but yeah). Not that I don't appreciate you being helpful, just saying - the whole point of me doing this is making it convenient for end-users to have a app-manager-accessible updated aircrack-ng.

@karam: same as my reply for StafanL: Good advice, and is certainly one way to do it, but if that was all I wanted I wouldn't bother trying to upload to the repos.

mr_pingu's solution for putting wlan0 into monitor mode until iw conflict issue is resolved is correct, btw.

And while I was typing this aircrack-ng 1.1-maemo3 has cleared autobuilder. Now we just wait for it to get from autobuilder to repository. This might break something (optification or symlinking from rootfs to opt) because of the above-mentioned change in how I told the autobuilder to optify, BUT, if it doesn't, great. The package is now also compiled with unstable=true and sqlite=true flags... assuming I didn't royally screw anything up anywhere...

- Edit -

I also figured out last night that zlib1g being a dependency is not a bug - that's a normal dependency of aircrack-ng 1.1, near as I can tell.

- Edit 2 -

1.1-maemo3 has just made it into extras-devel. Checking it out to see if anything is broken now.

karam 2011-05-25 15:26

Re: [Announce] Aircrack-NG 1.1
 
Now i got a strange problem

After updating to the latest aircrack maemo3
sudo gainroot
air* not found

like airmon-ng
then not found

but when
root
or sudo su (after putting a rule file in sudoers.d

i'm able to use aircrack
is that because they are
in /usr/local/sbin

they used to be in /usr/sbin??

karam 2011-05-25 15:33

Re: [Announce] Aircrack-NG 1.1
 
Never mind fixed it with

sudo gainroot

ln -s /usr/local/sbin/* /usr/sbin

:)

Mentalist Traceur 2011-05-25 15:35

Re: [Announce] Aircrack-NG 1.1
 
Quote:

Originally Posted by karam (Post 1015197)
Never mind fixed it with

sudo gainroot

ln -s /usr/local/sbin/* /usr/sbin

:)

Okay, I see what it did. That was the thing I was saying about the possible mess-up of optification and/or symlinking. I'll revert that change.

karam 2011-05-25 15:39

Re: [Announce] Aircrack-NG 1.1
 
Quote:

Originally Posted by Mentalist Traceur (Post 1015198)
Okay, I see what it did. That was the thing I was saying about the possible mess-up of optification and/or symlinking. I'll revert that change.


Oh But actualy i checked inside /usr/local/sbin/
and found only the packages installed by aircrack
otherwise i would hav ln -s one by one

Mentalist Traceur 2011-05-25 15:58

Re: [Announce] Aircrack-NG 1.1
 
Quote:

Originally Posted by karam (Post 1015201)
Oh But actualy i checked inside /usr/local/sbin/
and found only the packages installed by aircrack
otherwise i would hav ln -s one by one

*Nod*

As a side-note: I'm not so sure aircrack-ng was ever properly optified. I need to look into that more. Because right now it seems like only the documentation gets optified - where-as my .tar files in the day had all the binaries optified too... I also don't really see the point of aircrack-ng putting binaries in /usr/local/[s]bin, as that's not even part of the default path in the N900. When I start understanding debian packaging better, I'll see if I can get the binaries to be installed to /opt/[somewhere]/[that]/[makes]/[sense] and just make symlinks in /usr/bin/ and /usr/sbin/ or wherever.

- Edit -

1.1-maemo4 cleared builder; now we wait more.

karam 2011-05-25 16:10

Re: [Announce] Aircrack-NG 1.1
 
Hehe i acutaly already optified it in /opt/aircrack-ng as it takes around 1.5 mb from rootfs
And Building a deb that have them optified is better also putting them in /usr/sbin is better and better

:)

Creamy Goodness 2011-05-25 16:40

Re: [Announce] Aircrack-NG 1.1
 
Yeah, this is confusing.
sbin is in the path if you 'sudo gainroot' or just 'root' but the $PATH is different and only 'root' gives you /usr/local/sbin
I think we can change that from the makefile, but if it's wasting space we could put the optified equivalent instead.
I looked at what is in my sbin and it's just links to the files somewhere else, and "ls -l" from there shows they are optified properly. Of course that is with my older deb, it might be different.

Mentalist Traceur 2011-05-25 16:46

Re: [Announce] Aircrack-NG 1.1
 
If anyone knows how to fix me getting this error when trying to run dpkg-buildpackage -rfakeroot -sa -S on iw, I might be able to get an iw version that doesn't conflict with aircrack-ng pushed into devel within a short time after said fix:
Code:

dpkg-buildpackage: source package is iw
dpkg-buildpackage: source version is 0.9.19-1maemo4
dpkg-buildpackage: source changed by Alexander Kozhevnikov <mentalisttraceur@gmail.com>
dpkg-buildpackage: source version without epoch 0.9.19-1maemo4
 fakeroot debian/rules clean
dh clean
Undefined subroutine &main::inhibit_log called at /usr/bin/dh line 224.
make: *** [clean] Error 9

Scratchbox (as installed by the provided auto-installer of the Maemo 5 sdk for Debian), came with debhelper version 5.something. iw as packaged wanted version 7.something, and was giving another error at first. So I upgraded debhelper, getting rid of that error, but now I have the above error, and am stumped on how to proceed.

I can change debian/compat to 5 and debian/rules to a rules file essentially copy-pasted from aircrack-ng, but modified slightly (can you tell how much of a packaging newb I am yet); and then dpkg-buildpackage works fine - BUT I do not wish to try to upload that to the repository because if it builds right but breaks something, I'd end up breaking everyone's iw installs, and unable to fix it - as I can't make a source package with dpkg-buildpackage using the original rules file. And while I would test it by packaging a .deb on my end without all the uploading, I'm having completely unrelated issues with figuring out how to make a .deb file in scratchbox, both for iw and aircrack-ng.

Creamy Goodness 2011-05-25 16:51

Re: [Announce] Aircrack-NG 1.1
 
I thought it's supposed to be "dh_clean"?
(yeah I dunno what it's doing either)
Try to check the ":clean" section of the debian/rules file, maybe change the command(s) there. I guess you could make it match the aircrack one if it doesn't already.

Mentalist Traceur 2011-05-25 16:59

Re: [Announce] Aircrack-NG 1.1
 
Quote:

Originally Posted by Creamy Goodness (Post 1015245)
I thought it's supposed to be "dh_clean"?
(yeah I dunno what it's doing either)
try to check the clean section of the debian/rules file, maybe change the command there.

The problem is THIS is the debian/rules file included in iw currently:
Code:

#!/usr/bin/make -f
export CFLAGS = -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
export V=1

%:
        dh $@

There's not much to change. I HAVE tried adding both
Code:

clean:
        dh_clean

and
Code:

clean:
        dh clean

But neither fixed the error. As far as I remember I checked both and if they fixed that error they caused another.

Also, yes, with debhelper 5.something is was dh_clean. debhelper 7.something had a dh command that can take a bunch of different parameters.

Creamy Goodness 2011-05-25 17:05

Re: [Announce] Aircrack-NG 1.1
 
What the $%#$...
Yeah, I don't think I can help. But it's good you posted that, now someone else might be able to explain what to do (or why to give up).
If you didn't look already, there is a bit of info on how to use debhelper 7 here:
http://wiki.maemo.org/Packaging
They listed some required changes to the control and rules file you could try, but I'm not very optimistic. I always end up in dependency hell when trying to do anything.

Mentalist Traceur 2011-05-25 18:05

Re: [Announce] Aircrack-NG 1.1
 
Okay... so in one of the most convoluted ways ever, I seem to have gotten something like what was supposed to be done with iw to happen.

I downgraded debhelper to 5.something, installed debhelper7, added /usr/bin/dh7 to $PATH, and with the debian/compat still being set at 5, everything magically worked. WTF? Now we just have to know if it worked right, and if so, did it work any differently than what I was doing before with the other debian/rules file copied and modified from aircrack-ng... In retrospect I also just realized I took my own thread massively off-topic. *Shrug*

Creamy Goodness, if I send you a set of .source.changes, .dsc, and .tar.gz files, can you make those into .debs and see if they install right on your end (I would, but as I said, I have horrible difficulty with making ,deb files in scratchbox on my end).

- Edit - Actually I just figured out how to get a .deb file along with source package... I'll text the iw .deb I just made on my N900 in a few minutes and go from there...

- Edit 2 -
AHA! It works. At least on my end. Alright, pushing to iw without aircrack-ng to -devel. Assuming the iw maintainer was right and I can do so without being the maintainer.

Creamy Goodness 2011-05-25 18:41

Re: [Announce] Aircrack-NG 1.1
 
Cool. Try enough random stuff, usually you get lucky! Let us know if that is true -- being able to push out the package properly without being the maintainer. I have to update Conky in the repo but I'm not the maintainer, it's a pain...


All times are GMT. The time now is 03:59.

vBulletin® Version 3.8.8