[Request]Internet Metering Module for Cybercafes

A home for all kinds of Puppy related projects
Message
Author
User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

[Request]Internet Metering Module for Cybercafes

#1 Post by ecomoney »

Im helping co-ordinate the setup/de-windose of two puppy linux cybercafe's at some local charities. I intend to use them, with the blessing of the management, to research puppy usability on the general public, as well as an advertisement for puppies powers worldwide.

http://www.murga-linux.com/puppy/viewtopic.php?t=39321
http://www.murga-linux.com/puppy/viewtopic.php?p=296670

We were intending to purchase some sort of "box" with a coin slot that would sit between the computers and print numbered tickets, and control the internet access (£1/50p an hour discretionary), however this would be quite expensive, and would also not produce anything to help anyone else.

They are currently using a proprietary paid for cybercafe management app with no current equivelent on GNU/Linux. The project will be released under the GPLv2 licience.

I did think of hiring a commercial programmer to do this, but then I thought...well....commercial software :roll: Also I understand BarryK has been having problems with his internet access again...not good for puppy as we have seen.

I have put the idea to the management of the Mission (who were footing the bill) and they have agreed this would be a better way of proceeding. They are willing to make a £200UKP donation to BarryK towards his expenses.

Their windoze support contract is expiring at the end of the month, so this needs completing fairly quickly

Specification

Nothing is set...I am open to all suggestions about how best to implement this.

Two cybercafes exist, one in Immingham (operates 9-5, mon-sat - manned), one in Hull (operates 24/7/365 days of the year when not viruzed, unmanned evenings/nighttimes).

Completion of "Phase 1 will "unlock the cash", but I include the specs phase 2 as if it can be borne in mind then designing phase one it will be easier. Cash will be available for phase 2 also.

Equipment used

The computers are all pretty standard compaq ex-office pc's with 2.8 processors/512mb of Ram. They are netbooted with puppy (4 series) from a smoothwall router. The plan is for them to eventually not have hard disks at all (too many moving parts!). All ocmputers are wired by ethernet (eth0)

Phase 1 - Immingham

The desk/kiosk (not located in the main room) will have a small laptop computer (1.1mhz/256) connected to the smoothwall. It is hoped they will have a small printer to print "tickets". The user will then take the numbered ticket to the cybercafe room where they will enter the number into a computer of their choice to give them internet access for an hour (or however long they have paid for). There will be a human to take the money, although they are not particularly IT literate (i.e. not BASH users!). A front end GUI will be required to automate the ticket printing/number generation function. It is possible that the laptop will be linked to the network...though preferably not as it would mean running a huge cable (wireless is not reliable at the location because of the radar from ships!).

The user must have some kind of visual display of their time remaining (pWidgets?).

Phase 2 - Hull

This will be a fully automated system with a coin slot to collect money and print tickets...as attendents are not there on a nighttime/evening. The coin collection mechanism/interface will be an AK5 from weavefuture (I have a model here for testing). The manual for this can be downloaded from

http://www.weavefuture.com/pdf/

My own (newb) idea
I understand that unix/linux has some sort of hardware clock represented in digits ("unix_date"?), due to run out of digits in 2040 or something like that. This number represents the exact date/time with seconds. Could that number be used with some sort of algorithm to generate a code? This would be produced by the kiosk computer and "decrypted" by the client cybercafe p.c., that would open the net connection for an hour/set amount of time. It ould be ok if the ticket expired after about an hour it was generated....but the user must still be given the full hour/hours on the pc...the clock starts ticking from when they enter the code.


Internet access via cybercafe is probably going to enjoy something of a renaissance with the economic crash...so this is definitely some software that the Linux world should have.

Many thanks in advance :-)
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

ottod
Posts: 14
Joined: Thu 21 Sep 2006, 07:01

http://ccl.sourceforge.net/

#2 Post by ottod »

Linux libs for cybercafe control (client and server). Tests apps for the client and server are there too, supporting english and spanish only. Greetings.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#3 Post by ttuuxxx »

I've been to a few hostels while traveling when I was younger and some had timed internet, basically it was a mechanical metered box with the monitor cord pluged into it, and when there was like 2mins left you would here a click in the box warning you your time is almost up and then simply the monitor turned off, If you wanted more time, you place some more money in the box, if not then you walked away. This could work for any os, since its just a monitor switch powered by a gaming coinbox set by a 60min timer board.

anyways what your probably looking for is software like
http://freshmeat.net/projects/zybacafe

http://freshmeat.net/projects/ppa

The links a there because I like Barry, but your going to have to dust off your own compiler.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#4 Post by ttuuxxx »

http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Ray MK
Posts: 774
Joined: Tue 05 Feb 2008, 09:10
Location: UK

#5 Post by Ray MK »

Hi

Hope this is not considered too dim - we have Ptimer, Pschedule & stopwatch built in to Puppy - could they be used by the somebody in the office from a remote PC or laptop, (with some demon tweaking and additions by those on this forum that know how), to control internet access on the various PC's?

The client pays his money, Ptimer/Pschedule is started and stopwatch shows client time ountdown on screen. (or via pwidgets?)

Hope that stimulates some brain-buds (or maybe give's someone a good laugh)


As always - best regards - Ray

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#6 Post by ecomoney »

Yes, I will let zigbert know about this thread 8)
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#7 Post by Aitch »

Monitor switching...

A few relays , a few of these,

http://www.maplin.co.uk/free_uk_deliver ... _37769.htm

