Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 24 Aug 2019, 18:12
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
EasyOS 2.0, August 7, 2019
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 92 of 115 [1719 Posts]   Goto page: Previous 1, 2, 3, ..., 90, 91, 92, 93, 94, ..., 113, 114, 115 Next
Author Message
rufwoof


Joined: 24 Feb 2014
Posts: 3361

PostPosted: Mon 18 Feb 2019, 22:29    Post subject:  

Doing a automatic restore/rollback of the main session to a known 'safe' version at each boot, I've also extended easy_version_control to include a shutdown option - that rolls back the Easy container to a known safe version as part of the shutdown process. I also changed the Cancel button label to a Quit label (as I have it otherwise loop back around again with a $0 & call rather than just exiting).

That Rollback/powerdown button is now my regular choice of powerdown (so when the system is next booted it starts with a pristine main session on ctrl-alt-F4 and a pristine Easy container on ctrl-alt-F3).
capture9557.png
 Description   
 Filesize   53.49 KB
 Viewed   1357 Time(s)

capture9557.png


_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8975
Location: Perth, Western Australia

PostPosted: Wed 20 Feb 2019, 09:11    Post subject:  

Version 1.0.8 is released. I wanted to get this release "out of the door", so that testers can try the new minibase-network utilities, that I have named "UltraSNS".

usns works for me, I can plug and unplug ethernet and wifi devices, and the network reconnects automatically. Whether it will be so good on other hardware remains to be seen.

See announcement:

http://bkhome.org/news/201902/easyos-x8664-version-108-released.html

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Sage

Joined: 04 Oct 2005
Posts: 5480
Location: GB

PostPosted: Wed 20 Feb 2019, 10:32    Post subject:  

Testing, testing, testing!
And thanks for the .iso, too!
Later.
USB & .iso
Wired USNS: yes, can plug and unplug infinitely.
Wifidongle: USNS works first time, but if unplugged and re-plugged, p/w panel is greyed out in USNS and not able to reconnect except using Dougal's SNS which seems to do an unplug routine before permitting re-entering P/W. Sounds reasonable?
No laptop test; could differ since wifi would be powered continuously.
Otherwise, pretty good & faster.
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3361

PostPosted: Wed 20 Feb 2019, 13:37    Post subject:  

BarryK wrote:
I can plug and unplug ethernet and wifi devices, and the network reconnects automatically. Whether it will be so good on other hardware remains to be seen.

Unplug/replug works ok on my ethernet hardware/setup (hdd frugal install).

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3361

PostPosted: Wed 20 Feb 2019, 14:24    Post subject:  

Easy container, add a file to /mnt/wkg/home, close container, make a snapshot of the container, restore the container ... and the added file no longer exists.
Easy version control excludes /mnt when making a snapshot. What I did in 1.0 was to mv /mnt/wkg/home to /mntwkghome before making the mksquashfs - so the contents are preserved. As part of easy in the container (initial script run) I added a test to see if /mntwkghome exists and if so then replace the /mnt/wkg/home folder with that ... i.e restored the preserved contents.

I also adjusted /usr/sbin/set_bg to add at the end cp $1 /usr/share/background/default.jpg as a crude means to preserve Easy containers background when changed (otherwise it reverts to the default original).

Another change I made was to add a please wait prompt to easy_version_control's ec_rollback, that closes once the rollback has completed. As is it just closes as soon as you click a container rollback giving the appearance that it has finished, however for a large save area it can take 5+ seconds to complete the unsquashfs and if you start the container before then it can screw up the container/operation (unpredictable outcome).

The only other change I made was as per http://murga-linux.com/puppy/viewtopic.php?p=1017564#1017564

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8975
Location: Perth, Western Australia

PostPosted: Wed 20 Feb 2019, 18:40    Post subject:  

Sage wrote:
Wifidongle: USNS works first time, but if unplugged and re-plugged, p/w panel is greyed out in USNS and not able to reconnect except using Dougal's SNS which seems to do an unplug routine before permitting re-entering P/W. Sounds reasonable?


Yes, the password panel would be greyed-out, as minibase remembers the password.

I also tested with a wifi dongle, and was able to reconnect after unplug and replug. I will test again, with some variations in procedure, and will test some other wifi dongles.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
rufwoof


Joined: 24 Feb 2014
Posts: 3361

PostPosted: Wed 20 Feb 2019, 19:39    Post subject:  

Xephyr, unshare, capsh and chroot ... as a container works really well. Impressed with how Barry managed to sort all of that out let alone the excellent wrapper all around that. Just been trying out using the same, but where I chroot into / (of the main system).
http://murga-linux.com/puppy/viewtopic.php?p=1019133#1019133

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
Rodney Byne

Joined: 31 Jan 2014
Posts: 211

PostPosted: Thu 21 Feb 2019, 06:42    Post subject: Gnome-MPV 1.0.8  

To Barry,
Re 1.0.8
Gnome- MPV from PetGet doesn't run
because three .so library files are missing.
I also had a similar problem with running VLC
and I loathe Xine.

I know you're busy with specials, but I just wish more
emphasis could be placed on ensuring the basic
apps work OOTB before OS general release.

At least older version 0.9.4 still works well
cos it's simpler - far less to go wrong.
Best regards.
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 5480
Location: GB

PostPosted: Fri 22 Feb 2019, 12:34    Post subject:  

1.0.8 USB:
Everything went well on D/T but transfer to HPCQ laptop shows two issues.
Usual issue - tapping default not set; usually 'left'. Tedious!
The internal (Atheros) wifi offered just 'CONNECT', apparently knowing it had been successfully used previously - but it didn't/doesn't. Furthermore, no means for (re-)inserting P/W. Had to resort to Dougal's SNS, but needed restarting three times before options (WPA, etc and P/W) were offered. Eventually it worked. Something still needs tweaking?
Back to top
View user's profile Send private message 
Philh

Joined: 17 May 2006
Posts: 147
Location: England

PostPosted: Sat 23 Feb 2019, 05:55    Post subject:  

With usns when you click connect the gui goes away and youre left wondering did something happen.
Little popup saying connected or finished might be good.

Using usns on my laptop I get wifi not working.
But if I try sns I get the ssid list and I can connect.
capture15538.png
 Description   
 Filesize   105.98 KB
 Viewed   847 Time(s)

capture15538.png

Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3361

PostPosted: Sat 23 Feb 2019, 06:31    Post subject:  

Clicking a gzip'd initrd (initrd.gz), opens it, allows for editing, clicking again offers to save changes and close it ... but the changes are not stored. Works fine if just initrd (not compressed), its only if you've converted it to a .gz
_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
Rodney Byne

Joined: 31 Jan 2014
Posts: 211

PostPosted: Sat 23 Feb 2019, 13:04    Post subject: Missing library files  

To Barry,
Further to above,
In addition to MPV and VLC installs, SMPlayer is also affected
by the common missing Petget library files
after installation, identified as:

LIBVA.DRM.SO.1
LIBVA.SO.1
LIBVA-X1

Regards.
Back to top
View user's profile Send private message 
T_B

Joined: 08 Apr 2007
Posts: 160

PostPosted: Sat 23 Feb 2019, 15:05    Post subject:  

Gave EasyOS a spin, works pretty well. Only issue I have is no sound in Seamonkey or Firefox. Sound is working and using the YoutubeDL program result in video's that play fine. Any advise?
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3361

PostPosted: Sat 23 Feb 2019, 20:14    Post subject:  

I have a mini mixed bag of EasyOS things in this ... (less than 8MB) that I've compiled under EasyOS 1.0.8 (amd64) https://drive.google.com/file/d/1OjBF6xtVEmG15QJKR8UX-vpp70RUp9M7/view?usp=sharing ... containing ... cwm window manager, vifm file manager (requires vim), tmux, elinks, lynx, fbgrab (grabbing screenshots of console/tty) ... and cmus (terminal music player). More for my own purposes but as I'd EasyPak'd it I thought I'd also post it here.

