Feisty router not working

The place to post if you need help or advice

Moderators: ChriThor, LXF moderators

Feisty router not working

Postby eoin » Tue Jun 19, 2007 6:47 am

Hello!

I've recently switched from opensuse to feisty and am generally very impressed.

One problem is that I cannot connect to the internet via my broadband router (Canyon CN-BR1). Although I can ping and SSH. The router worked fine under opensuse and mandriva.

Initally I thought that the router doesnt support IPv6 so I have disabled it (via /etc/modprobe/aliases and /etc/modprobe/blacklist) as well in network.dns.disableIPv6 in firefox. Still no joy, though :(

Any suggestions?

Thanks!

Eoin
eoin
 
Posts: 5
Joined: Sun Jun 17, 2007 9:35 pm

Postby dwjs1974 » Tue Jun 19, 2007 8:57 am

If you arent picking up an ip address this would stop you accessing the internet
..
type

Code: Select all
ifconfig


into a console and make sure your ip address is on the same range as the router... the other thing is makesure the gateway address is the router... not sure if this applies in linux as I have never had a problem always seems to pickup the ip.
Great Scott this is heavy.
Opensuse11.1 1gig ram
Dave the Rave
dwjs1974
LXF regular
 
Posts: 179
Joined: Fri Mar 23, 2007 4:30 pm
Location: Herefordshire UK

Postby eoin » Tue Jun 19, 2007 10:18 am

Dave, thanks for the reply.

The thing is I do get an IP address and can both ping and ssh.

However, when I go to browse the internet I always get a 'The connection to the server was reset while the page was loading' in firefox.

As I mentioned above I thought this was due to IPv6 being enabled by default in Ubuntu. Although I've disabled it (also in ff) I still cant browse the web.
eoin
 
Posts: 5
Joined: Sun Jun 17, 2007 9:35 pm

Postby spottedcat » Tue Jun 19, 2007 11:48 am

IPv6 is enabled by default in Opensuse as well. I've not come across this problem in Feisty but, intrigued, I did a search on Ubuntu Forums with "The connection to the server was reset while the page was loading" and came up with this thread among others. Obviously, ignore the suggestion to disable IPv6 but there are some other ideas there. I like the about:config trick - I should think that's worth trying. That idea comes from this bug report and this other bug report has another interesting idea - namely to install firestarter to reset the IPtables rules.

I hope there's something of use among that lot. If you decide to download and install firestarter (it's in the Ubuntu repos atm) you'd better hurry. It's been hard-masked prior to being removed entirely from the Gentoo portage tree because - according to a thread I found on Gentoo forums - the firestarter project is dead upstream. If this is true, it's bad news. :( Point of information in case you don't know - Ubuntu comes without a GUI frontend to IPtables and firestarter is/was about the most user-friendly of the lot. Perhaps Ubuntu will keep it in the repos or perhaps they'll take the uncompromising Gentoo line. I don't know.
spottedcat
LXF regular
 
Posts: 971
Joined: Mon Oct 31, 2005 3:14 pm
Location: UK

Postby eoin » Tue Jun 19, 2007 1:47 pm

Thanks spottedcat!

