Hello I am new to packetfence and i have download 8.3.0 version . Can anyone > share me any document or video to configure the captive portal.
I have install the Packet fence and configure one management and one registration , I tried to have one on VLAN 150 for management and VLAN 130 for the registration . DHCP is from VLAN 130 , Both VLAN has seperate Internet Connection. I created a new profile in captive portal for VLAN 130, after creating DHCP is properly working and I can see the captive portal Page. Once go ahead for the NULL Source i cannot connect to the internet or i cannot see any page packetfence.org or http://192.95.20.194/common/network-access-detection.gif can you help on this . I tried the below Changes in Packet fence but no luck on this . Thanks in advance Regards Ubaidullah On Wed, Apr 24, 2019 at 11:09 PM Leandro Ude via PacketFence-users < packetfence-users@lists.sourceforge.net> wrote: > > I think i fixed , and it's a bug > > /usr/local/pf/html/captive-portal/content/timerbar.js > > Line 6: > > var time = window.waitTime || 25; > > window.waitTime is undefined , so it always sets time to 25 > > Tried changing 25 to 40 (Ludovic recomended value) > > and now it works, the red message doesnt show and redirects perfectly to > packetfence.org > > > > > > > > > El mié., 24 de abr. de 2019 a la(s) 14:27, Leandro Ude ( > leandro...@gmail.com) escribió: > >> I made a video capture showing the problem if it helps, >> >> https://streamable.com/s/wobv7/gheadf >> >> >> El mar., 23 de abr. de 2019 a la(s) 16:12, Leandro Ude ( >> leandro...@gmail.com) escribió: >> >>> >>> >Which Packetfence version are you running ? >>> Hi , it's version 8.3.0 >>> >>> >Did you changed the pf.js ? >>> I haven't changed anything in pf.js >>> >>> >Did you apply the maintenance on restart all services ? >>> You mean "restart all services?" yes, I even tried rebooting. This is >>> an isolated demo install , but the problem happens in production too. >>> >>> I had the same problem with previous version. >>> >>> Can you fetch the >>> http://192.95.20.194/common/network-access-detection.gif once >>> registered ? >>> Yes , once registered I can access it without problem : >>> https://i.imgur.com/zaAjnlf.png >>> >>> >Do you have any error in your javascript console on your web browser? >>> No javascript errors, just the ones shown here: >>> https://i.imgur.com/6Wn4Pay.png >>> >>> >>> I think it's a timing issue, the progress bar I think it's still 20 >>> seconds (timed it it around 20-25 seconds) , even though I changed to 50, >>> it seems to have no effect. >>> >>> >>> >>> >>> >>> >>> >>> El mar., 23 de abr. de 2019 a la(s) 15:54, Ludovic Zammit ( >>> lzam...@inverse.ca) escribió: >>> >>>> Which Packetfence version are you running ? >>>> >>>> Did you changed the pf.js ? >>>> >>>> Did you apply the maintenance on restart all services ? >>>> >>>> Can you fetch the >>>> http://192.95.20.194/common/network-access-detection.gif once >>>> registered ? >>>> >>>> Do you have any error in your javascript console on your web browser? >>>> >>>> Thanks, >>>> >>>> >>>> Ludovic zammitlzam...@inverse.ca :: +1.514.447.4918 (x145) :: >>>> www.inverse.ca >>>> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence >>>> (http://packetfence.org) >>>> >>>> >>>> >>>> >>>> >>>> On Apr 23, 2019, at 2:36 PM, Leandro Ude <leandro...@gmail.com> wrote: >>>> >>>> Hi, thanks for the answer , I can see the call , many failed attempts >>>> and finally one successfully. Failed ones are because change of vlans and >>>> the time it takes to the dhcp to assign ip , the ip address is correctly >>>> assigned almost at the end of the progress bar, and I can see the 200 OK >>>> request , but the message still shows "Unable to detect network >>>> connectivity " in red , and immediately after that shows the welcome >>>> webpage >>>> >>>> https://i.imgur.com/6Wn4Pay.png >>>> <pf.jpg> >>>> >>>> Just a reminder when I change redirection delay value , the progress >>>> bar takes always the same time. >>>> >>>> >>>> Thank you >>>> >>>> >>>> >>>> >>>> El mar., 23 de abr. de 2019 a la(s) 15:08, Ludovic Zammit ( >>>> lzam...@inverse.ca) escribió: >>>> >>>>> Hello Leandro, >>>>> >>>>> Put your chrome web browser into developper mode with the console open >>>>> at the beginning of your registration process. >>>>> >>>>> You should be able to see the call: >>>>> >>>>> <Screen Shot 2019-04-23 at 2.05.08 PM.png> >>>>> >>>>> >>>>> If you don’t see it, maybe you have an issue with your >>>>> html/common/pf.js >>>>> >>>>> Thanks, >>>>> >>>>> >>>>> Ludovic zammitlzam...@inverse.ca :: +1.514.447.4918 (x145) :: >>>>> www.inverse.ca >>>>> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence >>>>> (http://packetfence.org) >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Apr 23, 2019, at 12:20 PM, Leandro Ude <leandro...@gmail.com> >>>>> wrote: >>>>> >>>>> Does anyone have an idea , on what could be the problem ? >>>>> >>>>> Thanks >>>>> >>>>> El mar., 16 de abr. de 2019 a la(s) 10:42, Leandro Ude ( >>>>> leandro...@gmail.com) escribió: >>>>> >>>>>> Hi again, I think the Redirection delay value isn't working , when >>>>>> I change the value , the progress bar takes always the same time. >>>>>> >>>>>> I can see the vlan chaning in the client, but the IP is assiged just >>>>>> as the same time when de red message appears , changing the redirection >>>>>> value has the same effect, Ip is assigned after >>>>>> the red message appears. and the redirection doesnt appears to change. >>>>>> >>>>>> El vie., 12 de abr. de 2019 a la(s) 17:38, Leandro Ude ( >>>>>> leandro...@gmail.com) escribió: >>>>>> >>>>>>> Hi, Yes it has all the default values, >>>>>>> >>>>>>> I can even see the request 192.95.20.194 in the laptop using >>>>>>> wireshark : https://i.imgur.com/PMLK1y3.png >>>>>>> >>>>>>> And I still get that error, >>>>>>> >>>>>>> I tried to change Redirection delay value to 40, and same result >>>>>>> >>>>>>> >>>>>>> PD: >>>>>>> >>>>>>> Should I worry about this error on packetfence.log? : >>>>>>> >>>>>>> Apr 12 16:33:45 packetfence pfqueue: pfqueue(3670) WARN: >>>>>>> [mac:c8:5b:76:e6:45:ef] Unable to match MAC address to IP '192.168.1.50' >>>>>>> (pf::ip4log::ip2mac) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> El vie., 12 de abr. de 2019 a la(s) 17:00, Ludovic Zammit ( >>>>>>> lzam...@inverse.ca) escribió: >>>>>>> >>>>>>>> Hello Leandro, >>>>>>>> >>>>>>>> It looks like that your device is being placed into the production >>>>>>>> vlan 10 but the js script on your laptop is not able to reach >>>>>>>> http://192.95.20.194/common/network-access-detection.gif >>>>>>>> >>>>>>>> Check into your web browser console for error in the network >>>>>>>> section while it tries to fetch that gif file. >>>>>>>> >>>>>>>> Make sure to have the default settings. >>>>>>>> >>>>>>>> conf/pf.conf.defauts >>>>>>>> >>>>>>>> network_detection_ip = 192.95.20.194 >>>>>>>> >>>>>>>> image_path = /common/network-access-detection.gif >>>>>>>> >>>>>>>> Most of the time it’s because you need more than 20 secs for your >>>>>>>> device to get the IP and get access to internet. >>>>>>>> >>>>>>>> Increase it under Configuration > Advance Access config > Captive >>>>>>>> portal > Redirection delay >>>>>>>> >>>>>>>> Put 40 or 60 secs. >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> >>>>>>>> Ludovic zammitlzam...@inverse.ca :: +1.514.447.4918 (x145) :: >>>>>>>> www.inverse.ca >>>>>>>> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and >>>>>>>> PacketFence (http://packetfence.org) >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Apr 12, 2019, at 3:46 PM, Leandro Ude <leandro...@gmail.com> >>>>>>>> wrote: >>>>>>>> >>>>>>>> Hi, thanks to all for the help, >>>>>>>> >>>>>>>> Right now I'm trying to solve this issue : >>>>>>>> >>>>>>>> https://i.imgur.com/JQorvaV.png >>>>>>>> >>>>>>>> After that the network works (I have internet access) but the >>>>>>>> message is always "unable to detect network" >>>>>>>> >>>>>>>> >>>>>>>> As requested I'll attach the logs (txt file) when logging in , >>>>>>>> /usr/local/pf/logs/radius-acct.log >>>>>>>> /usr/local/pf/logs/packetfence.log >>>>>>>> and >>>>>>>> /usr/local/pf/var/run/radiusd-acct.sock >>>>>>>> >>>>>>>> >>>>>>>> Thanks >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> El vie., 12 de abr. de 2019 a la(s) 08:13, Nicolas Quiniou-Briand ( >>>>>>>> n...@inverse.ca) escribió: >>>>>>>> >>>>>>>>> Hello, >>>>>>>>> >>>>>>>>> On 2019-04-11 7:26 p.m., Leandro Ude via PacketFence-users wrote: >>>>>>>>> > I still can't get to work es network detection http message >>>>>>>>> > >>>>>>>>> > I still get the red message "unable to detect network" : >>>>>>>>> >>>>>>>>> Check packetfence.log for your MAC address to see if PF is able to >>>>>>>>> disconnect correctly your device through RADIUS. >>>>>>>>> -- >>>>>>>>> Nicolas Quiniou-Briand >>>>>>>>> n...@inverse.ca :: +1.514.447.4918 *140 :: https://inverse.ca >>>>>>>>> Inverse inc. :: Leaders behind SOGo (https://sogo.nu), >>>>>>>>> PacketFence >>>>>>>>> (https://packetfence.org) and Fingerbank (http://fingerbank.org) >>>>>>>>> >>>>>>>> <logRadius.txt> >>>>>>>> >>>>>>>> >>>>>>>> >>>>> >>>> _______________________________________________ > PacketFence-users mailing list > PacketFence-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/packetfence-users >
_______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users