Tiny Core Linux

Tiny Core Base => CorePlus => Topic started by: Sashank999 on May 31, 2020, 01:25:59 AM

Title: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on May 31, 2020, 01:25:59 AM
Hi !
I actually compiled aircrack-ng, hashcat, hcxdumptool, hcxpcaptools on my TCL and also did sudo make install. They are working fine for that linux session. But after a reboot, they vanish. How to make them persistent even after reboots ?
I have TCL installed in /dev/sda5. Booting with BIOS and loaded by GRUB2.
Also, adding them to bootlocal.sh is useless because it takes a lot of time compiling them. I also don't know how to add those make commands to bootlocal.sh.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on May 31, 2020, 01:35:30 AM
You need to make squashfs extensions out of the installed apps:
Code: [Select]
...
$ touch mymarker
$ sudo make install
$ sudo find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | grep -v "^\/sys\/" | tee files
$ vi files [edit unneeded files]
$ sudo tar -T files --numeric-owner -zcvf extension.tce
$ mkdir /tmp/pkg
$ cp extension.tce /tmp/pkg
$ cd /tmp/pkg
$ sudo tar xf extension.tce
$ rm extension.tce
$ cd ..
$ sudo mksquashfs pkg/ extension.tcz
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on May 31, 2020, 01:52:27 AM
Thanks for the quick reply.
But how to make them start at boot ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on May 31, 2020, 02:00:39 AM
Add them to onboot.lst - either from the cli or using the apps gui.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on May 31, 2020, 02:03:22 AM
But how ?
Even from the command line, "tce-load -i hcxdumptool.tcz" returns hcxdumptool.tcz not found but it is there in that folder.
How to add it to a folder and make it load with onboot.lst ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: jazzbiker on May 31, 2020, 02:22:48 AM
HI, Sashank999!

Haven't You read the "Into The Core" book? It's the sacred book of TinyCoreLinux.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on May 31, 2020, 02:45:36 AM
Hi jazzbiker !
I have read Core Concepts but did not read Into the Core. Thanks for saying.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on May 31, 2020, 02:46:37 AM
Copy your extensions to your tce/optional folder.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on May 31, 2020, 03:09:28 AM
Will do  :D .
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on May 31, 2020, 11:53:12 PM
Thank You Juantio . It now works !  :D .
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 01, 2020, 12:26:59 AM
I also require a small suggestion about another thing.
I actually opened the backup mydata.tgz and it contained mydata.tar. I opened .tar and browsed it for some time. Now, when I open TCL, my folders which usually rest in /home/tc are vanished. However, I have the .tar file. I extracted it and placed home and opt folders inside .tar beside tce directory in /mnt/sda5. From now, I want to make the TCL to consider the home and opt in sda5 as its own.
I used home=sda5/home and opt=sda5/opt but it says nvalid device. What to do ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 01, 2020, 12:59:42 AM
See: http://tinycorelinux.net/faq.html#bootcodes

home=sda5 opt=sda5

Note that you will need to remove home and opt from filetool.lst
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: aus9 on June 01, 2020, 04:26:00 AM
@Sashank999

Since we have posted together recently I hope you do not mind my aussie bluntness.
1) I see no point or little speed gain for you to have opt as a separate persistent folder.
The fact the bootcode exists is not an invitation to use all bootcodes.

run
Code: [Select]
$ du /opt (or) $ ls -hal /optand you will likely find its about 30K unpacked which would not take long to compress into your mydata file nor take long to unpack from it on reboot it.

2) Once you elect home dir as persistent, I agree by the way, you will no longer get any smart deletions as nothing is backed up.

This means you "must" just as in the Microsoft world, make separate backups such email important files, copy files to usb stick etc etc

b) and cache for certain things and some logs will grow. Especially web browser cache.
I brute delete these when I remember as I am too lazy to create some script or cron job to do it for me.

my aussie 2 cents worth and completely offtopic, when I see your member name I think of a certain Stephen King novel
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 01, 2020, 06:21:49 AM
@Juanito
Doesn't it support folders for those boot codes ? What you said makes TCL use whole partition for home and I don't want that. I just want one separate folder for home and another one for opt.
@aus9
1) I am not asking for speed.

But, I don't know how to repack the mydata.tar into mydata.tgz so that the home/tc/ just shows me my aircrack-ng, hashcat, hcxdumptool, hcxpcaptools, reaver, wifite2, bison and other things. Any help ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 01, 2020, 07:21:12 AM
Why do you need to add your apps to your backup when you made extensions of them - they should be on permanent storage in your tce/optional folder?

home and opt won’t take up all of your partition, they will be sda5/home and sda5/opt - note that sda5 will need to be a linux file system.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 01, 2020, 08:49:30 PM
I still didnot make extensions for all of them.
I just want to remake the mydata.tgz from extracted home and opt directories.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: aus9 on June 01, 2020, 09:03:58 PM
I have just seen your last reply but first some suggestions on your earlier questions.

In addition to what Juanito just said....you have a few options

