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 Sat 26 May 2018, 06:34
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 6 of 7 [104 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
ally


Joined: 19 May 2012
Posts: 1817
Location: lincoln, uk

PostPosted: Sat 04 Mar 2017, 18:42    Post subject:  

berryboot

Smile
Back to top
View user's profile Send private message Visit poster's website 
kerl

Joined: 16 Apr 2013
Posts: 152

PostPosted: Sat 04 Mar 2017, 20:30    Post subject:  

ally wrote:
berryboot

Smile


Thanks Ally. I hope to see a tutorial soon. Is there a M$Windows installer to manage Berryboot? Razz
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1817
Location: lincoln, uk

PostPosted: Sat 04 Mar 2017, 20:50    Post subject:  

http://www.berryterminal.com/doku.php/berryboot

Smile
Back to top
View user's profile Send private message Visit poster's website 
kerl

Joined: 16 Apr 2013
Posts: 152

PostPosted: Tue 07 Mar 2017, 14:10    Post subject:  

ally wrote:
http://www.berryterminal.com/doku.php/berryboot

Smile


Reply to Ally:

Yo Ally! This is really useful. I told a developer about this tool an he says it's very handy. Cheers and beers
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Sun 04 Feb 2018, 16:33    Post subject:  

I am storing the zip package on Google drive now.

I highly recommend using Windows sd card formatting software
to format your sd card to fat32.

I find that using linux gparted doesn't work.

fatdogarm people recommend this
https://archive.org/details/Puppy_Linux_Fatdog_Arm_Beta

Quote:
General problems
================
If the system cannot boot, please zeros out your SD card first. Sometimes
leftover data prevents the system from starting.

To zeros SD card:
"dd if=/dev/zero of=/your/sdcard/device bs=4M"

and wait until it's finished, then re-partition the card.

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


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Thu 08 Feb 2018, 21:11    Post subject:  

New version fatdogarm-02-08-2018.zip

SSH clone ---> dropbear is loaded automatically so that the
user can use SSH from another computer to set the raspberry pi board .

After successful install you can use
Code:

ssh -p 22 root@192.168.1.145 


(fill in your own raspberrypi address) to make a connection over the ethernet cable.

Also whatever mp3 files that are placed in Music folder will be played
automatically at bootup time by playmusic app.

I am doing this to make a music machine . It will be able to bootup
headless and play music out of the analog jack.
________________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Thu 08 Feb 2018, 21:29    Post subject:  

A quick note on how to connect to a samba server.

Networking should be enabled. See in tray or type 'ifconfig' in terminal

Launch 'Fatdog Connect' from start menu.

Hopefully it will find your server's address.
Then fill in the share name. If you don't know it then
click on Share list and it will be shown somewhere.

Common Windows share name is 'ShareDocs'
Puppy linux uses 'puppyshare' or 'shares'
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 1037

PostPosted: Fri 09 Feb 2018, 19:43    Post subject:  

don570 wrote:
New version fatdogarm-02-08-2018.zip
Hi Don, did you intend to post a download link? Because I looked for one in your recent posts but couldn't find it.
_________________
Fatdog64-721|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Sat 10 Feb 2018, 14:04    Post subject:  

First post has the link.
_______________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Sat 10 Feb 2018, 15:40    Post subject:  

Here is my setup. Note that the raspberry pi2 doesn't have a keyboard or monitor.

x11vnc can be used by connecting with SSH first,
then type 'x11vnc' in SSH terminal in main computer.
Password is woofwoof.

I use vnc viewer in fatdog linux.
Xming in windows.
_______________________________________________
raspberrypi2-setup-headless.jpg
 Description   
 Filesize   42.45 KB
 Viewed   230 Time(s)

raspberrypi2-setup-headless.jpg

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


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Mon 12 Feb 2018, 21:20    Post subject:  

New version available first post:
fatdogarm-02-12-2018.zip
219mb
md5ssum: 285ccf5e0b6f12d518b878d43dba969d
https://drive.google.com/open?id=1t1-sQHNp3PHZwsnqKsNR1DJXpLM4wMSc

1) I made change to playmusic startup script so that it won't launch
during bootup if /Music folder is empty

2) Removed the berryboot kernel which makes the zip file smaller.

3) I included omxplayer-loop script (in /usr/bin)
so I can play the mp3 files in /Music without the need of a GUI app




I got the script from Raspberry pi forum...
https://www.raspberrypi.org/forums/viewtopic.php?t=26277

I modified to
FILES=`ls /aufs/devbase/Music/*.mp3`
____________________________________________




Code:
#!/bin/bash
# infinity-looper-2.sh
# Infinite looping script
# J.E.HUTTING 21-JAN-2017

#set -x # expand the commands

# set here the files to play ---------------------------------------------------
FILES=`ls /aragorn/music/singles/T*.mp3`
# ------------------------------------------------------------------------------
#echo $FILES

