Fatdog Arm for Raspberry Pi2

A home for all kinds of Puppy related projects
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

Fatdog Arm for Raspberry Pi2

#1 Post by don570 »

Fatdog Arm for Raspberry Pi 2

If you have raspberry pi 3 then here is an option to try...
http://murga-linux.com/puppy/viewtopic.php?t=112937
Also try quirky Xerus 8.1.4 by barryK
http://murga-linux.com/puppy/viewtopic. ... 2&start=45
_____________________________________________________


feb 2018 version
Headless operation now possible using dropbear (SSH clone)
A headless installation is now possible as well.

April 19 2016 version
EDIT: updated to July 18 2016 version
Samba and OMX player is now included

EDIT: updated to July 25 2016 version
some minor improvements


I've put together an easy to install version of Fatdog Arm Beta 4.
This is targeted to Raspberry pi2 users who want a general purpose
operating system that is reasonably fast.
______________________________________________________
Installation is easy.

New version : fatdogarm-pi2-03-15-2018.zip
Available.....
219mb
md5ssum: e809bfbd059ab0eaab9dec2ccf1e0c90

https://drive.google.com/open?id=1MSucs ... 9t14_70hAq

__________________________________________________________
2) You can install using Windows or a Linux computer
Format your micro SD card as fat32 using a windows or linux formatter.
In linux I recommend you zero out the card first...
just do "dd if=/dev/zero of=/dev/<flash-drive-device-name> bs=1M count=1". After doing this Gparted will regard you flash drive as completely empty and will offer to create a new MS-DOS partition table - which you should accept.
If you are using Windows to format the SD card then I recommend
https://www.sdcard.org/downloads/formatter_4/
A quick formating to fat32 is all that is needed.

Open up fatdogarm-pi2-03-15-2018.zip. You will see some files and folders inside a folder.
Drag the contents of the folder to a freshly formatted (fat32) micro SD card.

3) Take out the card from its adaptor and insert in your raspberry pi2
computer. Plug in the power cable. If you wish, you can plug in your
ethernet cable and a wireless adapter.

4) If you have savefile=direct:local in cmdline.txt file
While booting ---> the OS will find a default named save file (fdsave.ext4) and automatically
go to desktop.

If you have savefile=ask
While booting ---> the OS asks for a save file , just press the <ENTER> key.
The operating system will automatically find the fatdog save file.
Note that user's documents and config files are in that save file.



5) You will soon see the desktop with a giant clock on it.

User: root or spot
Password : woofwoof

Support site: http://murga-linux.com/puppy/viewtopic.php?t=92548


Set your wlan with the tray app.
Check if your ethernet device has been recognized
Tip: Type 'ifconfig' in terminal to check if a network address has been assigned.
___________________________________________________________


A wireless adapter requires some work. Here is how I made the connection...

I first checked that the wireless driver had loaded properly...

Code: Select all

dmesg  | more
I checked the boot messages to see if the driver had loaded.
I saw...

Code: Select all

usbcore: registered new interface driver carl9170
carl9170 is the name of my driver, so it has loaded. Good!

Next I connected my adapter to a wifi network
Control panel > network > Network Setup