1) you could re-compile and make a TCE or few as per the wiki
https://www.linuxsecrets.com/tinycorelinux-wiki/wiki:creating_extensions.html
but not forced to submit them, as you see fit.
Obviously TC can not accept closed source binaries, if any are as I have not researched your exes.

2) grab all your compiled executables, lib files and the like and bundle them into a private TCE

3) grab all your compiled executables and try running them without making a TCE by copying them into ~/.local/bin

Since the wiki entry makes certain assumptions let me pretend to make a private TCE as an example you might like to follow?
This is not perfect. Not meant to be. Instead of # for comments I used ()

Code: [Select]
$ tce-load -w squashfs-tools
$ tce-load -l squashfs-tools
(if you know you have never downloaded it, try tce-load -wil squashfs-tools)
$ cd /tmp
(choose a tce-name I choose test)
$ mkdir -p test/usr/local/bin
$ cp /home/tc/.local/bin/searchtce test/usr/local/bin
(if not already executable make it so) $ chmod -R 755 test/usr/local/bin
$ mksquashfs test test.tcz
$ mv test.tcz /mnt/sda5/tce/optional
$ tce-load -i test
$ /usr/local/bin/searchtce

If it passes test - does not need any lib files added, needs no running dependencies etc.
Consider adding it to your boot list, for most people thats onboot.lst
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: aus9 on June 01, 2020, 09:16:47 PM
Quote
I just want to remake the mydata.tgz from extracted home and opt directories.

Lets pretend your current system is working but some files are missing but are in your mydata.tgz backup? As I am not sure what you mean otherwise. So I am assuming you have 2 mydata.tgz
one....at correct dir and another somewhere else that contains the missing files

Literally try this...
open control panel -> click the Backup/Restore button
click on included for backup

Check what is missing.
If you have a persistent home....that is your responsibility to ensure files exist over reboot.
I am sure you understand that by now. If you have a true fully persistent home, I am not sure how you can missing files from it.

but lets pretend you need a file with pathway
/usr/local/lib/libabc.so
and its not showing in above list

so you must use root powers to extract it from your "backup" that contains it
and add that file to /usr/local/lib

Next add that file in the backup GUI
Next pulldown "Dry Run" and choose Backup.
click go
-> that new file must appear in the list.

Please note you can only have one backup file at the root of your tce dir
called mydata.tgz

there are other options.

Personally I like using a terminal file manager that can unpack that file
its called mc.

here is a screenshot if interested.
https://imgur.com/AXWyP0K
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: aus9 on June 01, 2020, 09:31:28 PM
EEK, there is another possibility.

I believe you were advised that....if you wanted a fully persistent home dir....you needed to remove that home dir from your backup file.

Maybe you did not understand that request?
In which case....your boot up....will replace whatever is currently in /home with whatever is in the backup for /home.

I still believe, your real files will exist at /mnt/sda5/home.

Is this what you mean?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 02, 2020, 12:49:38 AM
@aus9
Thanks a lot for your help.
Just like you said, I ran a dry run. Nothing happened.
Then, in Control Panel, in Backup/Restore, I saw a restore option.
Then, I got an idea. I repacked the home directories into mydata.tar (which I have previously extracted and by which I got this error) and then ran gzip on that mydata.tar ==> mydata.tar.gz. I renamed it into mydata.tgz. And then replaced it with the mydata.tgz(which has no files). Then I ran restore from the Control Panel. EUREKA !!! I got my files.
Now, I am gonna reboot and see if it restores from the backup.
Now, I need no persistent home directories (YAY!!!  ;D ) .
Thanks for all your support. I just installed mc file manager. It is simply super and it is really useful for those who really care about internet data usage (like me, tbh).
I am now trying the extension making process aus9 said. If it is successful, I will make extensions for hashcat and mail it to you.
UPDATE : Yes. It restored successfully.
@aus9 You said that the method is not perfect. Could you please post a perfect one ?
EDIT : Starting from UPDATE.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: aus9 on June 02, 2020, 02:41:08 AM
Quote
I ran a dry run
I have never asked you to do this.
Please read it again.

