[Freedombox-discuss] Migrating to freedombox-pkg-team list to tracker.debian.org

2018-03-23 Thread Sunil Mohan Adapa
Hello,

The mailing list freedombox-pkg-t...@lists.alioth.debian.org is used by
FreedomBox packaging team to get notifications and bug reports. We are
moving this list to team+freedom...@tracker.debian.org . Please
subscribe yourself to that team[1] if you are part of or looking to be
part of FreedomBox packaging team.

As part of alioth decommissioning the mailing list
freedombox-pkg-t...@lists.alioth.debian.org will be gone. We have an
option to continue it but that is temporary[2]. A good replacement for
this list will be to use Teams feature of tracker.debian.org as
described in the Alioth migration guide[3]. Following it, I have created
a team for FreedomBox[1].

FreedomBox packaging team members have to:

- Abandon the freedombox-pkg-team list, choose not to migrate it[2].

- Subscribe yourself to the team list[1].

- Use team+freedom...@tracker.debian.org in the 'Maintainer:' instead of
freedombox-pkg-t...@lists.alioth.debian.org for all future package uploads.

Links:

1) https://tracker.debian.org/teams/freedombox/
2) https://wiki.debian.org/Alioth/MailingListContinuation
3) https://wiki.debian.org/Salsa/AliothMigration#tracker.debian.org

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Whonix collaboration

2018-03-22 Thread Sunil Mohan Adapa
On Wednesday 21 March 2018 05:55 PM, procmem wrote:
> Hi Whonix dev here. Our distro is built around protecting common user
> cases by forcing all connections thru Tor and configuring applications
> for safe defaults. I think you and us have many common goals. Our long
> term goal is to push our work upstream for long term viability and
> widespread adoption. If we can identify shared areas of coop that would
> be awesome. Though we are predominantly a VM OS we also have a physical
> build option.
> 
> Some links:
> 
> You can introduce yourself on our forums:
> forums.whonix.org
> 
> Here you can view all our deb packages and pick the ones that interest you:
> https://github.com/Whonix/Whonix

Just read about Whonix and it is certainly an interesting idea.

I am excited about the idea of collaboration.

I propose we have an IRC or Mumble meeting that both teams can attend.
We can discuss the goals of each project and areas of collaboration.
FreedomBox team usually meets fortnightly to discuss progress, this
could be an avenue[1].

Links:

1) https://wiki.debian.org/FreedomBox/ProgressCalls

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] persons who raise money for the freedombox?

2018-03-14 Thread Sunil Mohan Adapa
On Thursday 15 March 2018 01:56 AM, ni nhar wrote:
> https://lists.alioth.debian.org/pipermail/freedombox-discuss/2017-October/008154.html
>
>  Did a person from the freedombox.org respond on the email?

I believe no one did.

> 
> Does a group of persons do an organized fundraising? Explore relevant
> places for getting funds? Contacts them?
>
> If there is no such group, one should get formed. Would more money to
> the freedombox not be beneficial for it?

FreedomBox Foundation collects donations from people on behalf of the
project. I think active exploration for funding is not happening.

Two of us (Joseph and I) are sponsored by ThoughtWorks. Apart from that,
more donations can go to causes like the village internet project here
in India, bounties, outreach and funding for developers.

I believe the foundation could use help in fund raising activities. I
would encourage interested volunteers to get in touch with the
Foundation too.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] what about a freedombox image for beaglebone black revision c emmc?

2018-03-14 Thread Sunil Mohan Adapa
On Wednesday 14 March 2018 09:00 PM, ni nhar wrote:
> beaglebone black revision c has an emmc chip. I asked for instruction
> on how to install the freedombox on the emmc. Got no answer.

Currently, there are no reports of people installing on eMMC for
BeagleBone Black Revision C. IIRC, quite some time ago, the kernel
didn't support installing on eMMC.

> Should'nt there be a freedombox image for installing on the emmc? You
> should make one if the freedombox installed on the emmc is much
> faster than the freedombox installed on a sdcard.

If you give it a try and it works, do write about it.  We can prepare
instructions for eMMC installation or prepare a separate image if necessary.

Thanks,

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Contributing to FreedomBox

2018-03-07 Thread Sunil Mohan Adapa
On Tuesday 06 March 2018 10:45 PM, Eesha Dutta wrote:
> Hello all,
> 
> I am Eesha Dutta. I am a student at International Institute of
> Information Technology, Hyderabad. I am experienced with Javascript,
> Python and Django and also a contributor to Open Humans organisation. I
> came
> across FreedomBox through my seniors, Nikhil Rayaprolu and Mridul Nagpal. I
> would like to contribute to the project and would like to know if
> FreedomBox is participating in Outreachy, this year. I found that
> FreedomBox was listed as an Outreachy project under Debian last year and
> as Debian is again participating in Outreachy this year, I would like to
> know if I could contribute to FreedomBox as an Outreachy student.
> 

I was participating last year as mentor last year but I won't have
enough time to spare this time.  Let us hope others step in and you find
a mentor and a good project within FreedomBox.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Banana Pi BPI-R2

2018-02-13 Thread Sunil Mohan Adapa
On Tuesday 13 February 2018 09:38 PM, Josh Blagden wrote:
> Hi folks,
> 
>    I was going through the Debian Micronews RSS feed and I stumbled upon
> the 2017 Freedombox progress report. While I was reading through it, I
> noticed that the Banana Pro board was mentioned. So, I did some research
> on Banana Pi and I came came across a neat board that I think would make
> a great Freedombox. Considering that one of the goals of Freedombox is
> to serve as a router, I think the Banana Pi BPI-R2 would be a great
> board for it because in addition to having 2 SATA ports and two USB 3.0
> ports, it also has 5 ethernet ports (including WAN).
> 
> 
> Here's a link to it in case you'd like to check it out:
> http://www.banana-pi.com/eacp_view.asp?id=104.

I had my eyes on R1 earlier. R2 would indeed be an interesting hardware
for FreedomBox. However, I don't see much mainline support in kernel,
Debian or u-boot for this MediaTek SOC. We will have to wait until that
happens.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Moving to Salsa from Github

2018-01-22 Thread Sunil Mohan Adapa
On Monday 22 January 2018 04:06 PM, Daniel Kahn Gillmor wrote:
[...]
> I recommend filing a merge request with
> https://salsa.debian.org/salsa/AliothRewriter.git so that the
> redirection takes place as expected.

Thank you.  I have raised a pull request[1].

Links:

1) https://salsa.debian.org/salsa/AliothRewriter/merge_requests/69

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Moving to Salsa from Github

2018-01-21 Thread Sunil Mohan Adapa
On Monday 15 January 2018 02:27 PM, Sunil Mohan Adapa wrote:
[...]
> So far, we have already moved all FreedomBox repositories[1] except
> Plinth. For these repositories, Github repositories have been made
> read-only (archived) and descriptions have been updated to point to new
> repositories. Please update your repository URLs and do all further
> interaction with Salsa. Plinth will be moved next week if we find
> everything to be smooth.

We have now completed the move of Plinth to Salsa.  All Alioth and
Github repositories of FreedomBox should now be treated as
readonly/archived.

We are in the process updating the Weblate to make sure that commits
happen to the new repository.

Thank you,

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] GSoC project

2018-01-17 Thread Sunil Mohan Adapa
On Wednesday 17 January 2018 12:46 PM, Dashamir Hoxha wrote:
[...]
> That's right, docker can run only one process. But here comes my great
> discovery: what if we run `/sbin/init` itself inside docker? All the daemons
> that you mention would work fine.
> 
> No, I am not making guesses and assumptions, I have been doing it for
> years and it works great. There are a few tricks, for example for
> running systemd
> inside a container, but docker is much more flexible that people usually
> think
> and it can handle them.
> 
> For example look at this: https://github.com/docker-scripts/moodle
> Moodle also requires systemd, apache2, mariadb, etc. to run properly.
> Here is an example of Moodle running in a container: https://ocw.fs.al
> What do you think about it?

With having a full systemd and a Debian system inside the container,
perhaps things will work.

I would be happy to help with any specific technical issues related to
FreedomBox itself.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] GSoC project

2018-01-16 Thread Sunil Mohan Adapa
On Tuesday 16 January 2018 11:26 PM, Dashamir Hoxha wrote:
> Hi,
> 
> I have created a GSoC project about installing FreedomBox
> in a Docker container:
> https://wiki.debian.org/SummerOfCode2018/Projects/FreedomBoxContainer
> 
> If anyone would like to be a co-mentor I would appreciate it.

Please evaluate the suitability of docker for running FreedomBox.
FreedomBox requires systemd, firewalld, network-manager, certbot etc. to
be working properly.  From what I know, docker is more oriented to run a
single daemon inside a single process. This is the reason we chose to
run our development box using VirtualBox/vagrant instead.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Our wikis: ikiwiki, mediawiki

2018-01-15 Thread Sunil Mohan Adapa
On Saturday 13 January 2018 07:24 PM, permondes - sagen wrote:
[...]
> So to start the collection, what was the reasoning to include both? What
> target audience are they for? Who should use which? Or is it just the
> syntax?

Many times, software meant for a particular purpose is not ideal. While
one software may have its has strengths in some use cases, other
software work better in other use cases. For example, while Transmission
has good user interface that is suitable for first time users and works
for most regular uses cases, power users might find Deluge more suitable.

Another reason to have multiple applications is familiarity of users
with a particular application such as in case of MediaWiki.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

[Freedombox-discuss] 2017, The Best Year for FreedomBox Yet

2018-01-15 Thread Sunil Mohan Adapa
Hello,

I have tried to collate some of the progress we made in 2017 and wrote a
report:


 2017, THE BEST YEAR FOR FREEDOMBOX YET

 Sunil Mohan Adapa, Joseph Nuthalapati



<2018-01-03 Wed>


Table of Contents
─

1 Introduction
2 Technology
.. 2.1 New Applications
.. 2.2 Mobile application
.. 2.3 Hardware
.. 2.4 Many more improvements
3 FreedomBox in Villages
4 Community
5 Road Ahead
6 Links





1 Introduction
══

  Thanks to the work done at ThoughtWorks, by the larger FreedomBox
  community and in collaboration with Swecha, 2017 was a fantastic year
  for FreedomBox.

  We have made such huge technical leaps that we are no longer trying to
  find good use cases for FreedomBox. Instead, we are now looking to
  fill in the last missing pieces for completing its original vision.
  The community has grown bigger, stronger and is showing signs that it
  might one day rival some of the big FOSS projects out there. Our work
  with Swecha on bringing free Wi-Fi and digital services to villages
  stands as one of the best examples of technology helping people.

  Visit the website and wiki for introduction to FreedomBox[1][2] and
  see the two excellent videos[3][4].


2 Technology


  Technology being the backbone of the project, we made great many
  strides in practically every area of the project.


2.1 New Applications


  Several new applications add to the many existing use cases of
  FreedomBox.

  • *MediaWiki*, the wiki engine behind Wikipedia is now available in
FreedomBox for collaborative editing and hosting websites.
  • *Shadowsocks* proxy server can be used to circumvent censorship
complimentary to the mechanism currently available via Tor.
  • *Cockpit* project, by Red Hat, has been integrated into FreedomBox
to provide web based SSH access and all advanced administration
capabilities via the web. This will help keep FreedomBox interface
itself very focused on the goal of providing simple UI for server
administration.
  • *Tahoe LAFS* provides distributed storage mechanism for FreedomBox.
  • A large amount of effort went into integrating the social network
applications *Diaspora* and *GNU Social*, though more is needed.
  • *Syncthing* provides a strong, viable and distributed replacement
for Dropbox-like services.
  • *Matrix Synapse*, a WhatsApp replacement, was added to FreedomBox.
It was used by the ThoughtWorks Hyderabad community for
communication for most of the year.
  • *Gobby Server* could be setup on FreedomBox to allow users to
collaboratively edit text documents.
  • *BIND*, as implemented in FreedomBox, could be used as a DNS server
for local networks with DNSSEC security guarantees.
  • *OpenSSH server* can now be controlled from FreedomBox for gaining
remote shell access.


2.2 Mobile application
──

  • We are on the verge of releasing a companion Android application for
FreedomBox that will not only make FreedomBox setup easier but will
also help with installing and configuring mobile clients for
accessing FreedomBox services.
  • To make this happen, we have implemented an API in FreedomBox that
the mobile application could consume. We have also provided
recommendations on mobile apps that could be used to access
FreedomBox services.


2.3 Hardware


  FreedomBox has continued to expand the number of hardware platforms
  that it runs on.

  • On *Raspberry Pi 2 and 3*, we no longer depend on proprietary kernel
but use Debian kernel. Both the boards are also much better
supported by the project now.
  • FreedomBox has images for *pcDuino3* which comes with a nice-looking
finished consumer box that can be bought directly from the
manufacturer.
  • FreedomBox also has images for *Banana Pro* which is another single
board computer that uses Allwinner A20 processor.


2.4 Many more improvements
──

  • We also made many improvements to the front page and made a
distinction between administrators and regular users accessing
FreedomBox.
  • FreedomBox Manual now has videos, screenshots on how-to steps for
many of the applications.
  • We now have a single sign-on feature for many applications.
  • We implemented more security features in FreedomBox such as fail2ban
and Captcha. HTTPS certificate renewal process is now automatic and
works better than before.
  • Installing FreedomBox on a regular Debian machine is simpler due to
the refactoring and cleanup work we did for FreedomBox Debian
packages.
  • We have better unit test cases and also implemented basic functional
tests which we intend to improve upon.
  • In ThoughtWorks we have CI infrastructure based o

[Freedombox-discuss] Moving to Salsa from Github

2018-01-15 Thread Sunil Mohan Adapa
Hello,

We are moving to salsa.debian.org from Github. Update your repository
URLs and expect some hiccups :)