SSID (the router's network name) and wireless password for my Cisco router is entered here (see image)

Activate wlan0 now with Network Setup
_____________________________________________

To check the activation....
Type 'ifconfig' in terminal and wlan0 will have a network address assigned to it now.
It is different than ethernet address.

I could find a windows server with fatdog_connect.sh

Network > Fatdog connect

Fill in the address of server and the Share name.
Click 'Connect'

__________________________________________
Attachments
screenshot-fatdog-beta4_zpsvqtxiaji.JPG
(15.17 KiB) Downloaded 1314 times
screenshot-wireless-setup_zpsbbsuvumh.png~original.png
(20.43 KiB) Downloaded 1072 times
Last edited by don570 on Mon 09 Jul 2018, 16:17, edited 49 times in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#2 Post by don570 »

You can turn your raspberry pi2 computer into a server.

Install http://ftp.cc.uoc.gr/mirrors/linux/fatd ... rmhf-1.tbz
and
http://ftp.cc.uoc.gr/mirrors/linux/fatd ... rmhf-1.tbz

Make a folder to be shared ---> /root/shared/

Add a share to the samba config file

Code: Select all

[home]
   path = /root
   read only = no
Make a samba user ---> root
Password --> woofwoof

Code: Select all

smbpasswd -a root

This will give users access to your /root/shared folder
_______________________________________________________
Last edited by don570 on Mon 25 Jul 2016, 19:18, edited 3 times in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#3 Post by don570 »

If you want access to another computer's server from a raspberry pi computer using ethernet,
I would suggest 'Fatdog Connect' (I haven't test wireless yet :oops: )

Your tray icon should say eth0 --> idle

Network > Fatdog Connect

Find the address of your windows server
On the windows machine console

Code: Select all

ipconfig  /all
Fill this address into the fatdog app.
_________________________________________________

To find the share name, click the Fatdog connect 'Help' button for some tips.

Tip: In a windows machine right click on the Shared Documents
and choose 'Sharing and Security'

Microsoft describes this HERE

__________________________________________
Last edited by don570 on Wed 20 Jul 2016, 00:10, edited 1 time in total.

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

Re: Fatdog Arm for Raspberry Pi2

#4 Post by step »

don570 wrote: This is targeted to Raspberry pi2 users who want a general purpose
operating system that is reasonably fast.
Thanks, bookmaked for later. I have an rpi2 on order... I was just wondering if there's any subjective speed comparison between FD arm and Rasbian.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#5 Post by Sylvander »

The reason I don't use my RasPi v1 [B+]:
The OS I was running didn't have big enough on-screen text when using my 32-inch flat-screen TV as a display.
Unable to clearly read it with my sub-standard eyesight from across the room when using my wireless keyboard and mouse.

How big is the text in this Puppy OS?
Big enough?

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#6 Post by step »

I don't know about text size, but I know this OS can't run on rpi B+, I asked the same question in another thread.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#7 Post by keniv »

Hello don507

I've just installed your latest fdarm on an 8GB mico SD card. This booted up OK. However, when closing down I had some difficulty in making a save file. Everything worked OK until I got to the screen that allows you to check the choises you have previously made. When I clicked on next I got a notification telling me that the name I had chosen for the save file already existed (which it did as I did not change the suggested name) and suggested I choose a different name. To get round this I had to delete the existing save file then use the same name when the option is given to choose a name. A save file of the size I chose was then made. This seemed more like a normal pup rather than having a pre-existing save file. Was also slightly confused when I seemed to be given the option of choosing from two types of ext4 file systems. I have not have much time to test yet but I did notice some small things like icons missing from some menu items. Can I thank you and others for the work you've done to get a version of puppy working on the RPi2.

Regards,

Ken.

PS Have checked md5 checksum and it is correct. Probably not relevent but desktop background is a seagull and not a clock.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#8 Post by don570 »

The reason I don't use my RasPi v1 [B+]:
The OS I was running didn't have big enough on-screen text when using my 32-inch flat-screen TV as a display.
Unable to clearly read it with my sub-standard eyesight from across the room when using my wireless keyboard and mouse.

How big is the text in this Puppy OS?
Big enough?
If you really need large size text you can make a modification in
the config.txt file

uncomment ---> hdmi_safe=1

and comment the hdmi_group=1 , hdmi_mode=4

This gives a 640 by 480 pixel screen.

____________________________________


This kernel should support the raspberry pi3 board as well,
but I haven't tested this. :cry:

______________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#9 Post by don570 »

keniv wrote: However, when closing down I had some difficulty in making a save file
I should have mentioned that there is already a fdsave file. I thought that
users would see that when they dragged the files and one folder over
to the SD card.

If you have dragged them all over then you should see a clock rather
than a seagull.

When you choose 'Reboot' from the menu the saving action is
done automatically. There is no need to worry unless you have
filled up your save file. The amount of space left is shown in lower bar.

Some nasty things can happen if you over fill this file. I recommend
making the save file bigger if you are a serious user.
I've expanded mine to 1.5 gigabytes. Seefurther on for more info about enlarging the save file.
____________________________________________________
Last edited by don570 on Thu 21 Apr 2016, 19:55, edited 1 time in total.

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#10 Post by Sylvander »

don570 wrote:This gives a 640 by 480 pixel screen.
a. My desktop PC's monitor is 24-inch, and normally uses 1920x1080 pixel resolution.
The TV on which I want to [buy then] use the new RasPi2 is 32-inch; I've no idea what the resolution would be, but no doubt should be greater than my PC's monitor.

b. Would the 640x480 pixel screen be auto-magnified to fit, and result in larger text?

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#11 Post by don570 »

Would the 640x480 pixel screen be auto-magnified to fit,
Yes, the screen becomes very magnified but very clear to view.
The applications are still usable (barely)
___________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#12 Post by don570 »

To compile you will need to enlarge the save file. I recommend 1.5 gigabytes.

Instructions:

1) Download the fd-arm-devx.sfs file from a repository. Here's a fast site...
http://ftp.cc.uoc.gr/mirrors/linux/fatd ... m-devx.sfs

This contains the software needed for compiling.


2) To enlarge the save file, here are the instructions.

Modify your cmdline.txt file slightly....

Code: Select all

pkeys=en waitdev=3 savefile=ask basesfs=device:mmcblk0p1:/fatdogarm/fd-arm.sfs
to

Code: Select all

pkeys=en waitdev=3 savefile=none basesfs=device:mmcblk0p1:/fatdogarm/fd-arm.sfs

3) Now boot up . There will be seagull on desktop.

Use Control Panel to enlarge your save file to 1.5 gigabytes

Control Panel > System

4) Change back your cmdline.txt file to the original wording
and reboot

5) You will now notice that you have a huge amount of space in
your save file.