No I will not supply a perfect example because umm, I am not the guru here.
There are many ways of doing things. You have already figured out many things without anyone's help. That is perfect  ;D
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 02, 2020, 03:21:21 AM
Sorry. You told me to pull down the menu in which there is Dry Run. But I ran dry run. It is my bad.
Then who else knows how to create a tc extension ?
Even wiki.tinycorelinux.net is not working.
I will try googling it.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 02, 2020, 09:55:44 PM
Actually, I didn't get any good answers by googling. Please give me a method.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Rich on June 02, 2020, 10:00:18 PM
Hi Sashank999
... Then who else knows how to create a tc extension ?
Even wiki.tinycorelinux.net is not working. ...
Here's an alternate site for the Tinycore Wiki:
https://www.linuxsecrets.com/tinycorelinux-wiki/wiki:start.html
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 02, 2020, 10:01:58 PM
You need to make squashfs extensions out of the installed apps:
Code: [Select]
...
$ touch mymarker
$ sudo make install
$ sudo find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | grep -v "^\/sys\/" | tee files
$ vi files [edit unneeded files]
$ sudo tar -T files --numeric-owner -zcvf extension.tce
$ mkdir /tmp/pkg
$ cp extension.tce /tmp/pkg
$ cd /tmp/pkg
$ sudo tar xf extension.tce
$ rm extension.tce
$ cd ..
$ sudo mksquashfs pkg/ extension.tcz
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 02, 2020, 11:36:43 PM
Thanks @Rich for the web site. Now, with a wiki, I can use TCL a bit more.
@Juanito
Not for personal extensions. I wanna make extensions for all x86 TCL users.
I like to compile more tools and upload them to the repo of TCL so that other TCL users may not face the trouble of compiling.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Rich on June 03, 2020, 08:16:44 AM
Hi Sashank999
... @Juanito
Not for personal extensions. I wanna make extensions for all x86 TCL users. ...
The instructions that Juanito provided should work for all packages using make, both personal and otherwise.

Besides the Wiki, maybe this writeup will be of some use:
http://forum.tinycorelinux.net/index.php/topic,23844.msg149748.html#msg149748

There is also a build script attached that you can use to see all (I hope) of the steps involved.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 03, 2020, 09:54:58 PM
Thank You @Rich . The script looks amazing. It automates all things without human interactions. I will try to create one.
At present, I made .tcz files with mksquashfs for hcxdumptool,hcxtools, aircrack-ng. But I don't know the license things. Once I know about it, I will separate all libs, manpages, executables, create .info, .md5, .dep and mail it.
Any tips about what to do with the licenses for hcxtools, hcxdumptool, aircrack-ng ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 03, 2020, 10:45:29 PM
aircrack-ng has GPL v2 and both hcxdumptool and hcxtools have MIT license.
And also, should I follow the flags mentioned in your script for my x86 TCL ?
In your script, x86 flags are in case i686 and I am assuming they are the flags for all x86 TCL PCs.
                CFLAGS=" -flto -march=i486 -mtune=i686 $OPTIMIZE -pipe -fno-plt"
#      CXXFLAGS="g++ -flto -march=i486 -mtune=i686 $OPTIMIZE -pipe -fno-plt -fno-exceptions -fno-rtti"
      LDFLAGS="-Wl,-T/usr/local/lib/ldscripts/elf_i386.xbn"
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: aus9 on June 04, 2020, 12:09:13 AM
Until you get a better reply
Quote
Any tips about what to do with the licenses for hcxtools, hcxdumptool, aircrack-ng ?
I did post a wiki link at reply 16 on how to create a TCE, you must  have missed it.  ;D

You may like to read "Required Files"

those licences, GPL or MIT may not specifically require accompanying with the exe.
but you mention a man page.

If any look like they do need accompany major portions of your software then the gurus use
/usr/local/share/doc/TCE-name/<some-licence> as the preferred dir for it to unpack to.
You can see example of both man page and some docs here
http://tinycorelinux.net/11.x/x86_64/tcz/gutenprint-doc.tcz.list

on 64 bit the man viewer is supplied by man-db.tcz but it looks like it might be supplied by
man.tcz on 32 bit.
try loading it and your TCE-doc and running
Code: [Select]
man <some-name>to see if a man page appears.

If that works, consider making man.tcz a dep of your doc TCE.
otherwise specify it in your comments to doc please.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Rich on June 04, 2020, 06:45:32 AM
Hi Sashank999
... The script looks amazing. ...
Thank you.

Quote
... It automates all things without human interactions. ...
Almost. The one thing you cannot automate is the  Change-log:  field of the  .info  file. That needs to be done manually. So if an
updated version of  gpicview  gets released, you would need to copy the last entry listed under  Change-log:  in the  .info  file:
Code: [Select]
~----- SNIP -----~
Source: https://downloads.sourceforge.net/lxde/gpicview-0.2.5.tar.xz
Change-log: 2020/03/28 Original release Version: 0.2.5
Current: 2020/03/28 Original release Version: 0.2.5

Update this section of the script from this:
Code: [Select]
Original-site:  http://lxde.sourceforge.net/gpicview/
Change-log:     $DATE Original release Version: $VERSION
Current:        $DATE Original release Version: $VERSION

To this:
Code: [Select]
Original-site:  http://lxde.sourceforge.net/gpicview/
Change-log: 2020/03/28 Original release Version: 0.2.5
Current:        $DATE Original release Version: $VERSION

And the next time it gets updated, it might look like this:
Code: [Select]
Original-site:  http://lxde.sourceforge.net/gpicview/
Change-log: 2020/03/28 Original release Version: 0.2.5
2020/06/03 Original release Version: 0.2.7
Current:        $DATE Original release Version: $VERSION
This way there is always a list of when updates occurred.