and a timer circuit, or two, plus a bit of software in basic......

seems cheap enough?

However, I'd have thought you'd need to have remote reboot -ability, for the people who leave in disgust?

What happens on that other OS?

Never used an internet cafe.....

Aitch :)

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#8 Post by ecomoney »

What happens on that other OS?
It crashes....a lot.

Going going....I dont want to have to offer this to the Smoothwall crowd.....
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#9 Post by ttuuxxx »

ecomoney wrote:
What happens on that other OS?
It crashes....a lot.

Going going....I dont want to have to offer this to the Smoothwall crowd.....
Well I gave you links to tons of software, and well??? any ideas or are you just being to lazy to report your findings again? I can't read your mind, neither can anybody else, do your homework and get back to us on what you think about what software, and try to stay away from python.
ttuuxxx

Ps if I help you I want 1/2 towards Barry and 1/2 towards Eric/puppy linux.ca for all his server cost.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#10 Post by ecomoney »

Its done already.

None of the software on those lists have been worked on in years Ttuxxx, and it all relies on a persistant installation on the client machines. The cybercafe netboots. Did you read the spec and look into how the packages function before posting the links? I need a developer who understands real world requirements as well as/if not better than code. Ive sent some PM's to various people who fit the bill.

This is going to be a custom Job unless a more suitable package can be found. I would like it to benefit all puppy users. The recession is going to mean that a lot of people will have to get their information/internet access from cybercafes, running on old kit. A perfect role for puppy to play.

I do agree though Ttuxxx, Erics contribution is very valuable to our community too, along with BarryK's no-nonsense approach and years of wisdom. I will bear Caneri's work in mind to benefit from future projects. I will be getting the support contract at the cybercafe once it is installed so there will be cash to go towards things like that.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

atitude

#11 Post by raffy »

ecomoney wrote:I need a developer who understands real world requirements as well as/if not better than code.
This puppy has an attitude. :roll:
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#12 Post by MU »

I have written a prototype from scratch using Genie, and sent a first test version to Rob.
It includes no source code yet, it is just to check, if it vaguely meets his needs.

If that is the case, I would update it, and send him an updated version with full source to be released under the GPL.

It took several hours to get it working, and required updates certainly will need more time.
So if Rob decides to use this program, I would charge 150 Euro for the development.

Any more money, that Rob can get from the mission for the project, would go to Barry to support him, too.
E.g. if it stays with the announced amount of 200 Pounds:
200 Pounds = 220 Euro -150 Euro development = 70 Euro donation.
If a higher amount could be aquired, like 250 Pounds, this would mean:
250 Pounds = 280 Euro -150 Euro development = 130 Euro donation.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#13 Post by ecomoney »

I am very happy youve decided to take the job Mark. The anoubt you request is more than reasonable.

I will contact the mission today with the good news, and get a financial payment as close to the true value of your contribution as I can. I fear the current economic system is unable to represent fully that with just a single number, however high :D
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#14 Post by cthisbear »

No big drumrolls.

MU just does it.
A quiet achiever.

Nothing more to be said really.

Chris.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#15 Post by MU »

well first check out please, if it meets your needs ;)
I'll add changes, if required.
As long, as they would not get too complicated/time consuming.

So if you think, it is far away from matching your needs, no payment is required - this is why I announced it as prototype.

If you think, it can be enhanced with a reasonable amount of time, we continue to finish it, and can go to the financial steps.

Now off for school, see you later at afternoon.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

ragaman
Posts: 186
Joined: Sun 14 Jan 2007, 12:55

#16 Post by ragaman »

How about Cafe Con Leche? It is in wide use by internet cafes using Ubuntu in the Philippines. Here's the link:

http://ccl.sourceforge.net/

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

#17 Post by gposil »

A fellow Lazarus developer has something that maybe of interest.

http://outkastsolutions.co.za/outkast/i ... id=outkafe

Hope this helps
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#18 Post by ecomoney »

Ragam, thank you I had looked at this...it looks ideal apart from one major problem...

http://ccl.sourceforge.net/index.php?page=doc

Outcast hasnt been developed for three years. :cry:
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

ragaman
Posts: 186
Joined: Sun 14 Jan 2007, 12:55

#19 Post by ragaman »

Lol...major problem.

Anyways, here's a link that discusses CCL, for what it's worth...

http://ubuntuforums.org/showthread.php?t=777093

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#20 Post by ecomoney »

Thank you all for your contributions. The cybercafe is now up and running in a preliminary state.

ragaman, I found a JAVA package on the post that you sent on the ubuntu forums

http://www.dijitanix.com/

Thank you for that. It makes a good interim solution. Its major problem is that it needs client software to be installed. Many of the cybercafe's customers bring their own laptops (they use ethernet cables that are available out of the sides of the cafe). Currently there is no way of charging for these connections (apart from insisting they install Puppy!).

On the second viewing (now I have greater experience of the environment of the cybercafe itself), the only way I see that a fully chargeable system could be implemented is to put the software on the central Smoothwall machine, which gives out i.p. addresses to all who connect. This would need to redirect all internet requests to a page where a password/passkey could be entered to enable access. Current no Smoothwall MOD exists for this. :cry:

Just to clarify my "plan" for this project...I wish to release a modified smoothwall that will netboot puppy linux onto thin clients, creating an "instant cybercafe". AFAIK no other distro/distro combination is capable of producing this and would I think be much in demand, as weell as being a great way of promoting puppy linux.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

Post Reply