Hi Derek,

                You should be able to access the status page even if you are 
already registered… this is the purpose of that page.
Also, that page will list your current registered devices and offers you the 
option to unregister some of them.

I see, that isn’t how I imagined it. For our environment we see users connect 
to the captive portal with a previously registered device, for a number of 
reasons. Sometimes accidental, sometimes because their device has become 
unconfigured somehow. It would have been helpful if these users could login 
somewhere within the captive portal to unregister their device themselves 
rather than having to call the helpdesk.

            Just to make sure, is this the message you are trying to get rid of 
? —> Your network should be enabled within a minute or two. If it is not reboot 
your computer.

Yep, that’s the one.

Cheers,
Andi

From: Derek Wuelfrath [mailto:[email protected]]
Sent: 08 December 2014 15:48
To: ML PF
Subject: Re: [PacketFence-users] redir.cgi

Hello Andi,

User connects to setup SSID, which sends them to the PacketFence captive 
portal. This has an automatic redirect to an internal web server with Xpress 
Connect config tools
User’s device is configured using Xpress Connect, which automatically sends the 
device to the eduroam SSID, which is controlled by PacketFence.
Using the built-in subroutine in /usr/local/pf/lib/pf/vlan/custom.pm we 
auto-register the users device using their dot1x credentials.

If this is not possible to work around then it’s no biggie, but it would save 
our helpdesk staff a lot of time if there was a way to allow users to 
unregister their own devices.

I understand that part. You should be able to access the status page even if 
you are already registered… this is the purpose of that page.
Also, that page will list your current registered devices and offers you the 
option to unregister some of them.

