Firefox goes offline![](https://ubuntuforum-br.org/proxy.php?request=http%3A%2F%2Fwww.spreadfirefox.com%2Ffiles%2Fimages%2Ffull-h-lockup-300x118_0.jpg&hash=28b59c36cf90104bc351fd898c383879b822eaa1)
Um bug que este Firefox 3 apresenta, é que se por ventura ele é aberto alguma vez e não há ligação de internet, este vai arrancar sempre em modo offline. Um bocado irritante.
Para resolver este bug, vamos editar o NetworkManager.conf. Mas primeiro, fazer uma cópia de segurança!
# cp /etc/dbus-1/system.d/NetworkManager.conf /etc/dbus-1/system.d/NetworkManager.conf.2008.07.01
# gedit /etc/dbus-1/system.d/NetworkManager.conf
Agora podemos substituir todas as strings:
allow send_interface=”org.freedesktop.NetworkManager
por:
deny send_interface=”org.freedesktop.NetworkManager
Ficando algo do género:
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="org.freedesktop.NetworkManager"/>
<allow send_destination="org.freedesktop.NetworkManager"/>
<deny send_interface="org.freedesktop.NetworkManager"/>
</policy>
<policy user="haldaemon">
<allow send_destination="org.freedesktop.NetworkManager"/>
<deny send_interface="org.freedesktop.NetworkManager"/>
</policy>
<policy group="netdev">
<allow send_destination="org.freedesktop.NetworkManager"/>
<deny send_interface="org.freedesktop.NetworkManager"/>
</policy>
<policy at_console="true">
<allow send_destination="org.freedesktop.NetworkManager"/>
<deny send_interface="org.freedesktop.NetworkManager"/>
</policy>
<policy context="default">
<deny own="org.freedesktop.NetworkManager"/>
<deny send_destination="org.freedesktop.NetworkManager"/>
<deny send_interface="org.freedesktop.NetworkManager"/>
</policy>
<limit name="max_replies_per_connection">512</limit>
</busconfig>
Fonte: linuxdeb.com