LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to provide web login page for tenants of block of flats? (http://www.linuxquestions.org/questions/linux-software-2/how-to-provide-web-login-page-for-tenants-of-block-of-flats-577119/)

Maputosimon 08-14-2007 05:38 PM

How to provide web login page for tenants of block of flats?
 
Hi, i'm a complete Linux newbit, but it's been suggested that a low-end PC running Linux and some other software may help. Here's my problem:

I have a client who wants to control web access for tenants in blocks of flats.

We initially want an initial login page for the building, in the Landlord's own branding, where we can ask for uname/pwd, or allow them to just click an onwards button to get online.

The next stage is to give a similar start page, but on the right side will be building manager's notices, and on the left will be any email left from the building manager for that specific flat, for example their phone charges for that month.

We are on a tight budget and are trying to choose if we should get a pre-existing system, or invest time in building our own.

Any suggestions would be most appreciated! My forte is CCNA, and this whole side of things is new to me! the system has to be live a week from now.

thanks,

Simon.

tjyorkshire 08-14-2007 05:48 PM

Like having a proxy server that they have to login to to access the internet?

Also, how are they going to be connected? Wireless?

jiml8 08-14-2007 05:51 PM

I sell a website framework that will do what you want. In fact, that is what I intend it for. It is PHP and you get the source so you can alter it to suit yourself. Further, it will interface with my commercial product as well.

Sorry to the Mods if this sounds like an advertisement, but the question was asked and I am answering it.

You can find my site by going to my profile.

edit:

Upon review, it could be that I misunderstood. My template is a website template; looks like what you want may be a proxy server. Is that right?

Maputosimon 08-15-2007 06:00 AM

:) thanks guys..I think it is a proxy - we want them to be directed to this internal webpage when they fire up a browser, and only get forwarded onto the net once they've put in username/password and read any messages posted on that page.

TJ, the majority of the buildings we're condiering this for have got existing Cat 5e with one socket per flat going through some low-end rack-mounted switches on automatic into a standard four-port ADSL modem/router, or two of them from two lines.

Jim, all we're looking for in the first instance is a single page to a template, which I can just about manage with Dreamweaver or some other WYSIWYG. When we get to the level of wanting to put personal messages on that page which are different for each flat; that's when I'm out of my depth.

tjyorkshire 08-15-2007 08:32 AM

It would be easy enough to set up a proxy server in which the tenants would have to login (i think).

However, I see that you want the browser to direct them to a page once logged in. There probably is way of doing this from the proxy server, but at the moment i can't think of a way - unless each computer is set this page as the home page.

I'm guessing this may require the writing of a cgi script? I'm not too sure on all of this, and i could be completely wrong!

Is there anyone else with some less-vague ideas?

yanik 08-15-2007 09:03 AM

You want a captive portal. m0n0wall can do that.

See this screenshot of the m0n0wall captive portal setup: http://m0n0.ch/wall/images/screens/s...tiveportal.png

tjyorkshire 08-15-2007 10:02 AM

:p There you go! Someone who does know more about what you want than me!

I've just had a brief look at it and seems as though it is probably what you are looking for. It seems a very good option, and it looks like it has a GPL-ish type license too.

I think that would be a good choice! :)

yanik 08-15-2007 10:12 AM

It's based on freebsd

Maputosimon 08-15-2007 01:45 PM

Once again, humble thanks! I should have been clearer - what I meant was the I needed them to go to the login page before being given access to the net. Once they've logged in & seen the messages on that same login page, then they can browse anywhere!

I'll take a look at m0n0wall and freebsd.

Thanks again! :)
-----------------------------
EDIT: it seems ideal - only one snag, the client wants one authentication server which will be in a different geographic location to the buildings with LANs whose access we want to control, so the problem is how to get traffic from those DHCP LANs to the auth server, then out of the WAN port on the server back to each LAN's ADSL router? Sorry if this is too far off topic, but you guys are lifesavers thus far!


All times are GMT -5. The time now is 10:58 PM.