03-02-2022 08:03 AM
We are running our WLC 5508 on version 8.5.171.0, I am trying to download the .tar file for web authentication from one of our VM (TFTPD64 installed on it and have used it in past) but the WLC is giving error while downloading from TFTP:
Primary Boot Image: 8.5.171.0 (default) (active)
Backup Boot Image: 8.0.140.0
Error:
% Error: WebAuth Bundle file transfer failed - Error from server: File not found
I have also tried from CLI but it's not working.
Please assist
03-02-2022 08:06 AM - edited 03-02-2022 08:10 AM
First check if you can tftp upload to that server. If you can perform an upload, then the download will work.
Keep in mind the requirements:
Custom webauth can be configured with redirectUrl from the Security tab. This forces a redirect to a specific web page you enter. When the user is authenticated, it overrides the original URL the client requested and displays the page for which the redirect was assigned.
The custom feature allows you to use a custom HTML page instead of the default login page. Upload your html and image files bundle to the controller. In the upload page, look for webauth bundle in a tar format. Usually, PicoZip creates tars that work compatibly with the WLC. For an example of a WebAuth bundle, refer to the Download Software page for Wireless Controller WebAuth Bundles. Be sure to select the appropriate release for your WLC. A good recommendation is to customize a bundle that exists; do not create a bundle from scratch.
There are some limitations with custom webauth that vary with versions and bugs. Things to watch for include:
Web Authentication on WLAN Controller - Cisco
03-02-2022 08:20 AM
Hi Scott,
Thanks for your prompt response, I am using the bundle for webpassthrough without authentication for Guest network. I downloaded the bundle and using wap from there, I have also customised with our logo and terms and converted all in .tar
The upload to tftp worked fine but when I am trying to download from WLC GUI&CLI it fails with error that file not found.
03-02-2022 08:35 AM - edited 03-02-2022 08:38 AM
When you do an upload, is it going to the same folder to where your webauth file is located? File not found means that either your file is not in the correct directory or maybe the filename is wrong. Make sure you can see the extension of the file also, just in case. Like what was posted earlier, it can be how you have zipped the file. Some utilities do not work.
Try 7-zip, PowerArchiver or PicoZip
03-03-2022 02:34 PM
Did you try debugging the transfer on the WLC and check the logs on the TFTP server?
For example if you specify path / filename xyz then WLC requests /xyz from the server. So server must recognise /xyz mapped to your file. On IOS router you need an alias for that. Other servers may handle it automatically or need an alias configured too.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide