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



#182
Ctrl + Shift + Delete
#183
#184
General Discussion / Weld with jumper cables in a Pinch
January 13, 2016, 05:08:43 PM
#185
#186
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.
#187
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.
#189
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
#190

#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 {} \;
#191
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
#192
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.
#193
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/*
#194
  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

#195
Get the Operating System Version
  uname -a

uname -a lets you know the current version of the Operating System of the Raspberry Pi you are using. Below is an example output of the command which shows the current version of my Raspberry Pi.

Download the Driver
wget https://dl.dropboxusercontent.com/u/80256631/mt7601-(version and build number).tar.gzor download from the forum.

For example, my Raspberry Pi's version and build number is 3.18.11-v7+ #781. By following the instructions, I should end up with the following URL.

https://dl.dropboxusercontent.com/u/80256631/mt7601-3.18.11-v7-781.tar.gz


Extract and Install the Driver
tar xzf (filename)
./install.sh


Restart the Raspberry Pi