Debian has a new service called as Salsa based on GitLab Community
Edition as replacement for Alioth. It provides the same services as
Github and we have decided to use it instead of using Github or
deploying our own instance of GitLab. It is currently in beta but we
decided to adopt early.

So far, we have already moved all FreedomBox repositories[1] except
Plinth. For these repositories, Github repositories have been made
read-only (archived) and descriptions have been updated to point to new
repositories. Please update your repository URLs and do all further
interaction with Salsa. Plinth will be moved next week if we find
everything to be smooth.

So far, all expected features are working fine. This includes basic git,
account creation, SSH keys, GPG keys, import from Github, issues, labels
and milestones.

Links:

1) https://salsa.debian.org/freedombox-team

Thank you,

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] SMB File Share

2017-11-30 Thread Sunil Mohan Adapa
On Friday 01 December 2017 02:35 AM, Andrey Skvortsov wrote:
> On 17-11-30 12:06, Josh Blagden wrote:
>> Is it possible to use a Freedombox as a file share? For example, for
>> hosting movies and TV shows for in-house streaming?
>>
>>
>>
>> Josh
> 
> Hi Josh,
> 
> Freedombox is Debian Pure Blend, so you can do with it anything, that
> you can do with Debian. You can install minidlna (DLNA media server)
> and it will share movies/music/photos in your LAN.

We have plan for an app in FreedomBox that will share a given directory
via SMB, DLNA, NFS and HTTP. One of our contributors is working on it
for HTTP initially. minidlna seems like a nice and easy to use server to
use for DLNA part of this.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Does FreedomBox run on a smartphone?

2017-08-09 Thread Sunil Mohan Adapa
On Wednesday 09 August 2017 05:36 AM, StealthMonger wrote:
> Does FreedomBox run on a phablet (= phone + tablet)?  An Indigi T795 in
> particular?  How could it be installed?

We don't have FreedomBox images for any phone/tablet devices.  If Debian
runs on it, then you can install Debian and then install the FreedomBox
packages[1].

Links:

1) http://wiki.debian.org/FreedomBox/Hardware/Debian

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] FYI - how to install Cockpit web (UI) service to fbx

2017-08-09 Thread Sunil Mohan Adapa

On Wednesday 09 August 2017 01:59 PM, heynmoeller wrote:
[...]
> Reload of firewalld seems to be needed to know/recognize cockpit as a
> service!

Ouch. firewalld does not seem to read new files placed in its services
directory automatically.  If necessary we can take care of this when we
write Plinth application for cockpit.  However, if we are able to run
cockpit under /cockpit (like we do for many other services) then we
won't have to deal with opening up the port.

[...]
> At the moment there is no integration into Freedombox (as a Service) yet.
> A Plinth-Module needs to be build for further integration; if needed/wanted!

Quite a few of us were interested to see cockpit integrated in FreedomBox.

> 
> Features I like to use with cockpit: web-console and viewing logs (with
> filters), administrate, managing and have a look to my NAS.
> 
> Maybe someone find it useful

Thanks for the report.  It is helpful and confirms that Plinth app
creation is straight forward.

Would be interesting to know if cockpit can run behind Apache under
/cockpit.  This would avoid having to meddle with the firewall and we
can potentially do (SSO) authentication using Apache.  Let us know if
you happen to try out something like that.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] stable image rpi 2

2017-07-20 Thread Sunil Mohan Adapa
On Thursday 20 July 2017 02:49 PM, thi-...@laposte.net wrote:
> Hello I'm french
> 
> So I installed the new image of July 17 on my rpi2, I no longer have
> problems of change of address MAC, but this is not the original one.
> I've been trying to install openvpn for more than 8 hours and it's not
> over yet.

The installation should be reasonably fast but the generation of keys
which happens in the setup step will take time.  On a Raspberry Pi 2, it
would take more time than 8 hours.  If it is not a matter of urgency,
please leave it around for a day.

> 
> I feel it takes longer than usual, is it related to change MAC address?

I don't believe it is related to MAC address.

> 
> I stop the installation because it is useless. I have rebooted, there is
> way to check this MAC address?

When rebooted, the setup process starts for the beginning again.

> 
> The ca.crt and ca.key files were created
> 
> I have done systemctl start openvpn and systemctl status openvpn,
> console openvpn is started and active and in plinth it must be installed.

Plinth will see it as "setup completed" when keys are present.

If you really really wish to have 2048 bit keys instead of 4096 keys you
can edit /usr/share/plinth/actions/openvpn and start the setup process
again.  This time, it would take considerably set time.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Translation Platform

2017-07-12 Thread Sunil Mohan Adapa
On Thursday 13 July 2017 03:06 AM, Petter Reinholdtsen wrote:
> [Danny Amir Haidar]
>> What do you all think about the platform choice? Do people want to stay on
>> Weblate? Or do people want to migrate some translation projects to
>> Transifex in the interest of translation speed and language diversity?
>> Please let me know what you think.
> 
> I believe we should use Free Software tools as much as possible when
> developing the Freedombox, to reduce the risk of future lock-in, as well
> as contribute to the improvement of Free Software at large.  Because of
> this, I believe it would be a mistake to replace Weblate with Transifex.
> 

I strongly agree with Petter.  In addition we should consider the following:

- We have put in significant effort in moving to Weblate (integration,
time and money).

- One day, FreedomBox project may host its own instance of Weblate on
Foundation's infrastructure for the benefit of FreedomBox and other
projects.

- Based on the feedback from translators, Weblate has not major
drawbacks that we care about and is likely not slower than Transifex.

- Weblate commits to our Git repository based with translator's name.
In general, the workflow as been quite nice and as I gather the same
can't be said for Transifex.

- Michal Čihař, the person in-charge of Weblate, has been very
supportive of FreedomBox (and free software in general) and provides us
good support.  We have a mutual promotion arrangement with Weblate (see
front page of weblate.org and FreedomBox Wiki/Plinth pages).

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Freedombox and decentralized search

2017-04-29 Thread Sunil Mohan Adapa
On 04/28/2017 10:21 PM, Petter Reinholdtsen wrote:
> [Melvin Carvalho]
>> I was wondering what people thought about the idea of having your own
>> search engine together in your freedombox?
> 
> Sound cool.  I can help if someone is interested in packaging this for
> Debian.  Let me know on IRC if you need a sponsor. :)
> 

Quick glance at the package shows that the package is written in Python
and JS.  All Python dependencies, most Python dev dependencies and most
JS dependencies already seem packaged in Debian.  If someone wants to
work on this package, it should not be too much effort.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] FBX Snapshots Module on Rasberry Pi 3

2017-04-18 Thread Sunil Mohan Adapa
On Monday 17 April 2017 11:32 PM, julian wrote:
> Hello all.
> 
> Similar but maybe outdated question?
> https://github.com/freedombox/Plinth/issues/568
> 
> 
> Quick question:
> 
> Is it possible to use Snapshots on freedombox running on a raspberry pi 3?
> 
> I am trying to install Snapshots but I get this crazy error:
> 
[...]
> 
> According to the Issue #568
> (https://github.com/freedombox/Plinth/issues/568
> ) SunilMohanAdapa says that this error is because raspberry pi is using
> ext4 and NOT btrfs.
> 
> So my question is: can btrfs be used on a raspberry pi running freedombox?
> 
> I essentially want to have to snapshots and backups of my fbx. And I
> know this could be achieved many ways (make a cronjob with rsync, etc)
> but I would like to try out the Snapshots module that is built into
> freedombox.
> 

With recent changes to freedom-maker, we are now building Raspberry Pi 2
and 3 images with btrfs filesystem instead of the earlier ext4.  If you
are in a position to build an image using freedom-maker (or wait for a
new RPi image release) then snapshots module should work.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Suggestion to include FreedomBox system distribution in the list of free distributions at GNU.org

2017-04-18 Thread Sunil Mohan Adapa
On Tuesday 18 April 2017 01:01 AM, Jonas Smedegaard wrote:
[...]
>> Hi, I'm a free/libre software activist from Brazil, and although I'm 
>> not a tech expert, I have a suggestion to make:
>>
>> Can you follow the steps at 
>> [[http://www.gnu.org/distros/free-distros.html#NewDistro]] so as to 
>> include FreedomBox in the list of free/libre system distributions?
>>
>> If you already have done that: What is the status of the evaluation?
> 
> I believe there is no such process ongoing.
> 
> FreedomBox is not a distribution on its own, but a Debian Pure Blend - 
> i.e. a subset of Debian.  Debian does not contain non-free parts and do 
> not recommend the use of non-free parts, but Free Software Foundation 
> disapproves of how Debian _suggests_ it.  Notice their explicit mention 
> of "suggesting" at their web page.

With recent changes Raspberry Pi 2/3 builds use the Debian kernel.  We
have only the boot firmware of Raspberry Pi as non-free firmware.  This,
hopefully, will be freed in the near future.  RPi 1 images could perhaps
be dropped.

Assuming this happens, FreedomBox is in a better situation than Debian.
FreedomBox does not even suggest non-free firmware.  We don't show or
talk about non-free package on FreedomBox web pages and materials.

> 
> I therefore consider it unlikely for the Free Software Foundation to 
> endors FreedomBox on their list - but hey, if anyone wants to try, 
> please do go ahead - other distros based on Ubuntu which is undoubtedly 
> less free is on that list, so anything is possible.

I believe we could try.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Interest on Contributing

2017-04-10 Thread Sunil Mohan Adapa
On Monday 10 April 2017 12:46 PM, Κατερίνα Καμπάρδη wrote:
> Hi,
> 
> I am a full-stack developer working with Python and Django for the
> backend. I also have Front End experience using HTML/CSS/JS and
> Bootstrap framework.
> 
> Last week I found out about Freedom box while I was seeking for open
> source projects to get involved. Plinth project seems very interesting
> to me as I am Django enthusiast!
> 
> I have setup the development environment using Vagrant and seeking for
> an easy picking for my first contribution. Any mentoring would be more
> than welcome !!

Glad that you are looking to contribute to the FreedomBox project.

There are issues on the bug tracker that are marked with 'beginner' tag
that would be good for warm-up[1].  After that you can pick up other
tasks that are marked 'ready for implementation'[2].  On any of these
tasks you can request details on implementation.

We are also available on IRC and mailing list to answer questions about
internals, or help you pick a task.

1)
https://github.com/freedombox/Plinth/issues?q=is%3Aissue+is%3Aopen+label%3Abeginner

2)
https://github.com/freedombox/Plinth/issues?q=is%3Aissue+is%3Aopen+label%3Aready-for-implementation

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Low Cost Community Wi-Fi Networks

2017-03-24 Thread Sunil Mohan Adapa
On Thursday 23 March 2017 04:57 PM, Bob Mottram wrote:
> On Wed, Mar 01, 2017 at 08:58:36PM +0530, Sunil Mohan Adapa wrote:
>> I recently had an opportunity to work with an team on setting up a low
>> cost community Wi-Fi network in a village nearby here in India.  I wrote
>> an article about it.  It is attached.
> 
> This sounds like a good achievement. An idea to extend this to multiple
> locations might be to have two wifi adapters on the system, one running
> the typical infrastructure mode and the other running batman-adv with a
> network bridge set up between the two. Then you could maybe do VoIP
> between villages in a way which doesn't require any special additional
> configuration and which doesn't depend upon existing telcos.
> 
> I will probably try making something like this as a test system to see
> how feasible it is.

Great!  I look forward to your report.

By the way, it would be nice if someone works on implementing proper
support for batman-adv in Network Manager.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Workshop on Low Cost Community Networks with FreedomBox

2017-03-18 Thread Sunil Mohan Adapa
On Saturday 18 March 2017 12:21 PM, Jonas Smedegaard wrote:
> Quoting Sunil Mohan Adapa (2017-03-18 02:47:39)
>> On Wednesday 01 March 2017 08:48 PM, Sunil Mohan Adapa wrote:
>>>  __
>>>
>>> WORKSHOP ON LOW COST COMMUNITY NETWORKS WITH
>>>  FREEDOMBOX
>>>
>>
>> We have some documentation[1] now available on the topics we are going
>> to discuss at the workshop.
>>
>> Links:
>>
>> 1) https://code.swecha.org/freedombox/networks/
> 
> Great!
> 
> ...but that page says "The repository for this project is empty" - did 
> you perhaps provide a wrong URL - or maybe forgot to push your local 
> git?
> 
> Hope you are having lots of activity and lots of fun this weekend!
> 

Thank you.  Here is a better link:

https://code.swecha.org/freedombox/networks/wikis/home

-- 
Sunil

___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss


Re: [Freedombox-discuss] Workshop on Low Cost Community Networks with FreedomBox

2017-03-17 Thread Sunil Mohan Adapa
On Wednesday 01 March 2017 08:48 PM, Sunil Mohan Adapa wrote:
>  __
> 
> WORKSHOP ON LOW COST COMMUNITY NETWORKS WITH
>  FREEDOMBOX
> 

We have some documentation[1] now available on the topics we are going
to discuss at the workshop.

Links:

1) https://code.swecha.org/freedombox/networks/

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

[Freedombox-discuss] FreedomBox at FOSSASIA 2017

2017-03-17 Thread Sunil Mohan Adapa
Hello,

Nikhil Rayaprolu, a member of the FreedomBox project has setup a stall
at FOSSASIA 2017.  He is also giving a lightning talk there.  If any of
your are attending, be sure to drop by.

Some picture of the stall are available[1].

Links:

1) https://wiki.debian.org/FreedomBox/TalksAndPresentations/FOSSASIA2017

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] sshd on non-standard port?

2017-03-16 Thread Sunil Mohan Adapa
On Thursday 16 March 2017 02:04 PM, Jonas Smedegaard wrote:
[...]
> 
>> Links:
>>
>> 1) https://github.com/freedombox/Plinth/issues/759
>> 2) https://github.com/freedombox/Plinth/issues/760
> 
> Can we please track Freedombox issues at our Debian bugtracker?
> 

