vorys писал(а):
заходи по внутреннему ip 192.168.0.1 или какой ты там присвоил.
Во-первых, в некоторых случаях я ввожу адрес не руками, а это делается автоматически. И мне очень лениво менять каждый раз адреса руками в зависимости от того, внутри я в данный момент или снаружи.
Во-вторых, поскольку это тестовый сервер веб-приложения, некоторые вещи, завязанные на взаимодействие с внешними серверами (такие, например, как авторизация через вк) по 192.168.0.1 работать не будут в принципе.
Alexey Vitko писал(а):
При каких условиях он перезагружается?
Внешнее подключение через pppoe, в сети 2-3 беспроводных клиента (WPA TKIP+AES) и 5-7 клиентов, подключенных проводом. Периодически обнаруживается, что соединения с интернетом нет, если зайти и посмотреть логи роутера (в /index.cgi#system/syslog) в такой момент, то там видно, что роутер только что перезагрузился. Через некоторое время после перезагрузки внешнее подключение поднимается. Каких-то закономерностей выявить не удалось.
После перезагрузки тоже, кстати, соединение поднимает далеко не сразу. Вот лог:
Код:
Jan 1 00:00:09 syslogd started: BusyBox v1.19.2
Jan 1 00:00:09 resident: init lan
Jan 1 00:00:09 kernel: Primary data cache 32kB, 4-way, linesize 32 bytes.
Jan 1 00:00:09 kernel: Synthesized TLB refill handler (20 instructions).
Jan 1 00:00:09 kernel: Synthesized TLB load handler fastpath (32 instructions).
Jan 1 00:00:09 kernel: Synthesized TLB store handler fastpath (32 instructions).
Jan 1 00:00:09 kernel: Synthesized TLB modify handler fastpath (31 instructions).
Jan 1 00:00:09 kernel: PID hash table entries: 64 (order: 6, 256 bytes)
Jan 1 00:00:09 kernel: CPU: BCM53572 rev 1 at 300 MHz
Jan 1 00:00:09 kernel: Using 150.000 MHz high precision timer.
Jan 1 00:00:09 kernel: Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Jan 1 00:00:09 kernel: Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan 1 00:00:09 kernel: Memory: 13428k/16384k available (2025k kernel code, 2956k reserved, 442k data, 184k init, 0k highmem)
Jan 1 00:00:09 resident: start ipoe
Jan 1 00:00:09 start_ip: begin (br0 -> br0)
Jan 1 00:00:09 resident: start ipoe (v2141919896) on br0
Jan 1 00:00:10 resident: init wan
Jan 1 00:00:10 resident: start pppd on wan1_2
Jan 1 00:00:10 resident: stop pppd on wan1_2
Jan 1 00:00:10 resident: set lock on wan1_2, with "/var/lock/wan1_2.lock"
Jan 1 00:00:10 resident: stopped link(contype:ppp, iface:wan1_2)
Jan 1 00:00:10 pppd[224]: Plugin /usr/lib/pppd/rp-pppoe.so loaded.
Jan 1 00:00:10 pppd[227]: pppd 2.4.4 started by admin, uid 0
Jan 1 00:00:11 pppd[227]: PPP session is 1
Jan 1 00:00:11 pppd[227]: Using interface ppp0
Jan 1 00:00:11 pppd[227]: Connect: ppp0 <--> wan1
Jan 1 00:00:11 pppd[227]: CHAP authentication succeeded: CHAP authentication success
Jan 1 00:00:11 pppd[227]: CHAP authentication succeeded
Jan 1 00:00:11 pppd[227]: peer from calling number 0C:A4:02:8A:F5:56 authorized
Jan 1 00:00:11 pppd[227]: LCP terminated by peer
Jan 1 00:00:13 update_ddns: start
..................
Jan 1 00:00:13 telnet-start: begin...
Jan 1 00:00:13 telnet-start: running on 23 port
Jan 1 00:00:13 telnet-start: succes!
Jan 1 00:00:13 ez-ipupdate[235]: ez-ipupdate Version 3.0.11b8, Copyright (C) 1998-2001 Angus Mackay.
Jan 1 00:00:13 ez-ipupdate[235]: ez-ipupdate started for interface wan1 host ......... using server members.dyndns.org and service dyndns
Jan 1 00:00:13 ez-ipupdate[235]: (...................dlinkddns.com) unable to resolve interface wan1
Jan 1 00:00:13 resident: Out init_device
Jan 1 00:00:13 resident: record = action:up;iface:br0;contag:0;ipaddr:192.168.1.1;netmask:255.255.255.0;dns1:;dns2:;
Jan 1 00:00:13 resident: phys_iface br0
Jan 1 00:00:13 test: ip_type = (null)
Jan 1 00:00:13 resident: resident_ipoe_handler - Set default type: ipv4
Jan 1 00:00:13 resident: phys_iface
Jan 1 00:00:13 resident: resident_ipoe_handler - 1
Jan 1 00:00:13 resident: resident_ipoe_handler - 3, name: br0
Jan 1 00:00:14 resident: resident_ipoe_handler - l2:br0, l3:br0, tun:, ip_type:0
Jan 1 00:00:14 resident: resident_ipoe_handler - ipv4
Jan 1 00:00:14 resident: start ip_is_up on iface br0
Jan 1 00:00:14 resident: ip_is_up for link br0
Jan 1 00:00:14 resident: start dhcp+dns on br0
Jan 1 00:00:14 upnp: start - begin
Jan 1 00:00:14 pppd[227]: Connection terminated.
Jan 1 00:00:14 pppd[227]: Sent PADT
Jan 1 00:00:14 pppd[227]: Modem hangup
Jan 1 00:00:14 pppd[227]: lcp_close: unit:0, reason: "" (status: 16, state: 1, was_ip_down: 0)
Jan 1 00:00:14 dnsmasq[266]: started, version 2.63 cachesize 512
Jan 1 00:00:14 dnsmasq[266]: compile time options: no-IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
Jan 1 00:00:14 dnsmasq-dhcp[266]: DHCP, IP range 192.168.1.30 -- 192.168.1.100, lease time 5h
Jan 1 00:00:14 dnsmasq[266]: read /tmp/hosts - 2 addresses
Jan 1 00:00:14 dnsmasq-dhcp[266]: read /etc/ethers - 0 addresses
Jan 1 00:00:14 syslog: SNet version started
Jan 1 00:00:14 miniupnpd[268]: HTTP listening on port 45615
Jan 1 00:00:14 miniupnpd[268]: Listening for NAT-PMP traffic on port 5351
Jan 1 00:00:19 pppd[227]: Couldn't get PPP statistics: No such device
Jan 1 00:00:19 pppd[227]: PPP session is 2
Jan 1 00:00:19 pppd[227]: Using interface ppp0
Jan 1 00:00:19 pppd[227]: Connect: ppp0 <--> wan1
Jan 1 00:00:19 pppd[227]: CHAP authentication succeeded: CHAP authentication success
Jan 1 00:00:19 pppd[227]: CHAP authentication succeeded
Jan 1 00:00:19 pppd[227]: peer from calling number 0C:A4:02:8A:F5:56 authorized
Jan 1 00:00:19 pppd[227]: LCP terminated by peer
Jan 1 00:00:22 pppd[227]: Connection terminated.
Jan 1 00:00:22 pppd[227]: Sent PADT
Jan 1 00:00:22 pppd[227]: Modem hangup
Jan 1 00:00:22 pppd[227]: lcp_close: unit:0, reason: "" (status: 16, state: 1, was_ip_down: 0)
Jan 1 00:00:24 kernel: br0: topology change detected, propagating
Jan 1 00:00:24 kernel: br0: port 1(eth1) entering forwarding state
Jan 1 00:00:24 kernel: br0: topology change detected, propagating
Jan 1 00:00:24 kernel: br0: port 2(eth0.1) entering forwarding state
Jan 1 00:00:27 pppd[227]: Couldn't get PPP statistics: No such device
Jan 1 00:00:28 pppd[227]: PPP session is 3
Jan 1 00:00:28 pppd[227]: Using interface ppp0
Jan 1 00:00:28 pppd[227]: Connect: ppp0 <--> wan1
Jan 1 00:00:28 pppd[227]: CHAP authentication succeeded: CHAP authentication success
Jan 1 00:00:28 pppd[227]: CHAP authentication succeeded
Jan 1 00:00:28 pppd[227]: peer from calling number 0C:A4:02:8A:F5:56 authorized
Jan 1 00:00:28 pppd[227]: LCP terminated by peer
Jan 1 00:00:31 pppd[227]: Connection terminated.
Jan 1 00:00:31 pppd[227]: Sent PADT
Jan 1 00:00:31 pppd[227]: Modem hangup
Jan 1 00:00:31 pppd[227]: lcp_close: unit:0, reason: "" (status: 16, state: 1, was_ip_down: 0)
Jan 1 00:00:36 pppd[227]: Couldn't get PPP statistics: No such device
Jan 1 00:00:36 pppd[227]: Couldn't get PPP statistics: No such device
Jan 1 00:00:36 pppd[227]: PPP session is 4
Jan 1 00:00:36 pppd[227]: Using interface ppp0
Jan 1 00:00:36 pppd[227]: Connect: ppp0 <--> wan1
Jan 1 00:00:36 pppd[227]: CHAP authentication succeeded: CHAP authentication success
Jan 1 00:00:36 pppd[227]: CHAP authentication succeeded
Jan 1 00:00:36 pppd[227]: peer from calling number 0C:A4:02:8A:F5:56 authorized
Jan 1 00:00:36 pppd[227]: LCP terminated by peer
Jan 1 00:00:39 pppd[227]: Connection terminated.
Jan 1 00:00:39 pppd[227]: Sent PADT
Jan 1 00:00:39 pppd[227]: Modem hangup
Jan 1 00:00:39 pppd[227]: lcp_close: unit:0, reason: "" (status: 16, state: 1, was_ip_down: 0)
Jan 1 00:00:40 kernel: dlink: emfc_mfdb_membership_add: mgrp_ip is zero, stack:
Jan 1 00:00:40 kernel: Call Trace:
Jan 1 00:00:40 kernel: [<8000f2ec>] dump_stack+0x8/0x34
Jan 1 00:00:40 kernel: [] emfc_mfdb_membership_add+0xc4/0x264 [emf]
Jan 1 00:00:40 kernel: [] igsc_sdb_member_add+0x284/0x3d0 [igs]
Jan 1 00:00:40 kernel: [] igsc_stats_get+0x238/0x268 [igs]
Jan 1 00:00:40 kernel: Failed to add MFDB entry for 0 80888000
Jan 1 00:00:40 kernel: dlink: emfc_mfdb_membership_add: mgrp_ip is zero, stack:
Jan 1 00:00:40 kernel: Call Trace:
Jan 1 00:00:40 kernel: [<8000f2ec>] dump_stack+0x8/0x34
Jan 1 00:00:40 kernel: [] emfc_mfdb_membership_add+0xc4/0x264 [emf]
Jan 1 00:00:41 dnsmasq-dhcp[266]: DHCPDISCOVER(br0) 192.168.1.35 00:1d:92:03:79:bf
Jan 1 00:00:41 dnsmasq-dhcp[266]: DHCPOFFER(br0) 192.168.1.35 00:1d:92:03:79:bf
Jan 1 00:00:41 dnsmasq-dhcp[266]: DHCPREQUEST(br0) 192.168.1.35 00:1d:92:03:79:bf
Jan 1 00:00:41 dnsmasq-dhcp[266]: DHCPACK(br0) 192.168.1.35 00:1d:92:03:79:bf smenit-imja
Jan 1 00:00:44 pppd[227]: Couldn't get PPP statistics: No such device
Jan 1 00:00:44 pppd[227]: PPP session is 5
Jan 1 00:00:44 pppd[227]: Using interface ppp0
Jan 1 00:00:44 pppd[227]: Connect: ppp0 <--> wan1
Jan 1 00:00:44 pppd[227]: CHAP authentication succeeded: CHAP authentication success
Jan 1 00:00:44 pppd[227]: CHAP authentication succeeded
Jan 1 00:00:44 pppd[227]: peer from calling number 0C:A4:02:8A:F5:56 authorized
Jan 1 00:00:44 pppd[227]: LCP terminated by peer
Jan 1 00:00:47 pppd[227]: Connection terminated.
Jan 1 00:00:47 pppd[227]: Sent PADT
Jan 1 00:00:47 pppd[227]: Modem hangup
Jan 1 00:00:47 pppd[227]: lcp_close: unit:0, reason: "" (status: 16, state: 1, was_ip_down: 0)
Jan 1 00:00:52 pppd[227]: Couldn't get PPP statistics: No such device
Jan 1 00:00:52 pppd[227]: Couldn't get PPP statistics: No such device
Jan 1 00:00:53 pppd[227]: PPP session is 6
Jan 1 00:00:53 pppd[227]: Using interface ppp0
Jan 1 00:00:53 pppd[227]: Connect: ppp0 <--> wan1
Jan 1 00:00:53 pppd[227]: CHAP authentication succeeded: CHAP authentication success
Jan 1 00:00:53 pppd[227]: CHAP authentication succeeded
Jan 1 00:00:53 pppd[227]: peer from calling number 0C:A4:02:8A:F5:56 authorized
Jan 1 00:00:53 pppd[227]: LCP terminated by peer
Jan 1 00:00:56 pppd[227]: Connection terminated.
Jan 1 00:00:56 pppd[227]: Sent PADT
Jan 1 00:00:56 pppd[227]: Modem hangup
Jan 1 00:00:56 pppd[227]: lcp_close: unit:0, reason: "" (status: 16, state: 1, was_ip_down: 0)
Jan 1 00:00:56 resident: getting wan port status
Jan 1 00:01:00 miniupnpd[268]: Failed to get ip address for interface
Jan 1 00:01:01 pppd[227]: Couldn't get PPP statistics: No such device
Jan 1 00:01:02 miniupnpd[268]: upnp_event_send: send(): Connection refused
Jan 1 00:01:03 dnsmasq-dhcp[266]: DHCPINFORM(br0) 192.168.1.53 00:1d:92:03:79:d9
Jan 1 00:01:03 dnsmasq-dhcp[266]: DHCPACK(br0) 192.168.1.53 00:1d:92:03:79:d9 comp10
Jan 1 00:01:11 pppd[227]: PPP session is 7
Jan 1 00:01:11 pppd[227]: Using interface ppp0
Jan 1 00:01:11 pppd[227]: Connect: ppp0 <--> wan1
Jan 1 00:01:11 pppd[227]: CHAP authentication succeeded: CHAP authentication success
Jan 1 00:01:11 pppd[227]: CHAP authentication succeeded
Jan 1 00:01:11 pppd[227]: peer from calling number 0C:A4:02:8A:F5:56 authorized
Jan 1 00:01:11 pppd[227]: LCP terminated by peer
Jan 1 00:01:14 pppd[227]: Connection terminated.
Jan 1 00:01:14 pppd[227]: Sent PADT
Jan 1 00:01:14 pppd[227]: Modem hangup
Jan 1 00:01:14 pppd[227]: lcp_close: unit:0, reason: "" (status: 16, state: 1, was_ip_down: 0)
Jan 1 00:01:19 pppd[227]: Couldn't get PPP statistics: No such device
Jan 1 00:01:34 pppd[227]: Timeout waiting for PADS packets
Jan 1 00:01:34 pppd[227]: Unable to complete PPPoE Discovery
Jan 1 00:01:34 pppd[227]: lcp_close: unit:0, reason: "" (status: 0, state: 1, was_ip_down: 0)
Jan 1 00:01:39 pppd[227]: Couldn't get PPP statistics: No such device
Jan 1 00:01:39 pppd[227]: Couldn't get PPP statistics: No such device
Jan 1 00:01:48 miniupnpd[268]: upnp_event_send: send(): Connection timed out
Jan 1 00:01:48 miniupnpd[268]: upnp_event_send: send(): Connection timed out
Jan 1 00:01:48 miniupnpd[268]: upnp_event_send: send(): Connection timed out