From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1GpAzf-0000oz-B0 for garchives@archives.gentoo.org; Tue, 28 Nov 2006 21:59:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kASLuH9g006224; Tue, 28 Nov 2006 21:56:17 GMT Received: from aa012msr.fastwebnet.it (aa012msr.fastwebnet.it [85.18.95.72]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kASLrhr6027086 for ; Tue, 28 Nov 2006 21:53:43 GMT Received: from [192.168.2.2] (23.252.116.250) by aa012msr.fastwebnet.it (7.3.105.6) (authenticated as sergio.polini) id 4556F29100BF3EE5 for gentoo-user@lists.gentoo.org; Tue, 28 Nov 2006 22:53:42 +0100 From: Sergio Polini To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT: wlan0 is sssloooow [99% SOLVED] Date: Tue, 28 Nov 2006 22:53:50 +0100 User-Agent: KMail/1.9.1 References: <200611261648.03512.sp_rm_it@yahoo.it> <200611272204.33717.sp_rm_it@yahoo.it> <7573e9640611271454h49155622qb5156794d4682bb7@mail.gmail.com> In-Reply-To: <7573e9640611271454h49155622qb5156794d4682bb7@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200611282253.50735.sp_rm_it@yahoo.it> X-Archives-Salt: f946090f-e9c8-4440-ad2a-c5f2a49b8304 X-Archives-Hash: 2cdb4261d7594b4433178ee2b3665335 Richard Fish: > Ok, two things to try. First, remove the 192.168.2.1 nameserver > from resolve.conf. That "nameserver" may be broken and unable to > resolve names on the internet. This should help the "ping > www.google.com" case. Yes, I've already said that, but.... you are great! ;-) I read your message this morning quickly, when I was going to work, and didn'understand it. Then I've spoken to a colleague of mine, a true network guru, a very capable ethical hacker, and I've understood! (I suppose....) My wireless router: a) runs a (WAN) DHCP client to get its IP address and the IP addresses of my provider's nameservers; b) it get those IP addresses to send them to me when I run a DHCP client; my wireless router runs a (LAN) DHCP server too, but it is *not* a nameserver; c) my DHCP client was configured as usual, i.e. "replace my /etc/resolv.conf"; I've added dhcpcd_toynet="-R -h sergio" ^^ to /etc/conf.d/wireless and restarted /etc/init.d/net.wlan0. Now... there is no line "nameserver 192.168.2.1" in my /etc/resolv.conf and ping www.google.com is fast ;-) BTW: This evening I've started running Windows at first. ipconfig /all showed three nameservers, and 192.168.2.1 was the first one. However, when I ran nslookup, the message was clear: 192.168.2.1 is not a nameserver. Why the difference between fast (Windows) and slow (my previous Gentoo box) Internet pings? Perhaps because the Windows timeout is short: 2 seconds. I do not know how to eventually set such a timeout in Linux.... > Second, does "ping -I wlan0 192.168.2.1" work better? Nope. ping <-I wlan0 or -n> 192.168.2.1 is still blocked. Well, it's just a nuisance, but I'll keep looking for a solution. Any hints would be greately appreciated ;-) That's not strange, because: sergio ~ # nmap -sS -O -PI -PT 192.168.2.1 Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-11-28 22:21 CET Interesting ports on 192.168.2.1: Not shown: 1678 closed ports PORT STATE SERVICE 80/tcp open http 4662/tcp filtered edonkey MAC Address: 00:17:3F:0C:19:12 (Belkin) Device type: broadband router Running: Netgear embedded OS details: Netgear Wireless router or Netgear FM114P/REPOTEC IP515H Router & Print Server Nmap finished: 1 IP address (1 host up) scanned in 4.834 seconds i.e., port 7 (Echo) looks closed. Does Windows' ping (which works) speak eDonkey? (very OT question ;-) > Oh, one last thing....you don't have any firewall rules enabled, > right? (iptables --list) Right. I wish to configure my real (wire and wireless connection to my ISP) and virtual (VMWare) networks, and then enable iptables. Thanks a lot, as usual ;-) Sergio PS: I wish to thank Thomas Sjolshagen (private message) and Hans de Hartog too. If one doesn't feel lonely when he tries to solve a problem, well.... that helps a lot! My English is poor, but I hope that you understand what I mean ;-) -- gentoo-user@gentoo.org mailing list