miao1007 / Openwrt-NetKeeper

[C/C++] Run Netkeeper on OpenWrt Device
1.02k stars 288 forks source link

日志和接口显示拨号成功但是没有网 #167

Open ghost opened 6 years ago

ghost commented 6 years ago

你好我是南昌大学的,之前用的是K2拨号,插件是在这下载,现在我想换成K3,固件是LEDE,用你的源码编译,由于你说更新了不赞成适用所以我尝试了编译了v32和v18-v29的,在K3上日志显示拨号成功,接口也显示有ipv4地址,但是无法上网, 附上日志:

Tue Aug 22 12:07:53 2017 daemon.info pppd[13289]: sxplugin : passwd loaded Tue Aug 22 12:07:53 2017 daemon.notice pppd[13289]: pppd 2.4.7 started by root, uid 0 Tue Aug 22 12:07:53 2017 daemon.info pppd[13289]: PPP session is 32507 Tue Aug 22 12:07:53 2017 daemon.warn pppd[13289]: Connected to cc:1a:fa:e9:6c:40 via interface eth0.2 Tue Aug 22 12:07:53 2017 kern.info kernel: [ 497.230763] pppoe-netkeeper: renamed from ppp0 Tue Aug 22 12:07:53 2017 daemon.info pppd[13289]: Using interface pppoe-netkeeper Tue Aug 22 12:07:53 2017 daemon.notice pppd[13289]: Connect: pppoe-netkeeper <--> eth0.2 Tue Aug 22 12:07:53 2017 daemon.info pppd[13289]: syncppp not active Tue Aug 22 12:07:53 2017 daemon.info pppd[13289]: CHAP authentication succeeded: Authentication Successful,Welcome! Tue Aug 22 12:07:53 2017 daemon.notice pppd[13289]: CHAP authentication succeeded Tue Aug 22 12:07:53 2017 daemon.notice pppd[13289]: peer from calling number CC:1A:FA:E9:6C:40 authorized Tue Aug 22 12:07:53 2017 daemon.notice pppd[13289]: local IP address 111.73.196.73 Tue Aug 22 12:07:53 2017 daemon.notice pppd[13289]: remote IP address 111.73.196.1 Tue Aug 22 12:07:53 2017 daemon.notice pppd[13289]: primary DNS address 202.101.224.69 Tue Aug 22 12:07:53 2017 daemon.notice pppd[13289]: secondary DNS address 202.101.226.69 Tue Aug 22 12:07:53 2017 daemon.notice netifd: Network device 'pppoe-netkeeper' link is up Tue Aug 22 12:07:53 2017 daemon.notice netifd: Interface 'netkeeper' is now up Tue Aug 22 12:07:53 2017 daemon.info dnsmasq[11313]: reading /tmp/resolv.conf.auto Tue Aug 22 12:07:53 2017 daemon.info dnsmasq[11313]: using local addresses only for domain test Tue Aug 22 12:07:53 2017 daemon.info dnsmasq[11313]: using local addresses only for domain onion Tue Aug 22 12:07:53 2017 daemon.info dnsmasq[11313]: using local addresses only for domain localhost Tue Aug 22 12:07:53 2017 daemon.info dnsmasq[11313]: using local addresses only for domain local Tue Aug 22 12:07:53 2017 daemon.info dnsmasq[11313]: using local addresses only for domain invalid Tue Aug 22 12:07:53 2017 daemon.info dnsmasq[11313]: using local addresses only for domain example.net Tue Aug 22 12:07:53 2017 daemon.info dnsmasq[11313]: using local addresses only for domain example.org Tue Aug 22 12:07:53 2017 daemon.info dnsmasq[11313]: using local addresses only for domain example.com Tue Aug 22 12:07:53 2017 daemon.info dnsmasq[11313]: using nameserver 202.101.224.69#53 Tue Aug 22 12:07:53 2017 daemon.info dnsmasq[11313]: using nameserver 202.101.226.69#53 Tue Aug 22 12:07:53 2017 daemon.info dnsmasq[11313]: using 3 more local addresses Tue Aug 22 12:07:55 2017 user.notice firewall: Reloading firewall due to ifup of netkeeper (pppoe-netkeeper) Tue Aug 22 12:07:55 2017 daemon.info dnsmasq[11313]: exiting on receipt of SIGTERM Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: started, version 2.77 cachesize 150 Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: DNS service limited to local subnets Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC no-ID loop-detect inotify Tue Aug 22 12:07:58 2017 daemon.info dnsmasq-dhcp[13827]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain test Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain onion Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain localhost Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain local Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain invalid Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain example.net Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain example.org Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain example.com Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using 3 more local addresses Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: reading /tmp/resolv.conf.auto Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain test Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain onion Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain localhost Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain local Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain invalid Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain example.net Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain example.org Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using local addresses only for domain example.com Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using nameserver 202.101.224.69#53 Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using nameserver 202.101.226.69#53 Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: using 3 more local addresses Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: read /etc/hosts - 5 addresses Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: read /tmp/hosts/dhcp.cfg02411c - 2 addresses Tue Aug 22 12:07:58 2017 daemon.info dnsmasq-dhcp[13827]: read /etc/ethers - 0 addresses Tue Aug 22 12:07:58 2017 daemon.info dnsmasq[13827]: exiting on receipt of SIGTERM

ghost commented 6 years ago

大佬帮忙看下呗,我看下了下mipsel用的拨号插件应该是V32的,我编译的arm版不知道为什么就有问题

ciaoly commented 6 years ago

我说几句个人的看法哈。 你这个日志显示pppoe认证成功,并且接口也已经up了,也就是说拨号成功了。但是既然没有网络,你可以试试路由器是否ping的通百度或者114 dns,我猜测可能是防火墙配置错误导致lan口不能通过netkeeper接口连接网络。

sunflyer commented 6 years ago

江西V32应该早就GG了

ghost commented 6 years ago

Miao007直接提供的那个还是可以用的

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用

发件人: Wilson Chenmailto:notifications@github.com 发送时间: 2017年10月7日 1:02 收件人: miao1007/Openwrt-NetKeepermailto:Openwrt-NetKeeper@noreply.github.com 抄送: XiaoCool007mailto:xiaosmart@outlook.com; Authormailto:author@noreply.github.com 主题: Re: [miao1007/Openwrt-NetKeeper] 日志和接口显示拨号成功但是没有网 (#167)

江西V32应该早就GG了

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/miao1007/Openwrt-NetKeeper/issues/167#issuecomment-334813025, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZQc9YhguCVt7-mXqLA8Kdl-cOhyP50kks5spl0QgaJpZM4Ph5wU.

miao1007 commented 6 years ago

可能是防火墙,跃点,DNS等设置错误,你的pppoe是ok的

ghost commented 6 years ago

额,不重要了,我把k3卖了,换了k2p

发送自我的 Windows 10 手机

发件人: Haruhimailto:notifications@github.com 发送时间: 2017年10月11日 21:50 收件人: miao1007/Openwrt-NetKeepermailto:Openwrt-NetKeeper@noreply.github.com 抄送: XiaoCool007mailto:xiaosmart@outlook.com; Authormailto:author@noreply.github.com 主题: Re: [miao1007/Openwrt-NetKeeper] 日志和接口显示拨号成功但是没有网 (#167)

可能是防火墙,跃点,DNS等设置错误,你的pppoe是ok的

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/miao1007/Openwrt-NetKeeper/issues/167#issuecomment-335816178, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZQc9W7kIHCHGjLcN7CG-CfHrHdGkDTLks5srMevgaJpZM4Ph5wU.