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

#91 Post by don570 »

Some more tips using headless wireless Raspberry pi2.

When you have made SSH connection with a PC,
your raspberry pi computer can use files in a server located in the PC.
(Note : if you have x11vnc up and running then you can use YASSM
but I am describing if you can't get x11vnc to work)

Instructions : Make a folder in /root/network/

mkdir -p /root/network/Shared

then one more command

Code: Select all

mount-Full -t cifs //192.168.1.xxx/SharedDocs   /root/network/Shared
where 192.168.1.xxx is the PC address and SharedDocs is the share folder name
(you should fill in your own parameters for your home network)

You should be able to play music from server using

Code: Select all

cd  /root/network/Shared
omxplayer  [musicfile]
____________________________________________
If found x11vnc easy to setup. First make sure SSH is running correctly.

Code: Select all

ssh root@192.168.1.yyy
where 192.168.1.yyy is my raspberrypi2 address.
Type in password 'woofwoof'
and then type 'x11vnc' in SSH terminal.
Port 5900 is automatically set.

You now need a x11vnc viewer.
Check with your PC repository.
Fatdog linux has it built-in. That is why I like it. 8)
The size of viewer window is small but useable.

________________________________________________


Using SSH you can shutdown your raspberry pi2 using simple command

Code: Select all

poweroff
but power is still connected to board so undo cable .

__________________________________________-
Last edited by don570 on Thu 22 Feb 2018, 00:36, edited 8 times in total.

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

#92 Post by don570 »

Another tip...

I am using a USB wireless adaptor. Of course I want signal strength to be best possible.

Here are two suggestions.
1) Bigger sized adaptors are better. (probably because of attenna size)
A good brand name is Netgear.

2) If you have x11vnc up and running then you can check the signal strength visually.
Click on wireless icon in bottom tray of x11vnc viewer window.

There is strength bar at bottom. (see image) Try several positions for your USB wireless adaptor.
I was able to increase strength from 88 to 92.

Alternative:
If you understand what pinging is then you can probably judge strength
with a 'ping' command
Attachments
screenshot-wireless-fatdogarm.jpg
(47.21 KiB) Downloaded 737 times

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

headless install of fatdogarm

#93 Post by don570 »

Headless install of fatdogarm

I was able to setup my Raspberry pi2 without the need of a monitor ,keyboard or mouse.
Another computer is needed. x11vnc is used.
This might be of use for a student on a budget.

Here are steps:

Format card fat32 , open zip file folder and drag the files and folders onto the card.

Put card in raspberry pi, connect your ethernet cable . USB wireless
adaptor should be plugged in as well if you want wireless service.

Plug in power cable to start booting process.

Because of headless use a method of sniffing the raspberry pi address is needed.
For windows use advanced IPscan
fatdog linux uses peasyport
There is also a terminal command 'mpscan' that is useful.
.....next post
_________________________________
Attachments
screenshot-peasyport.png
peasyport
(4.95 KiB) Downloaded 661 times

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

#94 Post by don570 »

...continuing.

Using your ethernet cable make a network connection...

Code: Select all

ssh root@192.169.1.yyy
where 192.169.1.yyy is your raspberry pi2 address.

Note: you may have to go inside folder /root/.ssh/ to eliminate an old key

You can now make a wireless network connection using the non-GUI app network-setup.sh
You will select from among all the networks that are available in your neighborhood.


Now it is time to launch x11vnc

Code: Select all

x11vnc  -display  :0 
x11vnc options....
http://www.karlrunge.com/x11vnc/x11vnc_opts.html


Back in fatdog linux PC I launch x11vnc viewer. I can now change
cmdline.txt file ---> savefile=none to savefile=direct:local

Choose to shutdown the raspberry pi2 to make a save file named fdsave.ext which is the default name.

You can now undo the ethernet cable and use your raspberry pi 2 wirelessly and headless.

It's a bit slow to respond to some commands , the startup menu is slow to pop up
but the mouse works fine. I use it to play music.
________________________________________________
Last edited by don570 on Sat 24 Feb 2018, 17:57, edited 1 time in total.

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

#95 Post by don570 »

New version on first post:
fatdogarm-02-20-2018.zip

1) removed my personal wireless network info from package :oops:
Fortunately the password is encoded

2) added /usr/share/audio/2barks.au for ptmtimer

3) trashcan and console icon links made

4) fatdog connect app works properly with wireless .
It should now find the server's address automatically,
but share name still needs to filled in properly.
_________________________________________

A tip from James Bond...

To format a SD card in linux ...
First zero out card, then format with gparted.

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.
_________________________________________________

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

#96 Post by don570 »

New version on first post:
fatdogarm-02-24-2018.zip

1) Added newest mtpaint 3.49.13 and mhwaveedit

2) mpscan now has a GUI to make finding an address easy

3) multimedia icon links made

4) I now use savefile=direct:local in cmdline.txt file
all the time because it will remind me to make a save file on first boot
and this option will look for save file at bootup time.

_________________________________________

There is bug I have found . When shutting down from start menu .
The shutdown procedure waits a minute to shutdown the wireless connection.
Nothing to worry about. Type 'poweroff' in terminal is faster alternative.
________________________________________________

A GUI for mpscan - to obtain live addresses on a network

MPscan-GUI-1.0.txz

https://drive.google.com/open?id=1Berq1 ... Q7AsRidCY8
_________________________________________________

latest mtpaint

mtpaint-fatdogarm-3.49.13.txz

https://drive.google.com/open?id=1M5RgI ... DkL7fQa5mA

___________________________________________

fatdogarm_connect-2.0.txz
https://drive.google.com/open?id=12_RmS ... CHLyLFf1pg

______________________________________

mhwaveedit-fatdogarm-1.4.23.txz
https://drive.google.com/open?id=11BkQW ... 8khBSaHRy1
__________________________________________________

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

#97 Post by don570 »

mpscan gui - find network addresses with mpscan
I included 'getlocalip'


Size: 8k

mpscangui-fatdogarm-1.1.txz

https://drive.google.com/open?id=1VKyey ... t3dhzBOTQH
___________________________________
Attachments
screenshot-mpscangui.png
(52.68 KiB) Downloaded 584 times

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

#98 Post by don570 »

Copy a partition or a folder. Beware !! It trashes files in destination!!!!

Size - 11k

pmirror-fatdogarm-6.2.txz

https://drive.google.com/open?id=1A174z ... u-86jXbnH-

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

#99 Post by don570 »

New version :
fatdogarm-03-02-2018.zip
See first post
I added pmirror and improved fatdog_connect
__________________________________

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

#100 Post by don570 »

New version March 14 :
fatdogarm-03-14-2018.zip
see first post for download

I switched to the mainstream fd-arm.sfs (but modified with more apps)

http://distro.ibiblio.org/fatdog/arm/im ... fd-arm.sfs
(I'm hoping to make a raspberry pi3 version soon)
___________________________________________________________

Tip: If you are trying to connect one computer to another using SSH (or dropbear) but security won't allow the connection --->

Solution if running linux on your PC then delete offending entry in
/root/.ssh/known_hosts

If running windows
On windows it is usually stored in the %USERPROFILE%\ssh or %USERPROFILE%\.ssh folders. If you type %USERPROFILE% into the Windows explorer address bar it will expand it automatically. You can also try cd /d "%USERPROFILE%\ssh" or cd /d "%USERPROFILE%\.ssh" from a command prompt.
______________________________________________

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

#101 Post by don570 »

Final version

fatdogarm-pi2-03-15-2018.zip
see first post for download and read carefully how to install to SDcard

The following uses the files found in fatdogarm repository

fd-arm.sfs :
http://distro.ibiblio.org/fatdog/arm/re ... fd-arm.sfs
EDIT: but I modify fd-arm.sfs to add more apps!!!

kernel:
http://distro.ibiblio.org/fatdog/arm/re ... nel.tar.gz

--------------------------------------------------------------------------------
Last edited by don570 on Sat 31 Mar 2018, 16:16, edited 1 time in total.

spotted
Posts: 43
Joined: Thu 25 Jan 2018, 07:33

Odroid experiment

#102 Post by spotted »

Don Just as an experiment your Arm Pi works on odroid with odroid kernel package.
However, with JB's odroid the system tray is a fatdogs breakfast, only the save file size works, they are all squashed up together, some overlapping, nothing else works.
What I want to ask is, is the system tray in Arm Pi working normally.
I have been able to get online taking usb tether from fatdog and my phone as a USB modem.
I want to have the CPU meter working before I go online, I watch the CPU meter to see if traffic is coming and going while on the net. I use it like net speed monitor in bongo drums to show the net is working.
I was able to move up to lxpanel 5. but although everything was in the right place once again only the savefile size works. Lxpanel 9. didnt work at all. In Fatdog I cant find lxpanel only lxqt, not even going to try to steal it if it has qt in it.

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

#103 Post by don570 »

Thanks for testing!!

Will somebody test the version for raspberry pi3.
I can't do this, since it would cost $100 Canadian (lack of competition).
http://murga-linux.com/puppy/viewtopic.php?t=112937

____________________________________________________
What I want to ask is, is the system tray in Arm Pi working normally.
None of the apps I added affect the tray , for instance I added SAMBA and x11vnc , but they wouldn't affect the tray.
Visually I see a difference between the tray in fatdog64 and fatdogarm.

Typing 'top' in terminal might be useful.

In fatdogarm repository I see matchbox-systray
http://distro.ibiblio.org/fatdog/arm/pa ... rmhf-1.tbz
It apparently adds some apps to tray????
http://wiki.openmoko.org/wiki/Window_Manager_Startup

______________________________________________

spotted
Posts: 43
Joined: Thu 25 Jan 2018, 07:33

#104 Post by spotted »

I cannot go online with Seamonkey 2.33., wont load webpage, error message says something like the time is in the future (This is after I set date in control panel)
So I had a bash at compiling seamonkey 2.49.2

checking for rpmbuild not found
checking for autoconf
error could not find autoconf 2.13

There is autoconf 2.69 installed so I made a link autoconf 2.13 to it but it did not work. End of experiment. didnt knowing what I was doing anyway!!

Can Mike compile the latest Seamonkey for ARM. OR can some one tell me how get around monkeys warning messages. How dangerous would an out of date monkey be with being restricted to spot where anything evil cant get out of spot. First start up of monkey gets online but with having to muck around with certificates for each new webpage. After setting the date in control panel, cant go online, date is in the future message.
I tried taking firefox out of ubuntu arm but libraries are the wrong type, some sort of XPCM, from my memory, libraries needed. Even then have to go back to firefox 52 as the later ones crash on anything ARM, and mozilla not interested in fixing it. And they have that stupid systemd because they dont have their browser in spot making things worse for Fatdog. Getting a firefox 52 arm .deb, unpacking it, and placing it in its correct directories in the save file also dont work. Starting fox from the command line dont work, 'command not found' end of experiment.

Post Reply