www.chilliwave.com
http://www.chilliwave.com/forum/

User Account stuck online
http://www.chilliwave.com/forum/viewtopic.php?f=31&t=1816
Page 5 of 7

Author:  Jellymonster [ Wed Jul 29, 2009 6:58 pm ]
Post subject: 

Done and rebooted!
All seems to be fine.

Good timing as I was just about to test different account types before going live.

Shall report back...

Thanks
Marc

Author:  Chuck D [ Wed Jul 29, 2009 7:01 pm ]
Post subject: 

awesome..... :wink:

that actually killed two birds with one stone right there and brought any older systems up to date with the other fixes we did for handling simultaneous logins with the same mac address.. You already had that it your 4.01, but who knows what all versions these other guys are running, and it really doesn't matter because this fix would work on all of our servers since way back when..

Just a little more info for the other guys..

Chuck

Author:  Chuck D [ Wed Jul 29, 2009 7:15 pm ]
Post subject: 

Now I am continuing to test this with various accounts attributes and I remember a post where somebody was stating that multi-use tickets did not work, and now I think they are correct, and I do not think it has anything to do with this issue we just fixed..

I think we need to also take a close look at the multi-use logic again, as I just made a two hour plan with multi-use set to on and it EXPIRED at two hours, and I still have plenty of time left on that account..

I will bring this up to Loren in the morning and we will figure this one out to, because I know it worked fine before, but something has broken it along the way..

more to come on that one too..

Chuck

Author:  webtron [ Wed Jul 29, 2009 8:36 pm ]
Post subject: 

Loren in a previous post you said to change simultaneous users inc-gateway/inc-function.php change line line 219. There is two other lines with simultaneous user in that file lines 121 and 352. Any idea what these lines are for? 352 looks like its for when creating quota plans but not sure on line 121.
A further to the post Loren made about where to change simultaneous users.
/var/www/admin/createuser.php line 195 for the default that comes up on the prepaid tickets.
/var/www/admin/addtimeduser.php line 211 for the default on "add user account"
Cheers

Author:  Jellymonster [ Thu Jul 30, 2009 2:22 am ]
Post subject: 

This seems to of fixed a previous problem I had with an account expiring as soon as the user logged in.
http://wifigator.com/gatorforum/viewtop ... ght=#17889

Also fixed users showing 'online yes' when they weren't.

Thanks team Gator!

One thing I noticed (maybe it existed before) is if I got straight to /admin/manage_users.php from being in the edit area of a hotspot/nasid, I get a totally different Manage User Accounts page. A simpler one with an 'Add Time' button and a trash can icon to delete the account. Also doesn't have the admin menu bar. And only lists the users for that Nasid.
The trash can icon on that page seems to be the only way to totally delete a user from the database.

Try this:
'Manage User Accounts' from top dropdown menu.
'Click Here' to edit for any user.
That'll take you to the edit page for it's Nasid.
Now just click back on your browser.
Different manage users page!

Useful though to totally trash a username and any previous online records.

Marc

Author:  brcjackson [ Thu Jul 30, 2009 3:43 am ]
Post subject: 

mmm, thats a great little tip :roll:

Author:  webtron [ Thu Jul 30, 2009 5:23 am ]
Post subject: 

Yes it should Carlo

Author:  jrichesin [ Thu Jul 30, 2009 4:54 pm ]
Post subject: 

WOW....that was a quick and easy fix...or at least Chuck and loren made it easy for us. I always just that the was a bogus field in the system but now it actaully works. Now if we could just have a feild to put the users name address and phone number in there. I currently have to keep an excel sheet with the mac addresses of my users that I have white listed so I know who they are. Great job everyone!

Author:  ezyfi-sc [ Thu Jul 30, 2009 6:56 pm ]
Post subject: 

Thanks, works like a charm

Author:  brcjackson [ Thu Jul 30, 2009 7:01 pm ]
Post subject: 

Thanks guys, works well - think that has sorted out a major issue for me :)

Author:  steven0 [ Fri Jul 31, 2009 12:14 pm ]
Post subject: 

Hi all, i have applied the patch, however there is a weird thing..

all the end time has the same value (per user)

