Monday, June 20, 2016

Updates on Toorcamp slides and Kali Linux Persistence

I didn't work on the slides today, on account of a lovely long bike ride. I'll work on them this week after each day's training (in Orlando) is over.

Just now I set up persistence on a live kali USB for the first time. It's the Kali Rolling distribution of Kali Light, which by default installs virtually nothing. The USB key is 32GB capacity, which can be had for 10 bucks or so on Amazon. You can get the top 10 tools, which cover the majority of good stuff, with kali-linux-top10, which is 1.5 GB when installed. Then I spent way too much time messing with pulseaudio and alsa to get the sound working. Turns out that for some reason the sound on this specific release of Kali comes muted. Here are the steps I followed:

1. Install alsa-mixer with: apt-get install alsa-mixer -y
2. Run the following and create it as a launcher (for now): amixer sset Master unmute
3. Open the Pulseaudio Volume Control. In my case there are two options in the Playback tab for the playback - "Built-in Audio Digital Stereo (HMDI)" which does not work, and "Built-In Audio Analog Stereo" which does work. I selected the second option and finally things worked.
4 (optional). Right-click on the panel, wherever it's placed, and add a "PulseAudio Plugin" plugin to control the audio.

Voila. And now it works after restarting. Eventually I'll figure out how to maybe just unmute on login or boot.

The bike ride was a new one, which I'd planned out using Google Maps. However, I neglected to allot enough time for the ride in light of it being new, and also did not notice that the route included one underpass and four overpasses. And of course I got lost, going well past the road that turns west and on to a rather seedy area with no bike path whatsoever. The road that I took as an alternative, going west, had several uncovered sewer drains which meant that occasionally the bike lane included holes at least nine feet deep. The ride took till 45 minutes after sunset, with a total of about 36 miles.

No comments: