View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000013 | easycwmp | Help | public | 2014-09-26 21:46 | 2014-09-30 09:58 |
Reporter | CwmpUser | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | openwrt | ||||
Summary | 0000013: Cannot get IP address | ||||
Description | I use get value command to get "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress", which turns out to be empty, also I can't see AP'IP on server. Is this suppose to be like this? Thanks in advance! | ||||
Tags | No tags attached. | ||||
e-mail notification | |||||
|
|
|
|
|
You have to update the wan_device script. The wan_device script is under the "ext/openwrt/scripts/functions/" in the source code. And its under "/usr/share/easycwmp/functions" in your openwrt firmware. In the wan_device script, you have to change the function: "get_wan_device_mng_interface_ip()". you have to change the line: "network_get_ipaddr val mng". Change the "mng" by the name of you wan interface. The same thing for the "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.MACAddress", you have to change the function "get_wan_device_mng_interface_mac()". you have to change the "val=`$UCI_GET network.mng.macaddr`" by "val=`$UCI_GET network.<your_wan_interface>.macaddr`" |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-09-26 21:46 | CwmpUser | New Issue | |
2014-09-26 21:46 | CwmpUser | File Added: 2014-09-26 15.44.30.jpg | |
2014-09-26 21:47 | CwmpUser | File Added: 2014-09-26 15.44.48.jpg | |
2014-09-29 10:28 | mohamed.kallel | Note Added: 0000056 | |
2014-09-29 10:29 | mohamed.kallel | Note Edited: 0000056 | |
2014-09-30 09:58 |
|
Status | new => resolved |
2014-09-30 09:58 |
|
Resolution | open => fixed |
2014-09-30 09:58 |
|
Assigned To | => user13 |