找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1138|回复: 9

[openwrt(x86)] 请问是否能通过这段日志判定更换ip前发生了什么?附日志。

[复制链接]
发表于 2022-5-12 15:04 | 显示全部楼层 |阅读模式
本帖最后由 ogr1432 于 2022-5-12 15:08 编辑

家里的op已经运行26天一直正常,今天突然发现换了公网ip,界面显示路由没有重启,但日志又看不懂,附上日志请能看懂的坛友给看看,用通俗简单点的语言说说是我设备的问题?我系统设置的问题? 还是isp搞了什么?



Thu May 12 09:03:18 2022 authpriv.notice beardropper[9332]: loadState() loaded 0 entries
Thu May 12 09:33:19 2022 authpriv.notice beardropper[9332]: loadState() loaded 0 entries
Thu May 12 10:03:19 2022 authpriv.notice beardropper[9332]: loadState() loaded 0 entries
Thu May 12 10:33:19 2022 authpriv.notice beardropper[9332]: loadState() loaded 0 entries
Thu May 12 10:46:53 2022 daemon.info pppd[11602]: LCP terminated by peer
Thu May 12 10:46:53 2022 daemon.info pppd[11602]: Connect time 37283.9 minutes.
Thu May 12 10:46:53 2022 daemon.info pppd[11602]: Sent 1535833854 bytes, received 1724620551 bytes.
Thu May 12 10:46:53 2022 daemon.info avahi-daemon[5251]: Withdrawing address record for 112.254.99.188 on pppoe-wan.
Thu May 12 10:46:53 2022 daemon.info avahi-daemon[5251]: Leaving mDNS multicast group on interface pppoe-wan.IPv4 with address 112.254.99.188.
Thu May 12 10:46:53 2022 daemon.info avahi-daemon[5251]: Interface pppoe-wan.IPv4 no longer relevant for mDNS.
Thu May 12 10:46:53 2022 daemon.info avahi-daemon[5251]: Interface pppoe-wan.IPv6 no longer relevant for mDNS.
Thu May 12 10:46:53 2022 daemon.info avahi-daemon[5251]: Leaving mDNS multicast group on interface pppoe-wan.IPv6 with address 2408:8215:a00:1305:e5db:1f91:b3ef:59b1.
Thu May 12 10:46:53 2022 daemon.err odhcp6c[14886]: Failed to send RELEASE message to ff02::1:2 (Permission denied)
Thu May 12 10:46:54 2022 daemon.notice netifd: Network device 'pppoe-wan' link is down
Thu May 12 10:46:54 2022 daemon.notice netifd: Network alias 'pppoe-wan' link is down
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan_6' has link connectivity loss
Thu May 12 10:46:54 2022 daemon.err miniupnpd[17618]: ioctl(s, SIOCGIFADDR, ...): Address not available
Thu May 12 10:46:54 2022 daemon.err miniupnpd[17618]: Failed to get IP for interface pppoe-wan
Thu May 12 10:46:54 2022 daemon.warn miniupnpd[17618]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Thu May 12 10:46:54 2022 daemon.info avahi-daemon[5251]: Withdrawing address record for 2408:8215:a00:1305:e5db:1f91:b3ef:59b1 on pppoe-wan.
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan' has lost the connection
Thu May 12 10:46:54 2022 daemon.notice pppd[11602]: Modem hangup
Thu May 12 10:46:54 2022 daemon.notice pppd[11602]: Connection terminated.
Thu May 12 10:46:54 2022 daemon.info pppd[11602]: Connect time 37283.9 minutes.
Thu May 12 10:46:54 2022 daemon.info pppd[11602]: Sent 1535833854 bytes, received 1724620551 bytes.
Thu May 12 10:46:54 2022 daemon.notice netifd: wan_6 (14886): Command failed: Permission denied
Thu May 12 10:46:54 2022 daemon.info pppd[11602]: Exit.
Thu May 12 10:46:54 2022 daemon.err odhcp6c[14886]: Failed to send SOLICIT message to ff02::1:2 (Permission denied)
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan_6' is now down
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan_6' is disabled
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan' is now down
Thu May 12 10:46:54 2022 daemon.info avahi-daemon[5251]: Interface eth1.IPv6 no longer relevant for mDNS.
Thu May 12 10:46:54 2022 daemon.info avahi-daemon[5251]: Leaving mDNS multicast group on interface eth1.IPv6 with address fe80::2a0:66ff:feff:d8ee.
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan' is disabled
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan6' is disabled
Thu May 12 10:46:54 2022 kern.info kernel: [2237115.546035] eth1: 0xffffc9000003d000, 00:a0:66:ff:d8:ee, IRQ 95
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan' is enabled
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan' is setting up now
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan6' is enabled
Thu May 12 10:46:54 2022 daemon.info avahi-daemon[5251]: Withdrawing address record for fe80::2a0:66ff:feff:d8ee on eth1.
Thu May 12 10:46:54 2022 daemon.notice netifd: Network device 'eth1' link is down
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan' has link connectivity loss
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan' is now down
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan' is disabled
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan6' is disabled
Thu May 12 10:46:54 2022 kern.info kernel: [2237115.695157] eth1: 0xffffc9000003d000, 00:a0:66:ff:d8:ee, IRQ 95
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan' is enabled
Thu May 12 10:46:54 2022 daemon.notice netifd: Interface 'wan6' is enabled
Thu May 12 10:46:57 2022 kern.info kernel: [2237118.895418] r8168: eth1: link up
Thu May 12 10:46:57 2022 kern.info kernel: [2237118.895693] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Thu May 12 10:46:57 2022 daemon.notice netifd: Network device 'eth1' link is up
Thu May 12 10:46:57 2022 daemon.notice netifd: Interface 'wan' has link connectivity
Thu May 12 10:46:57 2022 daemon.notice netifd: Interface 'wan' is setting up now
Thu May 12 10:46:57 2022 daemon.notice netifd: Interface 'wan6' has link connectivity
Thu May 12 10:46:57 2022 daemon.err insmod: module is already loaded - slhc
Thu May 12 10:46:57 2022 daemon.err insmod: module is already loaded - ppp_generic
Thu May 12 10:46:57 2022 daemon.err insmod: module is already loaded - pppox
Thu May 12 10:46:57 2022 daemon.err insmod: module is already loaded - pppoe
Thu May 12 10:46:57 2022 daemon.info pppd[21243]: Plugin pppoe.so loaded.
Thu May 12 10:46:57 2022 daemon.info pppd[21243]: PPPoE plugin from pppd 2.4.9
Thu May 12 10:46:57 2022 daemon.notice pppd[21243]: pppd 2.4.9 started by root, uid 0
Thu May 12 10:46:58 2022 daemon.info avahi-daemon[5251]: Joining mDNS multicast group on interface eth1.IPv6 with address fe80::2a0:66ff:feff:d8ee.
Thu May 12 10:46:58 2022 daemon.info avahi-daemon[5251]: New relevant interface eth1.IPv6 for mDNS.
Thu May 12 10:46:58 2022 daemon.info avahi-daemon[5251]: Registering new address record for fe80::2a0:66ff:feff:d8ee on eth1.*.
Thu May 12 10:46:59 2022 user.notice root: iptvhelper: reloading
Thu May 12 10:46:59 2022 user.notice root: iptvhelper: stopped
Thu May 12 10:46:59 2022 user.notice root: iptvhelper: starting
Thu May 12 10:47:02 2022 daemon.info pppd[21243]: PPP session is 12604
Thu May 12 10:47:02 2022 daemon.warn pppd[21243]: Connected to fc:48:ef:13:b0:13 via interface eth1
Thu May 12 10:47:02 2022 kern.info kernel: [2237124.160675] pppoe-wan: renamed from ppp0
Thu May 12 10:47:02 2022 daemon.info pppd[21243]: Renamed interface ppp0 to pppoe-wan
Thu May 12 10:47:02 2022 daemon.info pppd[21243]: Using interface pppoe-wan
Thu May 12 10:47:02 2022 daemon.notice pppd[21243]: Connect: pppoe-wan <--> eth1
Thu May 12 10:47:02 2022 daemon.info pppd[21243]: syncppp not active
Thu May 12 10:47:02 2022 daemon.info pppd[21243]: Remote message: Authentication success,Welcome!
Thu May 12 10:47:02 2022 daemon.notice pppd[21243]: PAP authentication succeeded
Thu May 12 10:47:02 2022 daemon.notice pppd[21243]: peer from calling number FC:48:EF:13:B0:13 authorized
Thu May 12 10:47:02 2022 daemon.info avahi-daemon[5251]: Joining mDNS multicast group on interface pppoe-wan.IPv6 with address fe80::7d8a:445:6bd6:b482.
Thu May 12 10:47:02 2022 daemon.info avahi-daemon[5251]: New relevant interface pppoe-wan.IPv6 for mDNS.
Thu May 12 10:47:02 2022 daemon.notice pppd[21243]: local  LL address fe80::7d8a:0445:6bd6:b482
Thu May 12 10:47:02 2022 daemon.info avahi-daemon[5251]: Registering new address record for fe80::7d8a:445:6bd6:b482 on pppoe-wan.*.
Thu May 12 10:47:02 2022 daemon.notice pppd[21243]: remote LL address fe80::fe48:efff:fe13:b013
Thu May 12 10:47:02 2022 daemon.info avahi-daemon[5251]: Joining mDNS multicast group on interface pppoe-wan.IPv4 with address 112.225.63.131.
Thu May 12 10:47:02 2022 daemon.info avahi-daemon[5251]: New relevant interface pppoe-wan.IPv4 for mDNS.
Thu May 12 10:47:02 2022 daemon.notice pppd[21243]: local  IP address 112.225.63.131
Thu May 12 10:47:02 2022 daemon.notice pppd[21243]: remote IP address 112.225.56.1
Thu May 12 10:47:02 2022 daemon.info avahi-daemon[5251]: Registering new address record for 112.225.63.131 on pppoe-wan.IPv4.
Thu May 12 10:47:02 2022 daemon.notice pppd[21243]: primary   DNS address 202.102.134.68
Thu May 12 10:47:02 2022 daemon.notice pppd[21243]: secondary DNS address 202.102.128.68
Thu May 12 10:47:02 2022 daemon.info avahi-daemon[5251]: Withdrawing address record for 112.225.63.131 on pppoe-wan.
Thu May 12 10:47:02 2022 daemon.info avahi-daemon[5251]: Leaving mDNS multicast group on interface pppoe-wan.IPv4 with address 112.225.63.131.
Thu May 12 10:47:02 2022 daemon.info avahi-daemon[5251]: Interface pppoe-wan.IPv4 no longer relevant for mDNS.
Thu May 12 10:47:02 2022 daemon.info avahi-daemon[5251]: Joining mDNS multicast group on interface pppoe-wan.IPv4 with address 112.225.63.131.
Thu May 12 10:47:02 2022 daemon.info avahi-daemon[5251]: New relevant interface pppoe-wan.IPv4 for mDNS.
Thu May 12 10:47:02 2022 daemon.info avahi-daemon[5251]: Registering new address record for 112.225.63.131 on pppoe-wan.IPv4.
Thu May 12 10:47:02 2022 daemon.notice netifd: Network device 'pppoe-wan' link is up
Thu May 12 10:47:02 2022 daemon.notice netifd: Interface 'wan' is now up
Thu May 12 10:47:02 2022 daemon.notice netifd: Network alias 'pppoe-wan' link is up
Thu May 12 10:47:02 2022 daemon.notice netifd: Interface 'wan_6' is enabled
Thu May 12 10:47:02 2022 daemon.notice netifd: Interface 'wan_6' has link connectivity
Thu May 12 10:47:02 2022 daemon.notice netifd: Interface 'wan_6' is setting up now
Thu May 12 10:47:03 2022 daemon.info netdata[12907]: RRDSET: chart name 'net.pppoe_wan' on host 'OpenWrt' already exists.
Thu May 12 10:47:03 2022 daemon.info netdata[12907]: RRDSET: chart name 'net_operstate.pppoe_wan' on host 'OpenWrt' already exists.
Thu May 12 10:47:03 2022 daemon.info netdata[12907]: RRDSET: chart name 'net_carrier.pppoe_wan' on host 'OpenWrt' already exists.
Thu May 12 10:47:03 2022 daemon.info netdata[12907]: RRDSET: chart name 'net_mtu.pppoe_wan' on host 'OpenWrt' already exists.
Thu May 12 10:47:03 2022 daemon.info netdata[12907]: RRDSET: chart name 'net_packets.pppoe_wan' on host 'OpenWrt' already exists.
Thu May 12 10:47:05 2022 daemon.warn netifd: You have delegated IPv6-prefixes but haven't assigned them to any interface. Did you forget to set option ip6assign on your lan-interfaces?
Thu May 12 10:47:05 2022 daemon.info avahi-daemon[5251]: Leaving mDNS multicast group on interface pppoe-wan.IPv6 with address fe80::7d8a:445:6bd6:b482.
Thu May 12 10:47:05 2022 daemon.info avahi-daemon[5251]: Joining mDNS multicast group on interface pppoe-wan.IPv6 with address 2408:8215:a00:1aba:7d8a:445:6bd6:b482.
Thu May 12 10:47:05 2022 daemon.info avahi-daemon[5251]: Registering new address record for 2408:8215:a00:1aba:7d8a:445:6bd6:b482 on pppoe-wan.*.
Thu May 12 10:47:05 2022 daemon.info avahi-daemon[5251]: Withdrawing address record for fe80::7d8a:445:6bd6:b482 on pppoe-wan.
Thu May 12 10:47:05 2022 daemon.notice netifd: Interface 'wan_6' is now up
Thu May 12 10:47:07 2022 user.notice root: iptvhelper: reloading
Thu May 12 10:47:08 2022 user.notice root: iptvhelper: stopped
Thu May 12 10:47:08 2022 user.notice root: iptvhelper: starting
Thu May 12 10:47:11 2022 user.notice root: iptvhelper: reloading
Thu May 12 10:47:11 2022 user.notice root: iptvhelper: stopped
Thu May 12 10:47:11 2022 user.notice root: iptvhelper: starting
Thu May 12 10:47:13 2022 user.notice firewall: Reloading firewall due to ifup of wan (pppoe-wan)
Thu May 12 10:47:15 2022 user.notice root: iptvhelper: reloading
Thu May 12 10:47:15 2022 user.notice root: iptvhelper: stopped
Thu May 12 10:47:15 2022 user.notice root: iptvhelper: starting
Thu May 12 10:47:16 2022 user.notice nlbwmon: Reloading nlbwmon due to ifup of wan (pppoe-wan)
Thu May 12 10:47:16 2022 user.notice firewall: Reloading firewall due to ifupdate of wan (pppoe-wan)
Thu May 12 10:47:16 2022 user.notice ddns-scripts[23951]: qnas: PID '23951' started at 2022-05-12 10:47
Thu May 12 10:47:16 2022 user.notice ddns-scripts[23950]: ipv4_preset: PID '23950' started at 2022-05-12 10:47
Thu May 12 10:47:17 2022 user.warn ddns-scripts[23951]: qnas: Service section disabled! - TERMINATE
Thu May 12 10:47:17 2022 user.warn ddns-scripts[23951]: qnas: PID '23951' exit WITH ERROR '1' at 2022-05-12 10:47
Thu May 12 10:47:17 2022 user.notice root: iptvhelper: reloading
Thu May 12 10:47:17 2022 user.warn ddns-scripts[23950]: ipv4_preset: Service section disabled! - TERMINATE
Thu May 12 10:47:17 2022 user.warn ddns-scripts[23950]: ipv4_preset: PID '23950' exit WITH ERROR '1' at 2022-05-12 10:47
Thu May 12 10:47:18 2022 user.notice root: iptvhelper: stopped
Thu May 12 10:47:18 2022 user.notice root: iptvhelper: starting
Thu May 12 10:47:29 2022 user.notice firewall: Reloading firewall due to ifup of wan_6 (pppoe-wan)
Thu May 12 10:47:30 2022 user.notice root: iptvhelper: reloading
Thu May 12 10:47:31 2022 user.notice root: iptvhelper: stopped
Thu May 12 10:47:31 2022 user.notice root: iptvhelper: starting
Thu May 12 10:47:31 2022 user.notice nlbwmon: Reloading nlbwmon due to ifup of wan_6 (pppoe-wan)
Thu May 12 10:47:50 2022 daemon.err miniupnpd[17618]: PCP: External IP in request didn't match interface IP
Thu May 12 10:47:50 2022 daemon.err miniupnpd[17618]: PCP: External IP in request didn't match interface IP

我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2022-5-12 15:06 | 显示全部楼层
本帖最后由 ogr1432 于 2022-5-12 15:09 编辑

我搜了一下关键字,获取到新ip的时间在日志内是10点46分左右,所以我就只复制了这段时间前后的日志,如果日志不全,我可以再提供其他时间的部分,麻烦大家帮忙看看,先谢谢了!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-12 15:23 | 显示全部楼层
本帖最后由 jjit 于 2022-5-12 15:32 编辑

LCP terminated by peer 就是运营商服务器那里强制断线,把你踢下线,然后你路由断线了以后,自动重新拨号
正常啊,一般 公网ip 都是动态的,会定期强制断线,换 ip的,除非你申请商业用的 专线网络,才是 固定ip

点评

奇怪了,我这边用的山东联通,用了10几年了,从来没有定期给我断连让我路由重新获取新ip的机制,这是最近电路检修停电,如果没有电路检修我都是半年不用重启一次路由的,也没记得ip有变动过,还能是别的什么原因吗?  详情 回复 发表于 2022-5-12 15:46
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-12 15:46 | 显示全部楼层
jjit 发表于 2022-5-12 15:23
LCP terminated by peer 就是运营商服务器那里强制断线,把你踢下线,然后你路由断线了以后,自动重新拨号
...