I followed the advice on all threads but still no joy. :(

The problem is definitely in the router (Canyon CN-BR1). Plugged directly into the ADSL modem internet works fine. Plugged into the router it looks like I can only send but not receive - although it does resolve DNS addresses.

The strange thing is that the router works fine on opensuse/ mandriva...

With wget it always times out on 'HTTP request sent, awaiting response... '
eoin
 
Posts: 5
Joined: Sun Jun 17, 2007 9:35 pm

Postby towy71 » Tue Jun 19, 2007 2:40 pm

sounds to me that you have some sort of conflict between the modem and the router, have you disabled one of the dhcp servers?
still looking for that door into summer
towy71
Moderator
 
Posts: 4317
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

Postby eoin » Wed Jun 20, 2007 1:28 pm

towy71 thanks for your suggestion...

no i havent dhcp is enabled...

anyway for the moment i've give up on the router. i used a spare network card to share the internet connection. not an ideal solution, i know, but at least i've now got internet on both computers now.

thanks again everyone for your time and ideas,
eoin
eoin
 
Posts: 5
Joined: Sun Jun 17, 2007 9:35 pm

Postby wtfster » Wed Jun 20, 2007 7:53 pm

Hi, I'm so pleased somebody has the same problem as me! I've not got the same router as you eoin, but I have exactly the same "symptoms", i.e. being able to ping any host in the world, but not actually browse the website.
I have the same setup as eoin: PC -> router -> modem, and get the same "HTTP request sent, awaiting response..." message.
Actually, this 'problem' only happens when I use kernels greater than 2.6.17 (i.e. most new distros)
Hopefully it's an easy problem to fix..
Thanks,
wtfster
wtfster
 
Posts: 4
Joined: Wed Jun 20, 2007 7:45 pm

Postby ollie » Thu Jun 21, 2007 1:55 am

It sounds like a Network Address Translation issue between the PC, modem, router and Firefox.

Have you tried removing the router from the equation? Does this allow the PC to access the Internet?

Have you tried another browser - Opera, etc?
ollie
Moderator
 
Posts: 2749
Joined: Mon Jul 25, 2005 11:26 am
Location: Bathurst NSW Australia

Postby wtfster » Thu Jun 21, 2007 11:43 am

Everything works fine without the router, although I can't really remove it, as there are 4 other computers that need access to the internet.
The problem is, I can't see what has been added to the kernel in 2.6.18 to bugger everything up for the 2 computers that are running Linux (only if running kernels post 2.6.17).
wtfster
 
Posts: 4
Joined: Wed Jun 20, 2007 7:45 pm

Postby ollie » Fri Jun 22, 2007 5:28 am

Have you set the gateway on your router to the IP address of the modem?

Now check that the gateway on your PC is set to the IP address of the router.
ollie
Moderator
 
Posts: 2749
Joined: Mon Jul 25, 2005 11:26 am
Location: Bathurst NSW Australia

Postby eoin » Fri Jun 29, 2007 9:33 am

hey wtfster,

just wondering if you managed to find a solution?
eoin
 
Posts: 5
Joined: Sun Jun 17, 2007 9:35 pm

Postby wtfster » Sun Aug 19, 2007 2:25 pm

Sorry about not replying sooner: I took a month vacation and then had too much work to do when I got back, so no time to tinker around.

The only solution that I have found is to use distros that ship with kernels 2.6.17 and older.
I've also tried recompiling kernels without ipv6 support, using ipmasq to try different routing methods, all without luck.
wtfster
 
Posts: 4
Joined: Wed Jun 20, 2007 7:45 pm

Postby paulm » Sat Sep 15, 2007 9:33 pm

wtfster wrote:Sorry about not replying sooner: I took a month vacation and then had too much work to do when I got back, so no time to tinker around.

The only solution that I have found is to use distros that ship with kernels 2.6.17 and older.
I've also tried recompiling kernels without ipv6 support, using ipmasq to try different routing methods, all without luck.


Sorry this reply is so late - been too busy to visit, then spent two weeks waiting for the phone line in my new place to be activated. Anyhow, I have had a problem somewhat similar to the one you describe using Zenwalk. Doesn't happen with my home setup (Zyxel 660HW router), but does happen on a site that I sometimes work at.

After a lot of hunting, I found this:

http://lists.debian.org/debian-kernel/2 ... 00646.html

and ended up adding the following to /etc/rc.local:

Code: Select all
sysctl net.ipv4.tcp_window_scaling=0


That has fixed the problem for me...

paul.
paulm
LXF regular
 
Posts: 270
Joined: Mon Apr 03, 2006 4:53 am
Location: Oxfordshire, UK

Postby wtfster » Sun Sep 23, 2007 2:07 pm

sysctl net.ipv4.tcp_window_scaling=0

Thank you very much paulm, this fixed my problem! :D
Your method works, but I just put net.ipv4.tcp_window_scaling=0 straight into my sysctl.conf file.

This has solved my problem that has lasted since 2.6.18 came out, so again, thank you very much!
wtfster
 
Posts: 4
Joined: Wed Jun 20, 2007 7:45 pm


Return to Help!

Who is online

Users browsing this forum: No registered users and 2 guests