Quote
... Any tips about what to do with the licenses for hcxtools, hcxdumptool, aircrack-ng ?
See the section of the script that says  Copy the copyright file.  It places the licensing file here:
Code: [Select]
/usr/local/share/doc/gpicview/COPYING
... And also, should I follow the flags mentioned in your script for my x86 TCL ?
In your script, x86 flags are in case i686 and I am assuming they are the flags for all x86 TCL PCs.
                CFLAGS=" -flto -march=i486 -mtune=i686 $OPTIMIZE -pipe -fno-plt"
#      CXXFLAGS="g++ -flto -march=i486 -mtune=i686 $OPTIMIZE -pipe -fno-plt -fno-exceptions -fno-rtti"
      LDFLAGS="-Wl,-T/usr/local/lib/ldscripts/elf_i386.xbn"
Yes, those are the flags to use for all x86 processors. I commented out the  CXXFLAGS=  line because  gpicview  didn't use any
C++  code. Truth of the matter is, that really wasn't necessary. Leaving  CXXFLAGS  defined doesn't hurt anything.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 04, 2020, 10:03:32 PM
See the section of the script that says  Copy the copyright file.  It places the licensing file here:
Code: [Select]
/usr/local/share/doc/gpicview/COPYING
Which script ?
Yes, those are the flags to use for all x86 processors. I commented out the  CXXFLAGS=  line because  gpicview  didn't use any
C++  code. Truth of the matter is, that really wasn't necessary. Leaving  CXXFLAGS  defined doesn't hurt anything.
Gpicview doesn't use C++. But what if others do. I am thinking that just uncommenting it is enough.
GPLv2 says to include the source. Should I copy src folder from the original aircrack-ng folder as it is into the tcz ?
Should I include source for MIT licensed hashcat,hcxdump and hcxtools ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 04, 2020, 10:08:06 PM
It is OK to set CXXFLAGS even if it is not used.

By "including the source", we mean include it with the submission not in the extension itself. All submissions need to have the source included.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 04, 2020, 11:18:06 PM
It is written in GPLv2 to include source in modified package.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 04, 2020, 11:21:44 PM
The source will be uploaded to the tinycore site.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 05, 2020, 12:20:00 AM
Just a small error. I realised and corrected it.
I am uploading one list. I have made some headings and divided man pages and all other things. Pls check it. I will then do mksquashfs.
Download the 5.3kb one.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 05, 2020, 03:06:35 AM
The files in /usr/local/include and /usr/local/lib/lib*.la need to go in a -dev.tcz extension
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Rich on June 05, 2020, 05:27:43 AM
Hi Sashank999
See the section of the script that says  Copy the copyright file.  It places the licensing file here:
Code: [Select]
/usr/local/share/doc/gpicview/COPYING
Which script ?
The  gpiview  build script I pointed you to in reply #26. The license file is often called  COPYING.  Place the license file under:
Code: [Select]
/usr/local/share/doc/ExtensionName/
So for  aircrack-ng.tcz  place it under:
Code: [Select]
/usr/local/share/doc/aircrack-ng/
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 05, 2020, 06:30:30 AM
What should I do with files in aircrack-ng-copy/.libs ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 05, 2020, 06:42:21 AM
They are not required
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 05, 2020, 07:14:51 PM
Oh. TY @Juanito
I got a problem. During my last reply, my firefox didn't start and says "Firefox profile inaccessible". Then, I removed the .mozilla folder. Still no result. Then I sudo started the firefox. It runs perfectly.
Now, after starting my TCL today morning, I got a blinking cursor underscore. I waited for some time but it just shows that blinking cursor. No desktop, no GUI. Then, I sudo started the startx command. It opens only jwm. But I want the default tiny core desktop with that cute tinycore icon and blue background. In this jwm, the icons are not there.
I tried "tce-load -i Xvesa Xprogs flwm_topside wbar" and it says all are installed.
I follow no desktop= bootcode. I just boot it.
When I type flwm_topside, it says "Cannot open display: ". What to do ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 05, 2020, 10:19:52 PM
Boot with additional boot codes "base" and "norestore", then:
Code: [Select]
$ tce-load -i Xvesa flwm aterm wbar
$ xsetup.sh
$ startx
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 06, 2020, 07:42:11 AM
But wifi can't be loaded. I did
tce-load -i firmware-*
tce-load -i firmware wifi Xvesa flwm aterm wbar

But no wifi.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 06, 2020, 07:49:37 AM
Do you have access to a wired connection?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 06, 2020, 07:54:42 AM
No  :( .
Atleast jwm is opening for now.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 06, 2020, 07:41:32 PM
Now even the jwm is not opening  :( . But why ?
In base and norestore, I have loaded all modules one by one with tce-load. I have loaded all firmwares, firmware.tcz, iw.cz, wifi.tcz. I don't know what to do. Please help me.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 06, 2020, 10:09:42 PM
Let's start at the beginning..

If you boot with base norestore, load Xvesa, flwm, aterm and wbar and startx, can you start a simple desktop?

If yes, when you exit to the console prompt, load jwm and startx, does the jwm desktop appear?

If yes, when you load the firmware extension for your wifi hardware, then load the wifi extension, does the wifi script run when you double-click on the icon?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 06, 2020, 11:13:18 PM
1)Yes, I see a simple desktop, the one which was default for tinycore.
2)When I previously said jwm, I mistook another window manager that has a "blue colour curling strip" at the bottom left. But, now, jwm loads perfectly.
3)No. When I ran clicked on the icon, xterm opened but gets immediately closed.When I ran sudo wifi.sh in aterm without clicking on wbar, it said no wifi devices found. I ran ifconfig and my wlan0 was not there. Now, I loaded the wireless-5.4.3-tinycore.tcz along with other wifi firmware modules and the wifi works !  ;D .
But still, the normal boot doesn't work.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 06, 2020, 11:24:40 PM
When you load the wifi extension, the wireless-5.4.3-tinycore extension should be loaded automatically - if it is not being loaded automatically, it means that the file wifi.tcz.dep is corrupted or missing.

Did you load extensions using the apps gui or tce-load command or did you download them manually with wget, curl or a browser?

If you download extensions manually, which is not recommended, you need to download the *.tcz, *.tcz.dep (where it exists) and *.tcz.md5.txt files.

What do you mean by "the normal boot doesn't work" - do you mean when you boot without base norestore?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 07, 2020, 03:38:55 AM
I always download tcz with app browser only. I don't know how to download them with wget or curl.
Normal boot means with no bootcodes. But only quiet bootcode.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 07, 2020, 07:45:17 PM
Well, in normal mode, when I execute startx, some red and blue colour lines appear and disappear immediately on top of the screen.
Then, xorg says "Server cannot be started(1)."
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 07, 2020, 10:10:05 PM
Since you machine boots without problems with base norestore, the problem must be with your onboot.lst or your backup.

What do you get from this command:
Code: [Select]
$ cat /etc/sysconfig/tcedir/onboot.lst
Note that you should only have one X server - Xvesa, Xfbdev or Xorg-7.7 - in onboot.lst
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 08, 2020, 02:52:13 AM
I only have one -Xvesa on top of onboot.lst. I checked 3 times and confirmed it.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: jazzbiker on June 08, 2020, 03:13:25 AM
Hi, Sashank999!

Check up Your ~/.xsession. If Xorg rewrote it and it is backed up and restored while every boot, Your startx is trying to start Xorg, despite You have only Xvesa. Check:
Code: [Select]
cat ~/.xsession

If You'll find Xorg in .xsession, simply delete it, then backup, and reboot with Xvesa in onboot.lst
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 08, 2020, 03:19:12 AM
There is
"Xvesa -br -screen 1024x768x32 -shadow -2button -mouse /dev/input/mice,5 -nolisten tcp -I >/dev/null 2>&1 &" on top and some other lines.
And hence, I am thinking that startx is launching Xvesa.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 08, 2020, 03:36:12 AM
I only have one -Xvesa on top of onboot.lst. I checked 3 times and confirmed it.

I would help if you pasted the contents of onboot.lst
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 08, 2020, 03:48:23 AM
I attached it  :) .
I now did startx.
Then, I saw the core default background and then the background disappeared. Then the wbar appeared. It took some time for the cursor to appear. There are no buttons on the edges of the windows.
I loaded flwm, flwm_topside and also jwm
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 08, 2020, 04:00:43 AM
good grief  :o

Make a backup of your original onboot.list:
Code: [Select]
$ cp /etc/sysconfig/tcedir/onboot.lst /etc/sysconfig/tcedir/onboot.lst.orig
..and create a new one containing only:
Code: [Select]
Xvesa.tcz
flwm.tcz
aterm.tcz
wbar.tcz

Then reboot and see what happens.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 08, 2020, 04:13:54 AM
That worked !  :o
The wifi is also loaded with some commands in terminal.
Thank you very much. Finally !!!  :'(  :D
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 08, 2020, 04:30:12 AM
This is a good lesson to only put the absolute minimum of extensions to load "onboot"  :)

If you always use wifi to connect you can put the relevant firmware extension and wifi "onboot", but the firmware extension must come before the wifi extension in onboot.lst
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 08, 2020, 06:45:07 PM
I think GUIs and Window Managers interfere with each other and thus creating the prob. Is there any tool to unload tc extension ? (not deleting them).
I actually created all the three tcz -
But man pages are not loading with "man aircrack-ng". What to do
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Rich on June 08, 2020, 07:19:33 PM
Hi Sashank999
... But man pages are not loading with "man aircrack-ng". What to do
When you entered:
Code: [Select]
man aircrack-ngyou received an error message. Error messages provide clues as to what the problem is.

By keeping that information to yourself, we have to guess what the problem is.

Here are my guesses:
1. You did not install  man.tcz  or  man-db.tcz  if you are running x86_64.
2. you did not install  aircrack-ng-doc.tcz.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 08, 2020, 07:26:02 PM
I did not load -doc tcz. Sorry. My bad. :-[
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 08, 2020, 09:46:26 PM
Can anyone say me how to find the dependencies of aircrack-ng ?
Their site says :
    Autoconf
    Automake
    Libtool
    shtool
    OpenSSL development package or libgcrypt development package.
    pkg-config
    Airmon-ng requires ethtool and rfkill
        If USB bus is present, lsusb
        If PCI/PCIe bus is present, lspci
    LibNetlink 1 (libnl-dev) or 3 (libnl-3-dev and libnl-genl-3-dev) development packages. It can be disabled by passing –disable-libnl to configure.
    Kernel headers and gcc as well as make have to be installed on your system (build-essential on Debian based distributions)
    make and Standard C++ Library development package (Debian: libstdc++-dev)

But I think some of them are required for only compiling and not for running.
When I ran aircrack-ng with only some (Xvesa, aterm,wifi, firmware,jwm), it said some requirements (iw.tcz, ethtool.tcz, usbutils.tcz, pci-utils.tcz, rfkill.tcz). I installed them and it is running fine.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 08, 2020, 10:40:29 PM
There are several kinds of dependencies:

* direct - applications in bin and sbin and libraries in lib will not work without them
* optional - libs in lib/subdirectory where the application will work without them
* runtime - not in the above, but the application will not work without them

You can test for direct and optional dependencies with ldd:
Code: [Select]
$ ldd /usr/local/bin/flwm
$ ldd /usr/local/lib/libX11.so
$ ldd /usr/local/lib/gstreamer-1.0/libgstcairo.so

To find runtime dependencies, run the application from the command line and check for errors about missing items.

Tinycore uses a recursive dependency system - this means that if libA depends on libB, which in turn depends on libC, there is only a need to list libA as a dependency.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 08, 2020, 10:57:09 PM
I think GUIs and Window Managers interfere with each other..

Yes, they do interfere with each other:

* only set one X server to load "onboot"
* only set one window manager to load "onboot"

If you load more than one X server or window manager, tinycore will attempt to start the one loaded most recently.

As a reminder:

tce-load -i extension - loads an extension that has been downloaded previously
tce-load -w extension - downloads an extension, but does not load it
tce-load -wi extension - downloads and loads an extension and sets it "onboot"
tce-load -wil extension - downloads and loads an extension
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 09, 2020, 06:23:12 AM
Another problem.
"ldd airmon-ng" says "invalid ELF header".
And also, sometimes, the aterm does not copy the highlighted text in terminal.
Hence, I installed gnome-terminal. But it says libtinfo.so.6 is missing. Requesting a solution.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Rich on June 09, 2020, 06:39:46 AM
Hi Sashank999
The  ldd  command needs a path to the executable.

If  airmon-ng  is installed and located in  /usr/local/sbin/  then the command would be:
Code: [Select]
ldd /usr/local/sbin/airmon-ng
If  airmon-ng  is in you current directory, it would be:
Code: [Select]
ldd ./airmon-ng
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 09, 2020, 06:48:34 AM
..and if the target is a script, ldd will report  "error while loading shared libraries...invalid ELF header".
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 09, 2020, 07:01:27 AM
Oh. Thanks for the info. I saw in airmon-ng manpage that it is a script.
What about gnome terminal libtinfo.so.6 error ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 09, 2020, 07:17:20 AM
I’ll take a look, but I’ve never had a problem copying and pasting from aterm.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 09, 2020, 10:01:08 PM
Where can I get libtinfo.so.6 ? @Juanito
The gnome-terminal is asking this.
And also I have heared that dCore has the scripts to download .deb directly from debian repos and install them into tinycore. Can I get those scripts from ab to TCL 32 bit ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 09, 2020, 10:35:39 PM
As said, I'll take a look at gnome-terminal.

Are you speaking of installing dCore or using unpacked *deb archives in tinycore (not especially recommended)?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 09, 2020, 11:23:04 PM
I found a temporary solution at here https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/259139
They said to symlink the libncurses.so.6. I did and it worked  :D
Code: [Select]
sudo ln -s /usr/local/lib/libncurses.so.6 /usr/local/lib/libtinfo.so.6
sudo ln -s /usr/local/lib/libtinfo.so.6 /usr/lib/libtinfo.so.6
sudo ln -s /usr/local/lib/libtinfo.so.6 /usr/lib/libtinfo.so
I am talking about installing unpacked .debs. And also how to unpack them ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 09, 2020, 11:57:12 PM
Code: [Select]
$ ar vx mypackage.deb
$ tar xf data.tar.*
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 10, 2020, 12:35:09 AM
How to do installation then ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 10, 2020, 01:26:27 AM
You will see a directory named usr/ in the directory where you unpacked the deb - copy the files you need under usr/ to the root file system
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 10, 2020, 04:14:49 AM
I installed gnome-terminal. But it says libtinfo.so.6 is missing. Requesting a solution.

updated version posted
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 10, 2020, 06:16:36 AM
Thank You very much.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 11, 2020, 12:11:10 AM
I have found the libraries necessary for aircrack-ng.
But I can't find the packages that provide those libs, provided below..
Code: [Select]
linux-gate.so.1
libz.so.1
libpthread.so.0
libdl.so.2
libm.so.6
libc.so.6
/lib/ld-linux.so.2
libstdc++.so.6
libgcc_s.so.1
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 11, 2020, 12:28:00 AM
They are in the base - look in /lib and /usr/lib
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 11, 2020, 02:12:46 AM
Where ? In tinycore base or in aircrack-ng base tarball ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 11, 2020, 02:21:53 AM
Tinycore
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 11, 2020, 02:52:45 AM
Oh. Thank You. You have cleared a mess for me.
My extensions are almost done. Listing dependencies is left.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 18, 2020, 12:58:24 AM
Hi @Juanito
I created an update tcz for ncursesw. From 6.1 to 6.2
Whom should I email ?
It is BSD license. Should I include the source ?
I have created a tar archive with their files : .tcz, .tcz.dep, .tcz.info, .tcz.list, .tcz.zsync. I am gonna mail it. Or can I include them as attachements here ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 18, 2020, 01:08:44 AM
Thanks for the offer, but since I am the maintainer for ncursesw, I'd rather I continue to look after it - many other extensions depend on ncursesw, so we need to be careful with it.

Edit: see also https://www.linuxsecrets.com/tinycorelinux-wiki/wiki:creating_extensions.html

There is a submissions section at the bottom
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 18, 2020, 01:21:05 AM
Oh. Ok then.
Can I compile minigalaxy extension as requested here ? http://forum.tinycorelinux.net/index.php/topic,23960.0/topicseen.html
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 18, 2020, 01:34:46 AM
Sure - what happened to aircrack-ng, etc?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 18, 2020, 02:02:05 AM
They are based under OpenSSL license and we have to consult them before publishing our compiled tcz. This is written in the license. So, I just deleted them.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 18, 2020, 03:06:09 AM
@Juanito
You need to edit the python-pip.tcz.dep.
The pip complains that I am using python 2 which is deprecated. But I have Python 3.6. I wondered and checked the dep. Found that python 2 is a dep. Plz change it.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 18, 2020, 03:13:02 AM
The python-pip.tcz.dep is correct, python3.6 comes with pip3.6 built-in.

In any case, you do not need pip to compile minigalaxy...
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 18, 2020, 03:39:16 AM
But pip is required to install PyGObject and other requirements of minigalaxy.
Setting up the requirements is really taking a lot of time. Hope the compilation is easy.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 18, 2020, 03:47:06 AM
To compile minigalaxy it looks like you need python3.6-dev, bash and gettext.

To run minigalaxy it looks like you need py3.6gobject, webkitgtk4-gir and python3.6-requests.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 18, 2020, 04:38:57 AM
OMG Thats so quick  :o
How did you figure it out so quick ?
I know the deps listed in github but some are not in the tcz (not with the names as listed in github).
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 18, 2020, 04:44:05 AM
The minigalaxy github page says PyGObject 3.29.1+, Webkit2gtk and Python Requests are required - using the apps gui to search on gobject, webkit and requests doesn't take long  ;)
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 18, 2020, 04:54:37 AM
But the PyGobject is of lower version than required in repo.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 18, 2020, 05:01:59 AM
Ah - I was looking at the CorePure64 repo - I'll update py3.6gobject in the 32-bit repo, but since python3.6-requests is not present in the 32-bit repo, it would be easier to build a 64-bit version.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 18, 2020, 05:12:44 AM
But I am building a 32 bit version.
And also, I don't have the kernel and initrd for core64. I would also have to install gcc,tcc,python3.6,git,Xvesa, Xorgs, make, bash, bash-dev, submitqc, mksquashfs and all other extensions. That would really waste a ton of internet data. The main reason I am using TCL as it is really amazing extraordinary customizable tiny and also, unlike other distros, it really is small size to download and install.
And hence, I am trying to track the files installed by pip using the method you said in Post #2.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 18, 2020, 05:21:02 AM
OK, but the extension(s) will be much smaller if you compile them rather than using pip.

webkitgtk4-gir already exists, I'll update py3.6gobject shortly, so you just need to compile python3.6-requests - the instructions are here:

http://tinycorelinux.net/9.x/x86_64/tcz/src/python3.6-requests/compile_python-requests
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 18, 2020, 05:23:48 AM
Will do it ;)
Now will compile minigalaxy and python requests
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 18, 2020, 05:45:36 AM
py3.6gobject updated
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 18, 2020, 05:59:30 AM
Ah finally !!! A thread created by me reaches 100 posts  ;D
Will now compile requests.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 18, 2020, 06:35:04 AM
I compiled requests from souce on github here https://github.com/psf/requests
I tracked all the files and attached. Should I include files from /home/tc and files from urllib ?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 18, 2020, 06:56:43 AM
You appear to have five extensions there - chardet, idna, urllib3, certifi and requests.

