Author |
Message |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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.
The size of viewer window is small but useable.
________________________________________________
Using SSH you can shutdown your raspberry pi2 using simple command
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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
Description |
|
Filesize |
47.21 KB |
Viewed |
794 Time(s) |

|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
_________________________________
Description |
peasyport |
Filesize |
4.95 KB |
Viewed |
697 Time(s) |

|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
___________________________________
Description |
|
Filesize |
52.68 KB |
Viewed |
635 Time(s) |

|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
|
|
 |
spotted
Joined: 25 Jan 2018 Posts: 43
|
Posted: 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
|
|
 |
spotted
Joined: 25 Jan 2018 Posts: 43
|
Posted: 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
|
|
 |
|