Skip to content

Instantly share code, notes, and snippets.

@andrewn
Last active February 21, 2016 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewn/d43aab5a5550560bf401 to your computer and use it in GitHub Desktop.
Save andrewn/d43aab5a5550560bf401 to your computer and use it in GitHub Desktop.
Compiled connman with patches
  1. sudo pico /etc/apt/sources.list.d/source.list

Paste in deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi

  1. sudo apt-get update

  2. apt-get source connman

  3. cd connman-1.21

  4. curl https://raw.githubusercontent.com/resin-os/meta-resin/master/meta-resin-common/recipes-connectivity/connman/connman/unprotected_wifi_tether.patch -O

  5. git apply unprotected_wifi_tether.patch

  6. dpkg-source --commit

  7. There are some interactive prompts asking about creating the patch in the debian package. Just accept the default file.

  8. sudo dpkg-buildpackage -rfakeroot -us -uc

  9. It'll complain about missing dependencies, copy the list and apt-get install them.

  10. dpkg-buildpackage -rfakeroot -us -uc again

  11. When it compiles successfully:

cd ..

sudo dpkg -i connman_1.21-1.2_armhf.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment