Re: [Angstrom-devel] Webmin integration

2016-02-18 Thread Stefano Cordibella

Thank you guys!

I forgot to say that the net module don't recognize Angstrom as a valid 
distro and fall back to a debian like management that search for 
/etc/network/interfaces file.


I will try the Andrew's solution. But I don't want to use connman in my 
image because I think that it add some complexity to my simple scenario...
I wish to use the systemd-networkd to manage the network as explained in 
this post:

http://www.toradex.com/community/answers/1064/view.html
I just want a fixed IP in the image and a simple way to change it form a 
web panel, like every commercial modem/router...


Thank you again for your help,
Stefano.


On 18/02/2016 13:00, angstrom-distro-devel-requ...@linuxtogo.org wrote:

-Original Message-

> >Op 17 feb. 2016, om 17:18 heeft Stefano Cordibella

><stefano.cordibe...@edalab.it>  het volgende geschreven:

> >
> >Hi list,
> >is there someone interested at the Webmin porting in the Angstrom

>distribution?

> >
> >I think that a web panel for configure various aspects of the system could

>be a nice feature.

> >Now my focus is on the net configuration module, and I think that could be

>quite easy to add an Angstrom module or extend/patch the current one in
>order to integrate it into Angstrom. Unfortunately I don't know perl, but I 
will
>be happy to collaborate on this task.
>
>FWIW there?s already a recipe for it:
>http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-
>webserver/recipes-webadmin/webmin/webmin_1.750.bb?h=master
>
>I don?t know how that behaves at runtime, but it?s a start.

As you say it is a start but it needs work, lots of it.

I got Webmin working in my project, at least partially. That is it works well 
enough for me, but it could do with spending more time on it than I really have.

You can look 
athttps://bitbucket.org/cbrx-fw/meta-cbrx/src/eb0f6be6e167380efe91b66ef5e49fa0d70b433b/recipes-extended/webmin?at=camol-3.14
You probably should ignore all the stuff in the cbrx directory as that is 
specific to my project, ie patch 0016-.. onwards and 0014... as well.

The interesting stuff though is the support for Connection Manager in the 
connman directory. This was the largest area of work for me to make Webmin 
useful on Angstrom. It is however very far from complete. It does at least work 
well enough to be able to set major network parameters such as DHCP or static 
IP addresses and host names.
You will 
needhttps://bitbucket.org/cbrx-fw/meta-cbrx/src/eb0f6be6e167380efe91b66ef5e49fa0d70b433b/recipes-extended/dbus/?at=camol-3.14
  as well in order to get the dBus calls to work.

Andrew



--
*Stefano Cordibella*
EDALab s.r.l. - Networked Embedded Systems

Strada Le Grazie, 15 - 37134 Verona - Italy
email : stefano.cordibe...@edalab.it
skype : stefano.cordibella
tel. : +39 045 802 70 85
web : www.edalab.it
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


[Angstrom-devel] Webmin integration

2016-02-17 Thread Stefano Cordibella

Hi list,
is there someone interested at the Webmin porting in the Angstrom 
distribution?


I think that a web panel for configure various aspects of the system 
could be a nice feature.
Now my focus is on the net configuration module, and I think that could 
be quite easy to add an Angstrom module or extend/patch the current one 
in order to integrate it into Angstrom. Unfortunately I don't know perl, 
but I will be happy to collaborate on this task.


Thank you for your time,
Stefano.

--
*Stefano Cordibella*
EDALab s.r.l. - Networked Embedded Systems

Strada Le Grazie, 15 - 37134 Verona - Italy
email : stefano.cordibe...@edalab.it
skype : stefano.cordibella
tel. : +39 045 802 70 85
web : www.edalab.it
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel