Error extracting webauth files.

Unanswered Question
Oct 16th, 2012
User Badges:

I've come a cross another bug with the way the WLC compiles the webauth bundle. Version 7.0.116.0.  If I make any changes to the generic login error codes I get a compile error "Error extracting webauth files.".


At this point I'll avoid airing my grievances over the buggy nature and lack of development for customised webauth bundles. And simply say that I'm not even looking for a workaround now.. screw it.  You're stuck with the naff green login screen and naff error codes mr customer.


And no... recommending ISE will not help me so just don't do it

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Peter Nugent Tue, 10/16/2012 - 11:25
User Badges:
  • Cisco Employee,

Rob I feel your pain!


Have you seen the webauth bundle?


It is pretty straight forward to change the login page, only can be painful if you don't do it very often. The proble is updetting the script file IIRC. There was another issue


This is bug CSCth51156 - Extracting Custom Web Authentication Tar Package May Fail on 5500 WLC.


When running 7.0.98.0 WLC code on a 5508 WLC, the tar extraction process may fail generating the following error: Error extracting webauth files.


This condition only occurs on a 5508 running the 7.0.98.0 code.  The same package can be loaded on a 4404 running 7.0.98.0 successfully, and also to a 5508 running 6.0.196.0.


Workaround:
Create .tar package using the following command on UNIX or Windows (via http://gnuwin32.sourceforge.net/packages/gtar.htm):
tar -cvf login.tar ...

Rob Simkins Tue, 10/16/2012 - 15:36
User Badges:

Thanks Pete
I have used the webauth bundle. And let me tell you that trying to be inventive with the HTML is a bad idea. I think most people who attempt to glam up this page are left wondering why they bothered. The best I have achieved is a logo image and some basic text. I don't think it should be this hard, and other vendors are much better at it...

Sent from Cisco Technical Support iPhone App

Scott Fella Wed, 10/17/2012 - 03:47
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 Wireless

Rob,

I always use a custom page but that's because I didn't like how the default looks. So all my installs that include guest WebAuth, I will do custom. One thing to note is that on early versions of the 7.0, I had to use Power Archiver to bundle the files into a tar file or else it would fail to load. In 7.2 and 7.3, 7-zip worked fine which is a free tool. Power Archiver is not free. I keep Power Archiver handy just in case.

Sent from Cisco Technical Support iPhone App

Rob Simkins Wed, 10/17/2012 - 04:14
User Badges:

I'm using 7-zip to tar and notepad to edit the HTML from a working (edited) webauth bundle.


I literally change the line "The user name and password combination you entered is invalid. Please try again."

to "The user name and password combination you entered is invalid or has expired. Please try again".


Then tar it back up with 7-zip and upload it, then it fails.  Very bizarre, yet probably due to some rare and wonderful coding issue.


Woeful...

b.gamble Thu, 01/05/2017 - 05:56
User Badges:

My issue had to do with my stylesheet (styles.css) being in the root folder.


I moved it to /css/ and updated my references to it in login.html, rezipped (7zip), uploaded and it worked properly.


This was on version 8.2 code, which I realize isn't the version you were running (4 years ago), but since this is the top result on a google search of the error I thought I'd post here to help someone else possibly.

matt-in-slo Mon, 01/23/2017 - 14:40
User Badges:

Hi all, I know this is an old thread, but it's the number one search result so I thought I'd chime in.

I just went through this process today (1/23/17) and it worked great. I'm running the 8.3.102 code version. 

I'm a web developer on the side, so I wrote a complete custom splash page, new HTML, CSS and images, plus I incorporated Bootstrap files. I also wrote some custom JavaScript and jQuery for the page. The point being you can customize the web-auth page however you'd like.

It sounds like everyone is getting TFTP to work fine, so I won't comment on that. 

As far as getting the web bundle .tar file to extract, I had all files in the root folder except images, which were in their own folder. I archived all of these using 7-zip. I hit a problem at first because I attempted to .tar the folder that contained all my files. What I needed to do was to go into that folder, and make my .tar from the root.

Once I did that, everything worked fine and the splash page looks awesome. 

Hope that helps!

Actions

This Discussion

Related Content

 

 

Trending Topics - Security & Network