News:

The Latest electronic and computer Tips that work!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - branx86

#181
 ;) From :   http://raspberrypihq.com/how-to-install-windows-10-iot-on-the-raspberry-pi/   ::)

;D Short version:
     Downloading Windows 10 IoT https://connect.microsoft.com/windowsembeddedIoT/Downloads/DownloadDetails.aspx?DownloadID=57782

   Step 1 – Extract downloaded image

Extract the downloaded image Windows_IoT_Core_RPI2_BUILD file into a separate folder. The folder should include the following files: Flash.ffu, license.rtf, ReadMe.txt, WindowsDeveloperProgramForIoT.msi. We need to convert the .ffu file to a .img in order to flash it onto a SD card.

Step 2 – Download FFU2IMG

Download the ffu2img tool https://raw.githubusercontent.com/t0x0/random/master/ffu2img.py ('Save as' in your browser) – this will help us convert the .ffu file to a .img file. Copy the downloaded ffu2img.py file into the extracted folder from step 1.

To run the ffu2img tool you must have Python installed – you can download it here https://www.python.org/downloads/ (use the 2.7.x branch).

Step 3 – Run FFU2IMG to create .img file

Open a command prompt and run the ff2img tool from the command line:

C:\RPi\Windows_IoT_Core_RPI2_BUILD>ffu2img.py Flash.ffu
Input File: Flash.ffu
Output File: Flash.img
Block data entries begin: 0x600f8L
Block data entries end: 0x79398L
Block data chunks begin: 0x80000L
6441 blocks, 824448kb written - Delay expected. Please wait.
Write complete.

Wait a while – it will take some time to convert the image. If you get an write error try opening the command prompt as an administrator.

Flash .img file to SD Card

Download win32diskimager and extract to a folder. At this point you want to insert an empty SD card into your computer.

Open the Win 32 Disk Image tool and select the new Flash.img image – next select the drive letter of your SD card and press write:
#182
I used this trick to point my solar panel at the sun and makes a big difference in power generation. Just watch the video. So Simple



#183
Ctrl + Shift + Delete
#184
#185
General Discussion / Weld with jumper cables in a Pinch
January 13, 2016, 05:08:43 PM
#186
#187
Create a sh file with :
#!/bin/sh
(sleep 30;
mount -t cifs -o username=user,rw //192.168.0.30/tvseries /storage/tvseries;
)&


Then put and line in the rc.local file above the exit 0 to point to the file.sh you just created.
#188
General Discussion / HP Printers with RFU Error Message
January 08, 2016, 12:17:49 PM
:) :o
Clearing RFU Error Message
1. Turn the printer power off.
2. Power on the printer and watch for the memory count to begin.
3. Holds down the STOP button when you see the memory counts begin. Continue holding down the STOP button until all three printer control-panel lights flash once and then remain on. This might take up to 10 seconds.
4. Press the SELECT (Checkmark) button and then the MENU Button.
5. Scroll down until you see "Clear All RFU Errors".
6. Press the Select button twice until the highlighted cursor is the letter "C" in the word "Clear".
7. Scroll down until you see "Set Runmode to Manual".
8. Press the Select button once until the highlighted cursor is on the letter "R" in the word "Runmode".
9. Scroll down until you see "Set RFU Error Off".
10. Press the Select button twice until the highlighted cursor is on the letter "S" in the word "Set"
11. Turn the printer off and power up the printer.
#190
Raspberry Pi / Mount network Drive on Raspberry Pi
December 24, 2015, 02:00:28 PM
manual mounting
  mount //192.168.1.251/directory   /tmp/directory -o username=Of server or Nas,password=Of server or Nas
Example: mount -t cifs //192.168.1.251/FrontDoorCam /tmp/motion/video -o username=administrator,password=?#?$$#$,rw,file_mode=0777,dir_mode=0777

auto mounting using etc/FSTAB
//192.168.1.251/directory   /tmp/directory  cifs defaults,username=Of server or Nas,password=Of server or Nas  0  0

//server/share /mnt/name cifs defaults,rw,username=username,password=password,domain=domain 0 0
#191

#Save from ip camera
ffmpeg -i http://admin:admin@192.2.2.1:554/dd-a -c copy -map 0 -f segment -segment_time 300 -segment_format mp4 "outfile.mp4"

# Save the streams using ffmpeg at 30 fps, stopping the capture after 900 seconds (15 minutes). Add more lines if you have more than 2 cameras
# The file name. I use the date to make finding files easier.
name="`date +%Y-%m-%d_%H.%M`"
# Where the videos will be saved
BASEpath='/path/to/surveillance/folder'
RECpath=$BASEpath'/video'
ffmpeg -i rtsp://username:password@192.168.1.201:80/videoMain -r 30  -vcodec copy -an -t 900 $RECpath/cam01/$name.mp4 </dev/null >/dev/null 2>/tmp/cam01.log &

#Cronjob- It looks into the archive folders, looking for directories, as each day has its own, older than 5 days
0 4 * * * find /path/to/surveillance/folder/archive -mindepth 3 -type d -mtime +5 -exec rm -r {} \;
#192
Raspberry Pi / Display IP address at boot
December 23, 2015, 05:41:36 PM
This script goes in etc/rc.local to show ip address at boot up.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
printf "My IP address is %s\n\nRaspbian GNU/Linux\n\n" "$_IP" > /etc/issue
else
  printf "Raspbian GNU/Linux\n\n" > /etc/issue
fi

exit 0
#193
Windows Fixes / FireFox Keeps Crashing
December 17, 2015, 10:03:51 AM
Start over with a fresh profile. Backup bookmarks then Navigate to:

C:\Users\(CurrentUser)\AppData\Local\Mozilla
Then delete : Profiles

Restart firefox should create new profile.
#194
Raspberry Pi / Mini Rapsberry install
December 16, 2015, 04:23:01 PM
sudo rm -rf python_games
sudo apt-get autoremove x11-common
sudo apt-get autoremove midori
sudo apt-get autoremove python*
sudo apt-get autoremove lxde-icon-theme
sudo apt-get autoremove omxplayer
sudo rm -rv /usr/share/icons/*
sudo rm -rv /opt/vc/src/*
#195
  nano /etc/network/interfaces
add the following under eth0 or wlan? The address is your Static IP and netmask scheme and your gateway.

iface (eth0 or wlan?) inet static


Your File should look like the one below for dhcp to eth0 and static wlan0.

auto lo



iface lo inet loopback

iface eth0 inet dhcp



allow-hotplug wlan0

iface wlan0 inet manual

wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

iface default inet static

address 192.168.1.102

netmask 255.255.255.0

network 192.168.1.0

gateway 192.168.1.1


OR

auto wlan0
    allow-hotplug wlan0
    iface wlan0 inet static
    address 10.232.1.99
    netmask 255.255.255.0
    gateway 10.232.1.1
    wpa-passphrase password
    wpa-ssid myssid