D
D
DenisO2011-07-01 01:50:54
Mozilla Firefox
DenisO, 2011-07-01 01:50:54

Firefox ignoring hosts when there is no network?

Baseline : Ubuntu 11.04, Firefox 5. Although it doesn't matter much, the problem has been seen before in older versions of FF, including Windows.
What is the essence of the problem - in the absence of connections to the network, Firefox ceases to accept the hosts file. As a result, local hosts for development do not work.
Those. there is an entry
127.0.0.1 site
When the network is working (any - ethernet, wifi, ..., the presence of the Internet is not important) - everything works.
When there is no network, FF stops recognizing the site domain.
There is no problem in opera and chrome. Everything works regardless of network connections.
update.Thanks to the question s0rr0w - one crutch solution was found - you need to enable IPv6 in FF - then everything works even if there is no Internet. You cannot always keep IPv6 enabled, but specifically as a solution to this (rare) problem, you can use it. The main thing is not to forget such a strange connection.
Although I would like to solve it stably and forever without crutches.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
charon, 2011-07-01
@charon

try using the host name with a dot. For example site.tld

D
DenisO, 2011-07-01
@DenisO

[email protected]:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 20:cf:30:34:41:bf
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame: 0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:44
lo Link encap: Loopback )
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:39408 errors:0 dropped:0 overruns:0 frame:0
TX packets :39408 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15998242 (15.9 MB) TX bytes:15998242 (15.9 MB)
wlan0 Link encap:Ethernet HWaddr 74:f0:6d:91:f5:a0
inet6 addr: fe80::76f0:6dff:fe91:f5a0/64 Scope: Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1888342 errors:0 dropped:0 overruns:0 frame:0
TX packets:2032735 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes :1590150932 (1.5 GB) TX bytes:732805932 (732.8 MB)
This is in the absence. If there is an Internet, the only difference is in adding one line to wlan0:
inet addr:192.168.1.34 Bcast:192.168.1.255 Mask:255.255.255.0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question