奇怪了,我这边用的山东联通,用了10几年了,从来没有定期给我断连让我路由重新获取新ip的机制,这是最近电路检修停电,如果没有电路检修我都是半年不用重启一次路由的,也没记得ip有变动过,还能是别的什么原因吗?

点评

或者是他们机房里的设备升级,导致断网,比如我们这里的电信会出公告的: https://www.189.cn/sh/sy_ycgg/117863.html  详情 回复 发表于 2022-5-12 16:08
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-12 16:08 | 显示全部楼层
ogr1432 发表于 2022-5-12 15:46
奇怪了,我这边用的山东联通,用了10几年了,从来没有定期给我断连让我路由重新获取新ip的机制,这是最近 ...

或者是他们机房里的设备升级,导致断网,比如我们这里的电信会出公告的:
https://www.189.cn/sh/sy_ycgg/117863.html

点评

谢谢,我问了一下,说是在整合线路,所以我们家附件几个小区断线了一次,一般我这不会自己换ip的;顺便问一下:如果是系统日志里是有“LCP terminated by peer”字样的掉线,不管是不是机制体掉线重连还是维护的短线  详情 回复 发表于 2022-5-12 17:36
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-12 16:20 | 显示全部楼层
Thu May 12 10:46:53 2022 daemon.info pppd[11602]: LCP terminated by peer

