Jump to content


Photo

Flashexpander for PLi

plugin/mod

  • Please log in to reply
84 replies to this topic

Re: Flashexpander for PLi #21 myname70

  • Member
  • 34 posts

0
Neutral

Posted 20 April 2013 - 07:29

I always do that, using PBNIGMA's Device Manager, which ONLY detects attached USB sticks and HDDs (but no automounting occurs, which is killed!), so I:
 
-partition my USB stick in 2 (PB's Device manager gives you a number of options, 'cause of many different sizes and needs of various users), then
-format those partitions (again, internally, using PB Device Manager, as you want it partitioned, EXT2/3/4, FAT/FAT32, if memory serves), then
-mount them (PB Device Manager does that, too, of course, but it gives you many options as to how to do it - see below, my example), then
-make a SWAP file if one isn't created during flashing (you guessed it, PB Device Manager can do that, too - the size and place of your choosing!), then
-I "Expand", as yet another function of PBNIGMA's Device Manager, to the smaller partition (it asks you which partition do you want to Expand to)
 
...and the box reboots when it is done...
 
It simply works! Your small flash memory is "aided and abetted" by the Expander and EPG, Picons (HD Glass or any other skin), 1Channel, DDsubtitle Player, SWAP etc. are all sent to the larger partition, using small plugins for "paths" etc. etc.
 
Try PBNIGMA and use my tutorial...
 
Voila!
 
G
 
P.S. There is one little flaw, in PB Device manager, which Stibbich is addressing with a new "Labelling" system - if one has 2 identical USB sticks, the system is having issues, hence a new system is added to the old one...
You see, I am no expert - an IT lay person - but if you say you have a single device and you partitioned it in 2, then this is the problem, it seems to me.
It should be different sizes for 2 different partitions.
In your data (one of previous posts) I see the same device mounted twice, of the same size. There is the conflict.
It must be mounted differently, as 2 partitions/devices of 2 different sizes and their common size must equal that of your USB stick, which is not the case right now.
Simple maths and logic says this is wrong:
/dev/sda2                 1.8G     35.6M      1.8G   2% /media/usb

/dev/sda1                 1.8G     34.8M      1.8G   2% /media/sda1
It ought to be something like (my "df -h" output):
/dev/sda1               448.2M     25.2M    422.9M   6% /media/usb

/dev/sda2                14.2G    274.3M     14.0G   2% /media/hdd
Here is my relevant "cat /etc/fstab" output:
/media/usb           /dev/sda1            auto       defaults              0  0

/media/hdd           /dev/sda2            auto       defaults              0  0
So, automounting let you down, it seems to me.
What you need is, as I keep saying to OpenPLi, too - a good Device Manager! And the best is PB one! :)



Thanks Guys.
Is it possible to send me the PB device manager? I want to install it on the original OpenPli2.1. And in this case, shall I use the FE file from this post or some other version (from PBnigma for example?)
note: I flashed and used PBNIGMA image but OSCAM clients cannot connect to the server... something wrong with OSCAM or somw kind of firewall with PBNIGMA. That is why I reverted back to the OpenPli)

Re: Flashexpander for PLi #22 offnow

  • Senior Member
  • 56 posts

+8
Neutral

Posted 20 April 2013 - 20:01

Hi

 

This is not working. The devicemanager and the (not yet available in all images...) labelmounting is part of the PB-Center - it needs some changes more in the image to work - where the pli-team is going other ways.

Our "expander" only is copying some folders to a stick and mount it over the real folder in flash - not the complete /usr folder - this is nonsens and only "warm up" the stick a bit...

 

The Images do not have any firewall - we do not think we are better than dlink or cisco ;)

 

Oscam normaly works in this images (else our Betatesters will kill us ;) )  - maybe you have to try different versions of oscam - you only need the binary and can install and uninstall it with the given tool in PB-Center.

BUT, these things are coded on boxes nobody wants to hear from, so no opensource - as we are the bad guys everywhere ;)

 

Code or used idea behind could be provided - but only in my board in consesus with my partners and admins, not elsewhere and not to "hinz and kunz"


hab keine Lust mehr...

Viel Spaß allen und lebt wohl


Re: Flashexpander for PLi #23 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 20 April 2013 - 20:07

It's working fine at my end. You messed up the config files somewhere, myname70...


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: Flashexpander for PLi #24 myname70

  • Member
  • 34 posts

0
Neutral

Posted 21 April 2013 - 08:39

It's working fine at my end. You messed up the config files somewhere, myname70...

 

 

Hi

 

This is not working. The devicemanager and the (not yet available in all images...) labelmounting is part of the PB-Center - it needs some changes more in the image to work - where the pli-team is going other ways.

Our "expander" only is copying some folders to a stick and mount it over the real folder in flash - not the complete /usr folder - this is nonsens and only "warm up" the stick a bit...

 

The Images do not have any firewall - we do not think we are better than dlink or cisco ;)

 

Oscam normaly works in this images (else our Betatesters will kill us ;) )  - maybe you have to try different versions of oscam - you only need the binary and can install and uninstall it with the given tool in PB-Center.

BUT, these things are coded on boxes nobody wants to hear from, so no opensource - as we are the bad guys everywhere ;)

 

Code or used idea behind could be provided - but only in my board in consesus with my partners and admins, not elsewhere and not to "hinz and kunz"

Thank you :) Understood. Will try PB image again



