November 22, 2024, 01:09:30 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Everything works fine, but the web!  (Read 8742 times)

Offline JF

  • Linux Noob !
  • *
  • Posts: 5
Everything works fine, but the web!
« on: May 12, 2004, 07:44:46 PM »
Hi!

I have this wierd problem with my linux box. I just installed a router between my modem and the pc. Now, I can access Internet without a problem BUT I can't surf the web as if the port 80 was blocked.

I flushed all iptables chains. (iptables -F)
The DNS work fine, I can ping servers, I can connect through ftp or ssh, but nothing comes from the web. I tried mozilla et lynx to be certain this wasn't a browser problem. I use Slackware 9.1.

Does anyone have a clue on this?
Thanks
JF

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Everything works fine, but the web!
« Reply #1 on: May 13, 2004, 07:33:40 AM »
Quote
. I just installed a router between my modem and the pc

What is the that router ? physical or Linux box ?

Offline JF

  • Linux Noob !
  • *
  • Posts: 5
Everything works fine, but the web!
« Reply #2 on: May 13, 2004, 01:37:04 PM »
It's a D-Link 605.

I don't think that the problem comes from the router since when I boot in Windows, the same PC works fine with the web.

Thanks again.
JF

Offline segun1ng

  • Linux Noob !
  • *
  • Posts: 25
Everything works fine, but the web!
« Reply #3 on: May 13, 2004, 02:15:56 PM »
mordem------>router-------->linuxbox-------->windows

is this what your network looks like. If so then you have to state which IP address you have on then according to the diagram.

So we will be able to trace the problem.

Thankx

Offline JF

  • Linux Noob !
  • *
  • Posts: 5
Everything works fine, but the web!
« Reply #4 on: May 13, 2004, 02:19:47 PM »
Hi!

It looks more like:
___________________ - ---->  PC #1   (Windows XP Pro)  (192.168.0.2)
__________________/
modem------>router-----/
_______(192.168.0.1)\
__________________\  --------> PC #2 (Windows XP Pro + Slackware Linux (dual
boot)   (192.168.0.3)


Everything works well on both PCs when WIndows is on, but on the pc#2, linux can't access the web. Everything else works just fine.
Thanks
JF

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Everything works fine, but the web!
« Reply #5 on: May 13, 2004, 02:46:49 PM »
Have you  set your router as gateway in your Linux box ? secondly r u sure you have set your Linux box to obtain IP from dhcp if you r not using static ips.

Offline JF

  • Linux Noob !
  • *
  • Posts: 5
Everything works fine, but the web!
« Reply #6 on: May 13, 2004, 02:49:46 PM »
Hi!

I use static ips and yes I did set up the router as my default gateway.

As I told, everything works on the linux box for Internet.
I can connect through FTP or SSH on the university's server. I can ping whoever I want and the DNS is fine because I can resolve IPS through host.

The only thing that doesn't work is http as if the linux box itself blocks that port.

JF

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Everything works fine, but the web!
« Reply #7 on: May 15, 2004, 05:44:15 AM »
Ah..
As you said..you have already tried to flush iptables rule..
May be you can give any other info !!

Offline JF

  • Linux Noob !
  • *
  • Posts: 5
Everything works fine, but the web!
« Reply #8 on: May 15, 2004, 03:34:35 PM »
Hi there!

Problem's solved!

As I believed, the problem was not with the network but with the box itself.

It seems that the driver I was using for my network card (3Com 3c2000, onboard of P4P800 DLX) has a bug. The bug (very wierd...) makes it impossible to connect to websites!

I changed the drivers for another one and now, everything is fine.

Thanks for the help!
JF