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 Mon 25 Jun 2018, 00:54
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdog Arm for Raspberry Pi2
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 7 of 7 [104 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7
Author Message
don570


Joined: 10 Mar 2010
Posts: 5063
Location: Ontario

PostPosted: Sat 17 Feb 2018, 12:59    Post subject:  

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:
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:
cd  /root/network/Shared
omxplayer  [musicfile]


____________________________________________
If found x11vnc easy to setup. First make sure SSH is running correctly.

Code:
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. Cool
The size of viewer window is small but useable.

________________________________________________


Using SSH you can shutdown your raspberry pi2 using simple command
Code:
poweroff


but power is still connected to board so undo cable .

__________________________________________-

Last edited by don570 on Wed 21 Feb 2018, 20:36; edited 8 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5063
Location: Ontario

PostPosted: Sat 17 Feb 2018, 13:08    Post subject:  

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
screenshot-wireless-fatdogarm.jpg
 Description   
 Filesize   47.21 KB
 Viewed   548 Time(s)

screenshot-wireless-fatdogarm.jpg

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


Joined: 10 Mar 2010
Posts: 5063
Location: Ontario

PostPosted: Tue 20 Feb 2018, 14:46    Post subject: headless install of fatdogarm  

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
_________________________________
screenshot-peasyport.png
 Description   peasyport
 Filesize   4.95 KB
 Viewed   480 Time(s)

screenshot-peasyport.png

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


Joined: 10 Mar 2010
Posts: 5063
Location: Ontario

PostPosted: Tue 20 Feb 2018, 15:16    Post subject:  

...continuing.

Using your ethernet cable make a network connection...

Code:
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:
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, 13:57; edited 1 time in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5063
Location: Ontario

PostPosted: Tue 20 Feb 2018, 15:34    Post subject:  

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

1) removed my personal wireless network info from package Embarassed
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.


Quote:
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.

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


Joined: 10 Mar 2010
Posts: 5063
Location: Ontario

PostPosted: Sat 24 Feb 2018, 14:35    Post subject:  

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=1Berq1YlGE7mQyfrn-fSUnwQ7AsRidCY8
_________________________________________________

latest mtpaint

mtpaint-fatdogarm-3.49.13.txz

https://drive.google.com/open?id=1M5RgIp1jnvb-jINoB_4hKeDkL7fQa5mA

___________________________________________

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

______________________________________

mhwaveedit-fatdogarm-1.4.23.txz
https://drive.google.com/open?id=11BkQWVkxfTJT22wCEzwp-z8khBSaHRy1
__________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5063
Location: Ontario

PostPosted: Tue 27 Feb 2018, 20:06    Post subject:  

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


Size: 8k

mpscangui-fatdogarm-1.1.txz

https://drive.google.com/open?id=1VKyey2JqnvXcwQi3dGNY92t3dhzBOTQH
___________________________________
screenshot-mpscangui.png
 Description   
 Filesize   52.68 KB
 Viewed   391 Time(s)

screenshot-mpscangui.png

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


Joined: 10 Mar 2010
Posts: 5063
Location: Ontario

PostPosted: Tue 27 Feb 2018, 20:09    Post subject:  

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=1A174z4DScPori2NGPeFzU3u-86jXbnH-
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5063
Location: Ontario

PostPosted: Sat 03 Mar 2018, 14:56    Post subject:  

New version :
fatdogarm-03-02-2018.zip
See first post
I added pmirror and improved fatdog_connect
__________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5063
Location: Ontario

PostPosted: Wed 14 Mar 2018, 16:14    Post subject:  

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/images/beta5/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

Quote:
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.

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


Joined: 10 Mar 2010
Posts: 5063
Location: Ontario

PostPosted: Thu 15 Mar 2018, 19:53    Post subject:  

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/releases/beta5/fd-arm.sfs
EDIT: but I modify fd-arm.sfs to add more apps!!!

kernel:
http://distro.ibiblio.org/fatdog/arm/releases/beta4/kernel-packages/raspi2-kernel.tar.gz

--------------------------------------------------------------------------------

Last edited by don570 on Sat 31 Mar 2018, 12:16; edited 1 time in total
Back to top
View user's profile Send private message 
spotted

Joined: 25 Jan 2018
Posts: 9

PostPosted: Sat 31 Mar 2018, 02:14    Post subject: Odroid experiment  

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.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5063
Location: Ontario

PostPosted: Sat 31 Mar 2018, 12:38    Post subject:  

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

____________________________________________________
Quote:

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/packages/beta/matchbox-systray-2015.04-armhf-1.tbz
It apparently adds some apps to tray????
http://wiki.openmoko.org/wiki/Window_Manager_Startup

______________________________________________
Back to top
View user's profile Send private message 
spotted

Joined: 25 Jan 2018
Posts: 9

PostPosted: Sat 28 Apr 2018, 04:01    Post subject:  

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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 7 of 7 [104 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7
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.1130s ][ Queries: 13 (0.0270s) ][ GZIP on ]