About Dale Nunns

I live in Cape Town, South Africa with my awesome wife and cute cat Domino. I'm a software developer, hardware hacker, some time cook, wannabe writer, chief bottle washer and tamer of dust bunnies.

Just some of my favourite Embedded.fm and TheAmpHour podcast episodes.

I keep recommending these two podcasts to people so I thought I would put together a short list of the episodes I found most interesting lately.

Embedded.fm is a podcast dedicated to the many aspects of engineering. They talk about the how, why, and what of engineering, usually devices.

Some of my favourite episodes.

http://embedded.fm/episodes/190 – Interview Matt Godbolt about his awesome Compiler Explorer.
http://embedded.fm/episodes/140 – Interview with Andrew “Bunnie” Huang famous for his Hacking the Xbox book and his Novena open source laptop among other things.
http://embedded.fm/episodes/162 – Interview with Alan Yates from Valve, tons of info on the HTC Vive hardware, lighthouse and how it all works.
http://embedded.fm/episodes/205 – Interview with Addie and Whisker from the Toymakers about badge making, hardware hacking and other stuff.
http://embedded.fm/episodes/193 – Interview with Owen Anderson talking about clang and LLVM

The Amp Hour – Is an Electronics focused podcast done by Chris Gammell and Dave Jones (of EEVBlog fame).

#325 – An Interview with David Kronstein (Tesla500)

#294 – Live from Serbia with Mike Harrison

#336 – An Interview with Bunnie Huang (2nd)

#308 – An Interview with Samy Kamkar

#303 – An Interview with Dmitry Nedospasov

#265 – A Security Update with Michael Ossmann

#318 – Impedance Matching with Michael Ossmann and Dmitry Nedospasov

 

 

Getting a Canon LaserBase MF5650 printing on Linux

I traded my Samsung SCX4200 for my parents old Canon LaserBase MF5650 as its not supported under Windows 7/10 and the Samsung is still supported.

I had hoped that my Ubuntu Xenial Linux desktop would have drivers and it would all just work, unfortunately the Canon MF* series of printers are not supported as they use a different communication protocol for printing.

Luckily someone on Internet has reversed the protocol and written drivers for Linux (and possibly other OSes that make use of CUPS printing)

Continue reading

Remote access to a DSL-2750U ADSL Router (a sort-of hack)

Usually I use a SSH connection forwarded through my ADSL router to one of my home servers for remote access to my network. The server in question though had become un-responsive so I had no way remotely into my network.

For fun I nmap’d the public IP of my ADSL router and found the following interesting port open:

80/tcp   open   http

I thought I had switched off all the “remote” control methods on my router but clearly not, visiting the page gave me the following (scary) login screen. Continue reading

Notes on getting Motion + MotionEye working with the Aprica CCTV DVR

The web interface on the Aprica CCTV DVR is terrible, it requires a proprietary plugin to view video and doesn’t have many of the features I would like.

In the past I’ve played with MotionEye for recording and managing IP network cameras, MotionEye uses motion in the background to get the video streams from the cameras. Unfortunately motion does not support the RTSP protocol or H264 codec used by the CCTV DVR’s web interface.

Continue reading

Creating a SOCKS proxy using SSH to get YouTube working

Something odd is going on with YouTube not working with Afrihost‘s ADSL service. It appears to have something to do with the local YouTube caching servers. Clips will often only playback at 144p or 240p and never at 480p or higher, considering that YouTube has become my main source entertainment this is a problem.

This is a quick and simple workaround that sets up a SOCKS proxy on a Linux machine hosted outside of South Africa. I’m using a Digital Ocean (Referral link that gets you $10 credit if you sign up) Linux VM running in the US.

On the VM you just need SSH running, nothing else and on your PC you need to be able to make an ssh connection from the command line.

On Windows I used the GIT Bash Shell as I had it installed and it includes ssh (You could probably do this with Putty or something similar.) and on Linux I just run the command below from a prompt.

ssh -D 8080 -CqN youruser@vm

All this will do is accept connections on your local machine on port 8080 and forward them through to the VM.

connectionSettingsNow open your browser (I like using Firefox for this as the proxy settings are separate from the system ones in Windows) and set your socks host to 127.0.0.1 and the port to 8080.

I find this works best with YouTube when using the Google DNS servers (8.8.8.8 and 8.8.4.4) on your local machine.

This solution seems to work reasonably well and allows me to watch the videos that don’t want to work, obviously it does add additional overhead to the connection so its not ideal.

 

Post Bag – Saturday 9th May 2015

I order a lot of odd items, mostly electronics related, from eBay. @WrathZA gave me the idea to start documenting what arrives and when for those of you who are curious about what you can get, the quality of the items and how long these items take to get here.

Today I had 14 parcels (originally thought it was 11 until I saw a few got stuck together) all arrive at once at the post office, this is a new record for number of parcels in a week and I assume has a lot to do with the recent problems with international shipping and the SA Post Office.

Continue reading

Fix for “Invalid Pointer” error when attempting to login on Windows 7 on a HP ProBook

A colleague at work had a problem on her HP ProBook after applying the HP Updates.

When attempting to logon to Windows you would get a message saying “Invalid Pointer” and then be taken back to the login screen, just pressing enter at the login screen (blank password) would do the exact same thing.

All my Googling showed that other people had the same problem and the recommended solution was to re-install Windows, which seemed overkill.

I’ve found a different way to fix the issue that is a little less drastic but will take a few minutes and some registry editing to fix. It appears to be the HP add-on/plugin that is wired into the login process to support the Finger Print reader that was failing.

These are the steps I followed to fix this issue:
Please be careful, this requires registry editing and other tasks that should only done by someone who knows what they’re doing.

  • Boot into Safe Mode (During bootup press F8 and then select Safe Mode or Safe with Networking)
  • Login normally using your password. (You’ll see that this login screen looks different and works correctly.)
  • Follow these steps to allow uninstalling of applications under Safe Mode.
  • Open Programs and Features in Control Panel, find the HP Client Security Manager application and select it. Then select Uninstall/Repair and perform a Repair following the onscreen instructions.
  • Reboot the laptop and it should allow you to now login again.

ESP2866 ESP-07 Wifi Module

Aside

esp2866 My ESP2866 wifi module arrived, this particular module is nice as it has most of the GPIO pins available. By default the module has a serial interface that makes use of AT commands sent from your microcontroller to use Wifi, personally that seems a bit of a waste as the module has a nice powerful CPU built in.