EasyCwmp

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000202easycwmp[All Projects] Helppublic2017-02-15 03:152017-03-14 15:09
Reportersuperkid 
Assigned Tomohamed.kallel 
PriorityhighSeveritymajorReproducibilityalways
StatusresolvedResolutionno change required 
PlatformlinuxOSopenwrtOS Versionbarrier breaker
Summary0000202: download firmware fail
DescriptionI was trying to update my cpe but download fails because it requires authentication,
I'm using libcurl v7.5 and enabled openssl and crypto auth


GET /tr/fwStore/sample_update_v3.bin HTTP/1.1
Host: 123.150.209.82:38180
User-Agent: Wget
Connection: close
Authorization: Basic ZG93bmxvYWQ6ZG93bmxvYWQ=

HTTP/1.1 401 Authorization Required
Date: Wed, 15 Feb 2017 02:05:24 GMT
Server: /0.0.0 (Unix) DAV/2 mod_ssl/0.0.0 OpenSSL/1.0.2f
WWW-Authenticate: Digest realm="Digest Auth", nonce="/eQdHYhIBQA=31057a26239cb982bbd76c35c5e4d625a80e5f5d", algorithm=MD5, qop="auth"
Content-Length: 401
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Authorization Required</title>
</head><body>
<h1>Authorization Required</h1>

This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.


</body></html>
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000665)
superkid (reporter)
2017-02-15 06:52

tried manual download, download/download is the username/password from acs

easycwmp download http://123.150.209.82:38180/tr/fwStore/sample_update_v3.bin [^] "1 Firmware Upgrade Image" "0" download download
{ "fault_code": "9010" }
(0000666)
superkid (reporter)
2017-02-15 07:22

looks like busybox wget issue
(0000668)
mohamed.kallel (manager)
2017-02-15 10:22
edited on: 2017-02-15 10:22

I think busybox wget does not support digest auth. It supports only basic auth
Try to edit the easycwmp.sh script and use curl command instead. And do not forget to add curl command dependencie in the ext/opewrt/Makefile

Please share your patch

(0000682)
superkid (reporter)
2017-03-14 04:15

yes busybox wget does not support digest auth, what we did is to enable full package of wget

Network
    -> File Transfer
        -> <*> wget............... Non-interactive network downloader
                    (with SSL support)

- Issue History
Date Modified Username Field Change
2017-02-15 03:15 superkid New Issue
2017-02-15 06:52 superkid Note Added: 0000665
2017-02-15 07:22 superkid Note Added: 0000666
2017-02-15 10:22 mohamed.kallel Note Added: 0000668
2017-02-15 10:22 mohamed.kallel Note Edited: 0000668 View Revisions
2017-03-14 04:15 superkid Note Added: 0000682
2017-03-14 15:09 mohamed.kallel Status new => resolved
2017-03-14 15:09 mohamed.kallel Resolution open => no change required
2017-03-14 15:09 mohamed.kallel Assigned To => mohamed.kallel


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker