Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Suggest HOWTO

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 4th May 2007, 17:57
DVS DVS is offline
Join Date: May 2006
Posts: 34
Thanks: 0
Thanked 4 Times in 2 Posts
Default WiFi Hotspot (FreeRadius & PHPMyPrepaid)

Hey guys.

I've been struggling thru the (http://howtoforge.de/wifi_hotspot_setup) WiFi Hotspot How To for some time now and I'm getting nowhere.

The FreeRadius is not too much of an issue - it's the phpMyPrepaid I'm struggling with.

I was wondering if some one knows of an updated version to this how to because none of the links are working any more and phpmypp has updated since then (version 0.4 now), as well as freeradius. I also can't find some of the files that they refer to (like the mysql.db script you have to use at some point)

Is there some documentation that some body knows of perhaps? I would really appreciate some assistance...of any kind.

Yes the cabel IS plugged in this time...
Reply With Quote
Sponsored Links
Old 27th September 2007, 10:57
liquid.o liquid.o is offline
Junior Member
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default PhpMyPrepaid installation under Linux

I there,

I have found that PhpMyPrepaid have poor support on Internet and found interesting to have one spot such this to discuss installation problems concerning PhpMyPrepaid. In further, at the beginning I tried to install phpmyprepaid under Windows and have no success and switched to linux. It would be nice if we can open separate post for installing phpmyprepaid uder windows and possibilites. I know that author of phpmyprepaid dislike Windows.....which I understand but disagree.

So, to start I will submit my problem and hope somebody will answer.

Suse Linux, Apache224-SSL, Mysql5.1, PHP5, Perl, Freeradius 1.1.6 working with Mysql. All installed and configured to work.
Now I have installed db called "phpmyprepaid", populate it with tables using phpmyprepaid.sql script I have found in installation source and finally put in folder (subdirectory of web server) installation files of phpmyprepaid.

Now, I have search through .conf and .conf.php files under www folder inside phpmyprepaid and change every place where is mentioning username/password for Mysql server which is on localhost. In futher, for beginning I have put 777 right for root on phpmyprepaid folder including subfolders and files.

Next, I have started ...www/install/setup.php and answer on all questions that phpmyprepaid is asking for. ... including ADMINISTRATIVE username/password FOR PHPMYPREPAID. .... come to FINISH place and do what is instructed there to remove install directory and to change permitions to 755 for www folder of phpmyprepaid.

Now, when I try to LOGIN on phpmyprepaid I get nowhere with those warnings:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/local/apache2/htdocs/phpmyprepaid/www/phpmyprepaid.conf.php:12) in /usr/local/apache2/htdocs/phpmyprepaid/www/class/Session.class.php on line 19

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/local/apache2/htdocs/phpmyprepaid/www/phpmyprepaid.conf.php:12) in /usr/local/apache2/htdocs/phpmyprepaid/www/class/Session.class.php on line 19

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'daemon'@'localhost' (using password: NO) in /usr/local/apache2/htdocs/phpmyprepaid/www/class/MySqlDatabase.class.php on line 18
Error while connecting the sql server: Access denied for user 'daemon'@'localhost' (using password: NO)
First two warnings are doesn't bother me, and I am concerned about third warning since I am sure(!?) that I put username/password for Mysql on every single place I found... (can someone point out these files to be sure I didn't miss something there) and in furhter during setup.php procedure I was asked for username/password for Mysql server which I answered.

Now, with this Warning answer I am getting nowhere...

Can someone help me with this ?
Reply With Quote
Old 28th September 2007, 19:31
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Can you log in to MySQL on the shell like this?
mysql -h localhost -u daemon -p
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 7th October 2007, 12:50
liquid.o liquid.o is offline
Junior Member
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

I avoid this problem by switching to phpmyprepaid0.4b3.... the latest version...
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeradius + Mysql +dhcp3 eduardo28 Installation/Configuration 2 6th November 2007 08:26
phpMyprepaid & Freeradius config under Debian Camomille HOWTO-Related Questions 8 20th April 2007 17:06
wrt54g set up as hotspot Ovidiu Server Operation 4 13th March 2007 17:36
LAN and/or WiFi bandwidth Monitoring and authentication DVS Suggest HOWTO 2 1st November 2006 19:55

All times are GMT +2. The time now is 08:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.