View previous topic :: View next topic |
Author |
Message |
PM17E5 Apprentice
Joined: 10 Feb 2009 Posts: 241
|
Posted: Mon Mar 26, 2012 4:47 pm Post subject: Installing InSSIDer |
|
|
I'm trying to figure out how to install InSSIDer and it appears that they only released files for binary distributions that use .rpm and .deb. I'm used to most software that doesn't have any Gentoo support to at least have a .tar.gz archive I can compile or run. Does anyone have any tips on how I should go about using this software? It seems like a very nice wifi scanner.
https://github.com/metageek-llc/inSSIDer-2-Cross-Platform/downloads |
|
Back to top |
|
|
PraetorZero Apprentice
Joined: 11 Dec 2004 Posts: 239 Location: /home
|
Posted: Wed Mar 28, 2012 6:59 pm Post subject: Re: Installing InSSIDer |
|
|
PM17E5 wrote: | I'm trying to figure out how to install InSSIDer and it appears that they only released files for binary distributions that use .rpm and .deb. I'm used to most software that doesn't have any Gentoo support to at least have a .tar.gz archive I can compile or run. Does anyone have any tips on how I should go about using this software? It seems like a very nice wifi scanner.
https://github.com/metageek-llc/inSSIDer-2-Cross-Platform/downloads |
emerge app-arch/deb2targz
# deb2targz inssider_0.1.1.0429_amd64.deb
deb2targz: converting 'inssider_0.1.1.0429_amd64.deb' ...
deb2targz: skipping section 'debian-binary'
deb2targz: skipping section 'control.tar.gz'
deb2targz: wrote 'inssider_0.1.1.0429_amd64.tar.gz'
Voila. Or write up a quick ebuild to install it for you. _________________ What's the worst that can happen? |
|
Back to top |
|
|
PM17E5 Apprentice
Joined: 10 Feb 2009 Posts: 241
|
Posted: Wed Mar 28, 2012 7:59 pm Post subject: |
|
|
Thank you for that tip! I didn't know there was a tool for converting it from .deb to .tar.gz. That program worked quite well, however now when I extracted it to a folder I get the following listing:
Code: | usr/share/inssider/:
drwxr-xr-x 2 root root 4.0K May 2 2011 Components
drwxr-xr-x 3 root root 4.0K May 2 2011 Extensions
-rw-r--r-- 1 root root 6.0K May 2 2011 MetaGeek.Diagnostics.dll
-rw-r--r-- 1 root root 2.2M May 2 2011 MetaGeek.inSSIDer.Common.dll
-rw-r--r-- 1 root root 59K May 2 2011 MetaGeek.inSSIDer.ExceptionHandler.dll
-rw-r--r-- 1 root root 213K May 2 2011 System.ComponentModel.Composition.dll
-rw-r--r-- 1 root root 4.3K May 2 2011 app-inssider.png
-rwxr-xr-x 1 root root 15K May 2 2011 inSSIDer.exe
-rw-r--r-- 1 root root 1.2K May 2 2011 inSSIDer.exe.config
-rw-r--r-- 1 root root 12K May 2 2011 inSSIDer.vshost.exe
-rw-r--r-- 1 root root 1.2K May 2 2011 inSSIDer.vshost.exe.config
-rw-r--r-- 1 root root 490 May 2 2011 inSSIDer.vshost.exe.manifest
-rwxr-xr-x 1 root root 54 May 2 2011 inssider.sh
-rw-r--r-- 1 root root 264K May 2 2011 log4net.dll
-rw-r--r-- 1 root root 2.2M May 2 2011 oui.txt
usr/share/inssider/Components/:
-rw-r--r-- 1 root root 19K May 2 2011 MetaGeek.inSSIDer.LinuxManager.dll
-rw-r--r-- 1 root root 28K May 2 2011 MetaGeek.inSSIDer.NetworkManager.dll
-rw-r--r-- 1 root root 169K May 2 2011 MetaGeek.inSSIDer.View.dll
-rw-r--r-- 1 root root 122 May 2 2011 MetaGeek.inSSIDer.View.dll.config
-rw-r--r-- 1 root root 8.0K May 2 2011 NDesk.DBus.GLib.dll
-rw-r--r-- 1 root root 95 May 2 2011 NDesk.DBus.GLib.dll.config
-rw-r--r-- 1 root root 75K May 2 2011 NDesk.DBus.dll
usr/share/inssider/Extensions/:
-rw-r--r-- 1 root root 14K May 2 2011 FilterFramework.dll
drwxr-xr-x 2 root root 4.0K May 2 2011 HTML
-rw-r--r-- 1 root root 35K May 2 2011 MetaGeek.inSSIDer.Extensions.Graphs.dll
-rw-r--r-- 1 root root 34K May 2 2011 MetaGeek.inSSIDer.Extensions.NetworkFilters.dll
-rw-r--r-- 1 root root 16K May 2 2011 MetaGeek.inSSIDer.Extensions.NewsFeed.dll
-rw-r--r-- 1 root root 122 May 2 2011 MetaGeek.inSSIDer.Extensions.NewsFeed.dll.config |
I give up, I'm not sure why they would provide linux people with exe files? Unless the whole intention was to run the program in wine? Which seems pretty stupid to me. |
|
Back to top |
|
|
PraetorZero Apprentice
Joined: 11 Dec 2004 Posts: 239 Location: /home
|
Posted: Wed Mar 28, 2012 8:16 pm Post subject: |
|
|
I was bored. Save it under /usr/local/portage/net-analyzer/inssider/inssider-0.1.1.0429.ebuild, manifest it and emerge. (or wherever you keep your local overlay)
I can't get it to run right now, mono throws up a metric crap-ton of errors. I have to pick up my kid from school so I'll circle around to this later.
I read the wiki and found it needed webkit-sharp installed. Added to the ebuild and confirmed it runs. I don't have a wireless card installed to test though. The ebuild below has been updated.
Code: |
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
inherit eutils
DESCRIPTION="Wifi scanner"
HOMEPAGE="http://www.metageek.net/products/inssider/"
SRC_URI="x86? ( https://github.com/downloads/metageek-llc/inSSIDer-2-Cross-Platform/${PN}_${PV}_i386.deb )
amd64? ( https://github.com/downloads/metageek-llc/inSSIDer-2-Cross-Platform/${PN}_${PV}_amd64.deb )"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~x86 ~amd64"
S=${WORKDIR}
DEPEND="app-arch/deb2targz"
RDEPEND="dev-lang/mono
dev-dotnet/webkit-sharp"
src_unpack() {
unpack ${A}
unpack ./data.tar.gz
}
src_install() {
insinto /usr/share
doins -r usr/share/inssider
dodoc usr/share/doc/inssider/{changelog.Debian.gz,copyright}
domenu usr/share/applications/inSSIDer.desktop
dobin usr/share/inssider/inssider.sh
}
|
_________________ What's the worst that can happen?
Last edited by PraetorZero on Thu Mar 29, 2012 2:07 pm; edited 4 times in total |
|
Back to top |
|
|
PraetorZero Apprentice
Joined: 11 Dec 2004 Posts: 239 Location: /home
|
Posted: Wed Mar 28, 2012 8:38 pm Post subject: |
|
|
PM17E5 wrote: | Thank you for that tip! I didn't know there was a tool for converting it from .deb to .tar.gz. That program worked quite well, however now when I extracted it to a folder I get the following listing:
<snip>
I give up, I'm not sure why they would provide linux people with exe files? Unless the whole intention was to run the program in wine? Which seems pretty stupid to me. |
No, it requires that the user has Mono installed. The Mono framework allows apps built with Mono or .NET to run natively under Windows and Linux. Except as I mentioned previously, that's not working for me. I'll have a go at reading the docs to see what I missed. _________________ What's the worst that can happen? |
|
Back to top |
|
|
PraetorZero Apprentice
Joined: 11 Dec 2004 Posts: 239 Location: /home
|
Posted: Thu Mar 29, 2012 11:19 am Post subject: |
|
|
I read the wiki and found it needed webkit-sharp installed. Added to the ebuild and confirmed it runs. I don't have a wireless card installed to test though. Amazing what happens when you properly read the docs.
The ebuild above has been updated. Give it a whirl. _________________ What's the worst that can happen? |
|
Back to top |
|
|
PM17E5 Apprentice
Joined: 10 Feb 2009 Posts: 241
|
Posted: Thu Mar 29, 2012 6:35 pm Post subject: |
|
|
Thanks a lot . I never expected someone to write an ebuild for it, and learned a bit during the process . I'm emerging it right now, there's quite a few dependencies but I'm excited to see if it works with my wifi adapters. I might even throw it on my website in case someone googles it and runs into it, if you don't mind. |
|
Back to top |
|
|
PraetorZero Apprentice
Joined: 11 Dec 2004 Posts: 239 Location: /home
|
Posted: Thu Mar 29, 2012 9:29 pm Post subject: |
|
|
Go for it. If this works for you, I'll file a bug to have it included in the tree. Then you can link to that on your site. _________________ What's the worst that can happen? |
|
Back to top |
|
|
PraetorZero Apprentice
Joined: 11 Dec 2004 Posts: 239 Location: /home
|
Posted: Fri Mar 30, 2012 5:36 am Post subject: |
|
|
Filed bug #410207 on this. _________________ What's the worst that can happen? |
|
Back to top |
|
|
PM17E5 Apprentice
Joined: 10 Feb 2009 Posts: 241
|
Posted: Fri Mar 30, 2012 10:24 am Post subject: |
|
|
Thanks . Although it appears that they've messed something up with the GTK interface and it doesn't allow the drop down box for the list of wireless adapters to be drawn? This is an example of the error I get:
Code: | mono /usr/share/inssider/inSSIDer.exe
(inSSIDer:4511): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem
(inSSIDer:4511): Gtk-CRITICAL **: IA__gtk_container_remove: assertion `GTK_IS_WIDGET (widget)' failed
(inSSIDer:4511): Gtk-WARNING **: Can't set a parent on a toplevel widget |
And it seems like this is a very common issue that's not really being resolved on their forums . So I'm not sure how useful this is for most people, or if they'll address it any time soon.
http://www.metageek.net/forums/forumdisplay.php?4616-Support&order=desc |
|
Back to top |
|
|
|