You are not logged in.

#1 2005-03-28 14:45:07

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

ADSL problem

I have D-Link 504T adsl router, and i configured it to my provider. But there is strange thing then i want to browse sites: i can browse sites with Links or eLinks, but cant with Firefox. Also my icq client cant connect to the internet. Why firefox cant connect to the internet, then links can?

Offline

#2 2005-03-28 15:53:22

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: ADSL problem

Forgot to disable some proxy settings perhaps?

Offline

#3 2005-03-28 18:31:53

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: ADSL problem

I dont use proxy.
PS: I found a wiki, but it didnt help too sad

Offline

#4 2005-03-28 18:49:14

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ADSL problem

hmmm can you ping something... say google.com?
try by name and by ip (if you can get it)... try using wget to download something (whatever)... does pacman sync?

Offline

#5 2005-03-28 18:54:26

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: ADSL problem

Perhaps something IPv6 related? Does changing network.dns.disableIPv6 to true in about:config in Firefox make a difference?

Offline

#6 2005-03-29 01:08:47

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: ADSL problem

to phrakture: i can ping all servers, and i can browse this servers with only console applications, but can't with x-applications. Nmapfe, for example, say that he see my ip as 127.0.0.1.
to i3839: yes, it works! but how i can fix it to over programs, like gaim?

Offline

#7 2005-03-29 01:22:52

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ADSL problem

hmmm so it's ipv6 related? ugh.... umm can you disable support on your router/modem and just use v4?

Offline

#8 2005-03-29 02:34:56

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: ADSL problem

I dont know how to do it sad . May be it is possible to setup network module to dont accept  ipv6 packets or something else?

Offline

#9 2005-03-29 13:16:16

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: ADSL problem

I think it's caused by the buggy router which tries to resolve IPv6 DNS addresses even when no IPv6 network is available, or perhaps something else, not sure.

Anyway, you can disable IPv6 by adding the following to your /etc/modprobe.conf:

alias net-pf-10 off

Offline

#10 2005-03-29 16:38:18

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: ADSL problem

I dont think thar it is a buggy router(i try 2 firmwares), maybe just i cant to set up it.

Offline

#11 2005-03-30 16:16:52

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: ADSL problem

i3839 wrote:

Anyway, you can disable IPv6 by adding the following to your /etc/modprobe.conf:

alias net-pf-10 off

I doesn't work sad. As before, works only console web browsers.

Offline

#12 2005-03-30 16:25:09

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: ADSL problem

What if you unload the IPv6 modules manually? (if they're loaded at all..)

Maybe there is a really stupid bug in FF/that ICQ client which causes them to not work when IPv6 support is there, but no IPv6 network.

Is it only the DNS resolving which doesn't work? (e.g. going directly to http://216.239.57.99 works)

Offline

#13 2005-03-30 22:41:41

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: ADSL problem

I havent loaded any ipv6 modules.

Is it only the DNS resolving which doesn't work? (e.g. going directly to http://216.239.57.99 works)

Yes, going directly working. But i don't understand, why console applications -   works, xorg applications - don't.

Offline

#14 2005-03-30 22:44:43

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ADSL problem

is it all xorg apps or just firefox?

Offline

#15 2005-03-30 22:58:59

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: ADSL problem

Only Firefox and the icq client as far as I understood. If you use the router also as DNS server it may make sense, otherwise it's starting to get foggy.

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?

Offline

#16 2005-03-30 23:49:12

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: ADSL problem

phrakture wrote:

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).

Offline

#17 2005-03-31 10:20:26

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: ADSL problem

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).

Offline

#18 2005-03-31 15:10:02

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: ADSL problem

i3839 wrote:

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?

Offline

#19 2005-03-31 15:59:22

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: ADSL problem

Probably not. What's your lsmod output? Did you try unloading the ipv6 module manually and see if everything works then? Did you only changed modprobe.conf without doing anything else, or also rebooted or whatever?

Offline

#20 2005-03-31 16:03:11

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: ADSL problem

lsmod

]# 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.

Offline

#21 2005-03-31 16:30:48

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: ADSL problem

Hm, looks like Arch has IPv6 support build in, what's your output for:

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.

Offline

#22 2005-03-31 17:21:05

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: ADSL problem

~]$ 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.

Offline

#23 2005-03-31 18:21:21

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: ADSL problem

Read the dnsmasq manpage. You only needs its dns caching feature, and can skip everything about the DHCP part. You should configure it on your pc, not on the router.

Though an alternative would be to switch DNS servers, perhaps that helps. Are you using the DNS server of the router now?

Offline

#24 2005-03-31 19:43:36

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: ADSL problem

Yes, i use automatic dns function in my router config.
There i should configure dnsservers, in /etc/resolv.conf?

Offline

#25 2005-03-31 19:50:49

Net@Worm
Member
From: Moscow, Russia
Registered: 2004-05-02
Posts: 214

Re: ADSL problem

I edit /etc/resol.conf, dont change /etc/dnsmasq.conf file(he is configured to read dns servers from /etc/resolv.conf). But internet dont work. My router configured as dhcp server, may be problem is it?

Offline

Board footer

Powered by FluxBB