Пользователь пока ничего не рассказал о себе

Наибольший вклад в теги

Все теги (4)

Лучшие ответы пользователя

Все ответы (6)
  • Примерно в одно и тоже время пропадает частично интернет?

    @alfill
    Роутеры не перезагружаются раз в сутки (иначе у них флеш-память сдохнет) - у них есть время аренды ip клиентов в настройках DHCP-сервера, обычно небольшое, но желательно увеличить на неделю или больше чтобы часто не перестраивать маршруты.

    Видимо, комп не может обновить маршруты с роутера, может в сетевой отключен Link Layer Topology Discovery (lltd) протокол (в Wi-Fi учтены разрывы, оповещения ч/з Beacon Interval, поэтому такого нет), если сброс DNS ipconfig /flushdns или netsh winsock reset не помогает, то

    По кабелю лучше указать статичный ip: в DHCP-настройках роутера для каждой сетевой указать постоянный внутренний IP (чтобы Lan не пропадал), в настройках компа - соответственно указанный IP/маску/шлюз роутера.

    Примерно похожее происходит: интернет замирает на 2~5мин пару раз в день на получение внешнего IP потому что автоконфигурация по DHCP у [конкретно моего] провайдера обновляется ч/з 12ч (43200сек - lease time), т.к. его доступная подсеть имеет всего ~7тыс. IPv4 адресов, вот он проксирует и объединяет как может. Раньше сеть раз в 2-3..6 мес наглухо пропадает от 2ч до полдня, пока маршруты не настроятся и сам не разобрался.
    например по логам видно:
    Apr  7 05:50:22 udhcpc[1184]: Lease of 10.240.*.* obtained, lease time 43200
    Apr  7 11:50:22 udhcpc[1184]: Sending renew...
    Apr  7 11:50:24 udhcpc[1184]: Lease of 10.240.*.* obtained, lease time 43200
    Apr  7 13:59:07 udhcpd[1066]: Found static lease: 2301a8c0
    Apr  7 13:59:07 udhcpd[1066]: Sending ACK to 192.168.1.35
    Apr  7 17:50:24 udhcpc[1184]: Sending renew...
    Apr  7 17:50:26 udhcpc[1184]: Lease of 10.240.*.* obtained, lease time 43200
    Apr  7 17:51:37 pppd[4433]: LCP terminated by peer
    Apr  7 17:51:37 pppd[4433]: Connect time 1440.0 minutes.
    Apr  7 17:51:37 pppd[4433]: Sent 37511333 bytes, received 75485940 bytes.
    Apr  7 17:51:37 pppd: Disable forwarding for ppp0 interface
    Apr  7 17:51:37 pppd: Restore netfilter rules from pppd
    Apr  7 17:51:38 resolv: Generate resolv DNS1: 45.90.28.213 DNS2: 45.90.30.213
    Apr  7 17:51:38 pppd: Restore default gateway
    Apr  7 17:51:39 pppd: Flush route cache
    Apr  7 17:51:39 pppd: Restart need service and rebuild shaper and iptables rules
    Apr  7 17:51:39 services: Restart needed services and scripts. Mode pppd
    Apr  7 17:51:40 pppd[4433]: Connection terminated.
    Apr  7 17:51:40 pppd[4433]: Sent PADT
    Apr  7 17:51:40 pppd[4433]: Modem hangup
    Apr  7 17:51:41 iptables: Clear iptables rules fo ipv6 and set default actions.
    Apr  7 17:51:41 iptables: Starting IPTABLES
    Apr  7 17:51:42 iptables: Set default filters
    Apr  7 17:51:42 iptables: Service limit set
    Apr  7 17:51:42 iptables: Dnsproxy allow to connect
    Apr  7 17:51:42 iptables: Remote managment web limit
    Apr  7 17:51:42 iptables: icmp drop ping from wan eth2.2
    Apr  7 17:51:42 iptables: Set forward rules
    Apr  7 17:51:42 iptables: Add rules for web content filters
    Apr  7 17:51:43 iptables: Add QoS rules
    Apr  7 17:51:43 QoS: TOS add simple_qos netfilter rules
    Apr  7 17:51:44 iptables: Add NAT rules
    Apr  7 17:51:44 iptables: Call to add VPN netfilter rules.
    Apr  7 17:51:44 dnsserver: Generate /etc/hosts file.
    Apr  7 17:51:44 dnsserver: Send HUP to dnsmasq.
    Apr  7 17:51:44 dnsmasq[587]: read /etc/hosts - 6 addresses
    Apr  7 17:51:44 dnsmasq[587]: using nameserver 45.90.28.213#53
    Apr  7 17:51:44 dnsmasq[587]: using nameserver 45.90.30.213#53
    Apr  7 17:51:45 pppd[4433]: PPP session is 38429
    Apr  7 17:51:45 pppd[4433]: Connected to a4:6c:2a:a5:d8:10 via interface eth2.2
    Apr  7 17:51:45 pppd[4433]: Using interface ppp0
    Apr  7 17:51:45 pppd[4433]: Connect: ppp0 <--> eth2.2
    Apr  7 17:51:45 pppd[4433]: CHAP authentication succeeded
    Apr  7 17:51:45 pppd[4433]: CHAP authentication succeeded
    Apr  7 17:51:45 pppd[4433]: peer from calling number A4:6C:2A:A5:D8:10 authorized
    Apr  7 17:51:45 pppd[4433]: local  IP address 176.118.*.*
    Apr  7 17:51:45 pppd[4433]: remote IP address 172.30.*.*
    Apr  7 17:51:45 dyndns: Stopping DynDns
    Apr  7 17:51:45 dyndns: Starting DynDNS
    Apr  7 17:51:46 ntp: Stopping NTPD
    Apr  7 17:51:46 ntp: Starting NTPD
    Apr  7 17:51:47 vpn-server: Stop l2tp vpn server
    Apr  7 17:51:48 pppd: Down is OK
    Apr  7 17:51:48 pppd: No dgw stored.
    Apr  7 17:51:48 pppd: Replace default route to ppp0
    Apr  7 17:51:48 resolv: Generate resolv DNS1: 45.90.28.213 DNS2: 45.90.30.213
    Apr  7 17:51:48 pppd: Flush route cache
    Apr  7 17:51:48 pppd: Restart dns server, dyndns, ntp sync and rebuild shaper and iptables rules
    Apr  7 17:51:49 services: Restart needed services and scripts. Mode pppd
    Apr  7 17:51:49 QoS: Stopping SHAPER
    Apr  7 17:51:50 QoS: Set default rules.
    Apr  7 17:51:50 QoS: TOS Load module.
    Apr  7 17:51:50 QoS: TOS Generate /etc/qos_firewall
    Apr  7 17:51:51 Prio: port based QoS Load netsched  modules.
    Apr  7 17:51:54 iptables: Clear iptables rules fo ipv6 and set default actions.
    Apr  7 17:51:54 iptables: Starting IPTABLES
    Apr  7 17:51:54 iptables: Set default filters
    Apr  7 17:51:55 iptables: Service limit set
    Apr  7 17:51:55 iptables: Dnsproxy allow to connect
    Apr  7 17:51:55 iptables: Remote managment web limit
    Apr  7 17:51:55 iptables: icmp drop ping from wan eth2.2
    Apr  7 17:51:55 iptables: Set forward rules
    Apr  7 17:51:55 iptables: Add rules for web content filters
    Apr  7 17:51:55 iptables: Add QoS rules
    Apr  7 17:51:55 QoS: TOS add simple_qos netfilter rules
    Apr  7 17:51:56 iptables: Add NAT rules
    Apr  7 17:51:56 iptables: Call to add VPN netfilter rules.
    Apr  7 17:51:57 dnsserver: Generate /etc/hosts file.
    Apr  7 17:51:57 dnsserver: Send HUP to dnsmasq.
    Apr  7 17:51:57 dnsmasq[587]: read /etc/hosts - 6 addresses
    Apr  7 17:51:57 dnsmasq[587]: using nameserver 45.90.28.213#53
    Apr  7 17:51:57 dnsmasq[587]: using nameserver 45.90.30.213#53
    Apr  7 17:51:58 dyndns: Stopping DynDns
    Apr  7 17:51:58 dyndns: Starting DynDNS
    Apr  7 17:51:58 ntp: Starting NTPD
    Apr  7 17:52:00 vpn-server: Stop l2tp vpn server
    Apr  7 17:52:00 pppd: Enable forwarding for ppp0 interface
    Apr  7 17:52:00 pppd: All is start OK
    Apr  7 17:52:00 pppd: All is start OK
    Apr  7 20:23:04 udhcpd[1066]: Found static lease: 1c01a8c0
    Apr  7 20:23:04 udhcpd[1066]: Sending ACK to 192.168.1.28
    Apr  7 23:50:26 udhcpc[1184]: Sending renew...
    Apr  7 23:50:28 udhcpc[1184]: Lease of 10.240.*.* obtained, lease time 43200
    Apr  8 05:50:29 udhcpc[1184]: Sending renew...
    Apr  8 05:50:31 udhcpc[1184]: Lease of 10.240.*.* obtained, lease time 43200
    Apr  8 11:50:32 udhcpc[1184]: Sending renew...
    Apr  8 11:50:34 udhcpc[1184]: Lease of 10.240.*.* obtained, lease time 43200
    Apr  8 14:13:41 udhcpd[1066]: Found static lease: 2301a8c0
    Apr  8 14:13:41 udhcpd[1066]: Sending ACK to 192.168.1.35

    Еще вариант, если соединение позволяет - прописать на роутере определение DNS-имен не у провайдера, т.к. иногда глючит, а через него напрямую к NextDNS, AdguardDNS или яндекса 77.88.8.7 (немного увеличит время +50ms резолвинга и сделает недоступные внутренние подсети, если были, но зато вырежет рекламу).
    // Совсем способ - если модель роутера поддерживается и памяти хватит, то обновить прошивку на что-ниб более продвинутое типа Wive-RTNL или OpenWRT, DDwrt если старая прошивка глючит (мой роутер взламывали по сети, пока он был D-Link); настроить Encrypted DNS over-HTTPS/TLS/Quic DNSSEC для приватности, накатить пакетов Transmission BT, и ни разрывы, цензура, реклама не помеха.
    Ответ написан
    Комментировать
  • Как в Google Drive вставить картинку в ячейку?

    @alfill
    какой сторонний ресурс? загрузите все на google drive (или dropbox - там проще прямые сылки получить) и поищите про хостинг в google drive, надо будет подставить типа https://googledrive.com/host/XXXXXX к вашей расшаренной папке, получите оттуда длинные url к вашим картинкам (т.к. host автоматически заменится на адрес изла, например https://1981d16830f9abf5398c58cb8c2e7d886eebdfed.g... ). И там же прописать robots Для сокращения можно использовать gdriv.es
    Ответ написан
    Комментировать