Re: Flashexpander for PLi #25 myname70

  • Member
  • 34 posts

0
Neutral

Posted 21 April 2013 - 08:40

Thanks. What version OSCAM BIN toolchain do you use for PBnigma image? - based on the OE2.0 or OE1.6?

 

 

It's working fine at my end. You messed up the config files somewhere, myname70...



Re: Flashexpander for PLi #26 Dimitrij

  • PLi® Core member
  • 10,023 posts

+338
Excellent

Posted 21 April 2013 - 08:45

Thanks. What version OSCAM BIN toolchain do you use for PBnigma image? - based on the OE2.0 or OE1.6?

 

 

It's working fine at my end. You messed up the config files somewhere, myname70...

This is not a topic for discussion PBnigma image!


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Flashexpander for PLi #27 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 21 April 2013 - 08:54

Relax, Dima. It is OpenPLi based. Help each other, remember...?

 

Addon Manager in PB Centre. You have it there and OSCam config files, which you need to minimally edit, myname70...


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: Flashexpander for PLi #28 myname70

  • Member
  • 34 posts

0
Neutral

Posted 21 April 2013 - 09:16

Thank you All :) I build my own oscam bin, will try both OE2.0 and OE1.6 toolchains and willa dvise which works better. Re the inital thread request - I undderstood - no way to run Fashexpander on OpenPli image using USb stick mounted on /media/usb :)



Re: Flashexpander for PLi #29 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 21 April 2013 - 09:30

you could use Freeze and stop suffering :P



Re: Flashexpander for PLi #30 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 21 April 2013 - 09:31

PBNIGMA is OpenPLi based, so yes - way... to run FE on it but...


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: Flashexpander for PLi #31 offnow

  • Senior Member
  • 56 posts

+8
Neutral

Posted 21 April 2013 - 17:40

you could use Freeze and stop suffering :P

Yes, he could use it - but without support in PB then - as no PBNigma will be supportet in combination with any gm-tool - as long as I am dev there


hab keine Lust mehr...

Viel Spaß allen und lebt wohl


Re: Flashexpander for PLi #32 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 21 April 2013 - 17:43

You are welcome :-)

 

But then for example please also do your backups on your own - which is not difficult BTW.

 

And don't forget that I don't care B)


Edited by gutemine, 21 April 2013 - 17:45.


Re: Flashexpander for PLi #33 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 21 April 2013 - 18:01

Lets do it the other way, as both switching to PB and using Freeze is not what the user originally requested.

 

The only real reason why FE is not working on your great image(s) is that it tries to read the Filesystem type from /lib/udev - which is not working when your image uses mdev.

 

Changing these handfull lines of codes takes such a great dev probably less then 1h.

 

Time is running now ...


Edited by gutemine, 21 April 2013 - 18:02.


Re: Flashexpander for PLi #34 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 21 April 2013 - 18:18

Expander is working fine in PB, thanx!


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: Flashexpander for PLi #35 offnow

  • Senior Member
  • 56 posts

+8
Neutral

Posted 21 April 2013 - 18:20

I changed it to udev - in more than 1 hour... and switched back, because it is useless... you can see in our git if you get a password from gweny (rofl...)

 

And we do have a backup - not as your mind does yours - else my mind do our.... ;)

 

And I am not a great dev - I am only copying python code from one py to another - maybe the right lines to do the job - maybe not...


hab keine Lust mehr...

Viel Spaß allen und lebt wohl


Re: Flashexpander for PLi #36 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 21 April 2013 - 18:43

Ah ... so you now tell me that you are not willing to help either with the original problem that it doesn't work in PLi - then don't complain on the others ;)

 

PS: I meant changing the code in flashexpander.py as it is only a few lines, but anyway we become OT



Re: Flashexpander for PLi #37 offnow

  • Senior Member
  • 56 posts

+8
Neutral

Posted 21 April 2013 - 18:53

Well - maybe he is using our and it is working?

So no need to do things that gm-things will work in some other image - there are more pli-based as you think...

 

If you want to work your things in pli - try to change your code.

Reading some manpage about mdev will help a lot - not bad this thing, if you learn to use it... lot of hours could be spent with this...  hihi...


hab keine Lust mehr...

Viel Spaß allen und lebt wohl


Re: Flashexpander for PLi #38 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 21 April 2013 - 18:55

Gutemine, what on Earth are you doing here if you are so knowledgeable and you are not willing to help either?

 

It must be torture for you to waste your time on some "poor loser OS coders" who are so beneath you...

 

Or are you thinking "I am going to torment and torture them with not helping but knowing how to..."?

 

Either way, this is really sad and regrettable behaviour of a suffering soul...


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: Flashexpander for PLi #39 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 21 April 2013 - 19:06

Maybe everybody needs a little bit torture :lol:

 

And I don't need any mdev/udev/devfs anymore as I implemented my own device handling to be used in my tools during the boot process 2 years ago, which now serves its purpose nicely.

 

Anyway, i pointed your where a fix would be needed, and that it would be relatively simple, this is all that I can offer.


Edited by gutemine, 21 April 2013 - 19:07.


Re: Flashexpander for PLi #40 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 21 April 2013 - 19:11

No it isn't, I think... But if it is, then you're not as good as you think you are - in IT stuff... :D

 

Either way, you're quite a piece of work... :D


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>



Also tagged with one or more of these keywords: plugin/mod

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users