From: Sergio Polini <sp_rm_it@yahoo.it>
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 [thread overview]
Message-ID: <200611282253.50735.sp_rm_it@yahoo.it> (raw)
In-Reply-To: <7573e9640611271454h49155622qb5156794d4682bb7@mail.gmail.com>
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
next prev parent reply other threads:[~2006-11-28 21:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-26 15:48 [gentoo-user] OT: wlan0 is sssloooow Sergio Polini
2006-11-26 19:59 ` Richard Fish
2006-11-26 21:35 ` Sergio Polini
2006-11-26 22:08 ` [gentoo-user] Screen(s) found, but none have a usable configuration burmata
2006-11-26 22:31 ` Richard Fish
2006-11-27 5:32 ` burmata
2006-11-26 22:36 ` [gentoo-user] OT: wlan0 is sssloooow Richard Fish
2006-11-27 19:27 ` Sergio Polini
2006-11-27 19:28 ` Sergio Polini
2006-11-27 21:04 ` Sergio Polini
2006-11-27 21:48 ` Hans de Hartog
2006-11-27 22:54 ` Richard Fish
2006-11-28 21:53 ` Sergio Polini [this message]
2006-12-11 20:56 ` [gentoo-user] OT: wlan0 is sssloooow [100% SOLVED] Sergio Polini
2006-12-12 8:15 ` Mick
2006-12-12 21:03 ` Sergio Polini
2006-12-12 9:08 ` Alan McKinnon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200611282253.50735.sp_rm_it@yahoo.it \
--to=sp_rm_it@yahoo.it \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox