Page 20 of 28
Re: New web inferface (Webif) for SamyGO
Posted: Fri Jun 01, 2012 6:43 pm
by DEUS
wrong nameserver? something changed? resolve.conf?
Re: New web inferface (Webif) for SamyGO
Posted: Fri Jun 01, 2012 6:44 pm
by tao13
in shell on ubuntu
when i ping the samygo result is this:
64 bytes from 46.4.199.222: seq=0 ttl=56 time=190.818 ms
64 bytes from 46.4.199.222: seq=1 ttl=56 time=209.731 ms
64 bytes from 46.4.199.222: seq=2 ttl=56 time=156.645 ms
64 bytes from 46.4.199.222: seq=3 ttl=56 time=170.546 ms
64 bytes from 46.4.199.222: seq=4 ttl=56 time=213.271 ms
64 bytes from 46.4.199.222: seq=5 ttl=56 time=186.131 ms
64 bytes from 46.4.199.222: seq=6 ttl=56 time=183.250 ms
Re: New web inferface (Webif) for SamyGO
Posted: Fri Jun 01, 2012 6:56 pm
by arris69
DEUS wrote:can somebody post sourcecode of webpage after clicking online (when it is not working), still wondering about the segfaults.
@arris69 you have it on your B? did you get something when click online?
yes, seems to work. also install of modules:
(just have ssh access to internal network and console browser to tv)
Code: Select all
[privateguest@crius Data]$ w3m http://192.168.1.51/cgi-bin/Modules.cgi
[remove] /mtd_down/SGO_extensions/ntpclient_arm.SGO_ext.tar.log
/mtd_tlib/GGame/SamyGO/etc/init.d/07_11_ntpclient.init
/mtd_tlib/GGame/SamyGO/opt/privateer/usr/sbin/ntpclient
[remove] /mtd_down/SGO_extensions/poor_webif.SGO_ext.tar.log
/mtd_tlib/GGame/SamyGO/etc/init.d/99_90_poor_webif.init
/mtd_tlib/GGame/SamyGO/webif/www/favicon.ico
/mtd_tlib/GGame/SamyGO/webif/www/style.css
/mtd_tlib/GGame/SamyGO/webif/www/samygo.png
/mtd_tlib/GGame/SamyGO/webif/index.html
/mtd_tlib/GGame/SamyGO/webif/cgi-bin/Navigation.cgi
/mtd_tlib/GGame/SamyGO/webif/cgi-bin/Info.cgi
/mtd_tlib/GGame/SamyGO/webif/cgi-bin/Infopage.cgi
/mtd_tlib/GGame/SamyGO/webif/cgi-bin/Navigation2.cgi
/mtd_tlib/GGame/SamyGO/webif/cgi-bin/Service.cgi
/mtd_tlib/GGame/SamyGO/webif/cgi-bin/Modules.cgi
[remove] /mtd_down/SGO_extensions/serial_unlock_arm.SGO_ext.tar.log
/mtd_tlib/GGame/SamyGO/etc/init.d/01_01_serial_unlock.init
/mtd_tlib/GGame/SamyGO/opt/privateer/usr/sbin/serial_unlock
[install] [LINK ] [NAME ]
[online]
[devel]INTERNAL TESTING
[BACK]
BUILD=2012-04-15
? ? ? Viewing <Modules>
Re: New web inferface (Webif) for SamyGO
Posted: Fri Jun 01, 2012 7:01 pm
by DEUS
tao13 it is the same as on my ubuntu systems, but i am only interested on what your TV shell output is
juuso what is in your /mtd_rwarea/resolv.conf
Re: New web inferface (Webif) for SamyGO
Posted: Fri Jun 01, 2012 7:17 pm
by juusso
Sorry, I'm out from tv today/ tomorrow. I get ping error also from my NAS, this must be my local network/router configuration problem, have done some configuration last night.

Re: New web inferface (Webif) for SamyGO
Posted: Fri Jun 01, 2012 7:39 pm
by tao13
Hi DEUS
I make a preent screen with ubuntu, my win7 browser on pfpinfo and shell started from php.
If i want to run
curl -s "
viewtopic.php?f=21&t=3856&p=29558#p29558" | sed 's_&_&_g' | busybox grep -o "###.*###" | sed 's_<br />_\n_g' | sed 's_^###.*$__g' | sed '/^$/d'
shell accepted ENTER but in shell nothing displayed.
If i want to ping samygo
ENTER command doesn't accepted and remaining in line comand
New Bitmap Image.jpg
Re: New web inferface (Webif) for SamyGO
Posted: Fri Jun 01, 2012 8:17 pm
by DEUS
on your Ubuntu machine in shell run this and post output
Code: Select all
curl http://192.168.1.11/cgi-bin/Modules.cgi?var_a=online
Re: New web inferface (Webif) for SamyGO
Posted: Fri Jun 01, 2012 8:35 pm
by tao13
curl
http://192.168.1.11/cgi-bin/Modules.cgi?var_a=online
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 543 0 543 0 0 4065 0 --:--:-- --:--:-- --:--:-- 4113
<head><title>Modules</title></head>
<body>
<form action=/cgi-bin/Modules.cgi method=GET>
<input type=submit name=var_a value=install />
<input type=text name=var_b value=LINK>
<input type=text name=var_c value=NAME><br>
</form>
<form action=/cgi-bin/Modules.cgi method=GET><input type=submit name=var_a value=online></form>
<form action=/cgi-bin/Modules.cgi method=GET><input type=submit name=var_a value=devel>INTERNAL TESTING</form>
<form action=/cgi-bin/Modules.cgi method=GET><input type=submit value=BACK></form>
BUILD=2012-04-15
</body>
Re: New web inferface (Webif) for SamyGO
Posted: Fri Jun 01, 2012 8:44 pm
by DEUS
Shell on TV, output of
Code: Select all
echo "http://ue46D6500/cgi-bin/Modules.cgi?var_a=online" | sed 's_%3A_:_g' | sed 's_%2F_\/_g' | busybox awk -F "(=|&)" ' {print $2} '
Re: New web inferface (Webif) for SamyGO
Posted: Fri Jun 01, 2012 9:00 pm
by tao13
nothing happend
accept enter but nothing displayed in web page shell started from phpinfo on win7 , internet explorer.
same thing on ubuntu shell , nothing output
maybe you want this
echo "
http://192.168.1.11/cgi-bin/Modules.cgi?var_a=online" | sed 's_%3A_:_g' | sed 's_%2F_\/_g' | busybox awk -F "(=|&)" ' {print $2} '
with 192.168.1.11 not ue46d6500
but the same thing
maybe is something wrong on my tv because i can use
http://192.168.1.11/phpsysinfo/shell.php
only
http://192.168.1.11/phpsysinfo/file.php?action=9