Gbox Telnet Command



to start telnet
click start, run
type telnet [dreambox ip]
enter user/pass in the telnet box
standard is root/dreambox

change dir to /var/tmp by typing
cd /var/tmp

to see number of cards online
grep Card share.info | wc -l

to see number of cards from a peer
grep [peer name] share.info | wc -l

you can put whatever behind grep like prov id's distance, share level
examples:
grep dist:1 share.info | wc -l
grep Lev:1 share.info | wc -l
output example:
root@dm7020:/var/tmp# grep dist:1 share.info | wc -l
96

do mind the capitals !!

the wc -l commands counts the number of lines in share.info
if you remove it you wil see all the lines containing the text entered behind grep

example:
grep Lev:0 share.info
ouput:
CardID 1 at peer.net Card 01000002 Sl:3 Lev:0 dist:3 id:7898
CardID 11 at peer.net Card 0100002F Sl:1 Lev:0 dist:2 id:A508
CardID 26 at peer.net Card 01000030 Sl:2 Lev:0 dist:3 id:8069
CardID 27 at peer.net Card 01000035 Sl:1 Lev:0 dist:2 id:A508

in share.onl is the online status of the peers
you can see it by typing
more share.onl
peers with 1 are online, 0 means offline

to kill gbox:
touch /tmp/gbox.kill
to start gbox
/var/bin/gbox &
don't forget the & behind it or gbox will be closed when you exit the telnet session

to reboot your dreambox type
reboot
to change dreambox password type
passwd

...
__________________

[attachment=0:2xk6qfar]satbannerbig.gif[/attachment:2xk6qfar]