PDA

View Full Version : Restart enigma 2 via telnet on the pc



bassethound
15-12-10, 21:15
There may become a time when you need to restart the enigma 2 gui (interface) without a hard reset of the box, probably due to a system lockup or a failed EPG reload.

Based on Windows XP

On your PC Start Telnet via Start>Run>cmd {enter}
45394540
4541

4542

Replace "x" with the correct IP of your box.

Now Login with your username and password
4543

Now stop enigma2, and it will automattically restart.
4544

You will get a cannot kill process message but do not worry.

The reason enigma2 automatically restarts is the startup script is running and will start enigma2 if it is not running.

Thanks Mikes+Messi

pooface
15-12-10, 22:32
For this to work, you need to have telnet client installed via the add/remove windows components in add/remove programs in control panel...

Another thing that you can do, is to run the "init 4" command to stop enigma2 altogether. This will allow you to do something that you want to do whilst enigma2 isn't running. You can then restart enigma2 by issuing the command "init 3"

silverfox0786
15-12-10, 22:34
For this to work, you need to have telnet client installed via the add/remove windows components in add/remove programs in control panel...

Another thing that you can do, is to run the "init 4" command to stop enigma2 altogether. This will allow you to do something that you want to do whilst enigma2 isn't running. You can then restart enigma2 by issuing the command "init 3"

sorry a bit off topic what are the other init commands

init 1, 2, 5 etc

GiP
15-12-10, 23:13
sorry a bit off topic what are the other init commands

init 1, 2, 5 etc

Init is the command that changes the "runlevel" of linux. Runlevel 0 is for halting the OS, 1 is single user mode, 6 is reboot and from 2 to 5 are various multi user modes. On normal linux 5 is graphics and 3 is text, here, I suppose, 4 starts enigma and 3 doesn't. The services and programs that start in the different levels are kept in the /etc/rcX.d for level X.

GiP

silverfox0786
15-12-10, 23:17
Init is the command that changes the "runlevel" of linux. Runlevel 0 is for halting the OS, 1 is single user mode, 6 is reboot and from 2 to 5 are various multi user modes. On normal linux 5 is graphics and 3 is text, here, I suppose, 4 starts enigma and 3 doesn't. The services and programs that start in the different levels are kept in the /etc/rcX.d for level X.

GiP

Thanks gip very nice break down for pc but still a bit vauge for me i was curious to know exactly what each init does i was asking as i wanted to know for programming purposes but then i guess i can find out froma linux distro tutorial

dfdream
16-12-10, 09:06
I installed pTerm App on my iphone and created an entry for my VU Duo.
So in the rare time I need to reboot I open the app, it asks for my telnet password and voila. (Plus no need to boot up PC).
The command I use is
shutdown now -r
The -r is reboot.
Does anyone know if this is a worse command to use than the ones above to get a proper shutdown/reboot.

pooface
16-12-10, 09:26
I installed pTerm App on my iphone and created an entry for my VU Duo.
So in the rare time I need to reboot I open the app, it asks for my telnet password and voila. (Plus no need to boot up PC).
The command I use is
shutdown now -r
The -r is reboot.
Does anyone know if this is a worse command to use than the ones above to get a proper shutdown/reboot.

What the commands above do are restart enigma2. The command you are doing is restarting the whole box. Restarting enigma2 is needed for when you change skin, change channel lists etc. Restart the box is what you need when you change the drivers, change mount points etc.

Another command you can run in telnet to restart the box "reboot"...

mauri
20-12-10, 12:32
What the commands above do are restart enigma2. The command you are doing is restarting the whole box. Restarting enigma2 is needed for when you change skin, change channel lists etc. Restart the box is what you need when you change the drivers, change mount points etc.

Another command you can run in telnet to restart the box "reboot"...

Hello there,
I might be off topic here, but kinda desperate because my box keeps on crashing (the 5th time now for the 1st week that I have the box). The last time it crashed when I was in radio mode, I wanted to go back to TV mode but I couldn't because I had the TV button behavior set to show recordings list, not the TV list. I figured I had to change the TV button behavior to show TV. I go to VIX settings and change it. It asks me to restart GUI, I press YES. Now the box is stuck to the boot screen. The VIC logo rotates for a couple of minutes than nothing happens.
I can however telenet the box. I tried to reboot it via telnet. Again stuck in boot screen. I did the hard boot as well. Nothing. :(
I did also update the ipkg packages via telnet (hoping it would fix any bugs and pass the boot screen). no luck again.

I have reflashed the box five times (maybe more), right now it is running Vix 1.3 with the latest updates (which I did when I reflashed it). I am using CCcam 2.1.4

Can someone show me how to 'recover' the box withougt the need to reflash it. It does require at least 2 hours to do it properly (with all the settings/updates/pluggins that I like).
on the other hand, I would not like to flash the box everytime it hangs on the boot logo. I might be wrong but there should be some limits in the number of flashings, right? :S

cheers,
mauri

p.s. by the way, Vu+ duo is a great box! I've been a s*ybox owner since s*y+ was in the market, but this box does blow it away! :)

Morini
20-12-10, 13:01
Hi Mauri, do you have a usb memory stick plugged in? If so, do you have a swap file set up on it? I ask because I have been through exactly the same experience as you and I (think) fixed it by not having a swapfile on usb.

If you do have a USB stick plugged in try removing it and see if the vu starts up.

mauri
20-12-10, 19:49
Hi Mauri, do you have a usb memory stick plugged in? If so, do you have a swap file set up on it? I ask because I have been through exactly the same experience as you and I (think) fixed it by not having a swapfile on usb.

If you do have a USB stick plugged in try removing it and see if the vu starts up.

Hi Morini,

no I do not have a USB stick plugged in it.

My worry is that this kind of freeze has happened several times, while joggling around with different set-up features, like changing epg behavior etc.
And it does frustrate you. :(