Ubuntu 8.04 Hotspot Introduction June 6th, 2010
Note: This howto has been tested and works for Ubuntu 8.04 Hardy Heron server editions for other vesions of ubuntu see WifiDocs/ChillispotHotspot
Chillispot is software which provides authentication and restricted network access to clients. Its primary use is in wireless (WiFi) networks.
For instance, suppose you are managing a wireless network in a hotel: the access points are connected via the wired LAN to a server which works as a gateway, firewall, DNS server, etc. Now you want the same server (either because it’s desirable or because it’s required by your nation’s law) to require authentication from all clients, possibly without messing around with the configuration of the access points. And maybe you even want users to be able to browse some sites (i.e. an internal web server or the hotel web site) without the need to authenticate themselves. Chillispot lets you manage all of this, and some more.
Please take a look at the Chillispot.info web site to see how the software works. In a few words, hillispot creates a virtual private network (192.168.182.0/24, but you can change this default setting) which it uses to dialogate with the clients and to decide who and how to let to see the outside network. Chillispot manages the allocation of dynamic IP addresses to clients, so you don’t need other DHCP tools.
| As of mid 2007, ChilliSpot appears to be dead. The developer Jens Jacobsen had vanished, and the chillispot.org domain lapsed, but chillispot.info is a copy (with ads inserted) of the original site. CoovaChilli has forked from ChilliSpot 1.0 and its development also continues with an active user-base. |
Requirements
The following software is required for this installation:
- Chillispot
- FreeRadius
- Apache
- MySQL Read the rest of this entry »
Posted in Networking, debian, linux, ubuntu | 6 Comments »
Linux tftp Server For Diskless Clients June 4th, 2010
Diskless client can be very useful for educational institutes, testing setups or the networks that have limited hardware resources available with them. Linux offers a robust diskless environment that can be configured on CentOS with ease.
Server Setup
To configure server we need (NFS, xinetd, tftp and dhcp server). I hope all these services already installed in your system. If you do not find these services in your system you can install all of them as follow
Create a directory on the NFS server to contain the diskless environment such as /diskless/i386/TECHBABU/ e.g
mkdir -p /diskless/i386/TECHBABU/snapshot
In the above configuration I have selected (TECHBABU) as operating identifier. You can change according to your need.
Configuring the NFS Server
Edit file /etc/exports
/diskless/i386/TECHBABU/snapshot/ *(rw,sync,no_root_squash)
Next we need to start NFS Server
Let’s copy a running Linux OS in diskless environment through rsync utility. For example: Read the rest of this entry »
Posted in CentOS, Networking, fedora, linux | No Comments »
Installing a Media Server On Linux Server June 4th, 2010
Linux media server for music allows users to save space on their PCs. The Firefly Media Server (previously called mt-daap) is fast DAAP server which is easy to install and configure. Firefly needs a simple Linux machine which in our case is Ubuntu Server.
The Firefly server has the following features:
- Supports Unix/POSIX
- On the fly transcoding of OGG, FLAC, Apple Lossless, and WM
- User-created smart playlist support
- Integrates with iTunes and many other DAAP-supporting media players
- Serve streaming radio stations
Installation
Configuring Media Server
There is no lengthy configuration required. We only need to to create an directory for our media files. For this just find mp3_dir keyword from media server configuration file /etc/mnt-daapd.conf
In my system’s configuration I have found (/home/media/music). Now lets create this directory.
Posted in CentOS, Networking, debian, fedora, linux, ubuntu | No Comments »
Easy Text Processing in Linux/Unix June 4th, 2010
Text processing in Linux can be done using sed, cut, grep commands and with vi editor. We can find and replace a string, find and delete string etc.
Finding IP Addresses from Apache Log file through cut command
- The -d ‘-’ refers to delimeter –
- The -f1 is for first field in Apache log file
Remove particular IP Addresses from Apache log through sed command
- The -ie refers to inline edit in file
- The ‘/^10 indicates that IP must start with 10
- The \ indicates that special character . is text
- The /d indicates that delete this line
Remove lines containing a key word through sed
- The 1,30 refers to first 30 lines
- The {/index/d} indicates delete lines containing word “index”
Remove blank lines from a text file using vi editor
- The g refers globally
- The ^$/ d indicates delete blank lines
Remove special character # from a text file using vi editor
- The $s/ refers search from start
- The \# indicates take # as character
- The //g replace it with nothing i.e remove character
source here
Posted in CentOS, Networking, debian, fedora, feebsd, linux, ubuntu | No Comments »
FreeBSD Vs Linux Who is Best ? June 4th, 2010
Both FreeBSD & Linux are reliable and Servers running either software often stay up for years. But disk I/O of linux is non-synchronous by default which corrupts filesystem after system crash.
Freebsd’s disk I/O is high performance for transactions based applications for example databases. It is observerd that under heavy network load, the network performance of linux is 20-30% below of Freebsd under same hardware.
Being open source Linux allows anyone to change security code due to which code is modified rapidly and there is no formal code review policy. On other hand FreeBSD security components are checked for errors. Freebsd includes very robust packet filtering firewall system. Linux ext2/ext3 has several new journaling filesystems which fix data loss due to system crash. While FreeBSD uses UFS(Unix File System) which is more complex than ext2/ext3. UFS has many flags to use for performance and security for example schg flag does not allow to change file & directory unless you remove it.
Device Driver support of Freebsd is better than Linux. FreeBSD boot loader allows to load drivers at boot-time. Some time it becomes very difficult for linux users to use vendor’s drivers. Freebsd can run programs compiled for linux, SCO Unix and BSD systems. But Linux can only run binaries that are compiled for linux. Freebsd has many GBs of free packages to install via ports (Package management system of Freebsd). Linux has also free available software but Linux has not a central location like ports collection. of Freebsd.
Several organizations give professional support for both Freebsd & Linux. All the major Linux vendors offer some level of support, and several offer full 24/7 service. There are many forums where Linux questions are answered for free.
Both FreeBSD & Linux can be installed on as many systems as you like for no additional cost. Both Linux & Freebsd’s total cost of ownership is very low.
So if you are planning to deploy a transactional applications then for the best performance Deploy FreeBSD for example Email services & Database applications.
Please give your opinion, reviews & comments to select between 2 open source Operating systems FreeBsd & Linux so that we may focus to post more information about OS you like.
source here
Posted in CentOS, debian, fedora, feebsd, linux, ubuntu | No Comments »
