Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12363 Members
237 Forums
7868 Topics
24169 Posts

Max Online: 9115 @ 08/24/24 07:30 PM
Newest Members
bercat, claxalc, r00ted_be, Ben Sad, jerry20
12363 Registered Users
Who's Online
4 registered (Smokey, Admin, Toysoft, bori), 628 Guests and 393 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 10038
Toysoft 2697
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Toysoft 4
Admin 2
frnk 1
Hum@xel 1
OMEGA 1
June
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
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: 10038
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: 10038
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: 10038
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: 10038
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: 2697
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
Page 1 of 2 1 2 >


Moderator:  fairbird, gaga24, ludo19 
New Topics
EchoStar bondholders brace for default battle
by Admin
06/11/25 12:23 PM
Orange bolsters Eutelsat ties with new LEO deal
by Admin
06/06/25 12:56 PM
SES, Intelsat $3.1B deal to win unconditional EU
by Toysoft
06/05/25 12:37 PM
EchoStar misses $326M payment amid FCC probe
by Toysoft
06/02/25 12:17 PM
EmbyDream on DM500HD (v1): which image?
by frnk
05/27/25 07:52 PM
DM7020HDv2 : OpenPLi 9.xStar 20250115 GSt 1.20.5
by Toysoft
01/17/25 12:21 AM
Satellites.xml for Enigma² by Hum@xel
by Hum@xel
02/02/19 08:37 AM