X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/e9acb45ebe3d7a3e47157fd9efafb9fd7b66c85b..refs/heads/master:/blog/data/2013-09-10-freedombox.txt?ds=sidebyside diff --git a/blog/data/2013-09-10-freedombox.txt b/blog/data/2013-09-10-freedombox.txt index 9480d22767..231a807560 100644 --- a/blog/data/2013-09-10-freedombox.txt +++ b/blog/data/2013-09-10-freedombox.txt @@ -1,6 +1,6 @@ Title: Recipe to test the Freedombox project on amd64 or Raspberry Pi -Tags: english, debian, freedombox -Date: 2013-09-10 20:40 +Tags: english, debian, freedombox, surveillance, web, sikkerhet +Date: 2013-09-10 14:20

I was introduced to the Freedombox project @@ -25,8 +25,8 @@ up in their home and get access to secure and private services and communication. The initial deployment platform have been the Dreamplug, which is a piece of hardware I do not own. So to be able to test what -the current Freedombox setup, I had to come up with a way to install -it on some hardware I do got access to. I have rewritten the +the current Freedombox setup look like, I had to come up with a way to install +it on some hardware I do have access to. I have rewritten the freedom-maker image build framework to use .deb packages instead of only copying setup into the boot images, and thanks to this rewrite I am able to @@ -39,18 +39,26 @@ scripts (freedombox-setup), and a administrative web interface (plinth + exmachina + -withsqlite), as well as a privacy enhancing proxy based on privoxy +withsqlite), as well as a privacy enhancing proxy based on +privoxy (freedombox-privoxy). There is also a web/javascript based XMPP -client (jwchat) trying (unsuccessfully so far) to talk to the XMPP -server (ejabberd). The web interface is pluggable, and the goal is to -use it to enable OpenID services, mesh network connectivity, use of -TOR, etc, etc. None of this is really working yet, see -the +client (jwchat) +trying (unsuccessfully so far) to talk to the XMPP server +(ejabberd). The +web interface is pluggable, and the goal is to use it to enable OpenID +services, mesh network connectivity, use of TOR, etc, etc. Not much of +this is really working yet, see +the project TODO for links to GIT repositories. Most of the code is -on github at the moment.

+on github at the moment. The HTTP proxy is operational out of the +box, and the admin web interface can be used to add/remove plinth +users. I've not been able to do anything else with it so far, but +know there are several branches spread around github and other places +with lots of half baked features.

-

Anyway, if you want to have a look the following recipes should -work to give you a test machine to poke at.

+

Anyway, if you want to have a look at the current state, the +following recipes should work to give you a test machine to poke +at.

Debian Wheezy amd64

@@ -60,12 +68,13 @@ work to give you a test machine to poke at.

  • Boot from it, either as CD or USB stick.
  • Press [tab] on the boot prompt and add this as a boot argument to the Debian installer:

    -

    url=http://www.reinholdtsen.name/freedombox/preseed-wheezy.dat
  • +
    url=http://www.reinholdtsen.name/freedombox/preseed-wheezy.dat
  • Answer the few language/region/password questions and pick disk to install on.
  • -
  • When finished, your freedombox is ready for testing.
  • +
  • When the installation is finished and the machine have rebooted a +few times, your Freedombox is ready for testing.
  • @@ -77,7 +86,7 @@ install on.
  • Boot from SD card, extend file system to fill the card completely.
  • Log in and add this to /etc/sources.list:

    -deb http://www.reinholdtsen.name/freedombox wheezy main
    +deb http://www.reinholdtsen.name/freedombox wheezy main
     
  • Run this as root:

    @@ -91,12 +100,18 @@ apt-get install freedombox-setup
     
     
     
    +

    You can test it on other architectures too, but because the +freedombox-privoxy package is binary, it will only work as intended on +the architectures where I have had time to build the binary and put it +in my APT repository. But do not let this stop you. It is only a +short "apt-get source -b freedombox-privoxy" away. :)

    +

    Note that by default Freedombox is a DHCP server on the 192.168.1.0/24 subnet, so if this is your subnet be careful and turn -off the dhcp server by running "update-rc.d isc-dhcp-server +off the DHCP server by running "update-rc.d isc-dhcp-server disable" as root.

    -

    Please let me know if this work for you, or if you have any +

    Please let me know if this works for you, or if you have any problems. We gather on the IRC channel #freedombox on irc.debian.org and the @@ -107,4 +122,5 @@ mailing list.

    http://your-host-name:8001/ to see the state of the plint welcome screen (dead end - do not be surprised if you are unable to get past it), and next visit http://your-host-name:8001/help/ -to look at the rest of plinth.

    +to look at the rest of plinth. The default user is 'admin' and the +default password is 'secret'.