Note also that there will be a problem using the extensions as-is with, for example, all the files inside /usr/local/lib/python3.6/site-packages/chardet-3.0.4-py3.6.egg/chardet because python will look for /usr/local/lib/python3.6/site-packages/chardet.

There two choices to fix this problem:

* compile with sudo python3.6 setup.py install --root=/tmp/pkg (or similar)
* create a symlink /usr/local/lib/python3.6/site-packages/chardet -> /usr/local/lib/python3.6/site-packages/chardet-3.0.4-py3.6.egg/chardet

I attached the edited file list
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 19, 2020, 05:02:19 AM
@Juanito
I have submitted python-requests extension.  :D
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 19, 2020, 07:50:29 PM
@Juanito
Thanks for accepting the extension.
You need to update the dependency pygobject2 to pygobject. There is nothing like pygobject2. http://tinycorelinux.net/11.x/x86/tcz/pygtk.tcz.dep
pygtk is a dependency for minigalaxy.
After updating that, I will submit the minigalaxy.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 19, 2020, 10:53:10 PM
I'll take a look at pygtk, but I think it is far more likely that minigalaxy needs py3.6gobject and gtk3-gir.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 19, 2020, 10:55:32 PM
I am getting some kind of API error which contains the word gtk in it.
I have also seen gtk+ in requirements. So, I searched for gtk+ tag and got pygtk. Then it worked.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 19, 2020, 11:57:16 PM
You need to update the dependency pygobject2 to pygobject. There is nothing like pygobject2. http://tinycorelinux.net/11.x/x86/tcz/pygtk.tcz.dep

