Using iptables and PHP to create a captive portal

There are various captive portal software packages available (both free and open source) that will allow you to setup an internet access facility that people have to logon to first. None of the packages I tried did what I wanted and they were not particularly customisable. Therefore I created my own, using a few iptables rules and PHP (along with a handful of other standard packages). This page details the steps that were taken. The key to this method as opposed to other iptables based solutions is that tracking information is removed after the user has signed up. Failure to do this will sometimes cause the user to still be redirected to your logon page even after they have signed up.

via Using iptables and PHP to create a captive portal – Andywiki.

Captive portals allow for a splash screen to be delivered to a user upon entering an open network such as free wifi hotspots at various establishments.  This portal typically shows terms of service and displays some branding.  The user hits OK and then they’re free to use the network.  I find this burdensome but in the world of branding and advertising I can understand why places may want this.  I found the above iptables only solution with some PHP interesting.  Here’s another site.

For Squid users it appears to be even easier by only requiring some configuration changes.  See  Portal Splash Pages for more information.

Syncing an Android Tablet to a PC

Android tablets don’t have an automatic method or desktop management software to sync your files from the device to a personal computer. However, there is a way to do it manually, a process which requires mounting the device so the computer recognizes its file system, then moving pictures, videos and other data to the computer’s local hard drive.

via Syncing an Android Tablet to a PC | Chron.com.

This entire site seems like a good reference on many topics relaing to  using tablets based on android.

Build a Skype Server for Your Home Phone System

Configure Linux to Work with Skype

I’ll assume that because you’re a Linux Journal reader, getting Fedora Core 3 up and running on your Skype server is a no-brainer. The only important thing to remember is that Skype is a Qt application (though it’s also available in a version with Qt statically linked), and the Skype API uses D-BUS. Also, disable the screensaver (after all, there won’t be any screen to “save”) and power standby features as these may interfere with Skype.

Here’s a step-by-step guide to setting up Linux to work with Skype (it assumes you have set up a Linux user account named skype for the purpose):

via Build a Skype Server for Your Home Phone System | Linux Journal.

Building a wisp

This guide shows the basic requirements and steps to build a WISP (Wireless Internet Service Provider) using Ubiquiti AirMax devices; suggested equipments and examples are intended for a system of up to 400 subscribers based on a single Base Station and “centrally managed” from the principal router. It covers the following themes: basic legal and commercial requirements, required equipments and basic services on the Base Station, clients’ configuration and general recommendations for starters.

via Building a wisp – Ubiquiti Wiki.

Connect Two Wireless Router Wirelessly

You can setup a wireless connection between two routers only so that it will link a wireless network to a wired network allowing you to bridge two networks with different infrastructure. You can find wireless access points products that offer either a “bridge” mode or a “repeater” mode. In this post I’m going to explain three popular open source choices that can be used for setting up a wireless bridge.

via HowTo: Connect Two Wireless Router Wirelessly ( Bridge ).

Engineers Build Supercomputer Using Raspberry Pi, Lego

The team is wanting to see “Iridis-Pi” become an inspiration for students to enable them “to apply high-performance computing and data handling techniques to tackle complex engineering and scientific challenges.”

via Engineers Build Supercomputer Using Raspberry Pi, Lego – ParityNews.com: …Because Technology Matters.

Howto is here.

Steps to make a Raspberry Pi Supercomputer

The steps to make a Raspberry Pi supercomputer can be downloaded here: Raspberry Pi Supercomputer (PDF).

You can also follow the steps here Raspberry Pi Supercomputer (html).

Using the Google Nexus 7 Tablet as a Phone, For Free (+ a Privacy Hint)

In short, yes, even though the N7 doesn’t obviously have phone-related user interfaces, you can use the N7 as a phone for both outgoing and incoming calls via VoIP, and this can be accomplished completely for free via Google Voice accounts.

The fairly easy steps:

Obtain and install the GrooVe IP Lite (GIPL) app via Google Play. This version is free and has everything you need for this situation. You still might wish to purchase the full version for $5 to support the fine work of the developer.

via Lauren Weinstein’s Blog: Using the Google Nexus 7 Tablet as a Phone, For Free (+ a Privacy Hint).

Raising the dead: Can a regular person repair a damaged hard drive?

This is a story of my efforts to repair the drive myself, my research into the question of whether or not users can repair modern hard drives, and the results of my efforts. If your drive is still detected in BIOS, you may be able to use software tools to retrieve your data. Here, we’re going to focus exclusively on hardware-related failures, and what your options are.

via Raising the dead: Can a regular person repair a damaged hard drive? | ExtremeTech.

Surf the internet for more than two minutes, and you’ll find people who recommend you do one of the following things:

  • Stick your hard drive in the freezer
  • Pop your hard drive into the oven
  • Give it a few taps with a hammer or rubber mallet

LOL. I have been desparate to try the freezer trick a couple of times without luck.

The technologist’s guide to troubleshooting hardware

PCs are always getting simpler and more streamlined, but there are still a lot of different parts to most of them, which means that there is a lot more that can go wrong with them. We’ll go through potential problems component by component, matching symptoms to issues and telling you the best way to inform your friend on the other end of the phone. Pay attention here, because many of these symptoms and procedures are also going to be useful when troubleshooting Macs, phones, and tablets.

via The technologist’s guide to troubleshooting hardware | Ars Technica.