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 Thu 19 Jul 2018, 13:46
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
FatdogArm Beta1/2/3/4- 16 April 2016
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 27 of 35 [511 Posts]   Goto page: Previous 1, 2, 3, ..., 25, 26, 27, 28, 29, ..., 33, 34, 35 Next
Author Message
mories

Joined: 21 Dec 2009
Posts: 67

PostPosted: Thu 07 Apr 2016, 11:51    Post subject:  

jamesbond wrote:
beta4 sfs re-uploaded.
1. Add ntfs-3g, wireless-tools (iwconfig etc), mdadm and dosfstools to basesfs as per mories' request.
2. (hopefully) fix the network dhcp issue.


1. Thanks for the effort to make basesfs more autonomous. That result in a easier integration with tools like Berryboot.
Still I miss dropbear.
It would also be necessary some minor modifications in rc.sysinit:
- Create /dev/pts and /dev/shm (if no exist)
- Create /etc/BOOTSTATE (if no exist) only with the information of AUFS_ROOT_ID

2. Unfortunately dhcp issue continues to fail several times on my RPi2.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5085
Location: Ontario

PostPosted: Thu 07 Apr 2016, 20:30    Post subject:  

To Ted Dog..

Ted Dog wrote:
Maybe you are already there and do not trust it can be SO easy, why does the rest of linux world love disk image files? they are a pain.


Yes .. I realised late night that the ideal way to distribute fatdog arm
is the same way the berryboot OS is distributed i.e.

instruct people to format the SD card as fat32 and then drag the files to
the card from a mounted archive. As long as there is no links fat32 is the ideal solution.
.... and all the linux links are inside the SFS files so they are safe. Laughing

_____________________________________________________
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3151
Location: The Blue Marble

PostPosted: Thu 07 Apr 2016, 20:46    Post subject:  

mories wrote:
1. Thanks for the effort to make basesfs more autonomous. That result in a easier integration with tools like Berryboot.
Still I miss dropbear.
Does it have to be dropbear? The full openssh is already inside basesfs.
Quote:
It would also be necessary some minor modifications in rc.sysinit:
- Create /dev/pts and /dev/shm (if no exist)
I'll make the changes.
Quote:
- Create /etc/BOOTSTATE (if no exist) only with the information of AUFS_ROOT_ID
This information can only be reliably given by initrd. You can do this after the fact too if you know that the system does in fact use stackable filesystem, but this is installation-specific; so you should do it in rc.local instead. Here is the code:
Code:
AUFS_ROOT_ID=$(
awk '{ if ($2 == "/" && $3 == "aufs") { match($4,/si=[0-9a-f]*/); print "si_" substr($4,RSTART+3,RLENGTH-3) } }' /proc/mounts
)

EDIT: I'll add this line in rc.local, commented out, you can uncomment it as needed.

EDIT: beta4 re-uploaded with the above two changes.

Quote:
2. Unfortunately dhcp issue continues to fail several times on my RPi2.
You need to remove the existing "ip address configuration" and re-create it again.
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
mories

Joined: 21 Dec 2009
Posts: 67

PostPosted: Fri 08 Apr 2016, 04:49    Post subject:  

Quote:
You need to remove the existing "ip address configuration" and re-create it again.

ok, erasing the previous configuration and creating the new (now I see uses udhcpc instead of dhcpcd) now seems to work correctly every time.
Note: with the newest basesfs seems sometimes fail again

Quote:
Does it have to be dropbear? The full openssh is already inside basesfs.

Ah OK, but nevertheless in Control Panel->System->Manage Servers and Services you use dropbear and no sshd
Should it be changed that element?
Quote:
Create /etc/BOOTSTATE (if no exist) only with the information of AUFS_ROOT_ID
This information can only be reliably given by initrd. You can do this after the fact too if you know that the system does in fact use stackable filesystem, but this is installation-specific; so you should do it in rc.local instead.

But /etc/BOOTSTATE is needed at the beginning of rc.sysinit, and information in AUFS_ROOT_ID is used by
# Load Extra sfs
/sbin/load_sfs.sh start
So I would propose something like
Code:
echo AUFS_ROOT_ID=$(ls -1 /sys/fs/aufs/) >> /etc/BOOTSTATE

before including /etc/BOOTSTATE in rc.sysinit
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3151
Location: The Blue Marble

PostPosted: Fri 08 Apr 2016, 07:11    Post subject:  

mories wrote:
ok, erasing the previous configuration and creating the new (now I see uses udhcpc instead of dhcpcd) now seems to work correctly every time.
Note: with the newest basesfs seems sometimes fail again

Try this: wpa_cli disconnect; followed by wpa_cli reconnect. Do you get anything?

Quote:
Ah OK, but nevertheless in Control Panel->System->Manage Servers and Services you use dropbear and no sshd
Because I haven't written the initscript Twisted Evil
EDIT: I have now written the initscript.

Quote:
But /etc/BOOTSTATE is needed at the beginning of rc.sysinit, and information in AUFS_ROOT_ID is used by
# Load Extra sfs
/sbin/load_sfs.sh start
So I would propose something like
Code:
echo AUFS_ROOT_ID=$(ls -1 /sys/fs/aufs/) >> /etc/BOOTSTATE

