Bugzilla 522558
This bug has also been in FC10, FC11, now FC12.
If you have to connect to a host on internet from a command in the terminal.
This was a problem in FC10,FC11, Firefox for certain websites,
connecting to.
But Firefox doesn't seem to have problem in FC12, only commands from
terminal.
See attachment below on how I fixed the problem on Ten different boxes I
installed
on i386 and X86_64 boxes. I guess everybody wasn't having this problem,
but I sure was.
1. Q: Networking (or DNS) seems really slow and fails often (Updated 2 January 2009)
A: If Fedora 10's networking seems slow or you get frequent network connection failures (when other Fedoras or other OSes were working just fine on your machine), then you're probably hitting this bug.
Here's how you can work around it:
1. Open a Terminal.
2. Become root:
su -
3. Make sure that the "dnsmasq" program is installed (it usually is, by default, in Fedora 10):
rpm -q dnsmasq
If that says "package dnsmasq is not installed", then you need to install dnsmasq, by running the following command:
yum install dnsmasq
4. Now, you have to find out which network interface your machine is using:
route -n
You'll see some output that looks like this:
Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
The eth0 there (the furthest bottom-right text in the output) is the name of the network interface I'm using. Yours might be eth1 or something totally different. Just remember it for the next step.
5. Now create a file called /etc/dhclient-<your network interface>.conf. For example, if your network interface is eth0, the file would be called /etc/dhclient-eth0.conf.
You can create the file with this command (assuming your network interface is eth0):
nano /etc/dhclient-eth0.conf
Then make this the only line in the file:
prepend domain-name-servers 127.0.0.1;
And then save the file and close it (Ctrl-X then Y).
If you have both a wireless and a wired network connection, you will have to do this step once for each of them.
6. Now start dnsmasq:
service dnsmasq start
And make sure that it will start every time your computer starts:
chkconfig dnsmasq on
7. Now restart your network connection:
service NetworkManager restart
And now things should be as fast as normal again. You might have to restart the programs that you're running for them to pick up the changes that NetworkManager made when it restarted.
2. * IPv6
You might notice that your browsing through Firefox is a little slow on Fedora 10. This is because Firefox 3 has enabled by default IPv6 which causes Firefox to first resolve an IPv6 address and after the connection fails it switches to IPv4. To change this setting type:
about:config
and in Filter box type:
network.dns.disableIPv6
Right click on it, select Toggle and change its value to true. Restart Firefox and you are ready!
Selinux Relabeling files.
setenforce 0; fixfiles -F restore; setenforce 1; reboot
--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-test-list