Nathan

At 08:31 28.10.2004 -0400, Nathan Angelacos wrote:

A web-based configuration package for Bering-uClibc is available at:

http://cvs.sourceforge.net/viewcvs.py/leaf/devel/nangel/webconf/lrp/webconf.lrp

This package provides the monitoring functions of weblet and adds web-based
tools to perform all of the steps found in the various installation and user's
guides. In other words, you can use a web interface to edit all the
configuration files, back up packages, and edit the leaf.cfg boot
configuration file.


This should be considered "beta-quality", and is targeted at experienced
users.   The webconf framework is designed to allow developers to seamlessly
add their own "plugins" into the menu structure.  Two plugin modules (one for
dropbear ssh and one for keyboard selection) are included in the "basic"
interface to demonstrate what can be done with the webconf framework.

It is hoped that this work provides a starting point to develop a web
interface to make it easier for users less experienced with Linux to be able
configure a LEAF router.

As with other SOHO router style web interfaces, the focus is on functionality
rather than security - so it is not recommended that the web interface be
accessible from the "Internet" side of your router.  In default Bering-uClibc
distributions, the Shorewall rules are pre-configured this way.

Installation instructions are here:

http://cvs.sourceforge.net/viewcvs.py/leaf/devel/nangel/webconf/doc/webconf-configuration.html

I ported haserl to glibc 2.0.7, a few mods were needed to make it compile

I needed to include signal.h to have SIGCHLD

....
#if HAVE_SIGNAL_H
#include <signal.h>
#endif

and line 541 in haserl.c declares char *ptr. I had to move this to the top of the function in order to compile. If I used the c++ language switch it just got worse

luna:/src/haserl-0.7.1/src# gcc --version
2.95.3

....luna:/src/haserl-0.7.1/src# gcc -DHAVE_CONFIG_H -DHAVE_SIGNAL_H -I. -I. -I. -g -O2 -Wall -c `test -f 'haserl.c' || echo './'`haserl.c
haserl.c: In function `ReadMimeEncodedInput':
haserl.c:546: parse error before `char'
haserl.c:547: `ptr' undeclared (first use in this function)
haserl.c:547: (Each undeclared identifier is reported only once
haserl.c:547: for each function it appears in.)


the 5 line offset stems from the above include

with these mods and the -DHAVE_SIGNAL_H it compiled fine.

What is the reason for pwcrypt as opposed to htpasswd from mini-httpd?

Thanks
Erich

THINK
Püntenstrasse 39
8143 Stallikon
mailto:[EMAIL PROTECTED]
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16




------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to