Thu May 12 10:46:53 2022 daemon.info pppd[11602]: Connect time 37283.9 minutes.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-12 16:21 | 显示全部楼层
对端断掉了LCP

你本次连接37280多分钟(621小时…^_^),,牛啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-12 16:22 | 显示全部楼层
北京这边都是30-40个小时
就给你踢掉了…→_→
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-12 17:36 | 显示全部楼层
jjit 发表于 2022-5-12 16:08
或者是他们机房里的设备升级,导致断网,比如我们这里的电信会出公告的:
https://www.189.cn/sh/sy_ycg ...

谢谢,我问了一下,说是在整合线路,所以我们家附件几个小区断线了一次,一般我这不会自己换ip的;顺便问一下:如果是系统日志里是有“LCP terminated by peer”字样的掉线,不管是不是机制踢掉线重连还是维护的断线重连,都可以判定不是我自己这边的设备问题对吗?(我的意思就是不需要我自己再排查自己家里的设备或者线路了?)

点评

是的,这条信息的意思是,服务端发起了断开连接的命令,和你的设备没有关系  详情 回复 发表于 2022-5-13 12:14
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-13 12:14 | 显示全部楼层
ogr1432 发表于 2022-5-12 17:36
谢谢,我问了一下,说是在整合线路,所以我们家附件几个小区断线了一次,一般我这不会自己换ip的;顺便问 ...

是的,这条信息的意思是,服务端发起了断开连接的命令,和你的设备没有关系
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 13:49

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表