resolvovani a aptitude update
Ladislav Vaiz
spam na nagano.cz
Úterý Únor 26 09:06:01 CET 2008
Napada me:
1) MTU bych snizil na 1492
2) nameservery muze menit balik resolvconf (ten to ale do resolv.conf
pise, to by nemel byt vas pripad). Konfiguraci najdete
v /etc/network/interfaces
3) v zavislosti na nastaveni ho muze menit i pppd. Kouknete do /etc/ppp
(tedy za predpokladu, ze pro adsl se pouziva pppd, ale treba se pletu)
Lada
On Tue, 26 Feb 2008, Czechtony wrote:
> Dobre rano,
> prosim o radu.
>
> Mam Debian Etch amd64 nove pripojeny pres adsl, pomoci pppoe.
>
> Sit a net "bezi".
>
> gate2:/# ifconfig
> eth1 Zapouzdření:Ethernet HWadr 00:1A:92:07:4B:F9
> inet adr:192.168.1.2 Všesměr:192.168.1.255 Maska:255.255.255.0
> inet6-adr: fe80::21a:92ff:fe07:4bf9/64 Rozsah:Linka
> AKTIVOVÁNO VŠESMĚROVÉ_VYSÍLÁNÍ BĚŽÍ MULTICAST MTU:1500 Metrika:1
> RX packets:55799 errors:0 dropped:0 overruns:0 frame:0
> TX packets:60919 errors:0 dropped:0 overruns:0 carrier:0
> kolizí:0 délka odchozí fronty:1000
> RX bytes:7530845 (7.1 MiB) TX bytes:11044176 (10.5 MiB)
> Přerušení:193
>
> lo Zapouzdření:Místní smyčka
> inet adr:127.0.0.1 Maska:255.0.0.0
> inet6-adr: ::1/128 Rozsah:Počítač
> AKTIVOVÁNO SMYČKA BĚŽÍ MTU:16436 Metrika:1
> RX packets:5416 errors:0 dropped:0 overruns:0 frame:0
> TX packets:5416 errors:0 dropped:0 overruns:0 carrier:0
> kolizí:0 délka odchozí fronty:0
> RX bytes:3629168 (3.4 MiB) TX bytes:3629168 (3.4 MiB)
>
> ppp0 Zapouzdření:Point-to-Point Protokol
> inet adr:62.177.90.177 P-t-P:88.146.111.1 Maska:255.255.255.255
> AKTIVOVÁNO POINTOPOINT BĚŽÍ NEARP MULTICAST MTU:1492 Metrika:1
> RX packets:53364 errors:0 dropped:0 overruns:0 frame:0
> TX packets:57785 errors:0 dropped:0 overruns:0 carrier:0
> kolizí:0 délka odchozí fronty:3
> RX bytes:5987473 (5.7 MiB) TX bytes:9167505 (8.7 MiB)
>
>
> gate2:/# iptables -L
> Chain INPUT (policy ACCEPT)
> target prot opt source destination
>
> Chain FORWARD (policy DROP)
> target prot opt source destination
>
> Chain OUTPUT (policy ACCEPT)
> target prot opt source destination
>
>
> gate2:/# cat /etc/apt/sources.list
> # deb cdrom:[Debian GNU/Linux 4.0 r2 _Etch_ - Official amd64 CD Binary-1
> 20080102-14:14]/ etch contrib main
>
> #deb http://ftp.cz.debian.org/debian/ etch main contrib non-free
> #deb-src http://ftp.cz.debian.org/debian/ etch main contrib non-free
>
> #deb http://security.debian.org/ etch/updates main contrib
> #deb-src http://security.debian.org/ etch/updates main contrib
>
> deb http://http.us.debian.org/debian etch main non-free contrib
> deb http://non-us.debian.org/debian-non-US etch/non-US main non-free contrib
> deb http://security.debian.org/ stable/updates main contrib non-free
>
>
>
> gate2:/# ping http.us.debian.org
> PING http.us.debian.org (64.50.238.52) 56(84) bytes of data.
> 64 bytes from ftp-atl.osuosl.org (64.50.238.52): icmp_seq=1 ttl=45
> time=144 ms
> 64 bytes from ftp-atl.osuosl.org (64.50.238.52): icmp_seq=2 ttl=45
> time=143 ms
>
> A pozor :-)
>
> gate2:/# aptitude update
> 0% [Připojuji se k 192.168.0.99 (192.168.0.99)] [Připojuji se k
> 192.168.0.99 (192.168.0.99)] [Připojuji se k 192.168.0.99 (19^[[
>
>
> 192.168.0.99 byl puvodni DNS, nyni:
>
> gate2:/# cat /etc/resolv.conf
> nameserver 212.20.96.34
> nameserver 195.250.128.234
>
> CzT
> _______________________________________________
> Linux mailing list
> Linux na linux.cz
> http://www.linux.cz/mailman/listinfo/linux
>
Další informace o konferenci Linux