View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000366 | easycwmp | Question | public | 2019-01-22 04:15 | 2019-01-22 04:15 |
Reporter | daozue | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | openwrt | ||||
Summary | 0000366: In PPPoE mode, the WAN IP on the CPE side changes, but ACS is not notified. | ||||
Description | In PPPoE mode, the SSID of CPE side WIFI was modified on ACS, causing Network restart and WAN IP change, but ACS was not notified. | ||||
Additional Information | 1、/etc/config/easycwmp: config local option interface 'pppoe-wan' option port '7547' option ubus_socket '/var/run/ubus.sock' option date_format '%FT%T%z' option username 'admin' option password 'admin' option authentication 'Digest' option logging_level '3' config acs option url 'http://xx.xx.xx.xx:80/acs' option username 'admin' option password 'admin' option periodic_enable '1' option periodic_time '0001-01-01T00:00:00Z' option periodic_interval '1800' option parameter_key 'unsetCommandKey' config device option oui 'FFFFFF' option serial_number 'FFFFFF123456' option manufacturer 'OpenWrt' option product_class 'Generic' option hardware_version 'v0' option software_version '14.07' 2、/usr/share/easycwmp/functions/management_server: .... common_execute_method_param "$DMROOT.ManagementServer.ConnectionRequestURL" "0" "management_server_get_connection_request_url" "" "" "1" .... management_server_get_connection_request_url() { local val if [ -z "$default_management_server_connection_request_url" ]; then local intf=`$UCI_GET easycwmp.@local[0].interface 2> /dev/null` local ip=`ifconfig "$intf" | grep inet | sed 's/^ *//g' | cut -f 2 -d ' '|cut -f 2 -d ':'` local port=`$UCI_GET easycwmp.@local[0].port 2> /dev/null` if [ -n "$ip" -a -n "$port" ]; then val="http://$ip:$port/" fi else val=$default_management_server_connection_request_url fi echo $val } ... 3、ifconfig br-lan Link encap:Ethernet HWaddr xxxxxxxxxxxx inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fdb9:2d81:1d2f::1/60 Scope:Global inet6 addr: fe80::2a3b:82ff:fe84:320/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2759 errors:0 dropped:0 overruns:0 frame:0 TX packets:1942 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:286454 (279.7 KiB) TX bytes:1966623 (1.8 MiB) eth0 Link encap:Ethernet HWaddr xxxxxxxxxxxxxx UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:36142 errors:0 dropped:0 overruns:0 frame:0 TX packets:41666 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5576601 (5.3 MiB) TX bytes:33448839 (31.8 MiB) Interrupt:4 eth1 Link encap:Ethernet HWaddr xxxxxxxxxxx inet6 addr: fe80::2a3b:82ff:fe84:321/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1480 Metric:1 RX packets:46315 errors:0 dropped:5 overruns:0 frame:0 TX packets:39212 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:25247060 (24.0 MiB) TX bytes:6093099 (5.8 MiB) Interrupt:4 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:323 errors:0 dropped:0 overruns:0 frame:0 TX packets:323 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:25225 (24.6 KiB) TX bytes:25225 (24.6 KiB) pppoe-wan Link encap:Point-to-Point Protocol inet addr:122.233.178.196 P-t-P:122.233.176.1 Mask:255.255.255.255 inet6 addr: 240e:f0:2b:52d2:fdec:a658:11fa:7dd3/64 Scope:Global inet6 addr: fe80::fdec:a658:11fa:7dd3/10 Scope:Link UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1472 Metric:1 RX packets:2107 errors:0 dropped:0 overruns:0 frame:0 TX packets:2275 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:64 RX bytes:1056362 (1.0 MiB) TX bytes:296355 (289.4 KiB) wlan0 Link encap:Ethernet HWaddr xxxxxxxx inet6 addr: fe80::2a3b:82ff:fe84:324/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:52913 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:15814596 (15.0 MiB) TX bytes:1410 (1.3 KiB) Interrupt:5 wlan1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx inet6 addr: fe80::2a3b:82ff:fe84:322/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6767 errors:0 dropped:0 overruns:0 frame:0 TX packets:64 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1715290 (1.6 MiB) TX bytes:17859 (17.4 KiB) Interrupt:6 | ||||
Tags | No tags attached. | ||||
e-mail notification | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-01-22 04:15 | daozue | New Issue |