Sunday, April 15, 2007

Internet wireless gateway with Fedora Linux ,Chillispot,FreeRadius and Apache

One of the projects I want to do is to create a wireless hot Spot and control the usage of it(bandwidth,sites users visit, place ad's(for not-for-Profit orgs)). With my limited knowledge of networking I couldn't do it in windows,so I chose Linux as my platform.

After spending more than 100 hours of my time,I finally made my wireless router to work.You should have seen the happiness in my face after the first client machine saw the ad and successfully logged into the wireless network,but there was a little disappointment because I didn't write the code for freeradius ,Apache, chillispot or Fedora Linux. But that's OK for now!

Ubuntu 6 blew my monitor,monitor got stretched horizontally I thought there was something wrong with the Linux video driver,but see the same after formatting and installing windows on the machine.Fortunately I had an extra monitor with which I continued my work.Ububtu didn't detect my second network interface card,so had to move with another flavor of Linux(Mandriva 2007 ).

Mandriva 2007 didn't recognize my NIC and load GUI after installation.Again moved to anther linux flavor (Fedora6).

Fedora6,installation didn't go well( detected my Dlink dfe 530tx NIC), during my package selection I was shown that 3 discs are needed to complete the installation.But installation never prompted me for other discs. After restarting the system, Linux couldn't load and this is what I saw on the screen.

99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
99 99 99 99 99 99 99 99

I thought there was some incompatability between my hardware and linux version and moved on with another version of Fedora(Fedora5 as Fedora6 detected my NIC dlink dfe 530tx+ rev d2).Installation went really well, then I installed chillispot,apache and freeradius as per the document provided by chillispot.http://www.chillispot.org/release.html#mozTocId388640.

Configaration was a breeze, thanks to Chillispot team for providing a complete installation document.

Hardware used:

Server:
Inspiron optiplex gx110
P3 1Ghz, 256Mb Ram, Intel network card(eth0), dlink dfe 530tx+ revd2.
ViewSonic E75F flatscreen monitor,dell quiet keyboard and two button microsoft mouse.
Software- Fedora Linux5 , ChilliSpot 1.0 Freeradius1.1.0,Apache 2.0

Routers/Access Points
Linkys BEFW1154 wireless 802.11b router
DLink 524+ wireless 802.11g router

Clients:
Inspiron dell 600m - WindowsXP
Precision M60 - WindowsXP
Optiplex gx270 WindowsXP

Network


No comments:

Post a Comment