Anonymous | Login | Signup for a new account | 2021-03-06 12:02 CET | ![]() |
My View | View Issues | Change Log | Roadmap | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000013 | easycwmp | [All Projects] Help | public | 2014-09-26 21:46 | 2014-09-30 09:58 | ||||
Reporter | CwmpUser | ||||||||
Assigned To | Anis | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | openwrt | OS | OS Version | ||||||
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. | ||||||||
Attached Files | ![]() ![]() | ||||||||
![]() |
|
(0000056) mohamed.kallel (manager) 2014-09-29 10:28 edited on: 2014-09-29 10:29 |
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 | View Revisions |
2014-09-29 20:37 | CwmpUser | Note Added: 0000057 | |
2014-09-29 20:39 | CwmpUser | Note Deleted: 0000057 | |
2014-09-29 20:48 | CwmpUser | Note Added: 0000058 | |
2014-09-29 21:13 | CwmpUser | Note Deleted: 0000058 | |
2014-09-30 09:58 | Anis | Status | new => resolved |
2014-09-30 09:58 | Anis | Resolution | open => fixed |
2014-09-30 09:58 | Anis | Assigned To | => Anis |
Copyright © 2000 - 2021 MantisBT Team |