(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 22 Sep 2020, 01:50
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Puli 32/64 bit
Moderators: Flash, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 4 of 21 [303 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 19, 20, 21 Next
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 13129
Location: Stratford, Ontario

PostPosted: Thu 30 Jul 2015, 13:30    Post subject: Re: FirstRUN (Personalized Settings) bug/oversight  

gcmartin wrote:
with obvious implications.

What would those implications be?
Back to top
View user's profile Send private message 
gjuhasz


Joined: 29 Sep 2008
Posts: 422

PostPosted: Thu 13 Aug 2015, 20:51    Post subject: Have the latest configuration arrangement put into effect by  

Sylvander wrote:
Would it be possible to have the latest configuration arrangement put into effect by default, after a short [5 second?] timeout?
And the "blank slate" arrangement only put into effect if chosen?
So the user need do nothing to get their personalizations.


Sorry for the late response. I am on vacation.
Puli 6.0.3 will be announced in a few weeks. It is ready except the Help file.
By then, for users who need to have their latest configuration arrangement put into effect by default, I propose to open their

<boot device>/profiles/Common/usr/bin/patch

file and change it as follows:

Code:
#!/bin/bash
bootdev=`cat /etc/rc.d/PUPSTATE |grep PUPSFS |cut -f1 -d "," |cut -f2 -d "'"`
sync
killall -9 abiword
killall -9 gnumeric
killall -9 textmaker
killall -9 planmaker
killall -9 presentations
killall -9 soffice
killall -9 scalc
killall -9 simpress
killall -9 swriter
killall -9 xchat
killall -9 evince1
killall -9 google-chrome
killall -9 chromiumb
killall -9 chromiumv
killall -9 firefox
killall -9 opera
killall -9 skype
killall -9 gtkdialog3
killall -9 vlc
sync
echo -n hihi > valami
sync
while [ ! `cat valami |grep argument` ]; do
sleep 1
umount /mnt/$bootdev 2>valami
sync
done
killall -9 yaf-splash
sync
/usr/local/apps/Connect/AppRun --connect
rm valami
sync
cim=`/etc/rc.d/rc.firewall save`; vancim=`echo $cim |grep -c addresses`; csaklokal=`echo $vancim |grep -c 127.0.0.1`
if [ $vancim == 0 ] || [ $csaklokal == 1 ]; then

INTERFACES="eth0"
for INTERFACE in $INTERFACES #exs: wlan0 eth0
do
# ------------ last trial with eth0
 [ -d /sys/class/net/${INTERFACE}/wireless ] && continue #only want wired.

 ifconfig eth0 up > /tmp/sns_wired_log 2>&1
 [ $? -ne 0 ] && continue

 if ! ifplugstatus-0.18 "eth0" | grep -F -q 'link beat detected' ;then
  sleep 1
  if ! ifplugstatus "eth0" | grep -F -q 'link beat detected' ;then
   sleep 1
   if ! ifplugstatus-0.18 "eth0" | grep -F -q 'link beat detected' ;then
    sleep 1
    if ! ifplugstatus "eth0" | grep -F -q 'link beat detected' ;then
     sleep 1
     if ! ethtool "eth0" | grep -Fq 'Link detected: yes' ; then
      ifconfig eth0 down
      sync
      continue #no network.
     fi
    fi
   fi
  fi
 fi

 MACADDRESS="`ifconfig -a eth0 | grep -o 'HWaddr .*' | cut -f 2 -d ' '`"
 maPATTERN='|'"$MACADDRESS"'|'
 DHCPCDFIX="`grep "$maPATTERN" /tmp/sns_connections_wired | head -n 1 | cut -f 7 -d '|'`" #100325 ex: -I ''

 MODTIME1="`stat --format=%Y /etc/resolv.conf`"
 dhcpcd $DHCPCDFIX eth0 >> /tmp/sns_wired_log 2>&1
 MODTIME2="`stat --format=%Y /etc/resolv.conf`"
 [ "`grep -v '^#' /etc/resolv.conf`" == "" ] && MODTIME2=$MODTIME1 #fail.
done
sync
chown -Rf spot:spot /root/spot/
sync
 if [ "$MODTIME2" != "$MODTIME1" ];then
  echo "eth0" > /tmp/sns_interface_success #100325
  /etc/rc.d/rc.firewall save
  sync
 else
  ifconfig eth0 down
  sync
  dhcpcd --release eth0 2>/dev/null
  ip route flush dev eth0 #100703
  killall -9 yaf-splash
  sync
  touch /root/spot/aktual
  yaf-splash -bg ref -close box -icon /usr/share/pixmaps/puli.png -timeout 10 -text "No network found!!!" &
 fi
fi
sync
#restoring latestbackup begins here
mount /dev/$bootdev /mnt/$bootdev
sync
sleep 1
ls -1 /mnt/$bootdev/backups/Puli_backup_* > /dev/null 2>&1
if [ "$?" = "0" ]; then
   latest=`ls -t /mnt/$bootdev/backups/Puli_backup_* | head -1`
   sync
   sleep 1
   /usr/bin/Resto $latest
   sync
   sleep 1
else
umount /mnt/$bootdev
sync
sleep 1
yaf-splash -bg green -close never -fontsize large -timeout 5 -text "Now you can safely unplug the USB drive" &
fi
#restoring latestbackup ends here


Have fun!

Regards,

gjuhasz
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 4439
Location: West Lothian, Scotland, UK

PostPosted: Thu 13 Aug 2015, 21:50    Post subject:  

@gjuhasz
You said:
"By then, for users who need to have their latest configuration arrangement put into effect by default, I propose to open their"

From what I take to be its meaning, I would word it as follows:
Until then, for users who need to have their latest configuration arrangement put into effect by default, I propose they should open their
Have I understood correctly?
Therefore, is my wording correct?

I have made this change.
i.e. I've replaced all of the content of the file with the new code you posted.
So far I see no obvious change/difference.
I assume I would see the difference if I understood its workings.
Back to top
View user's profile Send private message 
gjuhasz


Joined: 29 Sep 2008
Posts: 422

PostPosted: Fri 14 Aug 2015, 06:56    Post subject: Restore latest backup  

Sylvander wrote:
I've replaced all of the content of the file with the new code you posted.
So far I see no obvious change/difference.
I assume I would see the difference if I understood its workings.


The default name of a backup file is

Puli_backup_<YYYY>_<MM>_<DD>_<HH>_<MM>.tar.gz,

e.g., Puli_backup_2015_08_14_12_26.tar.gz

Their default place is on the boot device, in the /backups folder,

so the full path is like

/mnt/sdb1/backups/Puli_backup_2015_08_14_12_26.tar.gz

You may rename your backup files, however. Modifying the following lines allows the above script to find the latest backup file even if it has been renamed:

Change from

Code:
ls -1 /mnt/$bootdev/backups/Puli_backup_* > /dev/null 2>&1
if [ "$?" = "0" ]; then
   latest=`ls -t /mnt/$bootdev/backups/Puli_backup_* | head -1`
   sync

to

Code:
ls -1 /mnt/$bootdev/backups/*.tar.gz > /dev/null 2>&1
if [ "$?" = "0" ]; then
   latest=`ls -t /mnt/$bootdev/backups/*.tar.gz | head -1`
   sync


Please also check if you have a

/patch/usr/bin/patch

file on your boot device. If yes, this is possibly an ancient copy, so please simply delete the file (not the /patch folder) or update it as proposed above.

Have fun!

Regards,

gjuhasz
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 4439
Location: West Lothian, Scotland, UK

PostPosted: Fri 14 Aug 2015, 10:00    Post subject:  

1. "/mnt/sdb1/backups/Puli_backup_2015_08_14_12_26.tar.gz"
I have a backup file in this location, with a name of this form.
I'm guessing that the code within the /mnt/sdb1/profiles/Common/usr/bin/patch file auto-restores the /mnt/sdb1/backups/Puli_backup_<YYYY>_<MM>_<DD>_<HH>_<MM>.tar.gz file, right?
Hence, I should now see the effect of this backup being auto-restored as the desktop is reached during startup, right?
----------------------------------------
Well...I now see the dialog come up on screen that asks if I want to restore my backup file, which is NICE. Very Happy
BUT...
Problem...
It only displays AFTER I manually make the few remaining configuration choices in the welcome dialog. Sad
And then it is SLOW to display after this. Sad
----------------------------------------

2. "Modifying the following lines allows the above script to find the latest backup file even if it has been renamed:"
Within the file /mnt/sdb1/profiles/Common/usr/bin/patch, I changed those lines of code as you specified.

3. "Please also check if you have a
/patch/usr/bin/patch
file on your boot device.
"
I don't even have a /mnt/sdb1/patch/usr/bin folder, therefore I have no /mnt/sdb1/patch/usr/bin/patch file.
Back to top
View user's profile Send private message 
gjuhasz


Joined: 29 Sep 2008
Posts: 422

PostPosted: Sun 16 Aug 2015, 17:40    Post subject: Slow to display  

Sylvander wrote:
It only displays AFTER I manually make the few remaining configuration choices in the welcome dialog. Sad
And then it is SLOW to display after this. Sad


Please let me know the configuration choices you still need to make there.
Puli 6.0.3 displays much faster...


Have fun!

Regards,

gjuhasz
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 4439
Location: West Lothian, Scotland, UK

PostPosted: Mon 17 Aug 2015, 05:01    Post subject: Re: Slow to display  

gjuhasz wrote:
Please let me know the configuration choices you still need to make there.

Numlock and Set Time.
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 4439
Location: West Lothian, Scotland, UK

PostPosted: Sun 30 Aug 2015, 05:40    Post subject:  

Bump...

When is Puli-6.0.3 going to be released?
Back to top
View user's profile Send private message 
gjuhasz


Joined: 29 Sep 2008
Posts: 422

PostPosted: Sun 13 Sep 2015, 18:31    Post subject: 6.0.3 uploading  

Sylvander wrote:
When is Puli-6.0.3 going to be released?


Uploading...


Have fun!

Regards,

gjuhasz
Back to top
View user's profile Send private message 
Billtoo


Joined: 07 Apr 2009
Posts: 3721
Location: Ontario Canada

PostPosted: Sun 13 Sep 2015, 20:33    Post subject: Puli 6.0.2, released March 2015
Subject description: Puli 6.0.3
 

I prepared a 32gb flash drive with gparted, ext4 and set the boot flag.
I downloaded the Puli-6.0.3_install.tar.gz, extracted it to a hold
directory,copied all the file to the flash drive then ran grub4dos.
I added kdegames from PPM,also arandr and gkrellm.

Seems to be working fine so far, need to read how to save this.

# report-video
VIDEO REPORT: puli, version 6.0.3

Chip description:
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Redwood PRO [Radeon HD 5550/5570/5630/6510/6610/7570]

Requested by /etc/X11/xorg.conf:
Resolution (widthxheight, in pixels): 1920x1080
Depth (bits, or planes): 24
Modules requested to be loaded: dbe

Probing Xorg startup log file (/var/log/Xorg.0.log):
Driver loaded (and currently in use): ati
Loaded modules: dbe dri2 exa extmod fb glx kbd mouse radeon ramdac

Actual rendering on monitor:
Resolution: 3840x1080 pixels (1013x285 millimeters)
Depth: 24 planes

...the above also recorded in /tmp/report-video
#
screenshot.jpg
 Description   
 Filesize   41.66 KB
 Viewed   668 Time(s)

screenshot.jpg

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


Joined: 29 Sep 2008
Posts: 422

PostPosted: Mon 14 Sep 2015, 04:56    Post subject: Re: Puli 6.0.2, released March 2015
Subject description: Puli 6.0.3
 

Billtoo wrote:
I prepared a 32gb flash drive with gparted, ext4 and set the boot flag.
I downloaded the Puli-6.0.3_install.tar.gz, extracted it to a hold
directory,copied all the file to the flash drive then ran grub4dos.
I added kdegames from PPM,also arandr and gkrellm.

Seems to be working fine so far, need to read how to save this.


Dear Billtoo,

Thanks for testing the new Puli version before its announcement.

I propose to use http://smokey01.com/gjuhasz/readme.html as a quick guide until I finish with administration and change the first post here in the forum.

Have fun!

Regards,

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


Joined: 29 Sep 2008
Posts: 422

PostPosted: Mon 14 Sep 2015, 12:49    Post subject: Announcement: Puli 6.0.3, released September 2015
Subject description: Puli 6.0.3
 

Let me proudly announce the new Puli 6.0.3

Available at http://smokey01.com/gjuhasz

See details in the first post.

* Some updates kindly applied from Tahrpup 6.0.3 CE - kudos to 666philb and CE Team.
* Major change: you can select the best appropriate one from many smartload configurations simply by hitting a key during boot time. Examples in the install kit.
* New comfort feature: you can auto-restore the latest backup at boot time (controlled by the smartload file)
* Unique in Puli: You can restore more than one backups on top of each other, regardless of the machine(s) they were created in.
* Minor bugfixes
* Smaller footprint

Have fun!

Regards,

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


Joined: 29 Sep 2008
Posts: 422

PostPosted: Wed 16 Sep 2015, 19:21    Post subject:  Re: Announcement: Puli 6.0.3, released September 2015
Subject description: minor bugfix
 

Dear Puli 6.0.3 Users,

I found a couple of typos in the new 6.0.3 release.
Fortunately, it is easy to correct them. On the boot pendrive, you have folders named /profiles/2-crazy and /profiles/3-lazy.

Both include one hidden icon (mis)named .Diricon - please rename them to .DirIcon one-by-one (change the second "i" from lower case to upper case "I".
It's a bit strange that ROX does not allow us to capitalize letters in a filename in one step Crying or Very sad so rename each file first to, e.g., ".Diracon" then to ".DirIcon" that will be accepted.

Sorry for the inconvenience.

Have fun!

Regards,

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


Joined: 29 Sep 2008
Posts: 422

PostPosted: Sat 19 Sep 2015, 07:35    Post subject: Cumulated backups
Subject description: Puli 6.0.3
 

gjuhasz wrote:
Unique in Puli: You can restore more than one backups on top of each other, regardless of the machine(s) they were created in.


To a user question: In this Puli version, it is recommended that the involved backups reference to the same security profile.

I am working on accepting any backups in the next Puli.


Have fun!

Regards,

gjuhasz
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 4439
Location: West Lothian, Scotland, UK

PostPosted: Sat 19 Sep 2015, 08:40    Post subject:  

Hello there, finally I'm posting a reply. Very Happy

I made 2 bootable Puli Flash Drive installs, with the following as my number-1:
1. The latest is on my 4GB Lexar with a single partition formatted ext4, with the boot flag set, the Puli files copied to the partition, and "Grub4Dos bootloader config" used to install the bootloader.
It booted OK at 1st attempt.
Seems to be running OK.
a. I'm struggling to fully understand all of the features of Puli, and how to operate it.
b. I tried reading your readme at http://smokey01.com/gjuhasz/readme.html, but conceded defeat before reaching the end. Sad
Just too long/complex for me.
But I feel it's worth persevering.
c. Copied into the /mnt/packages folder the following:
wine_puli_wdt-1.7.21.pet
xfe-1.33-i686.sfs
d. Also made the necessary edit of the content of /mnt/sdb1/profiles/Common/smartload file to have both wine and xfe loaded at startup.
Both appear to be working in addition to the other default auto-loaded packages.
e. Still having trouble with "Backup" and "Save: smart".
Is it OK to "Backup" during the session, then "Save: smart" at shutdown/reboot?
I fail to grasp the difference between these; exactly what each does, and do they conflict in any way?
e.g. I made config changes to the display of time, and auto-sync of time.
Not sure if the time really is auto-syncing, and the time display change was lost at reboot.
f. Is a "Backup" auto-restored by default at startup?
And if it is, how should it be by-passed if needed?

2. My number-2 is an 8 GB Flash drive formatted as FAT-32 and using your installation instructions.
I see no difference in the operation of Puli Flash Drives 1 & 2.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 21 [303 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 19, 20, 21 Next
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0813s ][ Queries: 12 (0.0231s) ][ GZIP on ]