Another motivation to move away from Github[1].

1)
https://www.fsf.org/blogs/licensing/do-githubs-updated-terms-of-service-conflict-with-copyleft

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] sshd on non-standard port?

2017-03-15 Thread Sunil Mohan Adapa
On Thursday 16 March 2017 01:46 AM, Daddy wrote:
> I have the same experience - I'm using freedombox as (internet exposed)
> router, and I get several root login ssh attempts from various ip
> addresses every few seconds.
> 
> I've installed fail2ban, but as pam-abl is present, that was probably an
> overkill.
> 

Fail2ban is good choice in this case because we wish to stop attempts
from happening (and logs from filling up).  Fail2ban actively
discourages an adversary by blocking their packet traffic which
libpam-abl does not.  Fail2ban also has the infrastructure for making
web based login attempts harder.

There have been previous discussions about adding fail2ban to FreedomBox
by default.  I opened a new issues to implement this fail2ban for SSH[1]
and Plinth[2].  If someone is interested they can pick it up (slightly
more than 'beginner' level difficulty).

Links:

1) https://github.com/freedombox/Plinth/issues/759
2) https://github.com/freedombox/Plinth/issues/760

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Low Cost Community Wi-Fi Networks

2017-03-06 Thread Sunil Mohan Adapa
On Friday 03 March 2017 12:04 AM, Jonas Smedegaard wrote:
[...]
>> We did manage to find a couple of suppliers.  We almost didn't get the 
>> metal box for the Lime2.
> 
> That is good to hear!  Please share some details.
> 
> Given that the metal box is relatively new, I am not surprised that one 
> in particular was harder to get.
> 
> At #debian-in have several times been met with the argument that those 
> boards were not possible to get in India.  Given my appreciation for 
> those boards, I would love to be able to help point to resellers in 
> India.

Here are some sources for OLinuXinos in India.  I am not sure, however,
if these are where we bought our devices.

http://www.mouser.in/new/olimex/olimex-lime-db/
http://logsunonline.com/a20

-- 
Sunil

___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss


Re: [Freedombox-discuss] Low Cost Community Wi-Fi Networks

2017-03-05 Thread Sunil Mohan Adapa
On Monday 06 March 2017 02:32 AM, James Valleroy wrote:
[...]
>>
>> I know you are lightly poking at me for Ampache, etc. :)  We have to
>> make time for improving its packaging in Debian.
>>
>> Let me just say that people like it.  They are using "Power Ampache"
>> (new devices) and "Amdriod" (older and newer devices).
> 
> It looks like ampache has been removed from Debian (unstable). Are you
> planning to upload/maintain it?

I am thinking of maintaining at least one music streaming application
like Ampache (unlikely take it up in next 2 months).  Currently, Ampache
seems like a good option satisfying all the needs.

> 
> I've been testing mpd a bit. I'm able to control it remotely with gmpc
> and stream to vlc (over http). It should be simple to put together a

As others pointed out, I am looking for an application that will stream
music to mobile clients with a good interface.

> Plinth module for it. I'm wondering how the music files should be
> uploaded though (upload form in Plinth?).

I suppose when we restore a file sync application into FreedomBox, that
could be used.  Currently, ssh/sftp is our option, I guess.

-- 
Sunil

___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss


Re: [Freedombox-discuss] Low Cost Community Wi-Fi Networks

2017-03-05 Thread Sunil Mohan Adapa
On Monday 06 March 2017 03:25 AM, Petter Reinholdtsen wrote:
[...]
> 
> The feature I am after is being able to visit a web page showing my
> music collection and playing the music using my browser.  I am only
> aware of ampache and groovebasin in Debian that is able to do so, and
> while groovebasin work fairly well, it refuses to work in a sub-url (see
> https://github.com/andrewrk/groovebasin/issues/495), and thus is hard to
> get working with FreedomBox and pagekite (another of my requirements).
> 
> I hope ampache is without such limitation, but have not tested it yet.

I have tested this and it work well.  Also tested with mentioned Mobile
clients.

-- 
Sunil

___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss


Re: [Freedombox-discuss] Low Cost Community Wi-Fi Networks

2017-03-02 Thread Sunil Mohan Adapa
On 03/02/2017 04:03 PM, Jonas Smedegaard wrote:
[...]
> I ask partly from personal curiosity: I recall that during Siri's and my 
> visit in 2015 we visited a nearby village, and stood on the roof of a 
> school checking line of site for setup of an antenna there.  I wonder if 
> that project was deployed too, or am delayed, or perhaps cancelled.  But 
> perhaps Swecha knows better than you?

I am afraid, I can't connect to this one.  We did quite some trials
before the implementation.

> 
> I notice in your text that an Olimex board was used.  Cool!

Certainly a +1 to OSHW there :)

> 
> As I understand, there are few if any distributors of Olimex boards in 
> India - I imagine that making some noise about this succesful deployment 
> might help raise awarenes of the boards to encourage distributors to put 
> those boards on the shelves: Is your report on a website somewhere?  One 
> way to make noise is to pass a web page (preferrably easy consumable 
> with a few pictures) to Olimex, to encourage them re-posting on their 
> blog.

We did manage to find a couple of suppliers.  We almost didn't get the
metal box for the Lime2.

Will try to put the article on a website soon and connect with Olimex
folks.  Thanks for the suggestion.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Low Cost Community Wi-Fi Networks

2017-03-02 Thread Sunil Mohan Adapa
On 03/02/2017 05:35 PM, Petter Reinholdtsen wrote:
> 
> Hi.  Very cool project and very interesting report.  I look forward to
> testing some of these features on my FreedomBox. :)

I know you are lightly poking at me for Ampache, etc. :)  We have to
make time for improving its packaging in Debian.

Let me just say that people like it.  They are using "Power Ampache"
(new devices) and "Amdriod" (older and newer devices).

> 
> [Sunil Mohan Adapa]
>>   - VOIP Software: To allow free voice calls across the village.  A free
>> software VOIP server known as repro was setup on FreedomBox.  It
>> uses the SIP protocol for communication.  On the client side,
>> another free software program built for the Android operating system
>> know as CSipSimple was used.
> 
> Is this done using stock Android phones, or do you have to root them?  I
> believe I saw claims from the Serval project that Android is unable to
> configure mesh networking without rooting the pone.  Is this still true,
> and if so, how did you get around it?
> 

Of the nearly 110 mobile phones we setup, only one was Windows phone
(which we gave up on for now).  The rest are Android.  We simply
installed CSipSimple application from APK or using Play store without
rooting the phone.  This allows people to communicate across the village
but there is no federation for this SIP server.

I am afraid we didn't do mesh networking.  It was plain old Wi-Fi
network spread across the village with Ethernet back-haul.  By the way,
we only have a single OLinuXino Lime2 at the center of the entire
village doing Internet routing, SIP calls, music streaming and file
sharing (at least for now).

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Low Cost Community Wi-Fi Networks

2017-03-02 Thread Sunil Mohan Adapa
On 03/02/2017 01:56 PM, Sibi Kanagaraj wrote:
> Hello Sunil ,
> 
> First of all congrats to  FreedomBox and Swecha team . As such I see a
> workshop
> 
> lined up for 18th and 19 th of March , 2017 . Will it be possible for us
> to conduct a similar workshop in TamilNadu ? . FSFTN
>  team would be really interested in taking up a
> community project like this .
> 

It would be nice if some of you can make it to Hyderabad for the
workshop, later we can team up and do another workshop together in Tamil
Nadu or perhaps one implementation.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Workshop on Low Cost Community Networks with FreedomBox

2017-03-02 Thread Sunil Mohan Adapa
On 03/02/2017 01:16 AM, s...@bristolwireless.net wrote:
> 
>> This sounds like an interesting workshop.  Are there any plans to train
>> people from around the world so that they can then give the workshop
>> wherever they are from?
> 
> This sounds good. It may be possible to adapt something from
> http://wndw.net/
> 
> This book is a practical guide to designing and building wireless
> networks in local communities, enhancing lives through improved
> communication, access to information for educational, social and
> economic growth. Its primary goal is to help expand access to the
> Internet and to expand the deployment of community networks where there
> is currently no infrastructure to enable this to happen. Written by
> subject matter experts who have vast experience in deploying wireless
> networks in the field and connecting communities to the global Internet.
> 
> Or even provide it as a handout on USB?
> 

Awesome that you mentioned http://wndw.net/ .  This book has been
inspirational for us.  It is a strongly recommended reading material for
our team :)  I only wish it had been more technically detailed in some
areas.  Hopefully our documentation will complement that at least our
kind of implementation.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

[Freedombox-discuss] Low Cost Community Wi-Fi Networks

2017-03-01 Thread Sunil Mohan Adapa
Hello,

I recently had an opportunity to work with an team on setting up a low
cost community Wi-Fi network in a village nearby here in India.  I wrote
an article about it.  It is attached.

-- 
Sunil
  ___

   LOW COST COMMUNITY WI-FI NETWORKS

   Sunil Mohan Adapa
  ___


<2017-02-25 Sat>


Table of Contents
_

1 Introduction
2 Team
3 Effort
4 Technology Used
5 Support Structure
6 Conclusion
7 Some Statistics
8 Future Work
9 About FreedomBox
10 About Swecha





1 Introduction
==

  Wi-Fi services have been launched on 18th February 2017 in the model
  village of Gangadevipally in Telengana, India.  This is the
  culmination of several months of effort by the voluntary organization
  Swecha and developers of the FreedomBox project.  The network has been
  designed and implemented with the help of volunteers from various
  local engineering colleges.

  People of the village can enjoy free Wi-Fi to access the Internet.
  This will allow them to perform electronic transactions, get market
  information and view educational videos.  They will also be able to
  make audio calls to each other on smart phones without any cost using
  this infrastructure.  Educational materials such as training videos on
  competitive exams, vocational training, specialized techniques
  etc. will be made available using another service called Digital
  Library that is now made available.

  The entire implementation was done at a very low cost of 75,000
  rupees.  Although, this was done using donations from individuals, the
  entire network is owned and operated by the Panchayat, the local
  governance body.  The entire 1km length and 200m width of the village
  is covered with 31 separate access points to provide strong coverage.
  Internet connection from an ISP available in an neighboring village
  has been made available in this village by a 2.6km radio link.  The
  Internet connection is paid for by the Panchayat.

  Swecha acts as a technology partner to maintain and further develop
  the network.  These services are made possible by a home server
  technology called FreedomBox.  The team intends to explore the use of
  the networks for further services such as tele-medicine.  They will
  also help the villagers learn how to use a smart phone for various
  day-to-day needs and for the benefit of their work.  They hope to take
  this model to many more villages by engaging the talented youth
  available in local engineering colleges.


2 Team
==

  The team consisted of members of Swecha, 10-15 volunteers organized by
  Swecha who are mostly students from nearby engineering colleges and
  developers of the FreedomBox project.


3 Effort


  The work involved some research, testings and some trail and error and
  was done over period 3 months.  Four separate trips each for a
  duration of 2 to 3 days were made to get the setup work done.  Away
  from the village, in a Swecha center, about 2 to 3 weeks of work was
  done for extensive testing, configuring and other preparatory work.
  The next such installation for another village is expected to take
  significantly less effort.


4 Technology Used
=

  - Server Hardware: A single board computer with low power requirements
known as Olimex OlinuXino Lime 2 with a dual core ARMv7 processor, 1
GB RAM, 1 Gbps LAN acts as the central server.

  - Server Software: FreedomBox is the Debian GNU/Linux based software
stack the runs on the single board computer.  It provides an easy to
manage user interface for installing, configuring and managing
various services.  It also provides automatic firewall management,
automatic security upgrades and monitoring options.

  - Wi-Fi Antennae: Low cost Wi-Fi routers based on Binatone WR1500N.
These were customized for use in villages by Delhi based supplier.
These routers work using 802.11n standard in 2.4 GHz frequency band.
The antenna in the routers is a patch antenna that provides a
focused beam spanning 45 to 90 degrees horizontally.  The routers
come with Power-over-Ethernet capability and weather-proof casing.
The firmware running on these devices is free and open source
software: OpenWrt.  This allows extensibility, advanced monitoring
and management capabilities.

  - Wi-Fi Towers: Custom designed metal pole base act as basis for
mounting the Wi-Fi access points.  Each of these metal poles provide
a solid foundation structure to erect the pole, extension arms for
holding 6 Wi-Fi access points, and a weather proof box for holding
an Ethernet hub and power supply for the access points.

  - Back-haul: A mix of 100 Mbps Ethernet and 100 Mbps optic fibre
connection acts as backhaul to connect various access points.

  - Internet Radio Lin

[Freedombox-discuss] Workshop on Low Cost Community Networks with FreedomBox

2017-03-01 Thread Sunil Mohan Adapa
   __

  WORKSHOP ON LOW COST COMMUNITY NETWORKS WITH
   FREEDOMBOX

   Sunil Mohan Adapa
   __


<2017-03-01 Wed>


Table of Contents
_

1 About
2 Details
3 Registration
4 Facilities
5 Contents
.. 5.1 Understanding
.. 5.2 Planning
.. 5.3 Wi-Fi network
.. 5.4 Long range point-to-point Wi-Fi links
.. 5.5 FreedomBox
.. 5.6 Post installation
6 Contacts





1 About
===

  Swecha and the FreedomBox project invite you to learn how to build
  community Wi-Fi networks with FreedomBox.  Community networks spanning
  entire villages and campuses providing free Internet access and other
  digital services such as free VOIP calls and radio services are
  possible for a low cost of about INR 1,00,000 per location.  The
  workshop is meant for volunteers, hacktivists, enthusiasts and
  entrepreneurs who are interested in understanding all the low level
  details to replicate the success of Gangadevipally.  This is a
  training session to make the participants feel confident to lead an
  effort to setup a community network.

  Participants will walk away with the knowledge on technical and
  organization aspects of setting up Wi-Fi networks.  Documentation on
  all of the discussed items will be available.  Participants will also
  get to engage with people involved or looking to get involved in
  building networks.


2 Details
=

  - Location: Hyderabad, India

  - Date: 18th and 19th of March, 2017

  - Time: 10:00 to 17:00

  - End of registration: 16th March, 2017


3 Registration
==

  You must register for the workshop by sending an email.  The workshop
  is expected to be small with mostly local participants and some from
  neighboring states.  Number of attendees we can accomodate is limited
  and we will accept registrations on a first come, first serve basis.
  Send us a registration email with the following details:

  - Subject should be "Registration for Workshop".
  - Body should contain
- Names of the participants
- Reason for interest
- Organization name if any


4 Facilities


  There is no registration fee for the workshop.  You are expected to
  make your arrangements for travel, food and accommodation.  Some
  minimal arrangements may be available, please contact us for more
  details.


5 Contents
==

  The following are the topics of discussion during the workshop.


5.1 Understanding
~

  - Decentralization of networks
  - Why Wi-Fi?
  - Model of ownership


5.2 Planning


  - Selecting a village/community to setup Wi-Fi
  - Approaching a community with proposal
  - Identifying suitability for target audience
  - Accumulating funds
  - Financial planning
  - Building a team
  - Training the team
  - Surveying for feasibility
  - Understanding users
  - Timetable for installation
  - Services to be run in the village
  - Planning for Internet connection
  - Planning a support/maintenance team


5.3 Wi-Fi network
~

  - Mapping installation area with Open Street Maps
  - Designing a Wi-Fi network for large areas
  - Creating a bill of materials
  - Purchasing hardware
  - Purchasing tools for installation
  - Comparing Wi-Fi router hardware
  - Choosing the right antenna
  - Configuring OpenWrt Wi-Fi routers
  - Testing and mapping Wi-Fi signals
  - Power-over-Ethernet for Wi-Fi routers
  - Power boxes for Wi-Fi towers
  - Designing towers for Wi-Fi networks
  - Optimal deployment of Wi-Fi routers
  - Erecting Wi-Fi towers
  - Providing power to Wi-Fi towers
  - Outdoor deployment of Ethernet and power cables
  - 100 Mbps Ethernet Backhaul
  - Fibre Optic Backhaul
  - Understanding Wi-Fi roaming


5.4 Long range point-to-point Wi-Fi links
~

  - Choosing hardware
  - Purchasing hardware
  - Configuring and testing the hardware
  - Choosing frequency/band
  - Link budget calculation
  - Installation of Wi-Fi hardware
  - Antenna alignment
  - Bandwidth measurement
  - Connecting to backhaul


5.5 FreedomBox
~~

  - Basic set up of FreedomBox
  - Setting up DHCP for entire network
  - Setting up Internet connection
  - Configuring SIP server (repro)
  - Configuring Ampache
  - Configuring NextCloud
  - Automatic security updates
  - Setting up bandwidth control
  - Setting up remote access into FreedomBox
  - Setting up monitoring tool


5.6 Post installation
~

  - Registrations for users
  - Installing apps and configuring mobile phones for all services
  - Launch event
  - Monitoring
  - Building a village support team
  - Planning for computer availability in the village


6 Contacts
==

  Siddhartha Malempati 
  Sunil Mohan Adapa 

___
Fr

Re: [Freedombox-discuss] Outreachy Application

2017-02-28 Thread Sunil Mohan Adapa
On 02/28/2017 04:27 PM, Sunil Mohan Adapa wrote:
[...]
> I would be happy to mentor this particular project and also like to
> propose another project idea one similar lines to implement new card
> based user interface for FreedomBox based on mray's design[3].  I will
> update the project ideas page.

I have update the project page with myself as mentor and added another
project idea to implement new card based interface.  Looking for co-mentors.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Outreachy Application

2017-02-28 Thread Sunil Mohan Adapa
On Saturday 25 February 2017 11:58 AM, soumya vadlamannati wrote:
> Hello Everyone,
> 
> I am a student from International Institute Of Information Technology,
> Hyderabad in India, and have enjoyed contributing to open source
> projects for the past few months. I have seen a project called "Refactor
> FreedomBox Foundation Website"
> in https://wiki.debian.org/FreedomBox/SummerOfCode. Hence I wanted to
> confirm if FreedomBox was taking part in Outreachy, as I would like to
> participate.

Glad to know of your interest to work on FreedomBox.

FreedomBox participates in GSOC and Outreachy as part of the Debian
project.  Debian is participating in Outreaching Round 14[1].  Project
ideas are shared with Google Summer of Code 2017[2].

I would be happy to mentor this particular project and also like to
propose another project idea one similar lines to implement new card
based user interface for FreedomBox based on mray's design[3].  I will
update the project ideas page.

We will need co-mentors.  Anyone interested?

Links:
1) https://wiki.debian.org/Outreachy/Round14
2) https://wiki.debian.org/Outreachy/Round14#Projects
3) https://github.com/freedombox/Plinth/issues/739

-- 
Sunil

___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss


Re: [Freedombox-discuss] Demonstrating FreedomBox at FOSSASIA Summit 'Stand or Assemblies'

2017-02-11 Thread Sunil Mohan Adapa
On 02/10/2017 09:42 PM, Nikhil Rayaprolu wrote:
> Hello Everyone,
> I am planning to go for the FOSSASIA summit , which is being organized
> in March 17-19 in Singapore. I have a thought of demonstrating
> FreedomBox to participants through stall/stand over there.
> 
> Link to FOSSASIA summit page ; http://2017.fossasia.org/
> So I would like to take your opinion on this thought.

Great to know that you are going to be presenting in FOSSASIA.  I could
help you with presentation/talk, stall/stand and I shall also get you
some stickers to distribute there.  Since we are both in Hyderabad, let
us meet some time.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] cannot access plinth config web server

2017-01-07 Thread Sunil Mohan Adapa
On 01/07/2017 12:22 PM, Aaron Ferrucci wrote:
> Use of uninitialized value $item in hash element at
> /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.
> invoke-rc.d: policy-rc.d denied execution of stop.
>   Moving old database directory to /var/backups:
> 
>   Backup path /var/backups/unknown-2.4.44+dfsg-2.ldapdb exists. Giving up...
> Use of uninitialized value $item in hash element at
> /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.
> Use of uninitialized value $item in hash element at
> /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.
> invoke-rc.d: policy-rc.d denied execution of restart.
> Use of uninitialized value $item in hash element at
> /usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.
> debconf: DbDriver "_ENV_stack": unable to save changes to:
> libnss-ldapd/nsswitch
> ldap_add: Server is unwilling to perform (53)
> additional info: no global superior knowledge

This does not look good.

If you are trying fresh, could you try with the FreedomBox amd64 image?

-- 
Sunil





signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] boot partition full

2017-01-07 Thread Sunil Mohan Adapa
On 01/07/2017 06:17 PM, permondes - sagen wrote:
[...]
> But the device does not boot!
> I can unplug the micro-SD card to check some log files on my computer, do you 
> have an idea where to start?

Unfortunately, you won't have logs stored about this stage of booting.

Check if you have uEnv.txt and move it to see if you are able to boot.

To restore to earlier state, you can restore boot.scr files from backup.
(flash-kernel also takes a backup with the name boot.scr.bak)

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] boot partition full

2017-01-07 Thread Sunil Mohan Adapa
On 01/07/2017 03:09 PM, permondes - sagen wrote:
[...]
> Thanks Jonas, Sunil. flash-kernel was indeed missing. However,
> installing, moving boot.cmd did not help, I am still in 4.3.0 (checked
> with uname -r), boot.cmd was not newly generated. I realize that the
> file boot.scr has some non-readable characters at the beginning, this
> was actually already the case before:
> 
> 
>> ...:/boot$ cat boot.scr
>> 'V=�ѠV����#�Bi�setenv mmcdev 0
>> setenv mmcpart 1
>>
>> setenv mmcroot /dev/mmcblk0p2 ro
>> setenv mmcrootfstype btrfs rootwait fixrtc
>> setenv mmcrootflags subvol=@
>>
>> setenv console ttyS0,115200n8
>>
>> setenv kernel_file vmlinuz-4.3.0-1-armmp-lpae
>> setenv initrd_file initrd.img-4.3.0-1-armmp-lpae
>> setenv fdtfile sun7i-a20-olinuxino-lime.dtb
>> ...
> Should I move also boot.scr, then reinstall flash-kernel and restart?

Looks like boot.scr was not regenerated after install flash-kernel.
Jonas' command should take care of that.

I was wrong about having to move boot.cmd.  boot.scr is generated from
boot.cmd.  What I meant was /boot/uEnv.txt.  If it is present, move it.
uEnv.txt was used for booting earlier, but now boot.scr is used.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] boot partition full

2017-01-06 Thread Sunil Mohan Adapa
On 01/07/2017 05:43 AM, Jonas Smedegaard wrote:
[...]
>> So it is still booting the 4.3 kernel, which is unknown to aptitude.
> 
> Seems your hardware is ARM-based.  Commonly ARM-based hardware need the 
> package flashkernel to copy installed kernel + initramfs to the 
> different (hardware-specific) location where the bootloader looks for 
> it.

Indeed you need flash-kernel package.

If you have boot.cmd instead of boot.scr and also don't have
flash-kernel package, you must upgrading and running a FreedomBox image
from many releases ago.

To fix the situation,

1. Take backup of your SD card.

2. Make sure /boot is ext2fs and not vfat.

3. Install flash-kernel.  This will create the proper /boot/boot.scr
file with a line like "setenv fk_kvers '4.8.0-2-armmp-lpae'".

4. Optionally set /etc/flash-kernel/machine to "Olimex
A20-OLinuXino-LIME2" (depending on your board).  This should not be
required as flash-kernel will properly detect the machine when you are
running it from within the machine.

4. Move /boot/boot.cmd to /boot/boot.cmd.bak.

5. Reboot and check that boot happens properly.

If you already have flash-kernel package and /boot/boot.scr, then simply
moving /boot/boot.cmd should fix the situation.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] cannot access plinth config web server

2017-01-06 Thread Sunil Mohan Adapa
On 01/07/2017 10:43 AM, Aaron Ferrucci wrote:
[...]
> This shows that apache is running, and would serve up the admin page
> to anything that could connect.
> 
> So it seems I'm having a firewall or other connectivity issue, and I
> had
[...]

You are right about the firewall issue.  It appears that 'http' and
'https' services are not services allowed by firewall.  Running the
following will fix the issue:

firewall-cmd --zone=external --add-service=https
firewall-cmd --zone=internal --add-service=https
firewall-cmd --zone=external --add-service=http
firewall-cmd --zone=internal --add-service=http

firewall-cmd --zone=external --permanent --add-service=https
firewall-cmd --zone=internal --permanent --add-service=https
firewall-cmd --zone=external --permanent --add-service=http
firewall-cmd --zone=internal --permanent --add-service=http

However, there is a deeper problem.  The script
/usr/lib/freedombox/first-run.d/90_firewall should have done this for
you automatically.  If it didn't, then it means the freedombox-setup's
first boot script may not have executed at all.  Did you use the
amd64 FreedomBox image to setup your APU1D4?  Did you give enough time
during the first boot to run the script and do a reboot?  If you have
installed freedombox-setup from Debian, did you run setup script?

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] raspi 3

2016-12-09 Thread Sunil Mohan Adapa
On 12/09/2016 04:37 PM, Petter Reinholdtsen wrote:
[...]
> 
> This use case come up now and then.  What about running a text based
> browser pointing to the setup page when booting for the first time?  How
> hard can it be?  It would allow people to register their initial user
> using the linux console and be able to log in when it is done.
> 
> Or perhaps make a simple tty program to register the first user, instead
> of using the web page?
> 

Both ideas seem fine if implemented carefully. I created an issue to
track it:

https://github.com/freedombox/Plinth/issues/677

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Participation Freedombox development and Homepage

2016-12-09 Thread Sunil Mohan Adapa
On 12/09/2016 04:17 PM, Franz Felberer wrote:
> Dear all,
> 
> I started to use the freedombox software a few months again on a cubietruck.
> I am a fan of the project and I think about to participate in the project.

Welcome to the project :)

> 
> One of the first things that come to my mind is the homepage. Are there any
> plans/already ongoing actions to improve it.

If you mean the homepage provided by each FreedomBox device, there has
been some recent work on it.  We currently have a page to show the
services to a visitors and logged in users.  See this[1] issue as
staring point.

If you mean the website of FreedomBox, we have some work started on that
too.  We have a domain, a design and implementation of that in HTML/CSS.
 We need to write some content and put that into a static CMS called
lektor that we choose.  See this[2] work.

Do ping us on the IRC or the issue tracker for more details on
particular issues.

Links:

1) https://github.com/freedombox/Plinth/issues/594

2) https://github.com/freedombox/freedombox.org/

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] raspi 3

2016-12-09 Thread Sunil Mohan Adapa
On 12/09/2016 03:55 PM, tunda wrote:
> hi,
> 
> I'm new on this mailing list. hello to everyone.
> 
> But I have a quetstion or problem. maybe someone can help me to solve it.
> 
> I have a raspberry3 V2. I have flash the imgage
> (freedombox-testing-nonfree_0.9_raspberry2-armhf.img) to the microSD.
> 
> I plugin all devices I need, (Mouse, Keyboard, Monitor, Networkcable).
> PowerOn, ok the raspberry is booting, but ends with a loginscreen
> (terminal). Whats frong?
> 
> first: I can not login.  what is the login/password?

This is because there is no default password set.  You will need to run
a tool[1] on the image before using it in order to set password for
default user 'fbx'.

This, however, should not be needed if you run the first boot wizard on
the web interface (see below).  You will be able to login using the user
created during first boot wizard and do sudo.