m6c7sr 2009-07-31 18:52:40 0000-00-00 00:00:00 18 Minutes 0.64 MB 2.22 MB 00-1D-FD-64-E1-95 192.168.182.2
m6c7sr 2009-07-31 14:07:37 2009-07-31 14:23:22 16 Minutes 0.39 MB 1.69 MB 00-1D-FD-64-E1-95 192.168.182.7
m6c7sr 2009-07-30 17:28:41 2009-07-31 14:23:22 29 Minutes 0.66 MB 2.84 MB 00-1D-FD-64-E1-95 192.168.182.7
M6c7sr 2009-07-30 16:32:59 2009-07-31 14:23:22 19 Minutes 0.18 MB 0.43 MB 00-21-E8-5B-BF-48 192.168.182.6
m6c7sr 2009-07-30 13:08:04 2009-07-31 14:23:22 24 Minutes 0.34 MB 0.77 MB 00-1D-FD-64-E1-95 192.168.182.2
m6c7sr 2009-07-29 20:00:40 2009-07-31 14:23:22 19 Minutes 0.12 MB 0.26 MB 00-1D-FD-64-E1-95 192.168.182.3
M6c7sr 2009-07-29 19:37:43 2009-07-31 14:23:22 31 Minutes 0.99 MB 0.48 MB 00-21-E8-5B-BF-48 192.168.182.3
m6c7sr 2009-07-29 19:06:33 2009-07-31 14:23:22 23 Minutes 0.38 MB 1.27 MB 00-1D-FD-64-E1-95 192.168.182.2
M6c7sr 2009-07-29 18:24:55 2009-07-31 14:23:22 18 Minutes 0.30 MB 0.13 MB 00-21-E8-5B-BF-48 192.168.182.5
M6c7sr 2009-07-29 17:31:15 2009-07-31 14:23:22 33 Minutes 0.53 MB 0.60 MB 00-21-E8-5B-BF-48 192.168.182.4
m6c7sr 2009-07-28 19:40:18 2009-07-31 14:23:22 45 Minutes 0.33 MB 0.81 MB 00-24-9F-85-B8-B3 192.168.182.2
m6c7sr 2009-07-28 19:26:56 2009-07-31 14:23:22 47 Minutes 0.68 MB 1.89 MB 00-1D-FD-64-E1-95 192.168.182.2
m6c7sr 2009-07-28 16:30:28 2009-07-31 14:23:22 23 Minutes 0.24 MB 0.42 MB 00-1D-FD-64-E1-95 192.168.182.3
m6c7sr 2009-07-28 10:41:17 2009-07-31 14:23:22 16 Minutes 0.15 MB 0.36 MB 00-1D-FD-64-E1-95 192.168.182.3
m6c7sr 2009-07-28 10:35:56 2009-07-31 14:23:22 21 Minutes 0.30 MB 0.25 MB 00-21-E8-5B-BF-48 192.168.182.

Looks kinda funny, but do not think its supposed to be that way ;)
The spend time online seems to be right tough, and in some accounts it looks like the time is set normal

y69jsn 2009-07-31 14:21:07 2009-07-31 15:41:20 80 Minutes 2.62 MB 49.70 MB 00-1B-77-05-AE-EC 192.168.182.2
y69jsn 2009-07-31 09:23:16 2009-07-31 14:19:22 296 Minutes 14.68 MB 370.91 MB 00-1B-77-05-AE-EC 192.168.182.2

Anyone else seeing the same things ?

Am running a 3.4 btw
Greetings
Steven

Author:  webtron [ Fri Jul 31, 2009 3:01 pm ]
Post subject: 

Yes mine is the same, I think Loren just ran that time through all the accstoptime fields to clean it up on first run. The durations are correct so it wont affect anything just looks odd.

Author:  brcjackson [ Fri Jul 31, 2009 7:22 pm ]
Post subject: 

Whats got me confused is. I just had a user log into their single use account. If I click monitor users and then click his username, it shows a log of his accounting from 2 minuite. Why are there loads of records created with 00-00 00:00:00 when hes only be online for 2 mins?


Quote:
User Name Start Time Stop Time Session Time Traffic Out Traffic In Users MAC Address IP Address
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:07 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:06 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:06 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:06 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:06 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:06 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:06 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 1/08/2009 14:06 0000-00-00 00:00:00 2 Minutes 0.05 MB 0.28 MB 00-21-5D-6D-6D-0C 192.168.182.12
magnum4 31/07/2009 20:39 1/08/2009 1:12 273 Minutes 5.77 MB 38.63 MB 00-21-5D-6D-6D-0C 192.168.182.19

Author:  webtron [ Fri Jul 31, 2009 8:26 pm ]
Post subject: 

Mine just shows a single login and the time is ticking over normally. Looks like yours is creating a new entry every few seconds.

Page 5 of 7 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/