pygobject2 copied from the x86 10.x repo to the 11.x repo - thanks for pointing that out.

Note:

pygobject2 = python-2.7 bindings for gobject, version 2
pygobject = python-2.7 bindings for gobject, version 3
py3.6gobject = python-3.6 bindings for gobject, version 3
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 20, 2020, 12:28:29 AM
I am getting some kind of API error which contains the word gtk in it.
I have also seen gtk+ in requirements. So, I searched for gtk+ tag and got pygtk. Then it worked.

Was the error you got something like:
Code: [Select]
ValueError: Namespace Gtk not available
pygtk contains the python-2.7 bindings for gtk2 - did you compile minigalaxy against python(2.7) or python3.6?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 20, 2020, 12:47:43 AM
pygobject2 copied from the x86 10.x repo to the 11.x repo - thanks for pointing that out.

I spoke too soon - pygobject2 has a dep on the outdated libffi5, so pygobject2 and pygtk removed from the x86 11.x repo
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 20, 2020, 01:55:12 AM
I think I have to compile the extension minigalaxy again and delete that python.tcz from my TCEs and update the python deps.
I will now compile pygobject (anyhow, it requies v3.29.1+ but we have older one) and minigalaxy.
I will do it.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 20, 2020, 02:12:08 AM
See: http://tinycorelinux.net/11.x/x86/tcz/py3.6gobject.tcz.info

pygobject is already version 3.36.1

You don't need to delete python, just don't load it...
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 20, 2020, 02:30:02 AM
But we need pygtk. Only one left !!!  :P
I was actually looking at the pygobject.tcz not at py3.6gobject.tcz. My bad.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 20, 2020, 02:35:03 AM
Are you sure you need pygtk (python-2.7, gtk2) or gtk3-gir?
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 20, 2020, 02:54:37 AM
gtk3-gir is now enough.
I am attaching an updated .dep file. Replace this instead of the submitted one.
Should I run the submitqc again for the new .dep file ?
I am still able to see the pygtk you removed. Pls check it once.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 20, 2020, 04:19:44 AM
Does minigalaxy work for you?

I get a blank logon window on top of a blank main window - if I close the logon window, the main window exits.

The problem could be that minigalaxy is blocked here.

Edit: see attached
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 20, 2020, 05:07:48 AM
The logon is too slow to load.
You need to wait a second.
In logon window, after you login, you will see games for download.
You can also watch here https://m.youtube.com/watch?v=XPc-Ty3rtRE
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Juanito on June 20, 2020, 05:42:37 AM
I've waited 15mins with no result, so I'll have to take your word for it...
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 20, 2020, 05:49:52 AM
I'm sorry to ask but I got it in less than 1 min.
Could you pls recheck your dependency file for the package ? I am suggesting this because I have updated the dependency file and you might accidentally have old one.
Title: Re: Installation of aircrack-ng,hashcat,hcxdumptool,hcxpcaptools,reaver
Post by: Sashank999 on June 20, 2020, 08:29:50 PM
I don't know why @Juanito but I am getting minigalaxy working.
Here is a list of my installed plugins I got with tce-status -i attached.
I have now loaded some additional modules.
webkitgtk4.tcz
webkitgtk4-gir.tcz
python3.6.tcz
py3.6gobject.tcz
python3.6-requests.tcz
gtk3.tcz
gst-plugins-bad.tcz