Re: [Angstrom-devel] Webmin integration

2016-02-18 Thread Andrew Goodbody
> -Original Message-
> 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...

Well I don't think my recipe will help really in that case. You may as well use 
the one Koen linked to. That one is at least using a more recent version of 
Webmin. You are going to have to write your own network configuration code in 
either case which may well be better based on the real Webmin code rather than 
my unfinished Connection Manager code.

> Thank you again for your help,
> Stefano.

You're welcome.

Andrew

___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] Webmin integration

2016-02-18 Thread Andrew Goodbody
> -Original Message-
> I actually like the LED patch very much!

Thanks. The idea is fine, eg if you have a number of boards installed then you 
may want to identify which one you are actually talking to. The issue is of 
course that the LED names are specific to my project so will not be correct for 
anyone else. It could also do with something more than its very basic layout.

Andrew
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


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

>  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


Re: [Angstrom-devel] Webmin integration

2016-02-18 Thread Koen Kooi

> Op 18 feb. 2016, om 11:32 heeft Andrew Goodbody 
>  het volgende geschreven:
> 
>> -Original Message-
>>> Op 17 feb. 2016, om 17:18 heeft Stefano Cordibella
>>  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.

It looks like you’re of to a good start.

> You can look at 
> https://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.

I actually like the LED patch very much!

regards,

Koen
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] Webmin integration

2016-02-18 Thread Andrew Goodbody
> -Original Message-
> > Op 17 feb. 2016, om 17:18 heeft Stefano Cordibella
>  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 at 
https://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 need 
https://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
___
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


Re: [Angstrom-devel] Webmin integration

2016-02-17 Thread Koen Kooi

> Op 17 feb. 2016, om 17:18 heeft Stefano Cordibella 
>  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.

regards,

Koen


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel