Alexey Vitko писал(а):
sp0ok писал(а):
Alexey Vitko писал(а):
sp0ok, поставьте канал вручную. Например, 11. И название лучше поменять, SSID dlink может быть у других роутеров в здании.
Помогло, сейчас с утра телефон без проблем подключается по wi-fi и выходит в инет! Однако, возникла другая проблема (ну с ума можно сойти!) периодически маршрутизатор отключается от интернета, т.е. "Статус отключено" через несколько секунд "Статус подключено" и так пока не перезагрузишь! Проблем у провайдера нет, пробовал подключить кабель напрямую.
Покажите лог на момент обрыва связи.
Вот лог:
Код:
Feb 6 21:46:45 syslog: IP header has unsupp len (16 bytes). Skip.
Feb 6 21:46:49 syslog: IP header has unsupp len (16 bytes). Skip.
Feb 6 21:46:56 l2tp_plugin[898]: Connect time 1440.1 minutes.
Feb 6 21:46:56 l2tp_plugin[898]: Sent 95121449 bytes, received 2586578686 bytes.
Feb 6 21:46:56 l2tp_plugin[898]: Down ppp with status (0)0
Feb 6 21:46:56 l2tp_plugin[898]: Overriding mtu 1500 to 1456
Feb 6 21:46:56 l2tp_plugin[898]: Overriding mru 1500 to mtu value 1456
Feb 6 21:46:56 event: ppp_down - do event
Feb 6 21:46:56 resident_ppp_handler: record = action:down;iface:ppp0;link:wan1_2;status:0;
Feb 6 21:46:56 resident: resident_ipoe_handler - Set default type: ipv4
Feb 6 21:46:56 resident: resident_ppp_handler - l2:wan1, l3:wan1_1, tun:wan1_2
Feb 6 21:46:56 ppp_handler: ppp state 0
Feb 6 21:46:56 ppp_handler: Restart pppd
Feb 6 21:46:56 start_pppd: tunnel: ifaces/wan1/services/wan1_1/tunnels/wan1_2/
Feb 6 21:46:56 resident: start pppd on wan1_2
Feb 6 21:46:56 resident: stop pppd on wan1_2
Feb 6 21:46:56 kernel: cmd=4
Feb 6 21:46:56 kernel: cmd=4
Feb 6 21:46:56 resident: set lock on wan1_2, with "/var/lock/wan1_2.lock"
Feb 6 21:46:56 l2tp_plugin[898]: Terminating on signal 15
Feb 6 21:46:56 l2tp_plugin[898]: lcp_close: unit:0, reason: "User request" (status: 5, state: 5, was_ip_down: 1)
Feb 6 21:46:56 resident: stopped link(contype:l2tp, iface:wan1_2)
Feb 6 21:46:59 l2tp_plugin[898]: Connection terminated.
Feb 6 21:46:59 l2tp_plugin[899]: Disconnecting from 192.168.10.42, Local: 20968, Remote: 21606
Feb 6 21:46:59 l2tp_plugin[899]: Connection 21606 closed to 192.168.10.42, port 1701 (Goodbye!)
Feb 6 21:46:59 l2tp_plugin[898]: Modem hangup
Feb 6 21:46:59 l2tp_plugin[898]: lcp_close: unit:0, reason: "" (status: 16, state: 0, was_ip_down: 1)
Feb 6 21:46:59 l2tp_plugin[898]: Exit.(16)
Feb 6 21:46:59 l2tp_plugin[898]: Function die(). Reinit connection (req_unit 0)
Feb 6 21:46:59 resident_ppp_handler: record = action:down;iface:ppp0;status:16;link:wan1_2;
Feb 6 21:46:59 resident: resident_ipoe_handler - Set default type: ipv4
Feb 6 21:46:59 resident: resident_ppp_handler - l2:wan1, l3:wan1_1, tun:wan1_2
Feb 6 21:46:59 ppp_handler: ppp state 1
Feb 6 21:46:59 ppp_handler: Restart pppd
Feb 6 21:46:59 start_pppd: tunnel: ifaces/wan1/services/wan1_1/tunnels/wan1_2/
Feb 6 21:46:59 resident: start pppd on wan1_2
Feb 6 21:46:59 resident: stop pppd on wan1_2
Feb 6 21:46:59 kernel: cmd=4
Feb 6 21:46:59 kernel: cmd=4
Feb 6 21:46:59 resident: set lock on wan1_2, with "/var/lock/wan1_2.lock"
Feb 6 21:46:59 resident: stopped link(contype:l2tp, iface:wan1_2)
Feb 6 21:48:19 kernel: Priletela cmd=0x89f3
Feb 6 21:48:22 kernel: Priletela cmd=0x89f3
...
Feb 6 21:51:49 resident: resident_ppp_handler - l2:wan1, l3:wan1_1, tun:wan1_2
Feb 6 21:51:49 ppp_handler: ppp state 5
Feb 6 21:51:49 resident: resident_ppp_handler - status: 5 (5)
Feb 6 21:51:49 resident: ppp_is_down on wan1_2
Feb 6 21:51:50 resident: stopped link(contype:l2tp, iface:wan1_2)
Feb 6 21:51:50 kernel: cmd=4
Feb 6 21:51:50 resident: update dns
Feb 6 21:51:50 dnsmasq[2722]: read /tmp/hosts - 2 addresses
Feb 6 21:51:50 dnsmasq-dhcp[2722]: read /etc/ethers - 8 addresses
Feb 6 21:51:50 dnsmasq[2722]: using nameserver 78.153.0.251#53
Feb 6 21:51:50 dnsmasq[2722]: using nameserver 81.91.36.3#53
Feb 6 21:51:50 l2tp_plugin[2691]: control_finish: Connection closed to 192.168.10.50, serial 1 (Locally generated disconnect)
Feb 6 21:51:55 l2tp_plugin[2665]: Connection terminated.
Feb 6 21:51:55 l2tp_plugin[2691]: Disconnecting from 192.168.10.50, Local: 25115, Remote: 63464
Feb 6 21:51:55 l2tp_plugin[2691]: Connection 63464 closed to 192.168.10.50, port 1701 (Goodbye!)
Feb 6 21:51:55 l2tp_plugin[2665]: Modem hangup
Feb 6 21:51:55 l2tp_plugin[2665]: lcp_close: unit:0, reason: "" (status: 16, state: 0, was_ip_down: 1)
Feb 6 21:51:55 l2tp_plugin[2665]: Exit.(16)
Feb 6 21:51:55 l2tp_plugin[2665]: Function die(). Reinit connection (req_unit 0)
Feb 6 21:51:56 resident_ppp_handler: record = action:down;iface:ppp0;status:16;link:wan1_2;
Feb 6 21:51:56 resident: resident_ipoe_handler - Set default type: ipv4
Feb 6 21:51:56 resident: resident_ppp_handler - l2:wan1, l3:wan1_1, tun:wan1_2
Feb 6 21:51:56 ppp_handler: ppp state 1
Feb 6 21:51:56 ppp_handler: Restart pppd
Feb 6 21:51:56 start_pppd: tunnel: ifaces/wan1/services/wan1_1/tunnels/wan1_2/
Feb 6 21:51:56 resident: start pppd on wan1_2
Feb 6 21:51:56 resident: stop pppd on wan1_2
Feb 6 21:51:56 kernel: cmd=4
Feb 6 21:51:56 kernel: cmd=4
Feb 6 21:51:56 resident: set lock on wan1_2, with "/var/lock/wan1_2.lock"
Feb 6 21:51:56 resident: stopped link(contype:l2tp, iface:wan1_2)
Feb 6 21:52:17 kernel: Priletela cmd=0x89f3
Feb 6 21:53:46 get_host_ip: error in getaddrinfo: Name or service not known
Feb 6 21:53:46 pppd[2889]: Plugin /usr/lib/pppd/pppol2tp.so loaded.
Feb 6 21:53:46 pppd[2890]: pppd 2.4.4 started by admin, uid 0
Feb 6 21:53:46 l2tp_plugin[2890]: setsockopt recvref: Protocol not available
Feb 6 21:53:46 l2tp_plugin[2891]: l2tp version xl2tpd-1.1.11-plugin-0.1 started on Dlink-Router PID:2891
Feb 6 21:53:46 l2tp_plugin[2891]: route_add: have route to host on this dev wan1
Feb 6 21:53:46 l2tp_plugin[2891]: Connecting to host vpn.ural.mts.ru, port 1701
Feb 6 21:53:46 l2tp_plugin[2891]: Connection established to 192.168.10.42, 1701. Local: 8416, Remote: 50927 (ref=0/0).
Feb 6 21:53:46 l2tp_plugin[2891]: Calling on tunnel 8416
Feb 6 21:53:46 l2tp_plugin[2891]: Call established with 192.168.10.42, Local: 37795, Remote: 22714, Serial: 1 (ref=0/0)
Feb 6 21:53:46 l2tp_plugin[2890]: Using interface ppp0
Feb 6 21:53:46 l2tp_plugin[2890]: Connect: ppp0 <--> l2tp[0]
Feb 6 21:53:46 l2tp_plugin[2890]: Overriding mtu 1500 to 1456
Feb 6 21:53:46 l2tp_plugin[2890]: Overriding mru 1500 to mtu value 1456
Feb 6 21:53:46 l2tp_plugin[2890]: Overriding mru 1500 to mtu value 1456
Feb 6 21:53:46 l2tp_plugin[2890]: CHAP authentication succeeded
Feb 6 21:53:46 l2tp_plugin[2890]: CHAP authentication succeeded
Feb 6 21:53:46 l2tp_plugin[2890]: local IP address 93.90.226.30
Feb 6 21:53:46 l2tp_plugin[2890]: remote IP address 85.235.38.142
Feb 6 21:53:46 l2tp_plugin[2890]: primary DNS address 81.91.36.3
Feb 6 21:53:46 l2tp_plugin[2890]: secondary DNS address 78.153.0.251
Feb 6 21:53:46 resident_ppp_handler: record = action:up;iface:ppp0;link:wan1_2;ipaddr:93.90.226.30;netmask:255.255.255.255;gateway:85.235.38.142;dns1:81.91.36.3;dns2:78.153.0.251;
Feb 6 21:53:46 resident: resident_ipoe_handler - Set default type: ipv4
Feb 6 21:53:46 resident: resident_ppp_handler - l2:wan1, l3:wan1_1, tun:wan1_2
Feb 6 21:53:46 kernel: cmd=3
Feb 6 21:53:46 resident: update dns
Feb 6 21:53:46 dnsmasq[2722]: read /tmp/hosts - 2 addresses
Feb 6 21:53:46 dnsmasq-dhcp[2722]: read /etc/ethers - 8 addresses
Feb 6 21:53:46 dnsmasq[2722]: using nameserver 78.153.0.251#53
Feb 6 21:53:46 dnsmasq[2722]: using nameserver 81.91.36.3#53
Feb 6 21:53:46 resident: update ntpclient
Feb 6 21:53:46 dnsmasq[2722]: exiting on receipt of SIGTERM
header has unsupp len (16 bytes). Skip.