Drop it into the ....sfs/easyos/oe/pyro folder and you can load it into either the main system or a container using Menu, System, Boot Manager. Once installed, just open a terminal (or ctrl-alt-F2 and login as root (password woofwoof ... unless you've changed it)) ... and ... for example from the command line run cmus (or tmux or elinks or ... whatever).

cmus takes a little getting used to - each of keys 1..6 toggle different option screens and if you go to 5 there's a folder tree where you can use the arrow keys (and Enter to select) to navigate to a .mp3 file.sound and Enter that. Left/right arrow keys move you up/down the track.

I've included my own version of /etc/tmux.conf in that, as I don't like the default tmux look-n-feel.

What I'm doing for these smaller terminal program like compiles is grabbing a zip version from git, extracting it, loading the devx (and rebooting to load it) and then
Code:

./configure
make
make -DESTDIR=/rufmix install

So the installs aren't going into my running system but into /rufmix which I then used to run EasyOS's dir2sfs to create the EasyPak.

EasyPak's are a extension of normal sfs's, so I suspect it/they could also be used in puppy's.

First image shows vifm and cmus, second image is tmux running with several windows (running/labelled lynx, vi, top) and the active (lynx) window split into three panes, showing lynx, cmus and top (you can zoom/unzoom panes in tmux).
rufmix2.png
 Description   
 Filesize   120.05 KB
 Viewed   690 Time(s)

rufmix2.png

rufmix.png
 Description   
 Filesize   144.87 KB
 Viewed   685 Time(s)

rufmix.png


_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
spotted

Joined: 25 Jan 2018
Posts: 25

PostPosted: Sun 24 Feb 2019, 05:34    Post subject: Micro SD locked read only  

I was copying easy 64 arm to a micro SD card using dd. It wrote most of it but easy.sfs was zero bytes.
I thought its time to zero the card, there fickle piddley things. "dd" got through the exercise but at the end it said no space left on device. But it didnt dd at all, it was still all there and there was a .REC file placed on the micro SD card as well. Now it is really locked as a read only filesystem and nothing I can find on the net can touch it. Anyone know a command that will blow that sda1 petition out of the water then dust it up some.

fdisk: cannot open /dev/sdb: Read-only file system

dd if=/dev/zero of=/dev/sdb bs=1M count=2
dd: failed to open ‘/dev/sdb’: Read-only file system

dd if=/dev/zero of=/dev/sdb bs=4096 conv=sync,notrunc
dd: failed to open ‘/dev/sdb’: Read-only file system

chmod 777 /mnt/usb1
chmod: cannot access ‘/mnt/usb1’: No such file or directory

chown root /mnt/sdb1
chown: changing ownership of ‘/mnt/sdb1’: Read-only file syste

hdparm -r0 /dev/sdb
/dev/sdb:
setting readonly to 0 (off)
readonly = 0 (off)
/mnt/sdb1:
setting readonly to 0 (off)
BLKROSET failed: Inappropriate ioctl for device
BLKROGET failed: Inappropriate ioctl for device

mke2fs /dev/sdb
mke2fs 1.42.12 (29-Aug-2014)
Found a dos partition table in /dev/sdb
Proceed anyway? (y,n) y
/dev/sdb: Read-only file system while setting up superblock

# dosfsck -a /dev/sdb1
fsck.fat 3.0.28 (2015-05-16)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
Reclaimed 150627 unused clusters (616968192 bytes) in 2 chains.
Performing changes.
/dev/sdb1: 177 files, 156852/163260 clusters
Writing 512 bytes at 0 failed: Operation not permitted
Writing 32 bytes at 1327712 failed: Operation not permitted
Writing 32 bytes at 1328672 failed: Operation not permitted

even tried to write a grub backup to it to get rid of the petition
cat/sdb_mbr_bak > /dev/sdb
sh: /dev/sdb: Read-only file system

echo "0" > /sys/block/<yoursdcard>/ro

fsck.msdos -aw /dev/sdb1
fsck.fat 3.0.28 (2015-05-16)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
Write 512 bytes at 0:Operation not permitted

mount -orw,remount /dev/sdb1
mount: cannot remount /dev/sdb1 read-write, is write-protected
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 92 of 115 [1719 Posts]   Goto page: Previous 1, 2, 3, ..., 90, 91, 92, 93, 94, ..., 113, 114, 115 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1934s ][ Queries: 13 (0.0741s) ][ GZIP on ]