6) Click on the devx-*.sfs file, which will mount it.
Open a terminal in the mounted directory (press back-tick character)
and copy the contents to the root filesystem:

Code: Select all

 cp -a -f --remove-destination * /
 sync
It will take a couple of minutes. Now you can compile.
_______________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#13 Post by don570 »

To make a connection to a Windows or Linux computer using an ethernet cable is simple using Fatdog_connect

Network > Fatdog Connect

First you must fill in the address of the computer you want to connect to

In windows console type 'ipconfi /all'
In linux computer terminal type 'ifconfig'
Note the difference in spelling!!

________________________________________

Next you need the share name.
If you have samba installed then click the button 'Share list'
(See image)

Image

In this example two shares are available from the same computer.
Choose the one you want.
Click on 'Connect' and you will be asked a password.
It is the Samba password.

The folder corresponding to the share will show in the file manager.

_____________________________________
Last edited by don570 on Sat 23 Apr 2016, 20:10, edited 1 time in total.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#14 Post by keniv »

don570 wrote: If you have dragged them all over then you should see a clock rather
than a seagull.
I have repeated the process. I dragged all the files onto the sd card (as I did the last time) but when I boot up the RPi2 I get the seagull background and not the clock. If I reboot or shutdown the Pi I am asked the same sort of questions as in a nolmal pup when setting up a savefile for the first time. When I get to the point where you check your choises and press to go ahead I again get the comment that file fdsave.ext4 already exists and I should choose another name. As fdsave has an ext4 extention I chose an ext4 file system.
When you choose 'Reboot' from the menu the saving action is
done automatically.
The saving action does not appear to take place automaticlly. I don't have enough knowledge to know where to go from here. The downloaded .zip showed the correct md5 checksum but I might try another download unless you have any ideas as to where it's going wrong.

Regards,

Ken.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#15 Post by keniv »

I think I have found the problem. I origionally extracted the zip file using a frugal install of Lucid 5287. This is on an ntfs file system. I extracted it onto this system the copied the files over to the sd card. This time I checked the md5 checksum of the zip file again (it was correct) then extracted it directly onto the fat32 formated sd card. I then moved all of the files out of the folder and deleted the folder. This time the RPi2 booted to the clock background and at shutdown the setup changes I made were saved automaticlly. I seem to remember reading that saving files onto an ntfs file system could cause changes such as changing permissions. I don't know If this is true but I do think this could be a problem others might have as I think its quite common to have frugal installs of puppys on ntfs and multi-booting using grub4dos. However it may not be this that caused my initial problem.
Thanks for the help. Now it seems to be working correctly I'll do some testing.

Regards,

Ken.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#16 Post by don570 »

Thanks for taking the time to test. Fat32 doesn't support linux links and some
characters. I'll have to read up on ntfs.

Now that you have it running make sure you expand the save file to
a more reasonable size using the method I gave a few posts ago.

The usual way I install is with Windows XP and the 7zip app.

I simply drag the files to the newly formated card.

But I have used linux a couple of times. I used pmirror program by Zigbert
to transfer the files from a folder to the card. I don't believe I've stored the files
on a NTFS hard drive. I'll do a test and report.
___________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#17 Post by don570 »

Here is a tutorial to use samba for file sharing

http://www.murga-linux.com/puppy/viewto ... 383#897383
____________________________________________

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#18 Post by keniv »

I've spent some time setting up fdarm to suit to me and I'm getting used to the differences between fdarm and lucid 5267 which is the puppy I use most. I have had one problem with seamonkey. I can't get bookmark.html files to import. I am importing from a file which I exported from firefox. If I try to import from a mounted flash drive via seamonkey when I get to the end of setting the path then press "open" I get "cannot import from sdc1 permission denied". However, mounting this drive outside seamonkey does not give any problems. I moved the file to home. This time seamonkey appears to import the .html file but no information is transfered. I'll spend some more time on this. I will also expand the save file as you suggest. It's good to be able to run an up to date puppy on the RPi2.

Regards,

Ken.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#19 Post by keniv »

Found a sort of solution to importing bookmarks. I used pfind to find any seamonkey files. I noticed for some there were two of a number of files the only difference in the name was that one of the two ended in -spot. I then checked the .desktop file for seamonkey and the exec was seamonkey-spot.
I assumed I was running seamonkey as spot and this was why I did not have permission to read the .html file from the flash drive while in seamonkey. I then ran seamonkey as root and had no problem importing the bookmarks. I know this is less secure but I have run browsers in other puppies as root so far without a problem. If anybody has a solution to the importing of bookmarks while running as spot I would love to know how its done and I would then go back to running as spot.

Regards,

Ken.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#20 Post by don570 »

to keniv ...

You should post on the fatdog arm site.
http://murga-linux.com/puppy/viewtopic.php?t=92548

____________________________________________

I checked installing by un-archiving on a ntfs partition (using puppy linux) first before
dragging to a fat32 stick.

The permissions were changed but I had no problems booting up.

Post Reply