Customizing Ticket Page

  • 6 June 2014
  • 9 replies
  • 371 views

Just a short question. Is it possible to add graphics in the ticket page of extreme wireless controllers running the latest FW?

thanks in advance

Philipp Tittmann

9 replies

Userlevel 4
Hello Phillip,
I'm not sure if the latest firmware 9.x include a official way to include a image for the ticket page, but I know a workaround to include a image in the ticket page:

1. Upload image via upload botton in the captive portal editor

2. Log in to EWC via SSH

3. Enter the command "shell ", then ENTER

4. Enter the root password, now you got a linux shell (busybox) The uploaded image is stored somewhere under /var/controller/images/cp/vns/NUMBER/image.jpg (NUMBER depends on creation of the vns). You can use the "find" command to search for the right path

5. Create a logical link to the file or copy file to /var/controller/www/NtwkCfg/ Example: ln -s /var/controller/images/cp/vns/1/image.jpg /var/controller/www/NtwkCfg/image.jpg

6. Upload your customized ticket page (html, including [i] tag)

This works in my setup, but if you update the firmware the link/file is deleted. Steps 5 to 6 have to be redone.

Best regards
Hartmut Sachse
Hello Phillip,
I'm not sure if the latest firmware 9.x include a official way to include a image for the ticket page, but I know a workaround to include a image in the ticket page:

1. Upload image via upload botton in the captive portal editor

2. Log in to EWC via SSH

3. Enter the command "shell ", then ENTER

4. Enter the root password, now you got a linux shell (busybox) The uploaded image is stored somewhere under /var/controller/images/cp/vns/NUMBER/image.jpg (NUMBER depends on creation of the vns). You can use the "find" command to search for the right path

5. Create a logical link to the file or copy file to /var/controller/www/NtwkCfg/ Example: ln -s /var/controller/images/cp/vns/1/image.jpg /var/controller/www/NtwkCfg/image.jpg

6. Upload your customized ticket page (html, including [i] tag)

This works in my setup, but if you update the firmware the link/file is deleted. Steps 5 to 6 have to be redone.

Best regards
Hartmut Sachse
Hi Hartmut,

i will test your workaround the next days

Best regards

Philipp Tittmann
Userlevel 4
Hello Phillip,
I'm not sure if the latest firmware 9.x include a official way to include a image for the ticket page, but I know a workaround to include a image in the ticket page:

1. Upload image via upload botton in the captive portal editor

2. Log in to EWC via SSH

3. Enter the command "shell ", then ENTER

4. Enter the root password, now you got a linux shell (busybox) The uploaded image is stored somewhere under /var/controller/images/cp/vns/NUMBER/image.jpg (NUMBER depends on creation of the vns). You can use the "find" command to search for the right path

5. Create a logical link to the file or copy file to /var/controller/www/NtwkCfg/ Example: ln -s /var/controller/images/cp/vns/1/image.jpg /var/controller/www/NtwkCfg/image.jpg

6. Upload your customized ticket page (html, including [i] tag)

This works in my setup, but if you update the firmware the link/file is deleted. Steps 5 to 6 have to be redone.

Best regards
Hartmut Sachse
If you need instruction how to create the ticket page template, i could provide you an example. The https://.

Upload of the ticket page is possible via web gui. Just try it.
Hello Phillip,
I'm not sure if the latest firmware 9.x include a official way to include a image for the ticket page, but I know a workaround to include a image in the ticket page:

1. Upload image via upload botton in the captive portal editor

2. Log in to EWC via SSH

3. Enter the command "shell ", then ENTER

4. Enter the root password, now you got a linux shell (busybox) The uploaded image is stored somewhere under /var/controller/images/cp/vns/NUMBER/image.jpg (NUMBER depends on creation of the vns). You can use the "find" command to search for the right path

5. Create a logical link to the file or copy file to /var/controller/www/NtwkCfg/ Example: ln -s /var/controller/images/cp/vns/1/image.jpg /var/controller/www/NtwkCfg/image.jpg

6. Upload your customized ticket page (html, including [i] tag)

This works in my setup, but if you update the firmware the link/file is deleted. Steps 5 to 6 have to be redone.

Best regards
Hartmut Sachse
Hi Hartmut,

I have Problems creating a working Ticket-Page.

The variables are not filled in...

Can you provide me a working one?

Kind Regards

Marco
Userlevel 4
Hello Phillip,
I'm not sure if the latest firmware 9.x include a official way to include a image for the ticket page, but I know a workaround to include a image in the ticket page:

1. Upload image via upload botton in the captive portal editor

2. Log in to EWC via SSH

3. Enter the command "shell ", then ENTER

4. Enter the root password, now you got a linux shell (busybox) The uploaded image is stored somewhere under /var/controller/images/cp/vns/NUMBER/image.jpg (NUMBER depends on creation of the vns). You can use the "find" command to search for the right path

5. Create a logical link to the file or copy file to /var/controller/www/NtwkCfg/ Example: ln -s /var/controller/images/cp/vns/1/image.jpg /var/controller/www/NtwkCfg/image.jpg

6. Upload your customized ticket page (html, including [i] tag)

This works in my setup, but if you update the firmware the link/file is deleted. Steps 5 to 6 have to be redone.

Best regards
Hartmut Sachse
Here is an example page:






[b]
width="790">




align="center" width="790">

https://





























Name: !GuestName User name: !UserID Password: !Password Valid since: !AccountActivationTime Valid till: !AccountLifeTime





Disclaimer

Enter your Text here




[/code]
Userlevel 3
Hello Phillip,
I'm not sure if the latest firmware 9.x include a official way to include a image for the ticket page, but I know a workaround to include a image in the ticket page:

1. Upload image via upload botton in the captive portal editor

2. Log in to EWC via SSH

3. Enter the command "shell ", then ENTER

4. Enter the root password, now you got a linux shell (busybox) The uploaded image is stored somewhere under /var/controller/images/cp/vns/NUMBER/image.jpg (NUMBER depends on creation of the vns). You can use the "find" command to search for the right path

5. Create a logical link to the file or copy file to /var/controller/www/NtwkCfg/ Example: ln -s /var/controller/images/cp/vns/1/image.jpg /var/controller/www/NtwkCfg/image.jpg

6. Upload your customized ticket page (html, including [i] tag)

This works in my setup, but if you update the firmware the link/file is deleted. Steps 5 to 6 have to be redone.

Best regards
Hartmut Sachse
Thanks for posting your method, it works well.
Userlevel 7
Yes, here a link to a YT video - about minute 2:20 Jason import a graphic for the portal page.

http://www.youtube.com/watch?v=tweJ6MeZaHs
Userlevel 4
Yes, here a link to a YT video - about minute 2:20 Jason import a graphic for the portal page.

http://www.youtube.com/watch?v=tweJ6MeZaHs
Uploading a image for the portal page is easy, but Phillip want to include it in the ticket page/voucher, if i understood right. Would be great if Extreme implement something in the gui to create a customized ticket page.
Userlevel 4
This new post include a easy solution to solve the discussed problem:

https://community.extremenetworks.com/extreme/topics/include-company-logo-in-customized-ticke-page

Thanks to James for his answer.

Reply