> second: I realy need a grafical surface (GUI)

FreedomBox has a web interface to manage its various functions.  It is
available from another machine connected to it (typical for FreedomBox
use cases).  Connecting a machine to RPi3 can happen in two ways:

1) Connect RPi3 with a Atheros AR9721 based Wi-Fi USB dongle during
first boot.  Then connect to Wi-Fi access point provided by FreedomBox
using the default password 'freedombox123'.  Then access the Web
interface at http://10.42.0.1/

2) Boot RPi3 without a without adding extra Wi-Fi dongle.  Connect it to
your home router.  FreedomBox will obtain an IP address from local
network and configure itself.  Find out the IP address from router or by
doing nmap.  Then visit this IP address using browser.

If you wish to have a full GUI desktop environment, you can install one
from the command line (apt install ) after creating the initial
user using one of the techniques above.

Links:
1) https://wiki.debian.org/FreedomBox/Manual/SecureShell

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Error 405 when setting up a calendar in Radicale.

2016-12-03 Thread Sunil Mohan Adapa
On 12/04/2016 09:02 AM, A. F. Cano wrote:
[...]
> The Remote URL I entered was:
> 
> https://fbx/radicale:5232//Calendar.ics

The port goes right after the hostname like fbx:5232.  So the above URL
is not correct.

In FreedomBox, the port 5232 is not exposed by the firewall although
radicale runs on that port.  Instead we setup Apache to accept requests
on the URL fragment /radicale and forward that to 5232 port.  So, users
don't have specify port at all.

So, try the following URL:

https://fbx/radicale//Calendar.ics

> The FreedomBox-specific page:
> 
> https://wiki.debian.org/FreedomBox/Manual/Radicale

The URL specified here (without the port) is correct and works.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Unable to ssh and plinth issues

2016-09-28 Thread Sunil Mohan Adapa
On 09/28/2016 05:37 PM, stephen mahood wrote:
> Took the ssd and reviewed the logs and it looks as though it was a
> failed upgrade, lost connection at some point. Unfortunately seems
> unrecoverable, I booted into the device with a connected monitor and
> gives the same bash error on log in so not able to successfully log in
> to do any maintenance. 
> 
> Going to settle on rebuilding the device. 

Wondering if you have switched to testing instead of unstable.  That
would reduce the chance of upgrade failures I suppose.  Images based on
0.9 are based on testing so that will be an improvement.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Unable to ssh and plinth issues

2016-09-27 Thread Sunil Mohan Adapa
On 09/28/2016 07:54 AM, stephen mahood wrote:
> Hey Folks,
> 
> Running on raspberry pi zero. I turned off automatic updates as that
> was creating another problem that sunil and I discussed. This past
> sunday I decided to ssh in to upgrade since it had been a bit.
> 
> After the upgrade since i saw linux-base being upgraded i decided to
> restart the device. On initial restart it failed. Restarted manually
> and was able to get to plinth but not able to reconnect to quassel or
> ejabberd. Tried to ssh in and it failed, locally with the attached
> error.
> 
> Not quite sure what to do, I can load plinth, but I am unable to turn
> TOR off. I tried disabling and re-enabling both quassel and ejabberd to
> no avail. KInd of at a loss on what to do.

It might be that upgrade when very wrong or your ran out of disk space
during upgrade.

Quick check: what is the amount of free space on the disk?  You can
check it from Disks in Plinth since you are unable to login via SSH.

> -bash: error while loading shared libraries:
ve,true},{send_timeout,3},binary]

This looks really bad :(

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] No apps, no sys configuration + no ssh access

2016-09-18 Thread Sunil Mohan Adapa
On 09/18/2016 08:39 PM, euomu wrote:
[...]
> 2016-09-18 13:56:15,218 ERROR Cache has broken packages, exiting

There is a good chance that this is because you ran out of free space on
the SD card.  Mount the SD card on another machine and free up some space.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] No apps, no sys configuration + no ssh access

2016-09-18 Thread Sunil Mohan Adapa
On 09/18/2016 08:39 PM, euomu wrote:
[...]
>> Check if automatic upgrades are enabled in plinth/sys/upgrades/ . Check
>> for upgrade errors in /plinth/sys/upgrades/upgrade/
> 
> I had them enabled and here is the log for a few days of upgrading trials:
> 
[...]
> 2016-09-18 13:56:15,218 ERROR Cache has broken packages, exiting

You seem to have hit this bug: https://bugs.debian.org/824797

> 
>> Then create a fresh new user in /plinth/sys/users with admin permissions
>> and try to login with that user on SSH.  Check if FreedomBox upgrades
>> have halted for some reason:
> 
> I did try to create the user, but it's not possible to make it admin and
> ssh still dosen't work on that user either.
> Creating LDAP user failed.
> Failed to add new user to admin group.
> User  created.

Looks like the LDAP server is not running.  Before you try the methods
below, do a reboot (/plinth/sys/power/) and try to create to login (or
create a new user) again.

This double failure is unfortunate and I can only think of the following
two methods:

1) Add your public SSH key in edit user page and to do SSH login using
SSH key.  This may or may not work as the LDAP server seems down.

2) Shutdown the machine pull out the SD card and attach it into another
machine.

# mount /dev/sdf2 /mnt (adjust the device name as needed)
# chpasswd --root /mnt --crypt-method SHA512
fbx:

Or (perhaps)
# passwd --root /mnt fbx



# umount /mnt

Then put the SD card back into the FreedomBox machine and boot it.  You
should be able to login as 'fbx' user with the new password and handle
upgrades manually.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Error when trying to edit WiFi-connection

2016-09-17 Thread Sunil Mohan Adapa
On 09/17/2016 02:14 PM, Dieter wrote:
> Hello mailing-list!
> 
> I'm currently having trouble editing the WLAN-Connection of my
> freedombox (not having done much with the box in the last months).
> 
> The problem started when i rebooted the box yesterday, as since then,
> the same ip-address range gets assigned to the local ethernet connection
> eth0 as well as to wlan0.

Usually when you have multiple network connections in shared mode, then
network manager automatically chooses different IP address ranges (like
you have shown below), 10.42.0.1/24, 10.42.1.0/24, etc.

However, you can control this range if you want to.  After selecting
'shared' mode in the connection settings, set the IP address to the
first IP address (say 10.42.6.1) in the desired range (10.42.6.1/24) and
set the subnet mask suitable for the range (say 24, can't be less than
24, I think).

> 
> The following error occurs:
> 
> [2016-09-17 10:38:19,537] django.request ERRORInternal Server Error:
> /plinth/sys/networks/9716ce20-1597-4eb2-839b-7f06e4cc9085/delete/
> Traceback (most recent call last):
>   File
> "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line
> 39, in inner
> response = get_response(request)
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py",
> line 249, in _legacy_get_response
> response = self._get_response(request)
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py",
> line 187, in _get_response
> response = self.process_exception_by_middleware(e, request)
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py",
> line 185, in _get_response
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>   File
> "/usr/lib/python3/dist-packages/plinth/modules/networks/networks.py",
> line 365, in delete
> name = network.delete_connection(uuid)
>   File "/usr/lib/python3/dist-packages/plinth/network.py", line 454, in
> delete_connection
> connection.delete()
> GLib.GError: g-dbus-error-quark: The name :1.6 was not provided by any
> .service files (2)

This looks nasty.  If you are trying to delete a connection and are
unable to, then you can work around by manually deleting from command line.

Network Manager terminal interface:

$ nmtui

Or using command line interface. List connections:

$ nmcli connection

Delete connection:

$ nmcli connection delete ""

Hope this helps.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] No apps, no sys configuration + no ssh access

2016-09-15 Thread Sunil Mohan Adapa
On 09/16/2016 01:35 AM, euomu wrote:
> hi,
> 
> I haven't been looking to the server for a month or more. Because I
> couldn't ssh into it or access plinth, I restarted it. Now I still can't
> ssh into it(permission denied), but I can get into plinth (only through
> pagekite) and the problem is that I have no apps and no system
> configuration (both pages have only a brief description).

There was a bug for a brief period where the menus on the left
disappeared.  You can still reach all the applications and system
settings by typing the URLs.  For example, /plinth/sys/users will give
you user management.

> 
> Any recommendation on what can I do to get a fully functional Plinth (as
> it used to be) and ssh access?

Please check Plinth's version in /plinth/help/about ?  It should be 0.10.0.

Check if automatic upgrades are enabled in plinth/sys/upgrades/ . Check
for upgrade errors in /plinth/sys/upgrades/upgrade/

Then create a fresh new user in /plinth/sys/users with admin permissions
and try to login with that user on SSH.  Check if FreedomBox upgrades
have halted for some reason:

$ sudo apt update
$ sudo apt dist-upgrade

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Should the box do DANE for PGP?

2016-09-13 Thread Sunil Mohan Adapa
On 08/06/2016 01:19 AM, Sandy Harris wrote:
> The draft for authenticating PGP keys via DANE (DNS Authentication of
> Named Entities) has just become an RFC. Unfortunately it took three
> years and it is tagged as "experimental" rather than "standards
> track", but at least it is now available.
> https://tools.ietf.org/html/rfc7929
> 
> This would let far more Box users send & receive PGP-encrypted
> messages, so I'd say it is obviously a Good Thing, worth adding to Box
> software.
> 
> On the down side, it is not entirely secure without DNS-sec. Nor are
> FreeS/WAN descendants which rely on DNS for authentication in IPsec.
> Do we have any plan for the infrastructure to do DNS-sec on the Box?

Hello,

Thank you for your invaluable inputs to the project from time to time.

I have explored enabling DNSSEC on FreedomBox.  It appears that for
FreedomBox's use case, dnssec-trigger and unbound are good choice.  If I
understand correctly, they are already enabled by default on a Fedora
installation.  Enabling DNSSEC and using them with network manager
should be relatively straight forward too.

In the recent hack call we some agreement that unbound is not a bad
choice for authoritative server as well.

Once this is in, we can start to look at DANE and other good things that
come with DNSSEC.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Plinth v0.10.0 released and ppp issue SOLVED!

2016-09-12 Thread Sunil Mohan Adapa
On 09/06/2016 12:56 AM, A. F. Cano wrote:

>> Once network manager has support, having Plinth manage this from web
>> interface is a matter of writing some web forms for configuration input
>> and status display.
> 
> After digging into nm-settings (man nm-settings) I had to set these to
> duplicate the ppp configuration in /etc/ppp/peers/cell:
> 
> $ sudo nmcli con modify "ppp" cdma.username qnc
> $ sudo nmcli con modify "ppp" cdma.password qnc
> $ sudo nmcli con modify "ppp" ppp.refuse-chap true
> $ sudo nmcli con modify "ppp" ppp.crtscts true
> $ sudo nmcli con modify "ppp" ppp.lcp-echo-interval 65535
> $ sudo nmcli con modify "ppp" ppp.lcp-echo-failure 4
> $ sudo nmcli con modify "ppp" ppp.baud 115200
> 
> I'm not sure all of these are absolutely necessary, particularly the
> baud since the connection is a usb connection, but that's what has
> worked for years.  Per nm-settings, there are quite a few cdma.*, ppp.*,
> gsm.*, etc... options.  That could make for a quite lengthy web form.
> At the very least the above options seem so be sufficient to make ppp
> work, at least on my cdma device.

Thanks you for the comprehensive report.  This is should help us get
started with mobile broadband connections in FreedomBox.

network-manager GUI programs use a common database of mobile broadband
network providers[1][2][3].  This database provides all the information
needed to configure a mobile internet connection easily without asking
the user for overly technical information. This is available as a
separate package in Debian[4] for easy usage.  During the initial type
selection page, we can have 'Mobile Broadband' as an option and later
request for 'Country' and 'Provider' (with type) and let the user select.

I have created a separate issue to track the progress[5].  Could you try
removing all the ppp specific settings and see if your are still able to
connect?  You can edit the /etc/NetworkManager/ connection file directly
for ease.  This will tell use that we don't have to bother with ppp
settings which I hope is the case.

Links:

1)
https://git.gnome.org/browse/mobile-broadband-provider-info/tree/serviceproviders.xml

2)
https://wiki.gnome.org/Projects/NetworkManager/MobileBroadband/ServiceProviders
3)
https://blogs.gnome.org/dcbw/2009/06/22/mobile-broadband-assistant-makes-it-easy/
4)
https://packages.debian.org/search?keywords=mobile-broadband-provider-info
5) https://github.com/freedombox/Plinth/issues/602

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Anyone interested talking at FOSDEM?

2016-09-09 Thread Sunil Mohan Adapa
On 09/06/2016 10:47 PM, Sunil Mohan Adapa wrote:
> Hello,
> 
> FOSDEM 2017 is happening in Brussels on 4th & 5th of February.  A
> developer room (rooms where most of the talks happen) is in the planning
> for topics related to alternate internet in the spirit of FreedomBox.
> This is being organized by Julien Rabier (CCed, IRC: taziden) and
> Tristan Nitot.
> 
> This is a nice opportunity to talk to other developers about FreedomBox
> and the nice progress made so far and to discuss the challenges we face
> in this area.  The talk could be of 15-20 minutes or more, but the
> format is not concrete yet and will evolve based on the participation.
> 
> If you are a contributor or a user of FreedomBox and wish to present
> FreedomBox at FOSDEM, please express your interest before Friday (sort
> of tight schedule for preliminary confirmation)[1].
> 

Ruben Lubbes (ikmaak) will be attending FOSDEM 2017 and has agreed to
present FreedomBox.  I will helping him out with the talk.  If more
people will be available, let us coordinate.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Apt anomaly when going through privoxy.

