background preloader

Ubuntu

Facebook Twitter

» Embedding Network Camera Video on a Website Network Camera Critic. I’ve been asked many times, how do I embed the video from my camera on a public web page.

» Embedding Network Camera Video on a Website Network Camera Critic

It seems like it would be so simple, you can connect to your camera from a browser, how hard can it be to take that video and put it on a web page so it works with just about any browser. Here’s the problem, most network cameras spit out RTSP (Real Time Streaming Protocol), the standard for surveillance cameras but website don’t understand that protocol, so you have to convert it to a protocol acceptable to most web browsers and that’s RTMP (Real Time Messaging Protocol). How To : Turn the Raspberry Pi Into a Shaping WiFi Router » The Rantings and Ravings of a Madman. I recently got my Raspberry Pi to act as a WiFi Router with shaping by using hostapd, tc, and iptables together to broadcast as an Access Point, apply shaping rules, and apply packet marking respectively.

How To : Turn the Raspberry Pi Into a Shaping WiFi Router » The Rantings and Ravings of a Madman

This can be done on any device with 2 NICs but this may come in useful for anyone using the Pi as a router but doesn’t want people using all the bandwidth. I will be going through the iptables and tc configuration in this post, but I won’t go through the hostapd setup as that was the same as part 3 of my Raspi WiFi Access point guide. tc is the program that is in charge of setting up the shaping rules. Firstly, we will setup the default rule for the interface, which is wlan0 in this instance. Usb - Using the Raspberry Pi as a Router. I've been using my model B as a router with traffic shaping, using just the one Ethernet port it comes with.

usb - Using the Raspberry Pi as a Router

Here's a quick-and-dirty on how: Enable IPv4 Forwarding, so your Pi acts as a router by forwarding any traffic it receivesConfigure your Pi with static network configuration so it will not be influenced by DHCP changes suggested below. Here are the contents of my /etc/network/interfaces as reference: # pi@flux:/home/pi/projects/adsl/rrdlogger (master *) # cat /etc/network/interfaces auto lo iface lo inet loopback #iface eth0 inet dhcp iface eth0 inet static address 192.168.1.1 netemask 255.255.255.0 gateway 192.168.1.254 # IP of my ADSL router box allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp Now change your network's DHCP settings such that the default gateway/router is your Pi.

How to : Configure Ubuntu as a Router ~ Your Own Linux..! Introduction If you are having two network interface cards or some other component that connects you to the internet along with a network interface card installed in your ubuntu system, it can be transformed into an immensely powerful router.

How to : Configure Ubuntu as a Router ~ Your Own Linux..!

You can establish basic NAT (Network Address Translation), activate port forwarding, form a proxy, and prioritize traffic observed by your system so that your downloading stuff do not intervene with gaming. How to Create a Network Share Via Samba Via CLI (Command-line interface/Linux Terminal) - Uncomplicated, Simple and Brief Way! In this text, I teach how to create a network share via Samba using the CLI (Command-line interface/Linux Terminal) in an uncomplicated, simple and brief way targeting Windows users.

How to Create a Network Share Via Samba Via CLI (Command-line interface/Linux Terminal) - Uncomplicated, Simple and Brief Way!

All commands must be done as root (precede each command with 'sudo' or use 'sudo su'). Howto: Backup and restore your system! Systems Architect » Automated backups to Google Drive with PHP API. Where do you keep backups?

Systems Architect » Automated backups to Google Drive with PHP API

CronHowto. Cron is a system daemon used to execute desired tasks (in the background) at designated times.

CronHowto

A crontab file is a simple text file containing a list of commands meant to be run at specified times. It is edited using the crontab command. The commands in the crontab file (and their run times) are checked by the cron daemon, which executes them in the system background. Each user (including root) has a crontab file. The cron daemon checks a user's crontab file regardless of whether the user is actually logged into the system or not. Shell script to backup all of your SVN repositories. Quick Setup - SABnzbd. Windows & OSX Download the latest build listed on our download page.

Quick Setup - SABnzbd

For Windows we suggest the installer exe, for OSX we suggest the dmg. Ubuntu Linux (Releases after 9.04 Jaunty) Install from Apt: sudo apt-get install sabnzbdplus. Executing Linux / UNIX commands from web page. A Web interfaces is almost used by routers and many other sophisticated programs such as webmin.

Executing Linux / UNIX commands from web page

However, why go for a web interface or execute commands from web page? For automation purpose, you need to use a web interfaces. Another advantage is you can access your web-based interface from any computer, running any operating system, anytime in the world :D. Setting up Apache HTTP Server with SSL support on Ubuntu/Debian. I need to set up a server to host our subversion in a secured fashion and to make it available on the Web.

Setting up Apache HTTP Server with SSL support on Ubuntu/Debian

Therefore, I first install the Apache HTTP Server (httpd) and configure it to allow for SSL connections only. If there are mistakes in this post, please comment. How to Configure Apache Web Server on Linux : Tux Tweaks. I've shown previously how to install a LAMP server in Ubuntu. If the purpose of your LAMP installation was to set up your own web development environment, then you may want to do some further configuration to your system. This Apache howto is not intended to cover Apache configuration in depth. This is just some basic configuration to help you set up a web development environment in Linux. For more information, see the official Apache documentation.

How to Install And Configure Apache In Ubuntu. Transparent Multi-hop SSH. It is often necessary to SSH through one host to get to another host. This article will walk you through configuring SSH so that the intermediate step is transparent. Example Network For our example, we're going to use the network pictured below: From your computer at home you wish to log in to the host called 'tongariro' on the LAN at your office. All connections into the office LAN must pass through the firewall host 'aoraki'. How To Install Linux Kernel 3.11 RC2 On Ubuntu, Linux Mint, Debian & Derivates.

Hello Linux Geeksters. The second release candidate of Linux Kernel 3.11 has been released today. It brings some new features since the first RC version. For more information, see the mailing lists. In this article I will show you how to install the Linux Kernel 3.11 RC2 on Ubuntu 13.10 Saucy Salamander, Ubuntu 13.04 Raring Ringtail, Ubuntu 12.10 Quantal Quetzal, Ubuntu 12.04 Precise Pangolin, Linux Mint 16 Petra, Linux Mint 15 Olivia, Linux Mint 14 Nadia, Linux Mint 13 Maya, Debian Jessie, Debian Sid, Debian Wheezy, Debian Squeeze, Deepin, CrunchBang OS and many other Debian / Ubuntu derivates. Instructions for 32 bit systems. Install Linux Kernel 3.11 RC2: $ sudo dpkg -i *.deb. Linux and Open source How to configure postfix as smtp relay for Gmail on Archlinux.

Original article by AlexioBash, posted in Italian on the website It can be very convenient, for those who use services such as zoneminder, rtorrent, etc., to have a “Gmail Relay” to send maisl from your Gmail account. In this guide we will see how to configure postfix to send email with our account username@gmail.com. The guide is based on ArchLinux, but apart the installation of the packages, the configuration is the same also on other distributions such as Debian or Centos. As first thing we need to install the packages with : Once the installation is complete go into the directory where postfix keep its configuration files :

Using a dedicated Hard Drive. On many installs you may wish to dedicate a hard drive or partition for Zoneminder events. There are many reasons why you may want to change the storage location - security, data segregation, preventing encroachment onto OS partition by zoneminder etc. It's not terribly difficult to do, but may be non-obvious to the untaught so here's a brief guide. Install zoneminder (1.25) on ubuntu (12.04) CustomXSession.