Discussion:
[PacketFence-users] Customizing device registration process
Michael Newton
2017-05-16 23:05:11 UTC
Permalink
Hi all, just wondering how to configure the device registration process. Is
it done through the web interface like the captive portal
modules/profiles/pages? Or does one simply edit the files in
/usr/local/pf/html/captive-portal/templates/device-registration/ to suit?
There is no mention of how to do this in the manuals. Thanks!

Mike
Scott Bodeen
2017-05-17 10:44:49 UTC
Permalink
Mike,

You should be able to do most of what you need from the web interface via
Portal Modules and Portal Profiles.
Post by Michael Newton
Hi all, just wondering how to configure the device registration process.
Is it done through the web interface like the captive portal
modules/profiles/pages? Or does one simply edit the files in
/usr/local/pf/html/captive-portal/templates/device-registration/ to suit?
There is no mention of how to do this in the manuals. Thanks!
Mike
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Scott R. Bodeen
Network Administrator
Regional School Unit 1
207.443.8253
--
*The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. If you received this in error, please contact the
sender and delete the e-mail and any attachments from any computer.*
Michael Newton
2017-05-17 14:31:19 UTC
Permalink
Thanks for the reply Scott. Do you have any step-by-step instructions for
that? Specifically I'm wondering is it a new root module I create or do I
add something to the captive portal one? And how do I link that module to
the registration process? Registration setup is little more than a checkbox
to enable. Thanks

Mike
Post by Scott Bodeen
Mike,
You should be able to do most of what you need from the web interface via
Portal Modules and Portal Profiles.
Post by Michael Newton
Hi all, just wondering how to configure the device registration process.
Is it done through the web interface like the captive portal
modules/profiles/pages? Or does one simply edit the files in
/usr/local/pf/html/captive-portal/templates/device-registration/ to suit?
There is no mention of how to do this in the manuals. Thanks!
Mike
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Scott R. Bodeen
Network Administrator
Regional School Unit 1
207.443.8253
*The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. If you received this in error, please contact the
sender and delete the e-mail and any attachments from any computer.*
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
--

Michael Newton
Director, Product Development
Point of Presence Technologies
*You manage your business. We’ll manage your network.*
206-1110 Government Street, Victoria BC V8W 1Y2
T: 250-412-6688 x 7040
***@pofp.com | www.pofp.com
Scott Bodeen
2017-05-17 16:05:03 UTC
Permalink
Mike,

Unfortunately I haven't written any instructions for this. The
documentation is lacking in this area, so it was mostly trial & error for
me.

I did create two additional root portal modules and authentication portal
modules. One used by our computer labs and the other one for devices that
have been assigned to staff and students. We use the default module on
personal devices. The modules are configured in a way so that lab devices
are only presented with an AUP, assigned devices have to be authenticated
with network credentials, and personal devices can authenticate with either
network credentials or as a guest.

We use different IP ranges for different device types. Based on that info
one of the three captive-portals will appear depending on a device's IP
address.

We're not doing anything fancy with PacketFence at the moment, strictly
just web auth. Our firewall redirects all unauthenticated users to
PacketFence and then after authentication PacketFence updates the firewall
via RSSO.

-Scott
Post by Michael Newton
Thanks for the reply Scott. Do you have any step-by-step instructions for
that? Specifically I'm wondering is it a new root module I create or do I
add something to the captive portal one? And how do I link that module to
the registration process? Registration setup is little more than a checkbox
to enable. Thanks
Mike
Post by Scott Bodeen
Mike,
You should be able to do most of what you need from the web interface via
Portal Modules and Portal Profiles.
Post by Michael Newton
Hi all, just wondering how to configure the device registration process.
Is it done through the web interface like the captive portal
modules/profiles/pages? Or does one simply edit the files in
/usr/local/pf/html/captive-portal/templates/device-registration/ to
suit? There is no mention of how to do this in the manuals. Thanks!
Mike
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Scott R. Bodeen
Network Administrator
Regional School Unit 1
207.443.8253
*The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. If you received this in error, please contact the
sender and delete the e-mail and any attachments from any computer.*
---------------------------------------------------
---------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot______
_________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
--
Michael Newton
Director, Product Development
Point of Presence Technologies
*You manage your business. We’ll manage your network.*
206-1110 Government Street, Victoria BC V8W 1Y2
T: 250-412-6688 x 7040
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Scott R. Bodeen
Network Administrator
Regional School Unit 1
207.443.8253
--
*The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. If you received this in error, please contact the
sender and delete the e-mail and any attachments from any computer.*
Michael Newton
2017-05-17 16:54:22 UTC
Permalink
Ah, sorry I am actually not talking about a captive portal at all, but the
device registration page at https://YOUR_PORTAL_HOSTNAME/device-registration
(page 69 of 6.5.0 manual.) This is for an already authenticated user to add
the MAC address of e.g. a game console or printer, so it can get access to
the network under their user account. I suspect editing the HTML directly
will be the way to go. Thanks anyway for the reply!

Mike
Post by Scott Bodeen
Mike,
Unfortunately I haven't written any instructions for this. The
documentation is lacking in this area, so it was mostly trial & error for
me.
I did create two additional root portal modules and authentication portal
modules. One used by our computer labs and the other one for devices that
have been assigned to staff and students. We use the default module on
personal devices. The modules are configured in a way so that lab devices
are only presented with an AUP, assigned devices have to be authenticated
with network credentials, and personal devices can authenticate with either
network credentials or as a guest.
We use different IP ranges for different device types. Based on that info
one of the three captive-portals will appear depending on a device's IP
address.
We're not doing anything fancy with PacketFence at the moment, strictly
just web auth. Our firewall redirects all unauthenticated users to
PacketFence and then after authentication PacketFence updates the firewall
via RSSO.
-Scott
Post by Michael Newton
Thanks for the reply Scott. Do you have any step-by-step instructions for
that? Specifically I'm wondering is it a new root module I create or do I
add something to the captive portal one? And how do I link that module to
the registration process? Registration setup is little more than a checkbox
to enable. Thanks
Mike
Post by Scott Bodeen
Mike,
You should be able to do most of what you need from the web interface
via Portal Modules and Portal Profiles.
Post by Michael Newton
Hi all, just wondering how to configure the device registration
process. Is it done through the web interface like the captive portal
modules/profiles/pages? Or does one simply edit the files in
/usr/local/pf/html/captive-portal/templates/device-registration/ to
suit? There is no mention of how to do this in the manuals. Thanks!
Mike
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Scott R. Bodeen
Network Administrator
Regional School Unit 1
207.443.8253 <(207)%20443-8253>
*The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. If you received this in error, please contact the
sender and delete the e-mail and any attachments from any computer.*
---------------------------------------------------
---------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot______
_________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
--
Michael Newton
Director, Product Development
Point of Presence Technologies
*You manage your business. We’ll manage your network.*
206-1110 Government Street, Victoria BC V8W 1Y2
T: 250-412-6688 x 7040 <(250)%20412-6688>
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Scott R. Bodeen
Network Administrator
Regional School Unit 1
207.443.8253 <(207)%20443-8253>
*The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. If you received this in error, please contact the
sender and delete the e-mail and any attachments from any computer.*
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
Scott Bodeen
2017-05-17 17:26:44 UTC
Permalink
My apologies. I misread your original message.
Post by Michael Newton
Ah, sorry I am actually not talking about a captive portal at all, but the
device registration page at https://YOUR_PORTAL_HOSTNAME/
device-registration (page 69 of 6.5.0 manual.) This is for an already
authenticated user to add the MAC address of e.g. a game console or
printer, so it can get access to the network under their user account. I
suspect editing the HTML directly will be the way to go. Thanks anyway for
the reply!
Mike
Post by Scott Bodeen
Mike,
Unfortunately I haven't written any instructions for this. The
documentation is lacking in this area, so it was mostly trial & error for
me.
I did create two additional root portal modules and authentication portal
modules. One used by our computer labs and the other one for devices that
have been assigned to staff and students. We use the default module on
personal devices. The modules are configured in a way so that lab devices
are only presented with an AUP, assigned devices have to be authenticated
with network credentials, and personal devices can authenticate with either
network credentials or as a guest.
We use different IP ranges for different device types. Based on that
info one of the three captive-portals will appear depending on a device's
IP address.
We're not doing anything fancy with PacketFence at the moment, strictly
just web auth. Our firewall redirects all unauthenticated users to
PacketFence and then after authentication PacketFence updates the firewall
via RSSO.
-Scott
Post by Michael Newton
Thanks for the reply Scott. Do you have any step-by-step instructions
for that? Specifically I'm wondering is it a new root module I create or do
I add something to the captive portal one? And how do I link that module to
the registration process? Registration setup is little more than a checkbox
to enable. Thanks
Mike
Post by Scott Bodeen
Mike,
You should be able to do most of what you need from the web interface
via Portal Modules and Portal Profiles.
Post by Michael Newton
Hi all, just wondering how to configure the device registration
process. Is it done through the web interface like the captive portal
modules/profiles/pages? Or does one simply edit the files in
/usr/local/pf/html/captive-portal/templates/device-registration/ to
suit? There is no mention of how to do this in the manuals. Thanks!
Mike
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Scott R. Bodeen
Network Administrator
Regional School Unit 1
207.443.8253 <(207)%20443-8253>
*The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. If you received this in error, please contact the
sender and delete the e-mail and any attachments from any computer.*
---------------------------------------------------
---------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot______
_________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
--
Michael Newton
Director, Product Development
Point of Presence Technologies
*You manage your business. We’ll manage your network.*
206-1110 Government Street, Victoria BC V8W 1Y2
T: 250-412-6688 x 7040 <(250)%20412-6688>
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Scott R. Bodeen
Network Administrator
Regional School Unit 1
207.443.8253 <(207)%20443-8253>
*The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. If you received this in error, please contact the
sender and delete the e-mail and any attachments from any computer.*
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Scott R. Bodeen
Network Administrator
Regional School Unit 1
207.443.8253
--
*The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. If you received this in error, please contact the
sender and delete the e-mail and any attachments from any computer.*
Continue reading on narkive:
Loading...