Jump to content

gnuisance

Members
  • Content Count

    6
  • Joined

  • Last visited

1 Follower

About gnuisance

  • Rank
    Newbie
  1. 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. $ ls -1R /etc/X11/ /etc/X11/: Sessions chooser.sh startDM.sh xdm xinit xsm /etc/X11/Sessions: Gnome Xsession /etc/X11/xdm: Xaccess Xresources Xservers xdm-config /etc/X11/xinit: xinitrc xinitrc.d xinput.d xserverrc /etc/X11/xinit/xinitrc.d: 00-xhost 10-user-dirs-update-gnome 15-xdg-data-gnome 40-libcanberra-gtk-module 49-keychain 50-ssh-agent 80-dbus 90-consolekit /etc/X11/xinit/xinput.d: ibus.conf /etc/X11/xsm: system.xsm
  2. 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.
  3. 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.
  4. 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?
  5. 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
  6. Each time I resume from hibernation the NetworkManager daemon needs to be restart. Does anyone else have this issue?
×
×
  • Create New...