before including /etc/BOOTSTATE in rc.sysinit

Done.

EDIT: SFS updated.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
mories

Joined: 21 Dec 2009
Posts: 67

PostPosted: Fri 08 Apr 2016, 10:48    Post subject:  

Congratulations, now your basesfs work properly in the 2 modes:
- native (with its own initrd)
- integrated within berryboot (using berryboot's initrd)

The script for the sshd service also works correctly

Now the wlan0 is working properly, if at any moment should occur again the problem will try wpa_cli commands and I will communicate you the result
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3151
Location: The Blue Marble

PostPosted: Sat 09 Apr 2016, 09:55    Post subject:  

Yay! Very Happy
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5085
Location: Ontario

PostPosted: Sat 09 Apr 2016, 16:42    Post subject:  

Success ! I have made an archive that contains all the files needed for
fatdog arm Laughing

In Window XP ---> Just drag the files from the archive to a newly formated
SD card (fat32) and stick the card in the Raspberry Pi2 computer.

It's as simple as that Cool
It has to be the world's simplest operating system.

Thanks to James and Kirk.

The size of zip archive is 300mb . I don't have the time to upload it to mydrive.ch.
Maybe next week. I've added lots of right click entries and additional software.

__________________________________________

Two negatives I noticed.

1) the tmp files aren't deleted between boots.
2) Opening html files with default browser is too difficult

_________________________________________________
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3151
Location: The Blue Marble

PostPosted: Mon 11 Apr 2016, 09:54    Post subject:  

don570 wrote:
Two negatives I noticed.
1) the tmp files aren't deleted between boots.

Files in /tmp deleted, since it is a tmpfs (memory-based) filesystems. If you're talking about "temporary files" (which can be any where, but usually lives in /var/tmp and /var/log in addition to /tmp), they are not deleted, because of https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard. I only delete files in /var/lock{,s}, /var/run, and /var/cache. Anything else needs to be cleaned up manually. You can implement a script in rc.local to delete more files if you want to.

As a bonus if something bad happens the log files aren't automatically wiped out at next reboot; so you'll have the chance to examine them and try to figure out what went wrong.

Quote:
2) Opening html files with default browser is too difficult
Is that because the browser often does not have access to the files you're trying to open? (you'll get blank pages in this case). Probably because of the spot thing. You can edit defaultbrowser and/or edit run-as-spot.
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5085
Location: Ontario

PostPosted: Mon 11 Apr 2016, 19:04    Post subject:  

Quote:
You can implement a script in rc.local to delete more files if you want to.


I noticed that pfind temporary files weren't deleted.
I use pfind a lot so /tmp was loaded with them.
A startup script will delete them.

__________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5085
Location: Ontario

PostPosted: Mon 11 Apr 2016, 20:41    Post subject:  

I've worked out a new method creating a default desktop background image.

http://www.murga-linux.com/puppy/viewtopic.php?t=106428

It works in fatdog arm (In fact that is where it was first developed Laughing )

However the font used must be chosen carefully.

I think I used andika font or DejaVu Sans.

Try it out...


_______________________________________________________

Last edited by don570 on Tue 12 Apr 2016, 19:50; edited 1 time in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5085
Location: Ontario

PostPosted: Tue 12 Apr 2016, 19:49    Post subject:  

Here's my current desktop image..

_______________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5085
Location: Ontario

PostPosted: Wed 13 Apr 2016, 13:55    Post subject:  

I think I know why people are downloading the wrong version of fatdog.

Here's why...

On the first post there is a list of download sites
Quote:
Download locations:
- Full release notes
- Installation instructions
- ibiblio.org (primary site)
- nluug.nl (European mirror)
- uoc.gr (European mirror)
- aarnet.edu (Australian mirror).


Click and they take you to the Beta1 site rather than the Beta 4 site.

... and raspberry pi has a separate page to go to but this is not explained.
____________________________________________________________

mtpaint-fatdogarm 3.49.09 is available at mydrive.ch
___________________________________________________
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3151
Location: The Blue Marble

PostPosted: Thu 14 Apr 2016, 09:33    Post subject:  

don570 wrote:
I think I know why people are downloading the wrong version of fatdog.


Thanks! I've fixed it. Now it will bring to the releases directory directly.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5085
Location: Ontario

PostPosted: Tue 19 Apr 2016, 19:49    Post subject:  

I finally got around to making a zip archive containing all the files needed
so a simple install is possible.

It has the FD save file included.

I describe it here

http://murga-linux.com/puppy/viewtopic.php?t=106573

Just drag all the contents of the folder to the SD card (formatted fat32).

_____________________________________________

Here's the desktop. There's a nice big clock. Laughing



_______________________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 27 of 35 [511 Posts]   Goto page: Previous 1, 2, 3, ..., 25, 26, 27, 28, 29, ..., 33, 34, 35 Next
Post new topic   Reply to topic 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.1479s ][ Queries: 13 (0.0510s) ][ GZIP on ]