Kali 6.12.y for the uConsole and DevTerm

do you have firmware-ralink installed?

So, I just found out it was a layer 8 issue. I was connected to my wifi network with device wlan0 and tried sniffing with device wlan1. Obviously, the specific wifi device has to be connected to the network. Surprisingly, even after several reinstallations of bettercap, drivers, and dependencies it still works :partying_face:

Hey, I also just started with this combination and not that much linux experience. It gets better after some trials and several errors :grin: . I document everything I do here (primarily for myself, but it might be helpful to you as well): My uConsole journey Ā· GitHub .

2 Likes

trying to set up rtc first, i ran the command line to edit the config.txt according to jeremiah’s setup and firmware video

sudo hwclock -r
sudo: hwclock: command not found

I think there’s a larger issue anyways, because when i try to run a kali update, most of the repository gets omitted (failed to fetch). and when running your command line I get this:

Hit:2 htp://http.re4son-kernel.com/re4son kali-pi InRelease
Get:3 htps://raw.githubusercontent.com/ak-rex/ClockworkPi-apt/main/bookworm stable InRelease [2,684 B]
Get:1 kali-rolling InRelease [41.5 kB]
Err:1 kali-rolling InRelease
Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature.
Fetched 44.2 kB in 2s (19.9 kB/s)
193 packages can be upgraded. Run ā€˜apt list --upgradable’ to see them.
Warning: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. OpenPGP signature verification failed: kali-rolling InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature.
Warning: Failed to fetch htp://http.kali.org/kali/dists/kali-rolling/InRelease Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature.
Warning: Some index files failed to download. They have been ignored, or old ones used instead.
hackergadgets-uconsole-aio-board is already the newest version (1.33).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 193
1 not fully installed or removed.
Space needed: 0 B / 12.4 GB available

Continue? [Y/n] y
Setting up hackergadgets-uconsole-aio-board (1.33) …
grep: /boot/firmware/config.txt: No such file or directory
sed: can’t read /boot/firmware/config.txt: No such file or directory
dpkg: error processing package hackergadgets-uconsole-aio-board (–configure):
installed hackergadgets-uconsole-aio-board package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
hackergadgets-uconsole-aio-board
Error: Sub-process /usr/bin/dpkg returned an error code (1)

I removed index links & parts of web addresses to post this. I think part of the issue is in that boot/firmware doesn’t exist, my config.txt is directly in the boot folder on direct install of your kali package. I’ve kind of been aimlessly running upgrade/update commands and I’m pretty sure they’re not working either since everything fails to fetch something. Not sure what else I can do to rectify this, any input?

That’s exactly the problem. I’ll add a little if statement in there that it the config.txt isn’t in /boot/firmware/ then to look a level up.

Sorry for asking so much of you and everyone else, how could I correct this so I can install the package?

You could extract the packages and manually install them the edit the config.txt as needed.

Tonight I’ll fix the packages the make changes to the config.txt to check for the older location if the new one is missing.

You can go ahead and try and install the package again with recommends and it should work for the config being at /boot/config.txt instead of /boot/firmware/config.txt

  • External WiFi antenna already set in config.txt.

It seems the Pi4 onboard wifi can now use monitor mode!

Fresh install of your latest Kali image (on my second uConsole)

Did sudo apt update and sudo apt upgrade.

When I run sudo wifite, it fails to switch to monitor mode.

I assume I have to edit the config, but what exactly?

Thanks for any help!

Eternal wifi means the u.fl connector is enabled and the PCB antenna is disabled.
Monitor mode is not supported out the box there is a patch you can add to enable it though for the CM4.

1 Like

Thank you for the fast response!

Aha, so no need to edit config.

What command should I run to install the patch?

Not sure as I never done it. Here’s the patch you need though.

1 Like

Thank you Rex.

You are the best!

1 Like

The nexmon drivers have never really been stable. They’ll work for a while, then lock up.

Hey Rex! Will this work with CM5 too? If not, any plans to do it?

It sure does! All my images support the CM3/4/5 on the uConsole and the CM4/5 on the DevTerm.

2 Likes

Sorry. I should have been clearer. Any plans on implementing this Nexmon firmware for monitor mode on the CM5? I cant for the life of me figure out how to install that given the instructions on nexmon’s github.

I had no plans to but I can look into it. Then release a new image with an updated kernel.

3 Likes

That would be awesome!

I’m very new to all of this. Just put together the uconsole yesterday and set up a Pi 5 for watching youtube and do torrents on the TV like a month ago. Took me almost 2 weeks to fully utilize the 4TB NVME I put in there. Now ordered some books to gain a more fundamental insight into linux and it’s possible uses. Also, waiting for some other stuff I’ve ordered, this is quite fascinating for me.

1 Like

Hi, I try Kali 6.12.34 image on my uconsole.

When i issue ā€œsudo apt update for the first time i get error messages about repository http.re4son-kernel.com, that is has no longer a release file and also 404 not found messages.

Seems that the site is down or was hacked ?

Is it normal or what can i do about this ?