As for the “Sorry” error message. I have edited line 193-5 in 
/usr/local/pf/html/captive-portal/redir.cgi to show:

    193 pf::web::generate_error_page($portalSession,
    194   i18n("Your device is already registered. Please try connecting to 
eduroam and if this fails contact the IT Helpdesk and ask them to unregister 
your device.")
    195 );

I restarted the services after doing this, and it seemed to work for a short 
period (I have 3 PF environments, I could be confused here and it never 
worked), but now it shows the default Sorry message again and I can’t work out 
where it’s pulling it from.

Just to make sure, is this the message you are trying to get rid of ? —> Your 
network should be enabled within a minute or two. If it is not reboot your 
computer.

Cheers!
dw.

—
Derek Wuelfrath
[email protected]<mailto:[email protected]> :: 
www.inverse.ca<http://www.inverse.ca>
+1.514.447.4918 (x110) :: +1.866.353.6153 (x110)
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and 
PacketFence (www.packetfence.org<http://www.packetfence.org>)

On Dec 2, 2014, at 07:32, Morris, Andi 
<[email protected]<mailto:[email protected]>> wrote:

Hi Derek,
Workflow is as follows:

User connects to setup SSID, which sends them to the PacketFence captive 
portal. This has an automatic redirect to an internal web server with Xpress 
Connect config tools
User’s device is configured using Xpress Connect, which automatically sends the 
device to the eduroam SSID, which is controlled by PacketFence.
Using the built-in subroutine in /usr/local/pf/lib/pf/vlan/custom.pm we 
auto-register the users device using their dot1x credentials.

If this is not possible to work around then it’s no biggie, but it would save 
our helpdesk staff a lot of time if there was a way to allow users to 
unregister their own devices.

As for the “Sorry” error message. I have edited line 193-5 in 
/usr/local/pf/html/captive-portal/redir.cgi to show:

    193 pf::web::generate_error_page($portalSession,
    194   i18n("Your device is already registered. Please try connecting to 
eduroam and if this fails contact the IT Helpdesk and ask them to unregister 
your device.")
    195 );

I restarted the services after doing this, and it seemed to work for a short 
period (I have 3 PF environments, I could be confused here and it never 
worked), but now it shows the default Sorry message again and I can’t work out 
where it’s pulling it from.

Cheers,
Andi

From: Derek Wuelfrath [mailto:[email protected]]
Sent: 01 December 2014 20:53
To: ML PF
Subject: Re: [PacketFence-users] redir.cgi

So I found that the /status page is available in 4.2 and above, however we are 
utilising the dot1x auto-registration custom script here, and so the status 
page doesn’t have the desired effects.

I don’t have enough info on the workflow you use. If you don’t mind sharing, we 
might help you on that part.

 I get shown the AUP and asked to login, and after logging in I get pushed 
straight back to the “Sorry” message.

I’m still struggling to work out why I’m still seeing the default “Sorry” 
message when I’ve changed the test in redir.cgi.

Can you detail the modifications you made to the redir.cgi file ?

Cheers!
dw.

—
Derek Wuelfrath
[email protected]<mailto:[email protected]> :: 
www.inverse.ca<http://www.inverse.ca/>
+1.514.447.4918 (x110) :: +1.866.353.6153 (x110)
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu/>) and 
PacketFence (www.packetfence.org<http://www.packetfence.org/>)

On Nov 27, 2014, at 06:43, Morris, Andi 
<[email protected]<mailto:[email protected]>> wrote:

So I found that the /status page is available in 4.2 and above, however we are 
utilising the dot1x auto-registration custom script here, and so the status 
page doesn’t have the desired effects. I get shown the AUP and asked to login, 
and after logging in I get pushed straight back to the “Sorry” message.

I’m still struggling to work out why I’m still seeing the default “Sorry” 
message when I’ve changed the test in redir.cgi.

Cheers,
Andi

From: Morris, Andi [mailto:[email protected]]
Sent: 26 November 2014 09:31
To: 
'[email protected]<mailto:[email protected]>'
Subject: Re: [PacketFence-users] redir.cgi

Thanks Derek,
I have two PacketFence environments here, one is on 4.3 and the other 4.2.1. 
I’m not in a position to upgrade at the moment.

So essentially I still need to work out why my message from redir.cgi isn’t 
showing up.

I will look into that status page for my 4.3 environment however. That could 
prove to be very useful.

Cheers,
Andi

From: Derek Wuelfrath [mailto:[email protected]]
Sent: 25 November 2014 19:39
To: ML PF
Subject: Re: [PacketFence-users] redir.cgi

Hey Andi,

To bump an old thread, can anybody help here?

On version 4.2.1 I have edited line 194 from the “Sorry…” message to a message 
explaining to the user that they already have this device registered and to 
contact the helpdesk”. This seemed to work for a period of time, but for some 
reason the users that reconnect to the captive portal with a registered device 
have started to see the original Sorry message. Despite the edited text still 
being in the redir.cgi file.

I presume there’s somewhere else I need to edit this. Can anyone please point 
me at this?

Refering to that old thread, you were saying that you were now using 
PacketFence v4.3 or + (now using Catalyst application to handle the portal). 
Can you just confirm with me that it is the case ?

Also, is the ability for users to unregister their own devices on the roadmap 
at all?

It is part of PacketFence with the ‘status page’ feature.
If I not mistaken, it was part of 4.3

Cheers!
dw.

—
Derek Wuelfrath
[email protected]<mailto:[email protected]> :: 
www.inverse.ca<http://www.inverse.ca/>
+1.514.447.4918 (x110) :: +1.866.353.6153 (x110)
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu/>) and 
PacketFence (www.packetfence.org<http://www.packetfence.org/>)

On Nov 25, 2014, at 05:08, Morris, Andi 
<[email protected]<mailto:[email protected]>> wrote:

To bump an old thread, can anybody help here?

On version 4.2.1 I have edited line 194 from the “Sorry…” message to a message 
explaining to the user that they already have this device registered and to 
contact the helpdesk”. This seemed to work for a period of time, but for some 
reason the users that reconnect to the captive portal with a registered device 
have started to see the original Sorry message. Despite the edited text still 
being in the redir.cgi file.

I presume there’s somewhere else I need to edit this. Can anyone please point 
me at this?

Also, is the ability for users to unregister their own devices on the roadmap 
at all?

Cheers,
Andi

From: Derek Wuelfrath [mailto:[email protected]]
Sent: 17 September 2014 15:06
To: ML PF
Subject: Re: [PacketFence-users] redir.cgi

Hello Andy,

I am looking to modify the “Sorry! Your network should be enabled within a 
minute or two. If it is not reboot your computer” message as in our environment 
it is always shown when a user connects a registered device to the registration 
network. On my 4.2.1 environment I have successfully just changed the string 
within redir.cgi, but I’ve just gone to do this on my 4.3.0 environment and I 
see the captive portal file structure has vastly changed and there is no longer 
cgi created pages.

That’s right. We changed from perl cgi to perl Catalyst between the two 
versions.

Can anyone tell me where the string is to edit within the file structure of 4.3 
please?

Have a look at the following file / line.

/html/captive-portal/lib/captiveportal/PacketFence/Controller/CaptivePortal.pm:403

Cheers!
dw.

—
Derek Wuelfrath
[email protected]<mailto:[email protected]> :: 
www.inverse.ca<http://www.inverse.ca/>
+1.514.447.4918 (x110) :: +1.866.353.6153 (x110)
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu/>) and 
PacketFence (www.packetfence.org<http://www.packetfence.org/>)

On Sep 17, 2014, at 6:33, Morris, Andi 
<[email protected]<mailto:[email protected]>> wrote:




Hi,
I am looking to modify the “Sorry! Your network should be enabled within a 
minute or two. If it is not reboot your computer” message as in our environment 
it is always shown when a user connects a registered device to the registration 
network. On my 4.2.1 environment I have successfully just changed the string 
within redir.cgi, but I’ve just gone to do this on my 4.3.0 environment and I 
see the captive portal file structure has vastly changed and there is no longer 
cgi created pages.

Can anyone tell me where the string is to edit within the file structure of 4.3 
please?

Cheers,
Andi

-------------------------------------
Andi Morris
IT Security Officer
Cardiff Metropolitan University
T: 02920 205720
E: [email protected]<mailto:[email protected]>
--------------------------------------

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to