gnuisance
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Posts posted by gnuisance
-
-
The issue was I want to avoid restarting NetworkManager manually after hibernation. After a much closer look I realize my computer was not in hibernation but suspended. The previously posted script allowed for network connectivity without manually restarting NetworkManager, resolving my issue.
-
The plot thickens.
+# Add aliases for other hosts to /etc/hosts directly. The networking scripts +# automatically generate the localhost lines only.
While updating my config files after an update I came across this addition to the /etc/conf.d/hostname file. It looks like I'm supposed to put aliases for other hosts in /etc/hosts directly. I look forward to the day my hosts don't have to live in fear of being overwritten.
-
I have been using /etc/hosts to map ip addresses to aliases for as long as I can remember; but lately I've noticed my file has been overwritten. Also I noticed the following:
# Local Host Database # # This AUTOMATICALLY-GENERATED file describes a number of aliases-to-address # mappings for the local hosts that share this file. # # In the presence of the domain name service or NIS, this file may not be # consulted at all; see /etc/host.conf for the resolution order. # # DO NOT EDIT THIS FILE BY HAND; YOUR CHANGES WILL BE OVERWRITTEN # # Define alias-to-address mappings in /etc/conf.d/hostname
I've relied on my hosts file heavy, is there a preferred way to to match ip addresses with names similar to using the hosts file?
-
Thank you sputnik! I was able to resolve my issue by modifying the bash script you provide.
# cat /etc/pm/sleep.d/77ethernet #!/bin/bash case $1 in resume) /etc/init.d/NetworkManager restart ;; esac -
Each time I resume from hibernation the NetworkManager daemon needs to be restart. Does anyone else have this issue?

x11/xorg-server
in Installation Help
Posted
Have you read http://www.funtoo.org/X_Window_System?
I'm not sure this will help; but this is what I have in /etc/X11 directory.