Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £99! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

How to use Putty for Unix/Linux commands

Status
Not open for further replies.

abu baniaz

Moderator
Joined
Sep 16, 2010
Messages
24,112
Reaction score
178
Points
63
Location
East London
A pictorial guide on how to use Putty for Telnet commands


You can download Putty from
Code:
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html


You can right click, then paste the command to avoid errors!

Some commands:

Show storage devices, filesystem and type
Code:
df -Th


Put enigma to sleep (required before deleting files normally re-written at restart such as epg.dat)
Code:
init 4


Stop Enigma2 and then restart in console mode with debug
Code:
init 4 && ENIGMA_DEBUG_LVL=4 /usr/bin/enigma2


Stop Enigma2 and then restart in console mode with debug( On PLi, you have to issue as two separate commands)
Code:
init 4
ENIGMA_DEBUG_LVL=4 /usr/bin/enigma2


Stop Enigma2, restart and write debug log to /hdd
(Will still work if you only have a USB stick connected)

Code:
init 4 && enigma2 &> /media/hdd/Enigma2_debug_$(date +%Y-%m-%d_%H-%M-%S).log

Set a Pasword
Code:
passwd

List available updates. Useful if you always have pending update.
Code:
opkg update && opkg list-upgradable


Perform an update
Code:
init 4 && opkg update && opkg upgrade && init 6


Check who is connected to your receiver.
Code:
netstat

Show your tuner configuration. This will also create a file in /tmp/ called "mytunerconfig.txt" Upload/attach it to your thread if asked to.
Code:
cat /etc/enigma2/settings | grep config.Nims > /tmp/mytunerconfig.txt



Find box details
Code:
grep -r "" /proc/stb/info

Find maximum front ends (supports tuners)
Code:
grep -r "" /proc/stb/frontend


Force stop Enigma2 then restart it
Code:
killall -9 enigma2
init 3

Flash by command line using ofgwrite. Unzip image and transfer to receiver first.
Code:
init 4
ofgwrite -r -k /folder_of_unzipped_image


Flash by command line using Grog68's script. Requires boxbranding, so will not work on PLi, ATV 7.0. This will not create a settings backup.

Code:
wget --no-check-certificate -O flash-vix.sh http://www.willobuild.net/files/scripts/flash-vix.sh && bash flash-vix.sh


List number of vtuners
Code:
python -c "from glob import glob; print(len(glob('/dev/misc/vtuner*')))"


Dreambox - Activate rescue mode
Code:
echo "rescue" >> /proc/stb/fp/boot_mode
reboot
 

Attachments

  • opkg update.webp
    opkg update.webp
    23 KB · Views: 531
  • Main screen.webp
    Main screen.webp
    33.1 KB · Views: 547
Last edited:
Status
Not open for further replies.

OpenViX Feeds Status

Back
Top