View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000202 | easycwmp | Help | public | 2017-02-15 03:15 | 2017-03-14 15:09 |
Reporter | superkid | Assigned To | mohamed.kallel | ||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | linux | OS | openwrt | OS Version | barrier breaker |
Summary | 0000202: download firmware fail | ||||
Description | I 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 </body></html> | ||||
Tags | No tags attached. | ||||
e-mail notification | |||||
|
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" } |
|
looks like busybox wget issue |
|
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 |
|
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) |
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 | |
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 |