Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12526 Members
237 Forums
7812 Topics
24005 Posts

Max Online: 9115 @ 08/24/24 07:30 PM
Newest Members
bazigare52 IPTV, danielvg, Denisa, bigsatinternatai, elmasry
12526 Registered Users
Who's Online
4 registered (Toysoft, Admin, Jona, bitgames), 264 Guests and 59 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 9994
Toysoft 2649
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Admin 13
OMEGA 8
Smokey 1
Hum@xel 1
samh 1
December
M Tu W Th F Sa Su
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Page 1 of 2 1 2 >
Topic Options
#2602 - 08/28/15 08:29 PM OpenPLi 4.0 : Little script to free Flash space
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9994
OpenPLi 4.0 : Little script to free Flash space (Commands to be sent by Telnet or SSH in Terminal mode)

Code:
rm /etc/init.d/softcam.CCcam
rm /etc/init.d/softcam.mgcamd
rm /etc/init.d/softcam.oscam

rm /usr/bin/CCcam
rm /usr/bin/mgcamd
rm /usr/bin/oscam

rm -r /usr/share/enigma2/PLi-FullHD
rm -r /usr/share/enigma2/PLi-FullNightHD
rm -r /usr/share/enigma2/PLi-HD1
rm -r /usr/share/enigma2/PLi-HD2

(PLi-HD is used as default in our images, so better to keep it !) :
rm -r /usr/share/enigma2/PLi-HD
_________________________

Top
#5286 - 01/20/16 08:14 AM Re: OpenPLi 4.0 : Little script to free Flash space [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9994
From Diceman01,

Code:
init 4
mv /usr/lib/enigma2/python/Plugins/Extensions /media/usb
mv /usr/lib/python2.7/site-packages /media/usb
ln -sfn /media/usb/Extensions /usr/lib/enigma2/python/Plugins/Extensions
ln -sfn /media/usb/site-packages /usr/lib/python2.7/site-packages 
init 3
_________________________

Top
#5344 - 01/22/16 05:34 PM Re: OpenPLi 4.0 : Little script to free Flash space [Re: Admin]
robocop591 Offline
VIP Japhar
stranger

Registered: 01/05/16
Posts: 10
Loc: FRANCE-NORD-
hi friend
i've dm8000 with open pli 4.0
i put a key usb 4.0gb, i initialised and no problembut when i write this command with putty the first and second command give an error : "mv: error write...no left space on device..."
i don't understand what's happen.
i want put an usb stick for extended memory and to do a backup of my dm.
thx
_________________________
1 Dream800hd clone Doscam 0.24b + 2 Dream800hd clone oscam 10960
1pc fixe ubuntu x64 + serveur oscam 1.20 # 9748
1 atlas HD200-boot et firm a jour-
1 VPS 2 multics r82 et r80 et 1 VPS oscam 1.20 unstable # 10998

Top
#5346 - 01/22/16 05:44 PM Re: OpenPLi 4.0 : Little script to free Flash space [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9994
So if you have such error it means the USB Stick is not mounted properly, did you check that it is mounted ok ? Did you used the "df -h" command to see the space on the devices on your box ?

I think that you pointed out exactly the issue, the USB is not mounted properly and so files are not copied to the Stick, instead to RAM that is emulating an USB output, and so files are lost.

Admin
_________________________

Top
#5826 - 02/19/16 08:50 PM Re: OpenPLi 4.0 : Little script to free Flash space [Re: Admin]
Dub2Dub Offline
stranger

Registered: 02/16/16
Posts: 8
Originally Posted By: Admin
OpenPLi 4.0 : Little script to free Flash space (Commands to be sent by Telnet or SSH in Terminal mode)

Code:
rm /etc/init.d/softcam.CCcam
rm /etc/init.d/softcam.mgcamd
rm /etc/init.d/softcam.oscam

rm /usr/bin/CCcam
rm /usr/bin/mgcamd
rm /usr/bin/oscam

rm -r /usr/share/enigma2/PLi-FullHD
rm -r /usr/share/enigma2/PLi-HD1
rm -r /usr/share/enigma2/PLi-HD2

(PLi-HD is used as default in our images, so better to keep it !) :
rm -r /usr/share/enigma2/PLi-HD


Should have really thought this one through, erm, removing CCCam kinda screwed me and installing a new one doesn't work because it says files missing.

any idea for a quick fix?

Top
#5828 - 02/19/16 11:10 PM Re: OpenPLi 4.0 : Little script to free Flash space [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9994
This one was for an older version of the OpenPLi 4.0 where MastaG had installed many Cams that were taking most of the Free Flash.

You can just copy any CCcam bin file in /usr/bin and it will work. But best is to reinstall thru the JAM 5.2.

Admin
_________________________

Top
#5982 - 02/24/16 10:14 PM Re: OpenPLi 4.0 : Little script to free Flash space [Re: Admin]
sinmc Offline
VIPF Panda
newbie

