I request that the Internet Archive removes all information pertaining to my personal site from your archive https://web.archive.org/web/*/lynsayshepherd.com (including https://web.archive.org/web/*/lynsayshepherd.com/blog and all associated subdomains).
Recently, I’ve been exploring mobile forensics and I wanted to install Scalpel on my new Mac however, I encountered a few difficulties along the way. These steps seemed to resolve my issues so I thought I’d share what I did.
Download Scalpel from-
Unzip the file and navigate to the root of the folder. At this point, I attempted to run ./bootstrap however, this failed.
Part of the issue seems to be that under newer versions of Xcode, (around version 4.4.1 onwards), Apple doesn’t include Autoconf, Automake, and Libtool.
This link http://jsdelfino.blogspot.co.uk/2012/08/autoconf-and-automake-on-mac-os-x.html shows a manual way of installing these tools, although there’s an easier way….
If you have Macports installed-
sudo port install autoconf sudo port install automake sudo port install libtool
Note- choose automake rather than automake17
Following this, the machine should now be ready to install Scalpel-
sudo ./bootstrap sudo ./configure sudo make install
In September, I purchased the latest Lego Ideas set: Disney Pixar’s Wall-E (Lego Ideas #12).
The whole premise behind Lego Ideas is that users can submit an idea for a Lego set which will be sold in shops. Wall-E was chosen as one of these designs. Surely everyone knows who Wall-E is? If you don’t, here’s a synopsis of the film from Wikipedia: “the story follows a robot named WALL-E, who is designed to clean up an abandoned, waste-covered Earth far in the future. He falls in love with another robot named EVE, who also has a programmed task, and follows her into outer space on an adventure that changes the destiny of both his kind and humanity.”.
The Lego set wasn’t too hard to build however, it did take several hours (there’s a lot of pieces and it just takes time). I was very impressed with the final product and the cute little robot now lives on my desk. You can open the door on the front of him and the geek in me is tempted to put a motor in him, allowing him to move around. He also comes with his beloved plant too.
I got some feedback when I first tweeted about the build. Some people felt that Wall-E’s neck was a bit droopy. Admittedly, I thought that 5 minutes after I’d finished building him. I just angled his neck slightly and he now sits perfectly.
Personally, I think his eyes are the best part. Whilst they’re not particularly complex structures, they are so expressive. Lego have absolutely nailed it. Brilliant work.
— Lynsay Shepherd (@Lynsay) October 1, 2015
At the end of September, I was lucky enough to attend a talk by Dr Mark Baldwin in Dundee about the Enigma machine and the role of Bletchley Park during World War II.
The talk was fascinating, providing a full history of the Enigma machine, and explained the inner workings of the machine. Whilst I knew of the machine (and the great Alan Turing), I didn’t know the full details of how the machine generated a code for the day or how the team at Bletchley attempted to crack it. I also hadn’t realised 3 Polish men broke Enigma first in the early 1930’s. They knew the Germans were going to invade Poland so they shared all their intelligence with the British and the French, before destroying all evidence in their country.
I just missed the end of the talk (had to catch the last bus home). The talk has been given all over the UK so, if you get the chance, go and have a listen.
On a side note, I’ve supported the Saving Bletchley Park book by Dr Sue Black on Unbound. It should be a nice companion piece to go along with the information included in the talk.
NOTICE: This blog post is based on my original post from 2012 which you can find here- https://www.lynsayshepherd.com/blog/2013/01/14/wireless-printingairprint-server-via-the-raspberry-pi/.
Before going any further, update your Pi:
sudo apt-get update sudo apt-get update
Next, install the following packages required for printing. I think the avahi-discover package is still required (I installed it anyway)
sudo apt-get install avahi-discover cups cups-pdf python-cups
Grab a cup of tea whilst the packages install. You’ll need to add your username to the CUPS server so you’re able to add printers, view print queues, etc.
sudo usermod -aG lpadmin pi
Check that CUPS has installed correctly and that the service works.
sudo /etc/init.d/cups start
You’ll need to check the Avahi service works too (it finds various devices on the network which are discoverable). Again, I’m not 100% sure this is required with the more up-to-date versions of CUPS. You can try omitting it if you wish.
sudo /etc/init.d/avahi-daemon start
Next, you’ll need to edit the CUPS config file:
sudo nano /etc/cups/cupsd.conf
You’ll need to set-up the port we’re going to be listening on. Comment out the line that reads “Listen localhost:631”. Add in “Port 631”. It should look something like this:
#Listen localhost:631 Port 631
The config file will also need to be edited to control access to the server by adding “Allow @Local” in several places e.g.:
# Restrict access to the server... Order allow,deny Allow @Local
You need to include it in these areas of the config file:
# Restrict access to the server... # Restrict access to the admin pages... # Restrict access to configuration files...
Save the config file and restart the CUPS service:
sudo /etc/init.d/cups restart
Now, find the IP address of your Pi. It’ll be something like 192.168.1.x
Navigate to the CUPS configuration page by typing the IP address you just retrieved and the port number CUPS uses (so it’ll be an address like 192.168.1.x:631). A security exception message may pop up but that’s ok.
Click on the Admin tab and view the server settings which are towards the right-hand side of the screen. Tick the box that says “share printers connected to this system”. You’ll be asked for the username and password of the Raspberry Pi.
Plug your printer into one of the USB ports on the Pi. Click “add printer” in the CUPS web interface and it should appear under local printers. You’ll have to fill in details for the printer, such as name and location. You can enter whatever you want in here but the important part is ensuring you tick the “share this printer” box.
Following this, you’ll have to select the appropriate printer driver from a (large) list that appears. Enter print and paper settings too. You’re now ready to click on maintenance > print test page. If everything has gone to plan, the test page will print successfully.
Wireless printing should now work!
In the past, I have included a section regarding AirPrint, with details on how to set that up. AirPrint is now supported by CUPS and it should (and I emphasise “should”) work. Personally, I have tested it on both i0S 9.0.2 and iOS 6.1.6 and had no problems printing.
The section on printing with Windows has been omitted this time around too- I use OS X, iOS or, Raspbian 99% of the time. Sorry.