2016-09-08 Thread Sunil Mohan Adapa
On 06/29/2016 09:06 PM, Daniel Gnoutcheff wrote:
> On 06/28/2016 08:59 PM, A. F. Cano wrote:
>> I have noticed that if privoxy is enabled, when doing an apt download from
>> internal machines, if it fails, aptitude retries but starts at the
>> beginning again.
> 
> My Google-fu suggests that Privoxy filters out the "Range" HTTP request
> header field by default [1], which would cause this behavior.  There do
> appear to be plans to change this [2], though I'm not sure what the
> status of that is.
> 
[...]
> 
> [1]
> http://sources.debian.net/src/privoxy/3.0.21-7%2Bdeb8u1/default.filter/#L779
> [2] https://sourceforge.net/p/ijbswa/bugs/893/#6b17

This problems seems to be fixed now in verison >= 3.0.25 which is
available in testing and unstable.  The fix is to disable filtering of
range header by default.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Testing ODroid-XU4 Notes

2016-09-04 Thread Sunil Mohan Adapa
On 09/05/2016 12:57 AM, Nick Daly wrote:
> Hi folks,
> 
> Recently, I bought an ODroid XU4 to test as a FreedomBox.  I was
> originally going to buy one of the boards from the Parallela project,
> but they seem to have wrapped up.  16 or 128 cores might be the wrong
> focus for a personal web-server, anyway.  Below are my notes on
> testing with the ODroid.

Thanks for the awesome work and this report.

> 
> 
> 1 Equipment
> ===
> 
>   All equipment purchased through ODroid's American distributor,
>   ameridroid.com:
> 
>   - The [ODroid-XU4] seems sturdy and fast.  Really nice hardware.
> The hardware isn't completely free, as it seems to be in a similar
> situation to the Raspberry Pi's proprietary display driver.  You
> don't need to use the graphics card during normal operation, but I
> believe the binary blob does need to be installed to boot the
> device.  Grumble.

It looks like the boot process seems to be like this: SOC ROM -> bl1 ->
bl2 -> uboot -> trustzone stuff -> uboot script -> kernel [1][2].

For both XU3 and XU4:

- The Debian armmp kernel seems to have support.
- The u-boot-exynos package from Debian seems to support XU3 and XU4.
- flash-kernel has support for creating u-boot scripts for XU3/XU4
(which are actually generic).

It looks like Debian bits are all there and we need bl1, bl2 and
trustzone binaries to boot[3].  However, there may be hope for it as the
original reference implementation is free software[4].  We can check
with #debian-boot folks for more information on how they are using the
XU4 support added to u-boot.

> 
> 4 Summary
> =
> 
>   Overall, I'd give this hardware a B.  It could be freer and a lot
>   easier to set up (and would be with a FreedomMaker image), but it
>   seems quite speedy and powerful for the price.
> 

Given the above boot situation, it should be fairly straight forward to
add support for freedom-maker to build XU4 images (except for pulling 3
boot blobs from outside).  We can discuss this further if you are
interested.

Links:

1)
http://odroid.com/dokuwiki/doku.php?id=en:exynos4412bootsequence#odroid-x_x2

2)
http://odroid.com/dokuwiki/doku.php?id=en:xu3_partition_table#ubuntu_partition_table

3)
https://anonscm.debian.org/cgit/collab-maint/u-boot.git/tree/doc/README.odroid

4) https://github.com/ARM-software/arm-trusted-firmware

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] DNS on local network

2016-09-02 Thread Sunil Mohan Adapa
On 09/02/2016 10:26 PM, Dieter wrote:
> Hello all,
> 
> is there a way to make freedombox respond to dns-querys for it's
> external hostname with the internal ip-address?
> 
> e.g. i have a box with external hostname somebox.somedyndns.ip
> 
> If i query this hostname from the local, internal network, can i make
> the box respond with it's ip-address of the local interface?
> 
> Or should that already be the case, and my box is just broken? ;)
> 
> Thank you for your help! :)

One solution seems to be to add an entry 'address=//'
in /etc/NetworkManager/dnsmasq.d/hosts.conf[1].

When we have a DNS server running on FreedomBox, this is one thing that
we can consider handling as DNS servers usually do this.

Links:

1)
https://askubuntu.com/questions/117899/configure-networkmanagers-dnsmasq-to-use-etc-hosts

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Quassel

2016-08-29 Thread Sunil Mohan Adapa
On 08/29/2016 11:33 PM, permondes - sagen wrote:
> Is my Quassel-core down or is there an issue with irc.debian.org?
> 
>> Connecting to irc.debian.org/freedombox:6667...
>> Connection failure: Host not found
>>

I am seeing a similar failure with irc.oftc.net:6697 and irc4.oftc.net:6697.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Plinth v0.10.0 released

2016-08-28 Thread Sunil Mohan Adapa
On 08/29/2016 12:21 AM, A. F. Cano wrote:[...]
>  how-can-i-help: Unable to resolve your $HOME directory - cannot
>  continue.
>  Log ended: 2016-08-28  00:06:08
>
> So it looks like removing the packages themselves is actually working,
> but "resolve your $HOME directory" is what is returning the error code
> that is causing the error messages in the web page log.

Thank you for the investigation and detailed report.

how-can-i-help is a trigger that is run after all the operations to show
potential contributors the list of Debian packages looking for help.
This error should not have any consequences to the operation of FreedomBox.

[...]
> So, how can I make network manager handle ppp automatically?  And
> what needs to be done so that plinth displays the status of the ppp
> connection properly, and it can be activated/deactivated from the web
> interface?
>

We need to understand if network manager has support for this kind of
device.  The best way check is to plug the device into a desktop system
and get it working with network manager.  Network manager community
might help with this.  It already has support for many types of phones
and networks.  If it can be configured that way, looking at the
connection file in /etc/NetworkManager/system-connections/ will tell us
all we need to know about the connection.  This connection file can be
transfered (perhaps with some modifications) to your FreedomBox to make
network-manager manage the connection.

Once network manager has support, having Plinth manage this from web
interface is a matter of writing some web forms for configuration input
and status display.

> Thanks for any hints.  While "sudo pon cell" works from ssh, it would be
> nice if netwrok manager could handle the starts and restarts
> automatically.

If and when network manager supports type of connection, it can be
trusted to handle these tasks of starting and managing process and
handling errors.  Chances are that it will do it well.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Nighlies for Raspberry old ?

2016-08-02 Thread Sunil Mohan Adapa
On 08/02/2016 11:51 PM, Karlheinz Meier wrote:
> Hello.
> 
> I wanted to get some Features which are already committed to the codebase.
> As far as I understadn the concept of nightlies, they are built every night
> with the latest code which does compile.
> 
> As there are some features on post-0.9 like Batman Meshing and some kind
> of integration of external storage space, I would like to install them.

We haven't yet made a release of the changes after 0.9.  So, BATMAN
changes are also unreleased as of now.

> 
> Unfortunaltely, the latest Raspberry Pi Nightly  at
> http://ftp.skolelinux.org/pub/freedombox/nightly/
> is of 27th May 2015.
> The "Latest" dates to 3rd July 2016.

The last built nightly is actually before the 0.9 release, so the
nightlies are older than the latest release build.

> 
> I would like some 1st August Nightly for private testing.
> 
> Can I build a Raspberry Pi Image myself ?
> How do I do that ?
> Or is the current nightly at another location ?

You can do that with freedom-maker[1].  Build instructions are
available.  Note that when building the latest image, released Debian
packages are used and so BATMAN changes will still not be present in the
image.

I can privately give you my latest Plinth .deb file that can then used
with freedom-maker to create an image with all the latest changes.

Links:

1) https://wiki.debian.org/FreedomBox/Maker

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

[Freedombox-discuss] FreedomBox 0.9 images

2016-07-14 Thread Sunil Mohan Adapa
Hello,

A week ago we have completed building FreedomBox images for 0.9 as
0.9-rc2 and made them available for release testing.  No major issues
have been found in the images and they are now the 0.9 final release
images[1][2].

Transition to Debian testing:

With this release, we have completed the transition to Debian "testing"
from Debian "unstable".  From now on, for regular users, images will be
based on "testing".  When using these images, upgrades will happen to
only packages that end up in Debian "testing".

If you are already using FreedomBox, you are advised to switch to
"testing" distribution manually for higher stability.  This can done by
replacing "unstable" with "testing" in /etc/apt/sources.list and waiting
for a few weeks for all packages to settle down or by freshly setting up
using "testing" images.

Images based on Debian "unstable" will still be built and available as
"nightly" images so that contributors can test early and prevent the
regular users from facing issues.  If you wish to contribute to
FreedomBox by finding and reporting early problems, please stick with
"unstable" images.

Links:

1) http://ftp.skolelinux.org/pub/freedombox/0.9/
2) http://ftp.freedombox.org/pub/freedombox/0.9/

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

[Freedombox-discuss] Testing out support for BATMAN Adv

2016-07-13 Thread Sunil Mohan Adapa
Hello,

I worked on rudimentary support for configuring BATMAN adv mesh network
through Plinth UI and NetworkManager[1].

I created my own mini network and tested the basics but I could not test
joining any existing network due to none being available around where I
live.  BATMAN adv seems to be very popular with Freifunk networks[2].

I am looking for feedback from tests creating mesh networks and joining
existing ones.  Let me know if any get a chance to test this.

Links:

1) https://github.com/freedombox/Plinth/pull/515
2) https://freifunk.net/en/how-to-join/find-your-nearest-community/

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Latest test images, new mirror

2016-07-04 Thread Sunil Mohan Adapa
On 07/02/2016 10:57 PM, Sunil Mohan Adapa wrote:
> Hello,
> 
> I have uploaded amd64 and i386 images for the latest release of
> FreedomBox for the purpose of testing[1].  Due to a last minute snag, we
> are unable to build images for other architectures at this point.
> 

For Debian testing, images for the remaining devices have been built by
James Valleroy.  All images are now available as "0.9-rc2" [1][2].  If
there are no serious issues found in these images, they will be renamed
as "0.9" images.

Please help us in testing these images.

Links:

1) http://ftp.skolelinux.org/pub/freedombox/0.9-rc2/testing/
2) http://ftp.freedombox.org/pub/freedombox/0.9-rc2/testing/

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

[Freedombox-discuss] Latest test images, new mirror

2016-07-02 Thread Sunil Mohan Adapa
Hello,

I have uploaded amd64 and i386 images for the latest release of
FreedomBox for the purpose of testing[1].  Due to a last minute snag, we
are unable to build images for other architectures at this point.

For the first time we have started building images from Debian 'testing'
in addition to building them from Debian 'unstable'.

Due to resource constraints, older releases have been removed from the
usual mirror,  but they have all been restored to a brand new mirror at
ftp.freedombox.org hosted by the FreedomBox Foundation[2].

Please give the new images a try and report any issues.

Links:

1) http://ftp.skolelinux.org/pub/freedombox/0.9-rc2/
2) http://ftp.freedombox.org/pub/freedombox/

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Quassel Firewall

2016-06-11 Thread Sunil Mohan Adapa
On 06/11/2016 05:39 PM, Dietmar wrote:
[...]
> 
> These commands went through with "success", but I still get
> 2016-06-11 14:06:35 ERROR: INVALID_SERVICE: quasselcore
> 2016-06-11 14:06:38 ERROR: INVALID_SERVICE: 'quasselcore' not among
> existing services
> 
> Do I have to repeat these steps with service quasselcore as well?
> 

Ignore these errors.  The application should be working.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Quassel Firewall

2016-06-11 Thread Sunil Mohan Adapa
On 06/11/2016 01:46 PM, Dietmar wrote:
> Hi,
> 
> I installed quassel on my FBx but could not access it, neither through
> quassel-client from Debian, nor quasseldroid.
> So I checked the Firewall status, it says
> 
>> *IRC Client (Quassel)*   Aktiviert
>> /quasselcore/Geblockt
>>
> Is my understanding right that the firewall is inhibiting access to
> quasselcore?
> 

We've seen regression regarding firewall operation of Quassel and a
couple of other applications.  This is fixed in the latest master.

Workaround:

firewall-cmd --zone=internal --add-service=quassel-plinth
firewall-cmd --zone=internal --permanent --add-service=quassel-plinth
firewall-cmd --zone=external --add-service=quassel-plinth
firewall-cmd --zone=external --permanent --add-service=quassel-plinth

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Starting Freedombox - again

2016-06-02 Thread Sunil Mohan Adapa
On 06/02/2016 11:35 PM, Dietmar wrote:
[...]
> 
> Here you are: It says "bad user name", but it's the name I am logged in
> with and can ssh into the box.

Thank you.  That was sufficient information to fix the issue.  It was a
restrictive security check that was rejecting some usernames.  I
prepared a fix:

https://github.com/freedombox/Plinth/pull/479

As work around, you can either apply the above patch on
/usr/share/plinth/actions/ssh or you can create only usernames with all
lower case letters.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Cannot ssh into the box any more

2016-06-02 Thread Sunil Mohan Adapa
On 06/03/2016 04:49 AM, znot...@hailmail.net wrote:
[...]
> When I run apt-get update I get
> 
> Err:1 http://httpredir.debian.org/debian sid InRelease
>   Ne parvient pas à résoudre « httpredir.debian.org »
> 
> That's "can't resolve httpredir.debian.org".  I don't really know where
> to go in debugging a network connection in a chroot environment.  I
> tried to cat /etc/resolv.conf but I get an error about no file of this
> type, even though I typed "resolv." and used tab completion to get the
> complete name.  The same thing happens with the less command.
> 
> Maybe I should just apt-get uninstall libpam-abl as Sunil initially
> suggested.   I can reinstall it when I put the SD card back in the
> Sheevaplug.  Any suggestions on how to proceed from here?

1. Upgrading the package should be possible by booting the device,
visiting Plinth and triggering system-wide upgrade in software upgrades.

2. The chroot should be able to connect to network just like the rest of
the machine.  But I suppose there is an issue with DNS resolution.  Add
a temporary first line in /etc/resolv.conf as 'nameserver
' or 'nameserver 8.8.8.8' (warning: that one belongs to
Google).

3. If networking is not working for some reason, download the latest
pamabl package[1], copy it to chroot and after to go into chroot, do
'dpkg -i ' to upgrade.

Links:

1) https://packages.debian.org/sid/armel/libpam-abl/download

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Starting Freedombox - again

2016-06-02 Thread Sunil Mohan Adapa
On 06/02/2016 11:11 PM, Dietmar wrote:
[...]
> Now it's working, am fighting with Radicale (trying not to loose the
> old data, should be running soon).

I did this recently.  I just copied /var/lib/radicale with ownership and
permissions preserved while daemon was not running and it worked properly.

> By the way, the error 500 when trying to administer existing users
> still occurs (Plinth 0.9.2, stretch).

I am unable to reproduce this on a Lime2 image from recently nightly.
Would you please post the Plinth log from /var/log/syslog ?

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Cannot ssh into the box any more

2016-06-02 Thread Sunil Mohan Adapa
On 06/02/2016 03:29 PM, Jens Thiele wrote:
> znot...@hailmail.net writes:
> 
>> Will one of these qemu-* files work in place of qemu-arm-static? Or, do
>> I need to install something else?
> 
> afair the package to install is:
> qemu-user-static
> 
> $ apt-file search qemu-arm-static
> qemu-user-static: /usr/bin/qemu-arm-static
> qemu-user-static: /usr/share/man/man1/qemu-arm-static.1.gz
> 

Also, the original problem that locked out users from system is now
fixed.  One should be able to login like before after an upgrade.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Wiki: New CC Licence on June 13th

2016-05-31 Thread Sunil Mohan Adapa
On 05/31/2016 10:35 PM, Jonas Smedegaard wrote:
[...]
> Uhm, I do not like the "applies to all pages old and new" part of above: 
> Only new pages makes sense: I believe the only possible ways to change 
> license is for each wiki page either
> 
>  a) _all_ page authors agree on a license (mojority is not enough)
>  b) page is removed (and first author of replacement page license that)
> 
> The only discussion I can imagine sensibly leading to imposing license 
> on all _old_ content is a discussion where _all_ copyright holders were 
> present and _all_ agreed unanimously to relicense.  If that was the 
> case, I see no need for this kind of announcement, so am puzzled...
> 

The idea is that we encourage as many people as possible to agree to the
new license.  Contacting everyone is not going to be possible, we do our
best to reach all contributors.  We remove content from people who
object.  I have been advised that this is sufficient.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Freedombox use: quick answer needed

2016-05-23 Thread Sunil Mohan Adapa
On 05/23/2016 07:27 PM, Philippe Baret wrote:
> Hello,
> 
> FreedomBox will be introduced to Spanish tech people and public
> institutions managers next 25/26th may at Medialab Prado:
> - http://democratic-cities.cc/speakers/
> - 
> http://democratic-cities.cc/sessions/initiatives-for-open-democracy-and-a-decentralised-internet-unconference/
> - https://wiki.debian.org/FreedomBox/TalksAndPresentations
> 
> Could you tell quickly how you are using FBX in order to explain some
> use cases (tools, personal use or projects) ?
> 

I am using an A20-OLinuXino-Lime2 as a FreedomBox.

- It is my Wi-Fi router at home replacing an old DLink router which
probably has plenty of security holes in it by now.

- I use it also for syncing my calender and contacts with my Phone
(Replicant with DAVdroid) and Thunderbirds (with cardbook and
lightening).  I used to use ownCloud for files, but I stopped.

- I use it to stay online on IRC using Quassel and can connect for
everywhere.

- I have a domain thanks to Dynamic DNS service.

- I SSH back to home occasionally from outside to access my desktop.  I
seldom use OpenVPN although I have set it up on my Mobile.

- I had SIP calling from my phone (CSIPSimple) with my family setup but
it fell into disuse.

- I use Mumble on FreedomBox at two other locations when I participate
in audio conferences.

- Friends of mine are experimenting with FreedomBoxes to provide free
Internet, free telephony (using repro/yate) and community radio
(icecast, not yet in FBX) in 4 villages here in India.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Cannot ssh into the box any more

2016-05-19 Thread Sunil Mohan Adapa
On 05/18/2016 07:28 PM, Sunil Mohan Adapa wrote:
[...]
> I have reported https://bugs.debian.org/824657 .  The problem is with
> the multiarch patch that was removed in the recent release.  The
> following is a workaround:
> 
> cd /lib//security/
> ln -s /usr/lib/security/pam_abl.so .
> 
> More details on the bug report.

The bug is now fixed thanks to the quick response of the maintainer.
Any one updating now will get libpam-abl 0.6.0-5 (armhf binary should be
available shortly) that fixes the issue.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Cannot ssh into the box any more

2016-05-18 Thread Sunil Mohan Adapa
On 05/18/2016 02:55 PM, Petter Reinholdtsen wrote:
[...]
> Is there anything in the log when the ssh login is rejected?  Perhaps
> someone who know the issue should report the problem to the maintainer
> and make sure it show up on https://bugs.debian.org/src:libpam-abl >
> which is currently empty?  Is the problem in unstable or testing?
> Should the current libpam-abl package be held out of testing.  We got a
> few days to report a RC bug before it migrates.
> 

I have reported https://bugs.debian.org/824657 .  The problem is with
the multiarch patch that was removed in the recent release.  The
following is a workaround:

cd /lib//security/
ln -s /usr/lib/security/pam_abl.so .

More details on the bug report.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Cannot ssh into the box any more

2016-05-18 Thread Sunil Mohan Adapa
On 05/18/2016 06:16 PM, juh wrote:
[...]
>> If you have Plinth account from before the problem came up, you should
>> be able to login into Plinth.  Then add an SSH key to an account (or
>> create one) and use that to login.  Then downgrade libpam-abl.
> 
> All my users need to sudo, so this won't work. :-(
> 

Last resort is to pull out the SD card (or Qemu/VirtualBox image) and
work on it:

mount /dev/sdX2 /mnt

cp /usr/bin/qemu-arm-static /mnt/usr/bin
(if FBX is on foreign architecture)

mount -o bind /proc /mnt/proc
mount -o bind /dev /mnt/dev
mount -o bind /dev/pts /mnt/dev/pts
mount -o bind /sys /mnt/sys

chroot /mnt

apt-get remove libpam-abl
(will remove freedombox-setup also)
(or simply downgrade)

exit

umount /mnt/proc
umount /mnt/dev/pts
umount /mnt/dev
umount /mnt/sys
umount /mnt

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Cannot ssh into the box any more

2016-05-18 Thread Sunil Mohan Adapa
On 05/18/2016 04:18 PM, znot...@hailmail.net wrote:
> On Wed, May 18, 2016, at 04:54, Sunil Mohan Adapa wrote:
> [snip]
>>
>> - Removing libpam-abl fixes the problem.
>>
>> - In FreedomBox, we are not changing any configuration related to
>> libpam-abl.
>>
>> - As noted, recent upgrade of libpam-abl seems to cause the issue.
>>
> 
> Is there any way around this, or does this mean a reinstall?  I mean I
> can't login to upgrade when libpam-abl will be fixed.
> 

If you have Plinth account from before the problem came up, you should
be able to login into Plinth.  Then add an SSH key to an account (or
create one) and use that to login.  Then downgrade libpam-abl.

If using a freshly built image, run Plinth first-boot, create an
account, login, and then add SSH key.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] FreedomBox 0.9 Released!

2016-05-14 Thread Sunil Mohan Adapa
On 05/15/2016 02:14 AM, James Valleroy wrote:
> On 05/14/2016 10:57 AM, Michael wrote:
>> Do you still plan to build images for 0.9 or will this one be skipped?
>> Thanks, Michael On 2016-04-24 22:49, James Valleroy wrote:
> 
> We'll build images for 0.9. Sunil provided a patch
> (https://github.com/freedombox/Plinth/pull/453) to fix the issue with
> building armhf images. I've tagged a release for Plinth v0.9.2 with this
> fix included.
> 
> The next step will be to upload new versions of plinth and
> freedombox-setup packages to Debian. We plan to build images from Debian
> testing instead of unstable, so there will be a few more days delay
> after the packages are uploaded.

For this release, perhaps we can build unstable first and then build for
testing later, making both available.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] DynDNS password eaten

2016-04-21 Thread Sunil Mohan Adapa
On 04/21/2016 02:56 PM, Petter Reinholdtsen wrote:
> [Michael]
>> About all applications seeming to be uninstalled:
>> The problem could be that Plinth couldn't locate the plinth.sqlite3
>> database and created a new one. Then all packages seem to be uninstalled
>> although they are actually installed.
> 
> Perhaps plinth should not keep a list of installed packages for itself,
> but instead trust dpkg and apt to know if a package is installed?  It
> seem like a bad idea to cache the set of installed packages and pretend
> it is the authoritative data source.
> 

We had it that way ran into problems with upgrades.  Please see
https://github.com/freedombox/Plinth/issues/103 and
https://github.com/freedombox/Plinth/pull/398 for more discussion.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] DynDNS password eaten

2016-04-21 Thread Sunil Mohan Adapa
On 04/21/2016 12:57 PM, mray wrote:
> I can't reach my FreedomBox from the outside anymore, DynDNS fails me.
> After an automatic update to Plinth 0.9.1 all applications that I used
> seemed to be uninstalled. I managed to setup everithing but DynDNS.

All the applications showing an install dialog again is due to a large
change in new release that we did to the way setup happens in Plinth.
Although annoying, this should not cause any loss of functionality or
stopping of running services.

> 
> It worked before, and I mde sure the password I provide is right. Maybe
> the password does not get saved correctly (was an issue at some time ago!)
> 
> What could be going on? I'm glad for helpful directions.

Daniel Steglich worked on fixing this problem and I reviewed the fixes
to work fine.  These patches (and all other patches) were indeed
committed in 0.9.1.

Did you try setting values in Dyanmic DNS page freshly?  If that does
not work, perhaps we are seeing a new problem or a regression.  Could
you please open an issue?

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Freedombox docker image?

2016-03-29 Thread Sunil Mohan Adapa
On Monday 28 March 2016 04:03 PM, Fred wrote:
> Hello again.
> 
> does anybody know if there is a docker image that hosts the Freedombox?
> 
> I think this would be a neat feature for anyone who wants to help
> develop Freedombox but doesn't run Debian as their home system (nor
> wants to use anything heavy like virtualbox or the like).
> 
> As this is actually the case for me and as I'm intending to learn more
> about the Freedombox internals (how the Debian package and the
> Freedombox setup works) I actually tried to set one up myself:
> 
> I bashed into a docker container based on a debian:stretch image and
> followed the debian installation instructions [1].
> 
> At some point the installation came to a halt as it tried to alter
> /etc/resolv.conf which as I understand is "locked" by the docker virtual
> machine [2].
> 
> The next problematic issue that I would encounter is the required reboot
> to get the services up and going. How to do that with docker?
> 
> So unless there is already a Freedombox docker image, is there maybe
> anyone on this list who would like to help me?

Vagrant is more approriate than Docker, I believe, for easing
development setup.  Please take a look at
https://github.com/freedombox/Plinth/pull/282 for more discussion on the
issue.  I would be happy to hear your thoughts.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Owncloud Failure

2016-03-23 Thread Sunil Mohan Adapa
On Wednesday 23 March 2016 11:07 AM, Strathy wrote:
> OK.  I think I found the problem ...
> 
> my dev/root/ directory is full.  Actually it is at 95% now.  (3.5 GB)
> 
> When I first checked it was at 100% full but I ran apt-get clean which
> cleaned up 5%.
> 
> Again - absolute beginner here, but this seems to be the issue.  Not
> sure where to go from here.

If your SD card is actually of higher capacity than 4GB, connect it to
another machine (laptop/desktop with GNU/Linux), and use Gparted to
expand the last partition so that all of the disk space is available for
FreedomBox.  We may have a way to do this from within Plinth in future.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Locked out of plinth

2016-03-23 Thread Sunil Mohan Adapa
On Wednesday 23 March 2016 10:05 AM, znot...@hailmail.net wrote:
[...]
> -- begin quote -
> root@freebx:~# echo "DELETE FROM plinth_kvstore WHERE
> key='firstboot_state';" | 
> sqlite3 /var/lib/plinth/plinth.sqlite3   
> -su: sqlite3: command not found  
> root@freebx:~# echo "DELETE FROM plinth_kvstore WHERE
> key='firstboot_state';" | 
> sqlite /var/lib/plinth/plinth.sqlite3
> -su: sqlite: command not found   
> root@freebx:~#
> --- end quote ---
> 
> neither locate nor whereis show anything from a bin directory.  "man -k
> sqlite" only shows a library.
> 
> Do I need to install something else?

Oops! Please install the package 'sqlite3'.

# apt-get install sqlite3

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Locked out of plinth

2016-03-22 Thread Sunil Mohan Adapa
On Tuesday 22 March 2016 06:30 PM, znot...@hailmail.net wrote:
> Hi,
> 
> I've locked myself out of plinth.  I can still ssh into the box, but I
> can't log in to the web interface.  I think I did a bad copy/paste of
> the password into the plinth interface.
> 
> This actually happened ages ago, but I haven't had any time to devote to
> fbx for the last couple of months.  Back when it happened I asked on IRC
> and  someone (jvalleroy, IIRC) suggested I delete some file and then
> reinstall plinth.  I can't remember what file I was supposed to delete. 
> Can anyone suggest what file (usr/lib/, or /lib, or something like that)
> I need to remove to get back into business?

The file you need to remove is /var/lib/plinth/plinth.sqlite3 .

# systemctl stop plinth
# rm /var/lib/plinth/plinth.sqlite3
# systemctl start plinth

However, a less descructive way is to trigger the first boot wizard
which will let you create another admin account.  For that do this:

# echo "delete from plinth_kvstore where key='firstboot_state';" |
sqlite3 /var/lib/plinth/plinth.sqlite3

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] owncloud - php DB driver - broken upgrade

2016-03-15 Thread Sunil Mohan Adapa
On 03/15/2016 08:40 AM, phylophyl wrote:
> would Cosy be an alternative ? It has Debian repository
> https://github.com/cozy/cozy/
> 

Had a glance and it looks promising.  Clean UI, AGPLv3, not PHP, mobile
app and seems to be a direct replacement for ownCloud.

Existence of a separate Debian repository does not guarantee it is of
good quality.  We can use in FreedomBox only when it gets into Debian.
And we can do that rather quickly.  When it gets into Debian, licenses
will be checked, dependencies will be properly packaged, known file
system paths are respected, etc.  However, it certainly means there is
quite a bit to start with.  Filing a Request For Packaging bug in Debian
is a good start.

Hope this gets into Debian soon.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Give new user ssh access

2016-03-15 Thread Sunil Mohan Adapa
On 03/15/2016 08:54 PM, juh wrote:
> Hi,
> 
> I created a new user on my freedombox, which should login via ssh, but I
> get a Permission denied.
> 
> 
> Setting
> 
> AllowUsers newuser
> 
> in /etc/ssh/sshd_config
> 
> did not solve the problem.
> 
> Is there something else I have to set?
> 

Only users of the 'admin' group are allowed to login via SSH.  Try
adding the user to 'admin' group.

If you want to remove this restriction (not recommended), edit and
remove the last line of /etc/security/access.conf that looks like this:

-:ALL EXCEPT (admin) root fbx:ALL

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] owncloud - php DB driver - broken upgrade

2016-03-12 Thread Sunil Mohan Adapa
On 03/11/2016 03:28 AM, Dieter wrote:
> Hello all!
> 
> Yesterday i tried to upgrade my freedombox's owncloud installation to
> 7.0.13~~rc2~dfsg-1.
> 
> Something went wrong though. :(
> occ updgrade tells me the following:
> An unhandled exception has been thrown:
> PDOException: could not find driver in
> /usr/share/php/Doctrine/DBAL/Driver/PDOConnection.php:40
> Stack trace:
> #0 /usr/share/php/Doctrine/DBAL/Driver/PDOConnection.php(40):
> PDO->__construct('pgsql:host=loca...', 'owncloud', 'somepassword', Array)
> #1 /usr/share/php/Doctrine/DBAL/Driver/PDOPgSql/Driver.php(37):
> Doctrine\DBAL\Driver\PDOConnection->__construct('pgsql:host=loca...',
> 'owncloud', 'somepassword', Array)
> 
> The driver shoud be installed though (package php5-pgsql, right?)
> 
> 
> Of course, i can not reach owncloud via the webinterface.
> Apache logs this error:
> [Thu Mar 10 22:26:05.419048 2016] [:error] [pid 32754] [client
> xx.yy.zz.xx:port] PHP Fatal error:  require_once(): Failed opening
> required 'Symfony/Component/ClassLoader/ClassLoader.php'
> (include_path='/usr/share/owncloud/lib/private:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud/apps:/usr/share/owncloud/lib:.::/usr/share/pear:/usr/share/owncloud')
> in /usr/share/owncloud/3rdparty/autoload.php on line 7
> 
> 
> I've already tried restarting the postgresql-db, the driver is
> presumably trying to connect to, but to no avail.
> 
> What can i do to debug this?
> 
> 
> Thank you very much for your help!

Anyone facing this problem, please do upgrades (probably already
installed at night) and restart FreedomBox (or just Apache2) to fix the
issue.

Thanks to Dieter for following this up with ownCloud Debian package
maintainers and tracing the issue to broken path in php5 package.

Relevant bugs:

1) https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817937
2) https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817769

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Freedombox with Horde?

2016-03-12 Thread Sunil Mohan Adapa
On 03/12/2016 08:13 PM, Jonas Smedegaard wrote:
> Hi Dieter,
> 
> Quoting Dieter (2016-03-12 15:03:49)
>> The recent troubles (owncloud probably getting removed from debian), i 
>> thought about trying out some different systems.
>>
>> Right now I'm downloading php-horde-webmail on the freedombox.
>> I plan to use the already available ldap-server, as well as the 
>> running Postgresql-Database.
>>
>> Have any of you tried this before?
>>
>> Do you think this is a bad idea?

I think its worth trying.

>>
>> Also, security-wise?
>>
>>
>> Any help and comments would be welcome! :)
> 
> Since you asked: I find it unwise to use PHP at all on FreedomBox (since 
> FreedomBox by definition means there will be no system administrator to 
> monitor and intervene when (not if) yet another weakness in either the 
> PHP engine itself or some code written in that language is abused.

I have a more optimistic view of PHP in general than others.  The
language is cleaning itself up and improving on performance.  A
disciplined use of the language won't make it all that bad for security.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Setup on Debian ARM box

2016-03-09 Thread Sunil Mohan Adapa
On 03/09/2016 08:36 PM, Tom Arnold wrote:
> Hello list!
> 
> I am new here!
> Ok .. so, I have this little BananaPi and it only does some samba stuff.
> Now I want to do more with it and I am willing to break it.
> I tried to follow https://wiki.debian.org/FreedomBox/Hardware/Debian
> ,but it seems out of date:
> freedombox-setup is not in the repo and that is where I got stuck.
> So how do I get my freedom started?

You need Debian testing (stretch) or unstable (sid) to install
freedombox-setup.  If you have Debian stable (jessie) please upgrade
first, then install freedombox-setup.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] freedombox on fit-pc4

2016-03-01 Thread Sunil Mohan Adapa
On 03/01/2016 04:41 AM, Jan Costermans wrote:
[...]
> Mar  1 00:01:51 myhostname plinth[656]: File
> "/usr/lib/python3/dist-packages/plinth/network.py", line 172, in
> get_status_from_wifi_access_point
> Mar  1 00:01:51 myhostname plinth[656]: if
> access_point.get_ssid().get_data() == ssid:
> Mar  1 00:01:51 myhostname plinth[656]: AttributeError: 'NoneType'
> object has no attribute 'get_data'
> 
> 
> Looks like a bug in the "get_status_from_wifi_access_point function?

Although I don't see how this situation arises, I have proposed a
patch[1] to add a safe guard check.  You can try making this change to
the file /usr/lib/python3/dist-packages/plinth/network.py and see if it
fixes the problem.

Links:

1) https://github.com/freedombox/Plinth/pull/418

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] FreedomBox 0.8 Released!

2016-02-25 Thread Sunil Mohan Adapa
On 02/25/2016 10:07 AM, Sunil Mohan Adapa wrote:
> On 02/25/2016 07:49 AM, James Valleroy wrote:
>> On 02/22/2016 07:49 PM, tong hui wrote:
>>> Hi, 
>>>
>>> I didn't see Chinese in Plinth interface language list, dose it
>>> available now?  
>>>
>>
>> It should have been in this release, but there's a bug in Plinth that
>> prevents it from showing up in the language list. Sorry, we should have
>> checked that before release.
>>
>> I don't have a complete solution yet, but as soon as this issue is
>> solved, we can release another Plinth package with the fix.
>>
> 
> Django itself is using zh_CN internally for all this modules. This led
> me to use the zh_CN instead of alternatives. Django has a kind of
> mapping to handle zh_CH -> zh_hans. I will check up further today. My
> apologies for not testing this properly. I rather treated it like a
> regular language addition.
> 
> We should in fact make a quick point release with this fix.

James is right about the rename from zh_CN to zh_Hans.  It appears zh_CN
is deprecated and everyone must move to zh_Hans.  The patch worked with
a minor correction (zh_hans -> zh_Hans).  I have tested with explicit
language selection and also implicitly by changing language settings in
browser.  Even "zh-cn" in Firefox worked fine.  The patch is now merged.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Live Demonstration Infrastructure

2016-02-25 Thread Sunil Mohan Adapa
On 02/26/2016 12:30 AM, Sunil Mohan Adapa wrote:
> On 02/25/2016 09:26 PM, J.D. Bean wrote:
> [...]
>> Sunil, is there any reason that you feel 15 minutes is the idea reset
>> rate? If I'm understanding the setup you envision correctly a demo
>> instance would refresh without warning every 15 minutes? I would think
>> that many users in the target audience for this demo would attribute a
>> reset of the demo instance they were using to instability in Freedombox.
>> Furthermore, I feel like the quality of Freedombox is to the point that
>> it is probably reasonable to expect that the median use time will be 15
>> minutes or even greater which suggests that a large number of potential
>> users would experience one of these resets while using the demo. Would
>> something like an hour be too long do you think?
> 
> We can have a very noticeable warning and a predictable reset time with
> probably a count down timer on the launch page.  The reason I suggest to
> do this is that people will spam the machine in all kinds of ways which
> other users might find offensive or inconvenient.  We could, of course,
> decide on a different value.  I just thought that 15 minutes will be a
> sufficient time for most people.
> 

We could certainly try an hour as the reset time and see how that goes.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Live Demonstration Infrastructure

2016-02-25 Thread Sunil Mohan Adapa
On 02/25/2016 09:26 PM, J.D. Bean wrote:
[...]
> Sunil, is there any reason that you feel 15 minutes is the idea reset
> rate? If I'm understanding the setup you envision correctly a demo
> instance would refresh without warning every 15 minutes? I would think
> that many users in the target audience for this demo would attribute a
> reset of the demo instance they were using to instability in Freedombox.
> Furthermore, I feel like the quality of Freedombox is to the point that
> it is probably reasonable to expect that the median use time will be 15
> minutes or even greater which suggests that a large number of potential
> users would experience one of these resets while using the demo. Would
> something like an hour be too long do you think?

We can have a very noticeable warning and a predictable reset time with
probably a count down timer on the launch page.  The reason I suggest to
do this is that people will spam the machine in all kinds of ways which
other users might find offensive or inconvenient.  We could, of course,
decide on a different value.  I just thought that 15 minutes will be a
sufficient time for most people.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] FreedomBox 0.8 Released!

2016-02-24 Thread Sunil Mohan Adapa
On 02/25/2016 07:49 AM, James Valleroy wrote:
> On 02/22/2016 07:49 PM, tong hui wrote:
>> Hi, 
>>
>> I didn't see Chinese in Plinth interface language list, dose it
>> available now?  
>>
> 
> It should have been in this release, but there's a bug in Plinth that
> prevents it from showing up in the language list. Sorry, we should have
> checked that before release.
> 
> I don't have a complete solution yet, but as soon as this issue is
> solved, we can release another Plinth package with the fix.
> 

Django itself is using zh_CN internally for all this modules. This led
me to use the zh_CN instead of alternatives. Django has a kind of
mapping to handle zh_CH -> zh_hans. I will check up further today. My
apologies for not testing this properly. I rather treated it like a
regular language addition.

We should in fact make a quick point release with this fix.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Freedombox firstboot fails to configure AP mode on otherwise-working WiFi dongles

2016-02-24 Thread Sunil Mohan Adapa
On 02/23/2016 06:11 AM, Daniel Gnoutcheff wrote:
> On 02/22/2016 02:31 PM, Daniel Gnoutcheff wrote:
>> Hey,
>>
>> I've been finding that when I boot a fresh freedombox with 0.7 images
>> and with a WiFi dongle installed, no WiFi AP is created.
> 
> I ended up editing 05_network to get this working. Honestly, I can't
> understand how the script could have ever worked, except maybe by accident.
> 
> Patch attached, HTH!

I tested this patch on an APU 1D with 3 Ethernet ports and 1 Wi-Fi
dongle.  All the network connections got configured as expected.

Earlier, due to missing Wi-Fi firmware on all but Dreamplug images, we
had to hand tweak for Wi-Fi connections in most cases.  Ethernet
interfaces were getting configured properly.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] Live Demonstration Infrastructure

2016-02-23 Thread Sunil Mohan Adapa
On 02/23/2016 11:21 PM, J.D. Bean wrote:
> Hi all,
> 
> I've been playing with Freedombox and lurking here for a while now and
> wanted to raise the issue of setting up some sort of live demonstration
> instance of Freedombox for potential users/contributors to play with
> before. When considering browser-based tools I find that these sorts of
> demonstrations have a strong impact on my interest-level in the project
> and was wondering if anyone had any thoughts about making this kind of
> demonstration a goal for the project?
> 
> I'm not sure what sorts of tools are used by other web app projects to
> set up there demo instances and I have a hunch that setting something
> like this up might present some non-negligible technical challenges.
> Some examples of demo instances for web-based projects include:

Web based demo is indeed a powerful way to spike interest among casual
visitors.  I gave a some thought to it a while back without much
conclusion.  Here's an idea that could work:

On a reasonably powerful machine, we could spawn a dozen or so
VMs/containers from a snapshot.  We don't allow incoming connections on
these except on web port for interacting with Plinth (this will be a
web-only demo).  People can login, install applications, configure
system etc. but they will not be able to use services unless they are
web-base services such as ownCloud.  Then every 15 minutes or so, we
will reset all the VMs/containers state to the snapshot state.

This may be possible with minimal setup and maintenance effort.

-- 
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

Re: [Freedombox-discuss] freedombox on fit-pc4

2016-02-21 Thread Sunil Mohan Adapa
On Monday 22 February 2016 01:17 AM, Jan Costermans wrote:
[...]
> 5. I configured the freedombox as wireless access point and activated
> the WiFi interface (in plinth). However after a while (about half a
> minute) the WiFi is automatically deactivated (in plinth).
> 
> *My question: *What could be causing this problem? Which log files can I
> check for errors?

You will find Network Manager logs in /var/log/syslog.

-- `
Sunil




signature.asc
Description: OpenPGP digital signature
___
Freedombox-discuss mailing list
Freedombox-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss

  1   2   >