Kernel live patching enables runtime correction of critical security issues in running kernel without rebooting. How do I enable or patch my Ubuntu Linux 16.04 LTS server without rebooting the box?
Ubuntu Linux version 16.04 LTS supports live patching for both enterprise and the Ubuntu community members. The Canonical Livepatch Service is an authenticated, encrypted, signed stream of livepatch kernel modules for Ubuntu servers, virtual machines and desktops.
On 20th October, 2016 Canonical officially announced the support for no reboot kernel patching, freely available on maximum three machines for a single user running 64-bit Intel/AMD Ubuntu 16.04 LTS. Installing is really easy
sudo apt update && apt upgradesudo apt install snapd
Generate a livepatch key
In order to get started login and generate a key from the following url (a free account is needed):
After login you should see something like this
Enable live patching
sudo snap install canonical-livepatch
sudo canonical-livepatch enable 5e37xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
If everything went well you should read something like
Successfully enabled device. Using machine-token: 5e37xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
To view the status of the daemon
canonical-livepatch status --verbose
client-version: "6" machine-id: 6e2xxxxxxxxxxxxxxxxxxxxx machine-token: 0c38xxxxxxxxxxxxxxxxxxxxxxxxxxxx architecture: x86_64 cpu-model: Intel(R) Xeon(R) CPU W3520 @ 2.67GHz last-check: 2017-02-17T10:18:14.094602474+01:00 boot-time: 2017-02-08T14:40:20+01:00 uptime: 211h38m28s status: - kernel: 4.4.0-62.83-generic running: true livepatch: checkState: checked patchState: nothing-to-apply version: "" fixes: ""
WORK IN PROGRESS, only some notes for now
- Rapsberry PI 3 with Linux openHABianPi 4.4.0-1-rpi2 1 SMP Debian 4.4.6-1+rpi14 (2016-05-05) armv7l GNU/Linux
- OpenHAB 2.0.0-1 (Release Build) on /dev/ttyACM0
- Latest Aeotec Gen5 USB Aeotec’s Z-Stick packs all the tools you need to create and manage a Z-Wave network all within one USB stick. Use the Z-Stick to create your Z-Wave network, use it to add up to 232 Z-Wave devices, and then use it to control them.
- Fibaro FGMS001-001 ZW5 Motion Sensor firmware v3.2
- Vision plus zwave plus siren
Attention: Order a lamp or something not harmful (like a siren that run for 30s) to test your automation rules
AEOTEC BY AEON LABS Z-STICK Z-WAVE PLUS GEN5
Aeon Labs Z-Stick Gen5 is a self-powered Z-Wave USB adapter. You will be able to add and remove Z-Wave devices within your network directly with the Z-Stick. It makes the inclusion and exclusion process faster and easier. You may also use the Z-Stick as a secondary controller to your hub, provided that the master firmware supports this type of device and works with Z-Wave Plus and Gen5 technology.
FIBARO Z‑WAVE PLUS MOTION SENSOR FGMS‑001 ZW5
Has a lot of advantages:
- Detects motion, temperature, light and vibration
- Extremely small for discreet and flexible installation
- Instant LUX reports - great for Z-Wave light automation
- Test network range anytime from the device itself
- Pet-immune motion sensor with adjustable sensitivity and trigger interval
- Unique LED indicator for motion and temperature events
- Created and manufactured in Europe
- Built-in tamper protection and advanced signal encryption for more security
VISION Z-WAVE PLUS ALARM
The Vision Z-Wave Plus Siren is the optimal mix of audio and visual safety features. With a robust 105dB alarm and bright LED strobe light, this siren is a smart addition to every home security system, and especially those with loved ones who are visually or audibly impaired.
Once connected to your Z-Wave gateway controller, easily monitor and control the siren from your mobile device whether you’re near or far. Receive instant text and/or email alerts in the case of emergencies and unexpected events. For advanced home security, create events that connect the siren with other Z-Wave devices — trigger the siren when your back door is opened unexpectedly or when water or gas is detected in the basement.
With an improved 500 series chip for faster wireless communication and long-lasting battery, rest assured that the Vision Siren will be there when you need it most.
- Loud 105dB audio alarm
- LED strobe lighting for added visual protection
- Choose between visual and audio alarm or use both
- Receive instant text/email alerts and notifications
- Schedule custom scenes and events
- Upgraded 500 series chip for faster connectivity
- Long-lasting, efficient battery consumption
- AES communication encryption
- Tamper protection
- Compact size
- 1-year warranty
- Power: 4 AA batteries (included)
- Wireless Range: Up to 100 feet (30m) line of sight
- Installation and Use: Indoor only
- Operating Temperature: 5ºF - 140ºF (-15ºC - 60ºC)
- Dimensions: 6.3 x 3 x 1.6 in (116 x 77 x 40mm)
- Weight: 8oz
On the Raspberry Pi
The Raspberry Pi and other small single-board computers are quite famous platforms for openHAB. However, setting up a fully working Linux system with all recommended packages and openHAB recommendations is a boring task taking quite some time and Linux newcomers shouldn't worry about these technical details. openHABian aims to provide a self-configuring system specific to the needs of every openHAB user.
Ready to install images are available for the Raspberry Pi, images for other hardware will follow. openHABian can also be used on existing Debian based Linux systems. Follow the links below to learn more:
Using Win32 Disk Imager to write it to a big SDCard 64Gb.
Note: a smaller SDCard will work but to reduce Wear-Leveling it is better to have lot of space to write into to reduce strain on cluster
Connect Z-Wave Device
Insert the Z-Stick to your PC/ Mac/ Gateway. You will need home automation software to control and configure your Z-Wave network. You may also need to install drivers before the Z-Stick goes into the Serial-API Mode. The computer will have to be on and awake at all times to keep the network active.
Take the Z-Stick out of the USB port to perform inclusion and exclusion processes (it will not send the commands while plugged in). Keep the Z-Stick plugged in if you'd like to add/remove items from your interface through software settings.
To reset your Z-Stick to factory settings, press and hold the rest button for around 20 seconds. You can complete the process with the Z-Stick plugged to the USB port.
Installation of Fibaro sensor
- Open the device’s cover.
- Remove the plastic “I’m ready” strip to activate the included battery.
- Bring the sensor within direct range of your Z-Wave gateway controller.
- With the AeoTec Z-Stick Gen5 not connected to pi, press once till a blue light is blinking (learning mode). Place it near every device, press 3 times for Fibaro sensor till it is recognized (both the sensor and USB key will blink to acknowledge),
- Once successfully connected, close the plastic cover and ensure it is locked securely.
Now you’re ready to mount the sensor. Choose a location that you would like to monitor. The sensor performs best when installed in the corner of a room or directly across from a door at least 8 feet above ground. It is also recommended to avoid sources of heat, direct light, and drafts.
To test range, press and hold the B-button until LED indicator blinks purple. Press and release the button again and wait for LED indicator displays one of the 4 colors to indicate if the sensor is withing your network's range.
In case it is not working read the manual: Aeotec Z-Stick Gen 5 user manual.
Installation of the VISION Z-WAVE PLUS ALARM
First, remove the bracket from the siren by pressing the locking tab and gently sliding the siren up. Insert the batteries watching for correct orientation. Next, choose a central location for the siren. Use the included screws or adhesive tape to affix the bracket to a flat surface.
Slide the front cover onto the siren — the LED should turn on and start flashing to indicate the siren is ready to be included to a new network.
Before including the device, please refer to your Z-Wave controller’s inclusion instructions as they may differ for each controller.
To include the siren into your Z-Wave network:
Exiting recognition mode
When all your device are recognized exit the recognition mode by pressing again on the USB dongle to exit the mode
Connect dongle now to Pi, insert SDcard and boot. It will take like 30 min to download everything from internet.
Go to add-ons and install as much as you may need, required for now are
- Binding - zwave
- Interface - HABmin (we will be using it later for Rules)
At this point you should get in Inbox the dongle recognized, add it, the port will be asked, use /dev/ttyACM0
Some seconds later all your device will appear in inbox, if not, use ssh connect to pi (login: pi/raspberry) and issue an
sudo init 6 or sudo service openhab restart
You will see lots of erratic behavior that only can be solved with a restart...
You should have all your Z-Wave sensor under "Things" added, set their name to something clearer like motion-sensor1
Bindings connect your smart home’s devices and technologies to openHAB.
Click on each of them, you will see their channels or capabilities, for each of them create "Items"
OpenHAB has a strict separation between the physical world and the application, which is built around the notion of “items” (also called the virtual layer).
Items represent functionality that is used by the application (mainly user interfaces or automation logic). Items have a state and are used through events. They can be read from, or written to, in order to interact with them.
Items can be bound to bindings i.e. for reading the status of e.g. a bulb or for setting it.
As soon as you create one items, you can see the state of that sensor in
http://openhabianpi:8080/paperui/index.html#/control or http://ip-of-pi:8080/paperui/index.html#/control
If only -NaN or NaN is displayed, you have to either wait or wake up the sensor by pressing once on it button near the dongle (less < 1 meter)
- Removing a "Things" do not remove its "Items" -> you need to manualy remove them
- sometimes you can remove a Things or Items, an error 404 is displayed in the right bottom corner, do a restart and these Things or Items wont be there
TO BE conitnued work in progress - not a final version
In previous Ubuntu version, just open a shell and run
sudo add-apt-repository ppa:costales/anoise sudo apt-get update sudo apt-get install anoise
Fixing Ambient Noise for Ubuntu 16.10 require for now to compile from source the application. Run these commands into a shell, first installing dependencies:
sudo apt-get install bzr gir1.2-gstreamer-1.0 python-gst-1.0 gir1.2-gtk-3.0 python-distutils-extra gir1.2-webkit-3.0
The sound indicator:
bzr branch lp:anoise cd anoise sudo python setup.py install --prefix=/usr
bzr branch lp:~costales/anoise/media cd media sudo python setup.py install --prefix=/usr
If you have a player in the sound indicator, it's done! If not, install the GUI:
bzr branch lp:~costales/anoise/anoise-gui cd anoise-gui sudo python setup.py install --prefix=/usr
you can now run anoise form terminal
or from menu
Get additional sounds for the appRiver by Lorenzo Carbonel
bzr branch lp:~costales/anoise/community-extension1 cd community-extension1 sudo python setup.py install --prefix=/usrDumptruck Idling, Fishing Boat, Diesel Motor, Forest Rain, Fountain, House Fan, Large Boat & Old Air Conditioner by Gordon
bzr branch lp:~costales/anoise/community-extension2 cd community-extension2 sudo python setup.py install --prefix=/usrBrow OSSL, Brow, Pink & White Noises by Stephen Andrews & Public Domain
bzr branch lp:~costales/anoise/community-extension3 cd community-extension3 sudo python setup.py install --prefix=/usr
Get new sounds from freesound.org and copy them into your ~/Anoise folderAdd comments
un V10 qui développe 540 CV et résonne comme une symphonie, l'ultra performante Audi R8 Spyder est à l'essai dans l'émission TURBO du 30 octobre 2016.Add comments
2017 Audi R8 Spyder V10 LED headlight System Animation
2017 Audi R8 Spyder V10 Plus In Red Color Test Drive, Exhaust Sound, and Interior
2017 Audi R8 Spyder V10 Plus In Vegas Yellow Color Test Drive, Exhaust Sound, and Interior
2017 Audi R8 Spyder - Audi Space Frame construction
According to DIN unladen weight without driver, the new Audi R8 Spyder tips the scales at just 1,720 kilograms; dry weight is a mere 1,612 kilograms. The key to this outstanding figure is the new multimaterial Audi Space Frame (ASF). It combines aluminum components with components made of structurally integrated carbon fiber-reinforced polymer (CFRP). The ASF in the new Audi R8 Spyder has a total weight of just 208 kilograms
2017 Audi R8 Spyder - drivetrain
The powerful mid-engine with dual injection system sets the tone in the new Audi R8 Spyder V10. The naturally aspirated 5.2‑liter engine has a dynamic throttle response. Its sporty sound – which can be optionally amplified by a sport exhaust system with gloss black tailpipe trims – is goosebump-inducing.Add comments