Pascal's Blog

NixOS on a MinnowBoard MAX and Turbot (serial console)

  • Nov 10, 2016
  • POST
TL;DR To boot and get a serial console add "console=ttyS0" to your kernel boot arguments via boot.kernelParams = [ "console=ttyS0" ];. The MinnowBoard is an x86 based developer board, similar to the Raspberry Pi or the BeagleBone Black. It comes in multiple versions like the MinnowBoard MAX and the newer MinnowBoard Turbot. They are both compatible to each other and these instructions work for both of them. Check out the Getting Started Guide on minnowboard.

Keep your docker clean

  • Nov 7, 2016
  • POST
When running docker for some time on your local machine it accumulates quite some data and from time to time you might want to clean them up. This is a collection of docker commands I found most useful in this context: Clean Volumes Cleans all volumes that are not used by any container. docker volume rm $(docker volume ls -qf dangling=true) Clean Images Cleans all images that are not used by any running container.

From TCP to TLS in Go

  • Dec 17, 2015
  • POST
Start plain In this post we will have a look at a simple TCP example in Go and how it can be changed to use secure TLS instead. Plain TCP server First let’s have a look at a simple TCP server. It listens on port 8088 and prints everything it receives to stdout. package main import ( "fmt" "io" "log" "net" "os" ) func main() { l, err := net.

Configurable Yocto/OpenEmbedded recipes

  • Feb 14, 2015
  • POST
Most of the time recipes in Yocto and OpenEmbedded are pretty static in the sense that when you build your image you either you get what is described in the recipe. It is possible to build the package different based on the MACHINE for example but otherwise packages are fixed in what they provide. What if you want a package that can be built in different ways? For example Apache Thrift can build additional libraries if libevent or zlib is available at build-time.

New Unison (2.40.102) builds available

  • Jun 5, 2013
  • POST
I recently updated the Unison version in my [PPA](https://launchpad.net/~pascal-bach/+archive/unison](https://launchpad.net/~pascal-bach/+archive/unison). The current version is 2.40.102. This version is taken from the Debian git sources and build without modifications. The package is available for the following Ubuntu versions: 10.04 LTS (lucid) 12.04 LTS (precise) 12.10 (quantal) 13.04 (raring) If you encounter any problems please let me know.

Using Cygwin SSH with Putty Pageant

  • Mar 11, 2011
  • POST
Update 2: With newer version it is much easier to just follow the instructions here. On windows I mostly use Putty as my SSH client. But in some cases for example when I use unison or rsync I use the ssh client from cygwin. Following good practice I use public key authentication and Putty’s Pageant to manage my password protected keys. This works great with Putty and Plink. I thought this would be great if I could use the same agent for cygwin too.

Use Zentyal Zarafa z-push with an N900

  • Oct 19, 2010
  • POST
Today I had the problem that my Nokia N900 Mail for Exchange could not sync with my Zentyal server via Active Sync. After some research I found a solution in the Zarafa forum. It consists of activating LOOSE_PROVISIONING in your z-push config.php. If you are using Zentyal 2.0 this is located at /usr/share/z-push/config.php and you have to change the line: define('LOOSE_PROVISIONING', false); to define('LOOSE_PROVISIONING', true); now it should work.

Build Ubuntu/Debian packages from source (and apply a patch)

  • May 6, 2010
  • POST
Sometimes there is a bug in a package from Ubuntu that is not yet fixed, or you just want to modify something in the source of a software. Here is an easy way to build your own package from the Ubuntu sources. First you need to install the required tools for building software from source sudo apt-get install build-essential Let’s assume you want to build a package called foo and apply a patch bar.

Automatically start SCREEN on SSH login

  • Apr 30, 2010
  • POST
I just found a nice method to invoke screen automatically if after login via SSH. So you don’t have to manually start it first. Put the following at the end of your ~/.bashrc # Auto-screen invocation. see: http://taint.org/wk/RemoteLoginAutoScreen # if we're coming from a remote SSH connection, in an interactive session # then automatically put us into a screen(1) session. Only try once # -- if $STARTED_SCREEN is set, don't try it again, to avoid looping # if screen fails for some reason.

Bazaar Pro Engineer Helpers 0.3.0 Released

  • Jan 21, 2010
  • POST
Yesterday I released Bazaar Pro Engineer Helpers 0.3.0 it supports and recognizes more file types and does some more cleaning if you use the –purge option. You can download it on Launchpad. Installation instructions can be found here. Additionally it is now listed at Softpedia.
Next
LATESTS
NixOS on a MinnowBoard MAX and Turbot (serial console)
  • Nov 10, 2016
  • POST
Keep your docker clean
  • Nov 7, 2016
  • POST
From TCP to TLS in Go
  • Dec 17, 2015
  • POST
Configurable Yocto/OpenEmbedded recipes
  • Feb 14, 2015
  • POST
New Unison (2.40.102) builds available
  • Jun 5, 2013
  • POST
Using Cygwin SSH with Putty Pageant
  • Mar 11, 2011
  • POST
Use Zentyal Zarafa z-push with an N900
  • Oct 19, 2010
  • POST
Build Ubuntu/Debian packages from source (and apply a patch)
  • May 6, 2010
  • POST
Automatically start SCREEN on SSH login
  • Apr 30, 2010
  • POST
Bazaar Pro Engineer Helpers 0.3.0 Released
  • Jan 21, 2010
  • POST
CATEGORIES
  • development (15)
  • howtos (14)
  • experience (6)
  • projects (2)
  • yocto (1)
TAGS
  • python (9)
  • ucplib (5)
  • openmoko (4)
  • sms (4)
  • bzr (3)
  • proe (3)
  • ssh (3)
  • ubuntu (3)
  • vlc (3)
  • vmware (3)

© Pascal's Blog

Powered by Hugo.

Robust designed by Daisuke Tsuji.