Link: Setting up a Raspberry Pi as a WiFi access point

Would you like to use your Pi as a WiFi router? Or maybe have it as a special filtering access point? Setting up a Pi as an access point (AP) is a bit more advanced than using it as a client, but its still only a half hour of typing to configure. If you want to, this tutorial will make it so the Pi broadcasts a WiFi service and then routes internet traffic to an Ethernet cable. Since its all Linux you can go in and update or configure it however you like.

I used the following pages as a guide to create this tutorial, please note many of them will not work completely, but check them out if you are interested!

Currently tested working on Raspbian only

Full article here:
Setting up a Raspberry Pi as a WiFi access point (Adafruit Learning System)

We would not purchase a Raspberry Pi solely for this purpose, since you can probably buy a dedicated router that will act as an wireless access point for less than the price of a Raspberry Pi, power supply, SD Card, and WiFi adapter. But if you already have a Raspberry Pi that is loafing along doing some task that doesn’t make full use of its capabilities, this might be an extra task you could give it, particularly if it happens to be in a spot where WiFi reception is a bit spotty.

Link: How to Setup a VPN (PPTP) Server on Debian Linux

VPN-ing into your server will allow you to connect to every possible service running on it, as if you were sitting next to it on the same network, without individually forwarding every port combination for every service you would like to access remotely.

Using a VPN connection also has the upshot of, if desired, granting access to other computers on the network as if you where in it locally from anywhere across the internet.

While not the most secure of the VPN solutions out there, PPTP is by far the simplest to install, configure and connect to from any modern system and from windows specifically as the client is a part of the OS since the XP days and you don’t need to mess with certificates (like with L2TP+IPsec or SSL VPNs) on both sides of the connection.

Did i get you interested? then let’s go 🙂

Full article here:
How to Setup a VPN (PPTP) Server on Debian Linux

Alternatives to the OS X “Time Machine” program for Ubuntu and other Linux users

Make Tech Easier has a few articles online that mention programs that Ubuntu users (and possibly users of other varieties of Linux) can install that more or less emulate the “Time Machine” feature of Mac OS X. The first article is from back in 2008:

Time machine For Ubuntu? Try Timevault and Flyback

The problem with the software mentioned in that article is that neither has been updated in years. However there is a much newer option, that would probably be the best choice for many users:

Automate Your System Backup With Back In Time

That one backs up your entire system, or anything you tell it to. The is one additional newer option:

Restore Your Linux System to Earlier Date with TimeShift

The problem with that one is that as the article explains, it will “…only backup and protect system files and settings. It doesn’t handle your data and document…” and apparently that’s by design. So if that’s what you’re looking for – and it could be useful, particularly if you like to try the latest and greatest versions of your system software – then go for it.

And yes, we are aware that some experienced Linux users will skip the GUI’s and just create their own backup schedules using rsync, but the problem with that is that a lot of newer Linux users just can’t seem to grasp rsync, nor do they want to. They just want a convenient backup program that’s at least somewhat akin to Time Machine on the Mac. And we’ve previously posted articles or links related to Grsync : Graphical rsync backup tool on Ubuntu (12.10 / 13.04 / 13.10), Redo Backup and GPartEd Live to backup a working system and restore it to a new (possibly larger) drive, and Disaster recovery with MondoRescue. So, there are many options out there for Linux users, and if you have a favorite one that we’ve missed (non-commercial only, please), feel free to leave a comment and let us know!

EDIT: Some additional links we’ve created or come across since this article was originally published:

Easy Linux backup software with Time Machine like functionality | Nuxified.org (TechNotes)
Link: Time Machine for every Unix out there (TechNotes)
Attic – Deduplicating backup program (Ubuntu Geek)
Backing Up on Linux with Duplicity (Linux.com)
Disk ARchive (dar) – “dar is a shell command that backs up directory trees and files, taking care of hard links, Extended Attributes, sparse files, MacOS’s file forks, any inode type (including Solaris Door inodes), etc. It has been tested under Linux, Windows, Solaris, FreeBSD, NetBSD, MacOS X and several other systems, it is released under the GNU General Public License (GPL).”
Relax-and-Recover – “Relax-and-Recover is a setup-and-forget Linux bare metal disaster recovery solution. It is easy to set up and requires no maintenance so there is no excuse for not using it.”
Rsnapshot (Rsync Based) – A Local/Remote File System Backup Utility for Linux (Tecmint)
Time rsYnc Machine (tym) – “A backup utility with the approach popularized by the Time Machine of Apple.”

Link: Linux ntopng – Network Monitoring Tool Installation (Screenshots)

Nowdays computers are connected between each other. From the small area such as your home Local Area Network (LAN) until the the biggest one which we call – Internet. When you are managing a network computer, you are managing one of the most critical component. Since most of developed application is web based application, the network between critical.

There is why we need a network monitoring tool. One of the best network monitoring tool is called ntop. From Wikipediantop is a network probe that shows network usage in a way similar to what top does for processes. In interactive mode, it displays the networkstatus on the user’s terminal. In Web mode, it acts as a web server, creating a HTML dump of the network status. It supports a NetFlow/sFlowemitter/collector, a HTTP-based client interface for creating ntop-centric monitoring applications, and RRD for persistently storing traffic statistics

Now after 15 years, you will find ntopng – the next generation ntop.

What is ntopng

Ntopng is a high-speed web-based traffic analysis and flow collection. Ntopng is based from ntop. It’s run on every Unix platform, MacOS X and Windows.

Full article here:
Linux ntopng – Network Monitoring Tool Installation (Screenshots) (LinOxide)

Note that according to the ntopng download page, in addition to Linux, ntopng “should virtually compile on any Unix/Win32 platform.” However, we don’t know of any specific instructions for those platforms at this time.

Link: How to Recover Accidentally Deleted Files Without Paying Outrageous Fees

You can’t always blame data loss on hardware failure. A clumsy user can be just as harmful. PhotoRec is a nifty little command-line based tool that can recover accidentally deleted files.

To use PhotoRec effectively you need to understand how the filesystem handles files. When you delete a file, it isn’t actually zapped into oblivion. Rather the file system just marks it as deleted, and makes the space the file occupies available to other files.

This means that until another app uses that recently freed-up space, the original file is still there, and can be retrieved by a file recovery tool. For this very reason, it’s very important that you immediately stop using the computer as soon as you realize that you have accidentally deleted files in order to minimize the interactions with the hard disk.

Note: PhotoRec is cross-platform compatible. For this tutorial, we will use a Linux (Ubuntu) system for illustration.

Full article here:
How to Recover Accidentally Deleted Files Without Paying Outrageous Fees (Make Tech Easier)

Link: How to install and configure Nagios on Linux

Nagios is one of the most powerful network monitoring systems, which is widely used in the industry. It can actively monitor any network, and generate audio/email warnings and alerts when any problem is detected. The check types and alert timers are fully customizable.

Another incredible capability of Nagios is that it can monitor both hosts and services e.g., it can monitor IP addresses and TCP/UDP port numbers. To explain a little, let us assume that there is a web server that we want to monitor. Nagios can check whether the server is online by running ping on the IP/name of the server as well as it can be set up to provide warnings in case the round trip time (RTT) to the server increases. Further, Nagios can also check whether TCP port 80 (web server) is reachable e.g., the server is online but Apache/IIS is not responding.

There are also 3rd party monitoring tools that are based on Nagios, such as Centreon, FAN , op5 Monitor, which supplement standalone Nagios engine in terms of interface, automation, and technical support.

This tutorial explains how to install and configure Nagios on Linux.

Full article here:
How to install and configure Nagios on Linux (Xmodulo)
Related:
Install And Configure Nagios on Ubuntu 14.04 LTS (Unixmen)

Link: How to Install and Configure UFW – An Un-complicated FireWall in Debian/Ubuntu

The ufw (Uncomplicated Firewall) is an frontend for most widely used iptables firewall and it is well comfortable for host-based firewalls. ufw gives a framework for managing netfilter, as well as provides a command-line interface for controlling the firewall. It provides user friendly and easy to use interface for Linux newbies who are not much familiar with firewall concepts.

While, on the other side same complicated commands helps administrators it set complicated rules using command line interface. The ufw is an upstream for other distributions such as Debian, Ubuntu and Linux Mint.

Full article here:
How to Install and Configure UFW – An Un-complicated FireWall in Debian/Ubuntu (TecMint)

How to use Wiconnect in Ubuntu Linux to set up a WiFi access point that Android devices can connect to (NOT an ad hoc network!)

If you run Ubuntu Linux, and you have a wired ethernet connection to your system, and it also has wireless connectivity, then at some time you might have tried to set it up as a WiFi access point.  And what you probably discovered is that you can create a WiFi access point using Ubuntu’s “Create New Wireless Network” panel, but unfortunately this creates what is termed an “ad hoc” network, and for reasons we don’t fully understand, Android devices and some other types of wireless devices apparently can’t connect to that kind of network.

Ubuntu's method for creating a WiFi access point will NOT allow Android devices to connect
Ubuntu’s method for creating a WiFi access point will NOT allow Android devices to connect

Why this should be so difficult in Ubuntu is hard to fathom because Windows users can easily set up an access point using Connectify.  This provides an actual access point.  It turns out that there’s a similar program for Ubuntu but it’s not well known, because it’s not in the official Ubuntu repository.  The program is called Wiconnect Infrastructure Wireless Connection Manager and it is described as follows:

Wiconnect is an infrastructure wireless connection manager built specifically for ubuntu. This is an Ubuntu’s open source alternative for connectify. It aims to provide network that is compatible with android devices.
current features:
– Compatible to connect with android devices
– Flexibility to change wifi username and password
– ability to check devices that connects to your wifi

future aim :
– ability to create repeater
– a much better gui
– ability to check devices that connects to wifi via device name and not mac address

The program is hosted on Launchpad and is available as a .deb file.  So, go to the download page and download the software to your system.  Then, double click on the file once it’s been downloaded, and Ubuntu Software Center will load and display this:

Wiconnect Install page as displayed in Ubuntu Software Center
Wiconnect Install page as displayed in Ubuntu Software Center

Again, just in case you didn’t quite understand what we wrote above above, you cannot at this time find Wiconnect by searching for it in the Ubuntu Software Center – you have to download the .deb file and then double click on it to cause Ubuntu Software Center to bring up the above page. Once you read the page, if you want to install the software, just click the Install button. Once the software is installed, you need to run it to configure it. We have Classic Menu Indicator installed, and it appears under Other | Wiconnect, but you can also start it by going to the Dash and typing in Wiconnect. The first screen you will see when you invoke the program is this:

Wiconnect Connection tab
Wiconnect Connection tab

Before you go any further, you should check your network connections and make sure that “Enable Wireless” is on (there should be a check mark next to it) but also make sure you are not actually connected to a WiFi network. Unless you have two network adapters, you can’t both be connected to a WiFi network and simultaneously acting as an access point.

Now on the Wiconnect Connection screen, click the About tab to bring up this screen:

Wiconnect About tab
Wiconnect About tab

Click the button that reads “How to use this software” – it should bring up a text file that will help you if you get stuck at any point. Now click the Connection tab to go back the original screen, and then click the Setup/Resetup Wizard button. It will then bring up several screens asking for information:

Wiconnect Root Password window
Wiconnect Root Password window
Wiconnect Root Password confirmation window
Wiconnect Root Password confirmation window

The above two windows are asking for the password you use on your system when installing new software or making system changes. Some of what it has to do requires root privileges, so that’s why it needs the password.

Wiconnect Wifi Settings
Wiconnect Wifi Settings

On the above screen it wants you to enter the name of wireless network as it will be seen on your WiFi devices, also called the SSID. Use something unique, but not too personally identifying, so that if you are in an area where there are multiple WiFi networks you will be able to easily find your access point. As for the password, this might be called either the “password” or “key” on some devices, but you should use a really strong one here if you don’t want to be hacked. If you don’t have a program that you can use to generate a truly random password, then search online for a random password generator. The longer and more random the password is, the better. Remember that if a hacker can see your access point, he can run a program that can try millions of password combinations over time, so don’t make yourself an easy target.

Wiconnect Connection Settings
Wiconnect Connection Settings

On the above screen you need to select your internet source, which in most cases will be your wired ethernet connection on eth0.

Wiconnect Save Root Password query
Wiconnect Save Root Password query

On the screen above, it is asking whether you want to be prompted to enter your password any time you make a change, such as starting or stopping your wireless access point. By saving the root password, it won’t ask for it each time, but as it notes, that is less secure. If you are not the only user of your system, you probably do not want to save the root password, so that no one else can start or stop your access point without your permission. After you have answered that question, you should see this screen:

Wiconnect Setup Completed screen
Wiconnect Setup Completed screen

This completes the setup but doesn’t start your access point. To do that, go back to the original window and select the Connection tab:

Wiconnect Connect Tab, updated with correct ssid name
Wiconnect Connect Tab, updated with correct ssid name

Note that the SSID name should now be showing the name you selected (if not, you might need to restart Wiconnect). Now click the Create Connection button. After several seconds, your access point should be operational. Whenever you want to turn it off, click the “Stop Connection” button. Note that if you answered “No” to the question about saving the root password, then you will be prompted to enter it each time you start or stop the wireless connection.

Note that if your device (that you want to connect to your access point) asks you to specify what type of connection this is, it will be something like “WPA/WPA2 PSK” – the exact terminology may vary but the most important thing is that it is WPA2.

In case you are wondering, the Advanced tab in Wiconnect looks like this:

Wiconnect Advanced Tab
Wiconnect Advanced Tab

The first four buttons give you the ability to change individual settings in the configuration without re-running the entire setup. The fifth lets you see a report of what is connecting to your access point at any given time – with one device connected, it looks like this (the MAC address in the image has been replaced by x characters for security):

Wiconnect "Who is connected to my WiFi?" Window
Wiconnect “Who is connected to my WiFi?” Window

Just as a final note, we used this with Ubuntu 12.04, the most recent LTS (Long Term Support) version of Ubuntu, and it allowed us to create an access point that an Android tablet could connect to. It’s not the most beautiful program out there, but at least for us, it worked, and that’s what’s important. We particularly appreciated the convenience of being able to start or stop the access point just by clicking a button. But just in case anyone can’t seem to make this work, here’s another article that shows a bit different method to achieve nearly the same result:

How to Set Up a Wireless Hotspot (Access Point Mode) That Supports Android in Ubuntu (WebUpd8)

Hopefully one of these two approaches will get your access point working!