# who's playing it
OMXPLAYER="omxplayer"

echo "*****INFINITE LOOPING SCRIPT!!!"
echo "*****ABORT WITH CTRL+C"
while true; do
    while true; do
        IFS=$'\n'   # IFS: Internal field separator
        for entry in $FILES
        do
            IFS=$' \t\n'

            # let's play
            echo $entry
            $OMXPLAYER "$entry" > /dev/null
        done
    done
done
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Thu 15 Feb 2018, 20:05    Post subject: headless wireless raspberry pi2  

headless wireless raspberry pi2

I have found a way to make my Raspberry pi2 into a headless wireless machine
that is connected to a home network.

Method:

I install my version of fatdogarm onto a SD card formatted fat32 in windows as usual. Note: savefile=none

I boot up my raspberry pi and connect to a wireless home network
by using the Control Panel or simply typing 'network-setup.sh' in terminal.

I choose my home network which is Cisco99987 (see image)
from a list of all available.
I made sure it is configured as shown in image.

Check that your wireless network is working by typing 'ifconfig' in terminal.

Quote:
eth0 Link encap:Ethernet HWaddr b8:27:eb:a8:cd:57
inet addr:192.168.1.138 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::ba27:ebff:fea8:cd57/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:263 errors:0 dropped:1 overruns:0 frame:0
TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19677 (19.2 KiB) TX bytes:20623 (20.1 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3755 (3.6 KiB) TX bytes:3755 (3.6 KiB)

wlan0 Link encap:Ethernet HWaddr 00:24:b2:d7:fb:6c
inet addr:192.168.1.137 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::224:b2ff:fed7:fb6c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:354 errors:0 dropped:0 overruns:0 frame:0
TX packets:123 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:57017 (55.6 KiB) TX bytes:20367 (19.8 KiB)


You can see that there is an internet address for wlan0 ---> 192.168.1.137

Also check if the configuration of the wireless home network has been saved to disk by looking at the file /etc/network-setup/access/....
The file there should have your settings. The password is encoded for safety.
screenshot-password.png
 Description   
 Filesize   11.3 KB
 Viewed   135 Time(s)

screenshot-password.png

screenshot-wpa.png
 Description   configuration that is saved
 Filesize   26.64 KB
 Viewed   136 Time(s)

screenshot-wpa.png

screenshot-ssid.png
 Description   Choose my home network
 Filesize   17.56 KB
 Viewed   134 Time(s)

screenshot-ssid.png


Last edited by don570 on Thu 15 Feb 2018, 21:04; edited 3 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Thu 15 Feb 2018, 20:26    Post subject:  

Continuing wireless setup...


We need to load a savefile at bootup
The following change to the file cmdline.txt will load the default save file called 'fdsave.ext'

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


EDIT: I now use savefile=direct:local when I first boot up

Add any more apps from fatdog's repository if you wish...

Now we create the save file by simply selecting 'Reboot' at the start menu. You are led thru the procedure of creating a save file.
It will be located on your SD card.

Be sure the name is 'fdsave.ext' and save on your sd card.
It will take a couple of minutes to create. This save file has the scripts and apps that you have added.
_________________________________________________________


There are windows utility apps like Advanced ip scanner and putty which are useful for
working with a headless machine.


If you do have a monitor attached to your pi2, then check the wireless
network by typing 'ifconfig' in terminal. You can try 'ping' command
to another machine as well.

When you know the other machine's address you can use 'fatdog connect' to attach to a server in you network.

However I should point out that I want to use this raspberry pi2 as a headless music machine. So I have set it up so
that it plays the music files located in /Music automatically when first booted. It uses the play music script by Thunor.
http://www.murga-linux.com/puppy/viewtopic.php?t=73761
It loops endlessly, so un-plug the computer to stop.

_______________________________________________

Last edited by don570 on Sat 24 Feb 2018, 14:15; edited 6 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

PostPosted: Thu 15 Feb 2018, 21:10    Post subject:  

There are two ways to edit a text file in fatdogarm
if you have a headless machine.

Code:
vi [FILE]


or use midnight commander

Code:
mc -e [FILE]

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


Joined: 10 Mar 2010
Posts: 5024
Location: Ontario

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

Here are some tips when running a headless wireless raspberry pi2.

1) Good connections are important!! The music should sound clear i.e. no hum, if you
have made the proper connections.

2) First check that your setup is working properly by attaching a HDMI monitor and some speakers (or use headphones as alternative).
Check that your wireless network is connecting consistently when first booted. You can put a music file in /Music folder to check if playmusic script is working.

3) With another PC in your network you can test SSH and x11vnc.
(You will need a x11vnc viewer. Fatdog linux uses
turbovnc viewer

Windows computers use Xming)

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