Page 11 of 28

Re: New web inferface (Webif) for SamyGO 2012-04-21

Posted: Sun Apr 22, 2012 10:55 pm
by brunogts77
DEUS wrote:@brunogts77 you need to add (install) Infopage.cgi
@arris69 will fix commands asap, just testing for bugs
@juuso you are working on infopage? (now need to think about collaborative working procedure)

@arris could you please check viewtopic.php?f=25&t=3897 and tell me your opinion, dangerous or very dangerous?
How can i install infopage???

Re: New web inferface (Webif) for SamyGO 2012-04-21

Posted: Sun Apr 22, 2012 11:00 pm
by DEUS
webif > Modules > online > and then pick infopage module

Re: New web inferface (Webif) for SamyGO 2012-04-21

Posted: Sun Apr 22, 2012 11:03 pm
by brunogts77
just donne.

This is my infopage:

Code: Select all

INFOS ON THIS PAGE MIGHT BE WRONG!

System Info

January 1, 1970 GMT 
Menu:
Important General
Shares
Network
Software	NFS mounts:
192.168.1.251:/home/Public on /dtv/usb/sdj/nfs/192.168.1.251/_home_Public type nfs (rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,soft,nointr,nolock,proto=tcp,timeo=70,retrans=3,sec=sys,addr=192.168.1.251)
Samba mounts:
//192.168.1.182/Users on /dtv/usb/sdj/smb/192.168.1.182/Users type cifs (rw,relatime,unc=\192.168.1.182\Users,username=sysadmin,addr=192.168.1.182,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344)
//192.168.1.251/PUBLIC on /dtv/usb/sdj/smb/192.168.1.251/PUBLIC type cifs (rw,relatime,unc=\192.168.1.251\PUBLIC,username=sysadmin,addr=192.168.1.251,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344)
//192.168.1.251/sysadmin on /dtv/usb/sdj/smb/192.168.1.251/sysadmin type cifs (rw,relatime,unc=\192.168.1.251\sysadmin,username=sysadmin,addr=192.168.1.251,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344)
//192.168.1.164/Users on /dtv/usb/sdj/smb/192.168.1.164/Users type cifs (rw,relatime,unc=\192.168.1.164\Users,username=sysadmin,addr=192.168.1.164,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344)

Generated in 0.06 sec.

Re: New web inferface (Webif) for SamyGO 2012-04-21

Posted: Mon Apr 23, 2012 9:30 am
by juusso
DEUS wrote:@juuso you are working on infopage? (now need to think about collaborative working procedure)
Yes, ab und zu :)
Don`t think it is worth to update it every day after some portion of changes. will check because of commands arris asked too.

Re: New web inferface (Webif) for SamyGO 2012-04-21

Posted: Mon Apr 23, 2012 10:21 am
by DEUS
i changed commands in infopage already, busybox grep works a bit different. see fix_cmd files, in case there are problems i did not see i kept the old ones as well.
had a issue yesterday with webif (apache log filled up /dtv) may need to fix (reduce) errors or disable log. reboot is the temporary sollution.

Re: New web inferface (Webif) for SamyGO 2012-04-21

Posted: Wed Apr 25, 2012 4:57 pm
by juusso
Some bugfixes on build 04-25. First post updated.

Re: New web inferface (Webif) for SamyGO 2012-04-21

Posted: Wed Apr 25, 2012 5:31 pm
by DEUS
just checked, also had some fixes on awk but its ok now " ' ", the 4th line $SYSROOT/etc/version release timestamp causes error, i put this in as a reminder to show version of installed widget, delete or use it, the rest looks nice, i saw you spent some time on it ;-)
but i think widgets would be better in a seperate CGI-Script, for the samygo.png needs path to SGO Dir or copied to /dtv/www next webif_pack will have the logo included if you agree.

Re: New web inferface (Webif) for SamyGO 2012-04-21

Posted: Wed Apr 25, 2012 5:36 pm
by juusso
Yes, widgets looking dirty - apache handles <xml> and other tags, stuff must be cleaned. I just left it as is...
Yes, image problem is known, sure i don`t mind to use common logo. I used this:
samygo.png
But it`s up to you which to choose. Design still isn`t important, i became bored on black/white so added some collors and picture :)

One more probl: even i set chmod to files inside the tar, i can`t install over online. Downloaded archive gets 644 inside tmp directory and ignored w/o to install the infopage.

Ab und zu i dissabled/enabled the version file.. last time i checked it was dissabled :)

Re: New web inferface (Webif) for SamyGO 2012-04-21

Posted: Wed Apr 25, 2012 5:47 pm
by DEUS
if you are using linux i send you a script which i use to create the archive, other posibity is you send me the file, will packit and post it

Re: New web inferface (Webif) for SamyGO 2012-04-21

Posted: Thu Apr 26, 2012 7:45 am
by juusso
DEUS wrote:...also will add folder images and php to be copied...
style.css needs to be copied as well. I think this could help to unify the whole webif style. I started to use css yesterday, use it from /www/