Sign up here and you can log into the forum!

Howto add 'shutdown' command

General WDLXTV forum

Howto add 'shutdown' command   

Postby arfgh » Mon Sep 10, 2012 4:17 pm

I have seen using telnet that the shutdonw command or halt dont exist.
Can we add it by some manner ?

thx in advance
arfgh
WDTVer
 
Posts: 48
Joined: Sun Dec 19, 2010 2:21 pm

Re: Howto add 'shutdown' command   

Postby mad_ady » Mon Sep 10, 2012 10:37 pm

Sure they are - maybe they were not in your path?
Code: Select all
           1.02.21_WDLXTV.COM_WDLXTV_LIVE-0.5.1.1
root@Deneb:/root#
root@Deneb:/root#
root@Deneb:/root# shutdown --help
shutdown [-h|--help|--no-suspend|--simple]
    --no-suspend   :   do not call suspend, only do unmounting
    --simple : no lazy umounting
root@Deneb:/root# halt -h
halt: invalid option -- 'h'
BusyBox v1.19.2 (2011-09-23 16:53:42 PDT) multi-call binary.

Usage: halt [-d DELAY] [-n] [-f] [-w]

Halt the system

   -d SEC   Delay interval
   -n   Do not sync
   -f   Force (don't go through init)
   -w   Only write a wtmp record

root@Deneb:/root# which shutdown
/sbin/shutdown
root@Deneb:/root# which halt
/sbin/halt
root@Deneb:/root#
User avatar
mad_ady
Developer
 
Posts: 4566
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Howto add 'shutdown' command   

Postby arfgh » Tue Sep 11, 2012 5:58 am

thx for the reply. Soon i will check this info that you said.

mad_ady, you seem as someone that control so much about this.
i have two unresolved questions and i see that this forum is a bit out of use.

Can you please help me to set a static ip using wpa-psk ? because without the dhcp server i cant obtain the ip, but yes with it.
Curisly i can assign static ip using the open way to connect and wep way to connect, but for some reasson dont works when use wpa-psk.

thx in advance


edit: ok, halt is able to stop the wdtv, the leds still on, but the remote control dont response, so i assume that is fully stopped ?
and about shutdown command, i cant find it .
arfgh
WDTVer
 
Posts: 48
Joined: Sun Dec 19, 2010 2:21 pm

Re: Howto add 'shutdown' command   

Postby mad_ady » Tue Sep 11, 2012 9:46 pm

If you want to put your wdtv to standby via telnet, the best way to do this is to use this command instead:
Code: Select all
irinject POWER

This will behave the same way as pressing the power button on your remote and run through the shutdown scripts.

I have no experience with wifi on the wdtv, since I use a wired connection. Most likely, if you adaptor is supported, you can make the manual IP configuration via the OSD (in the settings menu).
User avatar
mad_ady
Developer
 
Posts: 4566
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Howto add 'shutdown' command   

Postby arfgh » Wed Sep 12, 2012 5:41 am

this command uses this ? http://wdtv.droopy.sk/irset/irset.v1.0.zip

if the answer is yes, i cant find this app.bin cause the link is dead.

Please can someons to share it again?

thx in advance
arfgh
WDTVer
 
Posts: 48
Joined: Sun Dec 19, 2010 2:21 pm

Re: Howto add 'shutdown' command   

Postby mad_ady » Wed Sep 12, 2012 9:25 am

Odd. What firmware version are you running and on what device?
All the commands I listed have been built-in for the past 2-3 versions.
User avatar
mad_ady
Developer
 
Posts: 4566
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Howto add 'shutdown' command   

Postby arfgh » Thu Sep 13, 2012 1:12 am

gen1 and wdlxtv
arfgh
WDTVer
 
Posts: 48
Joined: Sun Dec 19, 2010 2:21 pm

Re: Howto add 'shutdown' command   

Postby mad_ady » Thu Sep 13, 2012 1:43 am

Sorry, I have no experience with Gen1s... Also, give us the complete firmware version (1.x.x-y.y.y.y)
User avatar
mad_ady
Developer
 
Posts: 4566
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Howto add 'shutdown' command   

Postby arfgh » Sun Sep 01, 2013 6:31 am

links to irset are dead and i am interesting to test it.

please reshare it
arfgh
WDTVer
 
Posts: 48
Joined: Sun Dec 19, 2010 2:21 pm

Re: Howto add 'shutdown' command   

Postby recliq » Mon Sep 02, 2013 1:36 am

It's hard to help you if you don't answer our questions... :roll:
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Next

Return to Discussion

Who is online

Users browsing this forum: No registered users and 1 guest