Registered: 02/22/16
Posts: 25
in my experience with Openpli 4.0 you can safely move the whole usr/lib/ to usb and link it , everything works fine anyway , tested in dm800hd and dm800se and dm500hd ...

Top
#5985 - 02/24/16 11:13 PM Re: OpenPLi 4.0 : Little script to free Flash space [Re: Admin]
Toysoft Online   content
Japhar Member
Carpal Tunnel

Registered: 10/21/10
Posts: 2649
Thank you for your contribution and tips ! I am sure it will help a lot of members,

TS
_________________________
DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s
VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910
Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV
DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/

Top
#6000 - 02/25/16 02:41 PM Re: OpenPLi 4.0 : Little script to free Flash space [Re: Admin]
sinmc Offline
VIPF Panda
newbie

Registered: 02/22/16
Posts: 25
for better 'sharing' :

This steps are tested in image OpenPli 4.0 on dm800hd , dm800se and dm500hd , but should work in every dm model , you need an usb pen already mounted on box , mounted on default /media/usb/ path
1) in telnet send command to stop enigma2 process
Code:
init 4

2) send command to remove older lib on usb(if you already do this process with last image)
Code:
rm -Rf /media/usb/lib

3) move usr/lib to usb
Code:
mv /usr/lib /media/usb

4) link usb/lib to default system path
Code:
ln -sfn /media/usb/lib /usr/lib

5) restart enigma2 process
Code:
init 3


Now you have all lib folder on usb and save 40% free space in flash

I tipically use this kind of way when i want to test every plugin etc... on new images ...

Top
#6032 - 02/27/16 07:19 PM Re: OpenPLi 4.0 : Little script to free Flash space [Re: sinmc]
hanzo Offline
VIP Japhar
stranger

Registered: 09/27/15
Posts: 13
@sinmic, i tried this, but when i restart i seem to lose the symbolic link. I read that is probably because the hdd is not mounted inside /etc/fstab. Is that the case?

OpenPli mount the hdd just fine, but on restart the symbolic link does not work, and the image does not load successfully, it hangs.

Top
#6033 - 02/27/16 07:41 PM Re: OpenPLi 4.0 : Little script to free Flash space [Re: hanzo]
hanzo Offline
VIP Japhar
stranger

Registered: 09/27/15
Posts: 13
Solved, the problem was that the command for the symlink was:

Code:
ln -sfn /media/hdd/lib /usr/lib


I've also added

Code:
/dev/sda1 /media/hdd auto defaults 0 0


to my /etc/fstab file (not sure if that is needed since i've found out about the incorrect symlink command after I've modified /etc/fstab)

Top
#6050 - 02/28/16 01:26 PM Re: OpenPLi 4.0 : Little script to free Flash space [Re: Admin]
sinmc Offline
VIPF Panda
newbie

Registered: 02/22/16
Posts: 25
Quote:
ln -sfn /media/hdd/lib /usr/lib


sorry for code , you are right , i chaged position , thank you for correct that

for the second code , i don't use it , my usb is always automounted on media/usb , so if i need an extra /media/hdd ( i don't need it ) u can symlink /media/usb /media/hdd ... and u have usb on both path ...

Top
#6130 - 03/01/16 06:56 PM Re: OpenPLi 4.0 : Little script to free Flash space [Re: sinmc]
hanzo Offline
VIP Japhar
stranger

Registered: 09/27/15
Posts: 13
Yep, thanks for the symlink trick, that is super useful!

Top
Page 1 of 2 1 2 >


Moderator:  fairbird, gaga24, ludo19 
New Topics
OFFICIEL: Canal+ arrête la diffusion TNT
by Admin
12/05/24 08:59 PM
DM52xUHD : OpenATV 7.4 20241125 (Japhar)
by Admin
11/26/24 10:08 AM
DM52xUHD : OpenATV 7.4 20241125 (Original)
by Admin
11/26/24 10:00 AM
Dreambox 500HD ferrari sim ???
by OMEGA
11/25/24 04:28 PM
EchoStar left in limbo as DirecTV ditches Dishdeal
by Admin
11/22/24 02:52 PM
ZX Spectrum ZX81 Emulation : Experience with R36S
by Admin
11/21/24 02:13 AM
Grand chambardement autour des numéros de la TNT
by Admin
11/17/24 05:10 PM
OPENATV 7.5 VOD not possible
by samh
11/03/24 08:37 PM
DreamTV Mini Ultra HD Android 9.0 IPTV Streamer...
by Admin
12/04/19 04:06 AM
Satellites.xml for Enigma² by Hum@xel
by Hum@xel
02/02/19 08:37 AM
Spark 7162 : OpenPLi 4.0 IPTV Japhar (April 2016)
by Admin
04/11/16 03:21 PM