maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   webmin on n800? (https://talk.maemo.org/showthread.php?t=7694)

fnordianslip 2007-07-14 15:06

webmin on n800?
 
Has anyone had any joy (or even tried) installing webmin on their n800?

SeRi@lDiE 2007-07-14 16:20

Re: webmin on n800?
 
Why would you?!?
Webmin is a admin interface along with usermin...

Is for server environment...

fnordianslip 2007-07-15 12:15

Re: webmin on n800?
 
Well, my answer (if I could install it) would be: because I can. That's why I'm trying to find out. That and the fact that it is so very useful. I know I need Perl, but I'm not much of a Perl buff (not at all, in fact), so I don't know if I can satisfy the dependencies.

As it happens, I also have webmin installed on my x86 Ubuntu box, my Apple iBook running OS X, my Linksys NSLU2 running Debian Etch, and I want it on my n800.

BTW, I did a hacky build of iptraf for the n800 yesterday if anyone is interested. Binaries only, no deb.

SeRi@lDiE 2007-07-16 04:21

Re: webmin on n800?
 
I am interested in iptraf...
Thanks
I use to run webmin in some server for the Windows admins that way it would be easier for them... other than that I see it useless....

SeRi@lDiE 2007-07-16 13:47

Re: webmin on n800?
 
any news on iptraf? :)

fnordianslip 2007-07-16 17:44

Re: webmin on n800?
 
Sorry, this topic falls of the front page so fast I didn't realised you'd replied again. I'm off out in a minute, but if you PM me with your email address, I'll mail something to you later. I had to hack out some FDDI stuff to get it to build. It can be a little funny with the virtual keyboard - it's better with a BT keyboard, but there are some workrounds for using the virtual one.

Laters...

fnordianslip 2007-07-16 22:18

Re: webmin on n800?
 
Hi.
Regarding iptraf, I've posted (for a while) the modified source and n800 binaries at:
http://homepage.mac.com/darren.long/...0.n800.0.1.tgz
When you decompress it, the binaries (rvnamed and iptraf) are in the folder called src. Just put them in your path somewhere (i.e. /usr/local/bin or whatever) and chmod. The Setup (build) script likes to create stuff as shown below. On my n800,I just created the folders that it seemed to want and copied the binaries into my path. The hack involved not including linux/if_fddi.h on line 22 of othptab.c, not including linux/if_fddi.h on line 38 and commenting out lines 197-210 of packet.c and not including net/if.h on line 27 of tcptable.c.

It seems OK for a quick hack. Best with a BT keyboard. I use a shell script which launches iptraf after a 5 second delay, giving me time to close the virtual keyboard if needed. Sorry if it's a bit rough and ready. Not fully tested - hack away. YMMV

Have fun,

Darren

PS. This link will soon die off. I'm not really planning on maintaining this, so grab it now if you want it.

================================================== ===================
IPTraf Version 3.0.0 Setup
Target Platform: Linux/arm
---------------------------------------------------------------------

make: Entering directory `/home/darren/source/iptraf-3.0.0.n800.0.1/src'

*** Installing executable programs and preparing work directories

>>> Installing iptraf in /usr/local/bin
/scratchbox/tools/bin/install: cannot change ownership of `/usr/local/bin/iptraf': Operation not permitted
>>> Installing rvnamed in /usr/local/bin
/scratchbox/tools/bin/install: cannot change ownership of `/usr/local/bin/rvnamed': Operation not permitted
>>> IPTraf work directory /var/local/iptraf already exists
/scratchbox/tools/bin/install: cannot change owner and/or group of `/var/local/iptraf': Operation not permitted
>>> IPTraf log directory /var/log/iptraf already exists
/scratchbox/tools/bin/install: cannot change owner and/or group of `/var/log/iptraf': Operation not permitted
>>> IPTraf lockfile directory /var/run/iptraf already exists
/scratchbox/tools/bin/install: cannot change owner and/or group of `/var/run/iptraf': Operation not permitted


*** iptraf, and rvnamed executables are in /usr/local/bin
*** Log files are placed in /var/log/iptraf


================================================== ====================

Please read the RELEASE-NOTES file for important new information about
this version. You can view this file now (will require the 'less'
program in /usr/bin. Press Q to quit when done).

Would you like to view the RELEASE-NOTES file now (Y/N)? n


================================================== ===================

Thank you for installing IPTraf. You can now start IPTraf by issuing
the command

/usr/local/bin/iptraf

at your shell prompt. You can also add /usr/local/bin to your PATH environment
variable to avoid having to type the pathname when invoking the program.

SeRi@lDiE 2007-07-18 03:46

Re: webmin on n800?
 
Well this aint going to work... I dont have 20MB so I can install make...

Any body out there has build?

TIA!

fnordianslip 2007-07-18 06:53

Re: webmin on n800?
 
You don't have to install make (unless you want to rebuild it in scratchbox). As I said, untar, and take the binaries from the src folder and make them executable. The tarball is a snapshot of the post-build source tree. The modified source is provided to satisfy the conditions of the GPL.

The output I posted is to give some clues about the directory structure that is created when it's installed. I think its best to recreate the folder structure.

Hope that makes it clearer.

zestuart 2007-11-02 15:52

Re: webmin on n800?
 
Quote:

Originally Posted by fnordianslip (Post 59950)
Has anyone had any joy (or even tried) installing webmin on their n800?

I'm going to have a stab at it, never know when it might come in handy! It'll have to be the minimal one though, c'est la vie, ne c'est pas?


All times are GMT. The time now is 01:02.

vBulletin® Version 3.8.8