What dns servers do you use at the moment? Is your router also a dns server?
If it does overwrite the file, then you'd need a way to avoid that. e.g. disable DNS support in your router, if possible, Or overwrite it with your own settings. Or find some setting somewhere telling dhcp to not overwrite resolv.conf.
If it doesn't, then you can try using another dns server. If that fixes your problems you know it is caused by the dns server.
If you want to use dnsmasq then put 127.0.0.1 as dns server in /etc/resolv.conf and let dnsmasq use another file with the real dns servers. Because resolv.conf is used for dns lookups by all programs and you want them to use dnsmasq you'd need to use the 127.0.0.1 (or local IP).
]]>Though an alternative would be to switch DNS servers, perhaps that helps. Are you using the DNS server of the router now?
]]>~]$ zcat /proc/config.gz | grep -i ipv6
CONFIG_IP_TCPDIAG_IPV6=y
CONFIG_IPV6=y
CONFIG_IPV6_PRIVACY=y
CONFIG_IPV6_TUNNEL=m
# IPv6: Netfilter Configuration (EXPERIMENTAL)
CONFIG_IP6_NF_MATCH_IPV6HEADER=m
How i should configure my router to use dnsmasq? Or how i should configure dnsmasq? I try to just start this daemon, but nothing changed.
]]>zcat /proc/config.gz | grep -i ipv6
As ifconfig tells that your interfaces have an IPv6 address too you do have IPv6 support. Nothing wrong with that, except that some buggy programs and DNS servers do things wrong.
Please try to use dnsmasq and see if that's a good enough workaround for the problem.
]]>]# lsmod
Module Size Used by
eth1394 22152 0
eepro100 32528 0
ohci1394 35716 0
yenta_socket 23560 2
pcmcia 26256 0
rsrc_nonstatic 11648 1 yenta_socket
pcmcia_core 51488 3 yenta_socket,pcmcia,rsrc_nonstatic
rtc 13260 0
joydev 10560 0
tsdev 8256 0
evdev 9984 0
snd_intel8x0 34624 3
snd_ac97_codec 79224 1 snd_intel8x0
snd_pcm_oss 56224 0
snd_mixer_oss 21120 1 snd_pcm_oss
snd_pcm 98564 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 27268 1 snd_pcm
snd 59492 12 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 10848 1 snd
snd_page_alloc 10244 2 snd_intel8x0,snd_pcm
i2c_piix4 9104 0
i2c_core 23296 1 i2c_piix4
ieee1394 111800 2 eth1394,ohci1394
e100 37760 0
mii 5760 2 eepro100,e100
parport_pc 29252 0
parport 38600 1 parport_pc
irda 144184 0
crc_ccitt 2432 1 irda
ehci_hcd 36488 0
ohci_hcd 23048 0
uhci_hcd 33424 0
usbcore 125560 4 ehci_hcd,ohci_hcd,uhci_hcd
ide_scsi 17284 0
i havent loaded any ipv6 modules.
]]>The tracedoes nothing because firefox is a script starting up firefox-bin, forgot the -f option. But forget about it, I thought yousaid you didn't have IPv6 modules loaded, but you do. Google revealed that the following may help to disable it in 2.6 kernels:
# in /etc/modprobe.conf install ipv6 /bin/true
You can unload the ipv6 module(s) with rmmod (use lsmod to get a list).
install ipv6 /bin/true - nothing changed.
May be problem in xorg?
PS: i found in google that sit0 interface used to control ipv6. Can it help?
# in /etc/modprobe.conf
install ipv6 /bin/true
You can unload the ipv6 module(s) with rmmod (use lsmod to get a list).
]]>is it all xorg apps or just firefox?
I have tried only this programs: firefox and gaim, but i think all over xorg apps too.
ifonfig:
]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:00:0E:21:80:5E
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::200:eff:fe21:805e/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:522 errors:0 dropped:0 overruns:0 frame:0
TX packets:544 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:564732 (551.4 Kb) TX bytes:57930 (56.5 Kb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)
route:
]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default mygateway.ar7 0.0.0.0 UG 0 0 0 eth0
mygateway.ar7 - my adsl router.
strace -e trace=network -o ff.trace firefox
- Does nothing (ff.trace - empty).
]]>Try using dnsmasq: It's a great app and perhaps it accidentally fixes your problems.
If that doesn't help, it's time to start serious debugging, like getting traces of various apps, e.g.
strace -e trace=network -o ff.trace firefox
What's your ifconfig and route output btw?
]]>