LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-30-2006, 11:54 AM   #1
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Unhappy Unable to connect properly to local web server from Gentoo - SOLVED


The problem is now fixed. It turns out that the MTU was set to 1500 on the Gentoo box, which is the ethernet default, but the chip only works with MTU set to 1492 (default for PPPoE). I really don't why this is the case, at least it works now though!

Hi there,

This is a really weird one, I don't know if anyone could shed any light on it but it's a very *interesting* problem, which I'd love to figure out. It's not desperately important, but is really puzzling! I've tried posting it to the Gentoo forums on a different site, but not had any useful responses. I'm not convinced it's a Gentoo issue, so thought I'd try asking here.

I am running a low end web/mail server on my home network. The server itself is set up with Slackware 10.1. There are a number of computers I use, both on the internal network, and externally. For most of these computers, the webserver works fine. However, it doesn't work for my main box on the home network, which runs Gentoo. I'll explain further.

When I connect to the webserver, either on https or http, from my work computer or another computer at home, both of which run Ubuntu, the webserver responds just as expected. When I try to connect to it from my Gentoo box, the connection just sits there for certain directories. In Firefox, it just says "Waiting for server.address.com" (address changed from its actual name) in the status bar at the bottom of the Firefox window. This is not a Firefox issue though, as it also fails to connect in links, for example. Now it starts to get really weird:
  1. My Gentoo box is on a dual boot with Windows XP. Access to the server is fine from Windows, on the same computer with the same hardware. Both setups even use the same Ethernet NIC and have the same IP address.
  2. Only some pages aren't accessible. The root of the server (i.e. http(s)://server.address.com/) works alright. However, some users' home pages (or subdirectories thereof) and the /webmail directory don't work. / /home /var and /usr are all on separate partitions, on two hard disks.
  3. If I ssh into the server, it doesn't seem to be able to connect to itself via links at all; none of the pages are accessible, and the ssh connection hangs. However, if I connect a monitor and keyboard to the server and login locally it seems to be able to connect to all pages okay. I haven't been able to test it with a graphical browser as it's running in runlevel 3 and is usually headless, but I suspect the behaviour would be the same.
  4. The apache logs show that the page requests are being received, and a 200 response is being sent, but somehow the document never actually gets sent. Wireshark shows the request being made, and some kind of response is made, but I'm not very familiar with Wireshark and can't figure out what's going in any detail.

I read somewhere that having MTU set wrong somewhere can cause something like this, but MTU seems to be set to 1500 on all the computers, which is what I'd expect. Other than that, I really can't understand what's causing this. If anyone has any ideas of other things I could check I'd really appreciate it! If more information on my setup would help, let me know. I'm running Gentoo amd64 with kernel gentoo-2.6.17-r4, but the problem was also occurring when I was using kernel gentoo-2.6.16-r11. The only possibility I can think of is that I missed something when configuring the kernel, but I've no idea what.

Thanks!

Last edited by Gethyn; 09-01-2006 at 10:44 AM.
 
Old 09-23-2006, 05:43 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Nice to know it got resolved.
 
Old 09-23-2006, 08:34 AM   #3
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Which chip is it and which driver did you use please?, for future reference..
 
Old 09-25-2006, 04:04 PM   #4
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Original Poster
Rep: Reputation: 32
The chip is a SiS 190, on the (infamous) Asus K8S-MX motherboard. It uses the sis190 driver included in kernel 2.6.14(?) onwards. There's a little more info on this kerneltrap posting.

Maybe this will help someone in future, although my advice would be to avoid that particular motherboard like the plague if you have any choice in the matter!

Last edited by Gethyn; 09-25-2006 at 04:07 PM.
 
  


Reply

Tags
asus



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 10:30 PM
unable to connect local server in squid kumarkumar009 Linux - Networking 0 08-26-2006 12:43 AM
Local webserver -- How to deny all client install their local web server--Please help b:z Linux - Networking 13 04-16-2005 07:11 PM
MNF2 : unable to connect to Web Interface MandrakeSecurity + X server install error syxys Mandriva 3 12-30-2004 12:03 PM
Suddenly unable to connect to my web server and my ftp server. HELP! Silly22 Linux - Software 4 05-23-2004 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration