Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12422 Members
237 Forums
7731 Topics
23826 Posts

Max Online: 4756 @ 02/20/20 11:12 PM
Newest Members
vu+vu, Ramaka, MECEDES, DrNaf, robbenvandjik
12421 Registered Users
Who's Online
12 registered (bori, Smokey, Toysoft, misup, pipugolo, Admin, OMEGA, raffsif1234, talat1000, hesham19677, leovanderplaat, bitgames), 1035 Guests and 509 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 9885
Toysoft 2639
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Admin 12
Rome125 7
Toysoft 6
Sasillo 3
Bobo360 1
April
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
Topic Options
#2602 - 08/29/15 04:29 AM OpenPLi 4.0 : Little script to free Flash space
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9885
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 04:14 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: 9885
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/23/16 01:34 AM 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/23/16 01:44 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: 9885
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/20/16 04:50 AM 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/20/16 07:10 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: 9885
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/25/16 06:14 AM 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/25/16 07:13 AM Re: OpenPLi 4.0 : Little script to free Flash space [Re: Admin]
Toysoft Online   content
Japhar Member
Carpal Tunnel

Registered: 10/22/10
Posts: 2639
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 10: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/28/16 03:19 AM Re: OpenPLi 4.0 : Little script to free Flash space [Re: sinmc]
hanzo Offline
VIP Japhar
stranger

Registered: 09/28/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/28/16 03:41 AM Re: OpenPLi 4.0 : Little script to free Flash space [Re: hanzo]
hanzo Offline
VIP Japhar
stranger

Registered: 09/28/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 09: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/02/16 02:56 AM Re: OpenPLi 4.0 : Little script to free Flash space [Re: sinmc]
hanzo Offline
VIP Japhar
stranger

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

Top



Moderator:  fairbird, gaga24, ludo19 
New Topics
Les principaux fournisseurs d'accès à internet...
by Toysoft
04/19/24 05:38 PM
Dish receives financing offers from credit compani
by Admin
04/12/24 02:33 PM
USB on your DM500HD v1/v2 box...
by Toysoft
04/12/24 12:24 AM
dm500hdv2 original
by Rome125
04/08/24 08:23 PM
Telecom Italia sticks up for NetCo sale
by Admin
04/08/24 02:44 PM
Iliad founder eyes major Ukraine play as deal near
by Admin
04/08/24 02:43 PM
DM500HD : OpenPLi 8.xStar fully installed...
by Admin
04/03/24 02:08 AM
DM800HDse : OpenPLi 8.xStar fully installed...
by Admin
04/03/24 02:08 AM
ERROR after flashing OpenPLi 8.X star 20230624
by Sasillo
03/25/24 06:27 PM
Fatal: Target device '/dev/dreambox-rootf
s' is not

by Admin
03/22/24 02:45 PM
Google voice USA
by Bobo360
01/26/24 04:32 PM