Canon EOS 500D / Rebel T1i Firmware Update

On the test, I will update the firmware 1.1.0 to 1.1.2 in the Canon EOS 500D / Rebel T1i.

First of all, let’s see if there is a newer version on the official siteе and if there is – download it.
https://www.usa.canon.com/internet/portal/us/home/support/details/cameras/support-dslr/eos-rebel-t1i?subtab=downloads-firmware

Unpack the archive with the firmware, in my case I needed one file E7KR6112.FIR

The memory card is pulled out of the camera and connected through the card reader to the computer, we drop the firmware file on it. Through a USB cord directly to a card to write down a file the camera has not given.

We will safely remove the memory card and return it to the camera.

On the camera, set the mode “P” and turn it on, press the “MENU” button, select the yellow key, then “Built-in software ver. … “, agree with the replacement of the current software by selecting” OK “, then follow the prompts on the screen.

Watch the video how I performed the update:

How do I enable the Universe repository in Ubuntu?

I once wanted to install some utilities on the running LiveCD with Ubuntu Desktop, the same MC, etc., which did not want to be installed.

To solve this problem, you need to include the “Universe” repository.

And so, add it:

sudo add-apt-repository universe

In older versions of Ubuntu, you might have to add another command:

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"

If desired, you can include all the repositories:

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe multiverse restricted"

And update the list of packages:

sudo apt-get update

After that, everything was install successfully.

Above $(lsb_release -sc) specifies the version of Ubuntu and inserts it into the link.

You can also manually check the version by running the command:

lsb_release -sc

Installing Open-AudIT on Linux

Open-Audit — a system for collecting information about existing equipment and creating reports.

On an example I will describe the installation process in Linux Ubuntu:

1) Download the latest version from the official site
https://www.open-audit.org/downloads.php

2) Switch to the root user, make the downloaded file with Open-AudIT executable and run it:

sudo -i
chmod u+x ./OAE-Linux-x86_64-release_1.12.10.1.run
sh ./OAE-Linux-x86_64-release_1.12.10.1.run

In the installation process, follow the instructions, agreeing with the questions pressing “y” or “Enter“.
Additional components such as apache2, mysql-server, etc. will be automatically installed.

3) Open in the browser web-interface Open-AudIT by reference http://HOST/omk/oae/
Standard login and password – admin/password

Done.

Setting the default mail address in cPanel

Suppose you want all mail that arrives at nonexistent mailboxes in your domain to be delivered to a specific mailbox.

For this:

1) On the cPanel main page, in the “Email” section, select “Default Address

2) In the window that opens, select the domain (if there are several), select “Forward to Email Address” and specify which address to forward.

Instead of sending it, you can also choose to delete emails, forward to a system mail account, or send to a script.

Done.

SMS sending script via Goip4 gateway

Here is an example of a script written in PHP, for sending SMS messages through the Goip4 gateway.
The script receives data from the SQL database with a query and alternately sends SMS to each number, and also writes an entry about sending it to a special sms table.
Continue reading “SMS sending script via Goip4 gateway”

Using the firmware password on a Mac

To enable or disable the firmware password on the Mac and MacBooks, you must press the Command+R keys or the Option(Alt) key after turning on the sound, then select the menu “Utilities“-“Firmware password utility “and select” Enable firmware password “in the window that opens and set the password.
Continue reading “Using the firmware password on a Mac”

Monitoring BGP in Zabbix

I’ll give an example of a simple check whether something is running on TCP port 179 which uses BGP.

Create the following data item with the name Zabbix in the new Zabbix template or right in the network node “Template App BGP Service” (where 192.168.10.2 is the address of the host on which the performance of the BGP is checked):

Name: BGP service is running
Type: Zabbix agent
Key: net.tcp.service[tcp,192.168.10.2,179]
Type of information: Numeric (positive integer)
Data type: Decimal
Displaying the value: Service state

If Zabbix-agent is installed on the node, then we will create two data elements and in the field “Key:” we will indicate:

proc.num[bgpd]
proc.num[zebra]

If the data element reports 0, then BGP does not work, or the port is closed, if 1 is OK.

Accordingly, we will add a trigger that will notify about the idle BGP:

Name: BGP does not work on {HOST.NAME}
Expression: {Template App BGP Service:net.tcp.service[tcp,192.168.10.2,179].max(#3)}=0

Все.