From owner-freebsd-questions@FreeBSD.ORG Fri Aug 4 11:31:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 933E016A4DE for ; Fri, 4 Aug 2006 11:31:45 +0000 (UTC) (envelope-from rottweilertje@rottnic.nl) Received: from rottnic.nl (rottnic.demon.nl [83.160.164.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDAC543D45 for ; Fri, 4 Aug 2006 11:31:44 +0000 (GMT) (envelope-from rottweilertje@rottnic.nl) Received: from [10.0.1.128] (unknown [10.0.1.128]) by rottnic.nl (Postfix) with ESMTP id 5E7CC3F42E for ; Fri, 4 Aug 2006 13:31:43 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <880F0622-66A1-4701-9867-6A5995F509E5@rottnic.nl> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: Guido Demmenie Date: Fri, 4 Aug 2006 13:31:40 +0200 X-Mailer: Apple Mail (2.752.2) Subject: strange behavior webpages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Aug 2006 11:31:45 -0000 Hello, I have a very strange problem with my served webpages. When I open the webpages from my server with my ibook, while connected to my wireless network, everything goes fine. But when I refresh a website or when Safari is not grabbing it from its cache the page returns corrupted. The page shown is a bunch of random characters. After each refresh the stream of charachters is changed. On my PC the page is still corrupted, but with a refresh the characters are still the same. When I open a terminal screen on my server and look at the file this happens: %less data/www/networkstats.html "data/www/networkstats.html" may be a binary file. See it anyway? and %file data/www/networkstats.html data/www/networkstats.html: data After some time (about a day or so) the file gets back to its normal state, being a html file and it is served well again. I thougth it would be a problem of my ibook, but when I connect to the website while using my wired network the problem does not occur. Also not when I am connected to a wireless network other than my own. Webpages served from my secure webserver don't get messed up, also dynamic pages (CGI/PHP) don't get messed up exept for the images that are on those pages. For my wireless connection I use a wireless PCI card (Netgear MA311 with latest firmware) on the serverside and the airport extreme from my ibook G4. The connection is WEP encrypted by standard FreeBSD modules. I already tried to use a different version of apache (currenty using apache-2.0.55_4), but it didn't fix the problem. I tried finding a useful error or things in my logfiles but I can't find anything. I suspect some of the drivers for my wireless device (wi) to corrupt the files, problem is that even if I chmod 000 a file it still gets corrupted. I use: FreeBSD 6.0 apache-2.0.55_4 some dmesg output: FreeBSD 6.0-RELEASE #0: Wed Mar 8 19:48:39 CET 2006 CPU: Intel(R) Celeron(R) CPU 2.66GHz (2668.41-MHz 686-class CPU) wi0: mem 0xfafff000-0xfaffffff irq 21 at device 10.0 on pci1 wi0: [GIANT-LOCKED] wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary (1.1.1), Station (1.8.4) Can anyone help me on this, or does anybody has some kind of the same problems? cheers Guido Demmenie