Portál AbcLinuxu, 16. července 2025 12:51
To by aspoň šlo otvírat ajpiny v prohlížeči ... pro inspiraci ...
$ host www.seznam.cz www.seznam.cz has address 212.80.76.3 $ host www.abclinuxu.cz www.abclinuxu.cz is an alias for abicko.abclinuxu.cz. abicko.abclinuxu.cz has address 195.70.150.7 $ host www.nasa.gov www.nasa.gov is an alias for www.nasa.gov.speedera.net. www.nasa.gov.speedera.net is an alias for www.nasa.gov.edgesuite.net. www.nasa.gov.edgesuite.net is an alias for a1718.x.akamai.net. a1718.x.akamai.net has address 195.113.232.75 a1718.x.akamai.net has address 195.113.232.80 $ host www.cern.ch www.cern.ch is an alias for webr4.cern.ch. webr4.cern.ch has address 137.138.137.177 webr4.cern.ch mail is handled by 20 cernmxlb.cern.ch.
Musíte mít dns na tom modemu? Co máte v /etc/resolv.conf? Případně si něco doplňte do /etc/hosts.
search
nameserver 192.168.1.1
/IP toho modemu / Máte zaplé dhcp? Jsou místa, kde se s noťasem připojuju, je tam zaplý dhcp, tak si pouštim nějakej skript, kterej nastaví adresu, routu, dns a spustí se ještě ntpdate. Tedy asi to jde líp, stačí mi to takhle.
Doporuceni pro budoucnost D-Link nebrat ...
This option adds a `TCPMSS' target, which allows you to alter the MSS value of TCP SYN packets, to control the maximum size for that connection (usually limiting it to your outgoing interface's MTU minus 40). This is used to overcome criminally braindead ISPs or servers which block ICMP Fragmentation Needed packets. The symptoms of this problem are that everything works fine from your Linux firewall/router, but machines behind it can never exchange large packets: 1) Web browsers connect, then hang with no data received. 2) Small mail works fine, but large emails hang. 3) ssh works fine, but scp hangs after initial handshaking. Workaround: activate this option and add a rule to your firewall configuration like:iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN \ -j TCPMSS --clamp-mss-to-pmtu
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.