[solved]how to stop /etc/resolv.conf keeps being overwritten ???

no matter how many times to change the content, it keeps like that:
# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
nameserver 192.168.8.1
# /etc/resolv.conf.tail can replace this line
so i can't add nameserver in it
Last edited by tempo (2010-01-14 15:01:35)

The clue is in the message, use a file called resolv.conf.head to add a nameserver to the top and resolv.conf.tail to add it to the bottom.
It's being overwritten because you are using dhcpcd to auto configure your network settings.
Last edited by Meyithi (2010-01-14 13:03:43)

Similar Messages

  • Which configuration file modified the /etc/resolv.conf ?

    Hello Everyone,
    I have 2 linux VM in my laptop that has been setup in similar way but one of them behaves differently every time it gets rebooted.
    This is OEL6 update 5
    I configured 4 interfaces:
    eth0 - eth3 is setup with NAT-Network to be able to communicate with other VMs only.
    eth4 is setup with bridged network.
    I've configured the ifcfg-eth# scripts as follows:
    Interface
    server 1
    server 2
    eth0
    DEVICE=eth0
    TYPE=Ethernet
    UUID=8cb50704-029f-469a-b031-da44b4a49b74
    ONBOOT=yes
    NM_CONTROLLED=no
    BOOTPROTO=none
    IPADDR=10.1.2.71
    PREFIX=24
    GATEWAY=10.1.2.1
    DNS1=10.1.2.90
    DEFROUTE=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth0"
    HWADDR=08:00:27:12:F8:42
    LAST_CONNECT=1389967507
    DEVICE=eth0
    TYPE=Ethernet
    UUID=f10e7ab5-7b7e-4bcf-9ddb-a2ab439a776a
    ONBOOT=yes
    NM_CONTROLLED=no
    BOOTPROTO=none
    IPADDR=10.1.2.72
    PREFIX=24
    GATEWAY=10.1.2.1
    DNS1=10.1.2.90
    DEFROUTE=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth0"
    HWADDR=08:00:27:45:56:13
    LAST_CONNECT=1389968121
    eth1
    DEVICE=eth1
    TYPE=Ethernet
    UUID=568d8c14-d28e-48f7-82e5-dd7764968648
    ONBOOT=yes
    NM_CONTROLLED=no
    BOOTPROTO=none
    IPADDR=192.168.5.81
    PREFIX=24
    GATEWAY=192.168.5.1
    DEFROUTE=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth1"
    HWADDR=08:00:27:B1:D9:D6
    DEVICE=eth1
    TYPE=Ethernet
    UUID=dc09606a-5126-4d2c-a0bc-ea11ce0dc80f
    ONBOOT=yes
    NM_CONTROLLED=no
    BOOTPROTO=none
    IPADDR=192.168.5.82
    PREFIX=24
    GATEWAY=192.168.5.1
    DEFROUTE=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth1"
    HWADDR=08:00:27:15:7B:39
    LAST_CONNECT=1389968121
    eth2
    DEVICE=eth2
    TYPE=Ethernet
    UUID=6e6858b9-9709-4334-9b58-bb6f02a30e94
    ONBOOT=yes
    NM_CONTROLLED=no
    BOOTPROTO=none
    HWADDR=08:00:27:9C:16:71
    IPADDR=192.168.7.51
    PREFIX=24
    GATEWAY=192.168.7.1
    DEFROUTE=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth2"
    DEVICE=eth2
    TYPE=Ethernet
    UUID=283b2c5c-04e1-47ca-8375-6c52d333099f
    ONBOOT=yes
    NM_CONTROLLED=no
    BOOTPROTO=none
    IPADDR=192.168.7.52
    PREFIX=24
    GATEWAY=192.168.7.1
    DEFROUTE=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth2"
    HWADDR=08:00:27:A8:44:45
    LAST_CONNECT=1389968121
    eth3
    DEVICE=eth3
    TYPE=Ethernet
    UUID=ecca01b5-e18f-4f7f-b617-0cfe50e17638
    ONBOOT=yes
    NM_CONTROLLED=no
    BOOTPROTO=none
    HWADDR=08:00:27:5C:F8:96
    IPADDR=192.168.9.51
    PREFIX=24
    GATEWAY=192.168.9.1
    DEFROUTE=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth3"
    DEVICE=eth3
    TYPE=Ethernet
    UUID=9f2f8b5a-2650-412b-9d12-49de5484a877
    ONBOOT=yes
    NM_CONTROLLED=no
    BOOTPROTO=none
    IPADDR=192.168.9.52
    PREFIX=24
    GATEWAY=192.168.9.1
    DEFROUTE=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth3"
    HWADDR=08:00:27:27:0F:F0
    LAST_CONNECT=1389968136
    eth4
    HWADDR=08:00:27:EC:60:F2
    TYPE=Ethernet
    BOOTPROTO=none
    NM_CONTROLLED=no
    DEFROUTE=no
    PEERDNS=no
    PEERROUTES=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    IPADDR=192.168.1.30
    DNS1=192.168.1.90
    NAME=eth4
    UUID=6c6afa4f-48ce-47c7-9968-3419b4e5f8ea
    ONBOOT=yes
    LAST_CONNECT=1393844453
    HWADDR=08:00:27:FD:E7:7E
    TYPE=Ethernet
    BOOTPROTO=none
    NM_CONTROLLED=no
    DEFROUTE=no
    PEERDNS=no
    PEERROUTES=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    IPADDR=192.168.1.31
    DNS1=192.168.1.90
    NAME=eth4
    UUID=0ca62e7e-6770-45aa-a7a2-bca42cf3ed9c
    ONBOOT=yes
    LAST_CONNECT=1393849919
    however, each time I rebooted, these are the difference on the /etc/resolv.conf and the other configuration
    Config
    Server 1
    Server 2
    /etc/resolv.conf
    ; generated by /sbin/dhclient-script
    search wrx4.vm
    nameserver 10.1.2.90
    nameserver 103.11.48.126
    # Generated by NetworkManager
    search wrx4.vm
    # No nameservers found; try putting DNS servers into your
    # ifcfg files in /etc/sysconfig/network-scripts like so:
    # DNS1=xxx.xxx.xxx.xxx
    # DNS2=xxx.xxx.xxx.xxx
    # DOMAIN=lab.foo.com bar.foo.com
    nameserver 10.1.2.90
    chkconfig --list NetworkManager
    NetworkManager  0:off   1:off   2:off   3:off   4:off   5:off   6:off
    NetworkManager  0:off   1:off   2:off   3:off   4:off   5:off   6:off
    service NetworkManager status
    NetworkManager is stopped
    NetworkManager is stopped
    I never setup any dhcp client configuration before, but each time the VM is rebooted or started it seems that the /etc/resolv.conf always gets overwritten again.
    However, in Server 1, somehow the dhcp client is working and getting the right DNS server IP address.
    What I want to achieve for the Server 2 is like the one in the Server 1 where the nameserver I got from the ISP is also configured there.
    That will made it easier if I need to download just a small file from the internet.
    Other than that, I also wanted to understand what other configuration that could affect this /etc/resolve.conf file gets overwritten, which configuration and how to configure it.
    Thanks in advance for your help in advance.
    Adhika
    Message was edited by: Adhika W

    Hi Dude!,
    To make it simpler, I can simply delete those interfaces (eth0, eth1, eth2, & eth3) right now and left with eth4 which I think can be directed to the actual question I was asking.
    So here's the result of ipconfig on my host:
    Ethernet adapter Local Area Connection:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
       Physical Address. . . . . . . . . : 00-90-F5-CC-F9-DB
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv4 Address. . . . . . . . . . . : 192.168.1.5(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . : 192.168.1.1
       DNS Servers . . . . . . . . . . . : 192.168.1.1
                                           103.11.48.126
       NetBIOS over Tcpip. . . . . . . . : Enabled
    As you can see from that result, if you compare the Server 1 and Server 2, the /etc/resolv.conf from Server 1 managed to get that 103.11.48.126, whereas the one in the Server 2 couldn't.
    This is exactly what I'm trying to resolve.
    Does this make any sense to you?
    Just forget about the other interfaces.
    Thank you,
    Adhika

  • Who writes /etc/resolv.conf?

    Someone is writing the "domain" configuration directive to /etc/resolv.conf on boot. I suspected DHCP, so cleared the domain field at the DHCP server that serves the Solaris 10 computer in question, but /etc/resolv.conf is still picking up the domain name from somewhere. Who does this and where does the information come from?
    Alan Feldstein
    Cosmic Horizon
    http://www.alanfeldstein.com/

    Observed that ".alanfeldstein.com" was being appended to each inquiry (as suggested by result) of the following form:
    getent hosts yahoo.comThis is incorrect. alanfeldstein.com is hosted by a service provider, not here. That is, it's not on the path from here to DNS. If a domain must be appended to a name lookup handled by DNS, that of my ISP (earthlink.net), or none at all, would be more appropriate. So I removed
    domain alanfeldstein.comfrom /etc/resolv.conf. However, it reappeared after reboot. I theorized that /etc/resolv.conf was written with data from my DHCP server, so I emptied the domain field there.
    Still, /etc/resolv.conf was being automatically written with the same date at boot time. This question can remain open (with reduced Dukes) because I'm still curious about where that data was coming from after being cleared from the DCHP server's domain field.
    I did find that specifying earthlink.net at the DHCP server caused
    domain earthlink.netto appear in /etc/resolv.conf of my NIS server, which forwards non-local names to DNS on behalf of my NIS clients. And that fixes the problem I was having (i.e. inability to lookup non-local names from NIS clients).
    Alan Feldstein

  • [SOLVED] How Can I Stop DHCPCD from Overwriting my /etc/resolv.conf...

    Hey guys,
    For some unknown reason /etc/dhcpcd.conf continually overwrites my /etc/resolv.conf file, eventhough I set the "nohook resolv.conf" hook in /etc/dhcpcd.conf.
    This is screwing up my DNS and intermittently creating connection problems. Any of you guys know why the hook is not taking effect or how I can stop dhcpcd from overwritting this file?
    Thanks
    Last edited by w201 (2013-03-18 19:05:15)

    drcouzelis wrote:
    w201 wrote:I set the "nohook resolv.conf" hook in /etc/dhcpcd.conf.
    kaszak696 wrote:
    dhcpcd's configuration file may be edited to prevent the dhcpcd daemon from overwriting /etc/resolv.conf. To do this, add the following to the last section of /etc/dhcpcd.conf:
    nohook resolv.conf
    I don't think that information will help w201...
    I changed my DNS to the Google one (8.8.8.8 or something). That's in "resolv.conf", isn't it? I remember editing some OTHER configuration file, which is then read to create the "resolve.conf" file. There it is, in that link to the wiki, under "Use resolv.conf.head". Does that help you do what you want to do?
    There's three techniques at the wiki link, the nohook one, the resolv.conf.head one and the write-protection attribute. 

  • How to regenerate /private/etc/resolv.conf

    Folks,
    I use my Snow Leopard macbook pro on multiple networks and recently made the mistake of editing the /private/etc/resolv.conf to add a search path. So now the file looks like so:
    # Mac OS X Notice
    # This file is not used by the host name and address resolution
    # or the DNS query routing mechanisms used by most processes on
    # this Mac OS X system.
    # This file is automatically generated.
    search mydomain.com
    nameserver 192.168.2.2
    Edit: The file doesn't appear properly but the first few lines are all commented out using #.
    I hadn't paid much attention to this file before now so I'm not sure whether this file keeps getting re-generated for every network (e.g. by dhcpd) but it's certainly not being re-generated any more.
    I heavily use the "host" command to lookup hostnames which is one of the few commands that uses the /private/etc/resolv.conf file instead of SL's own DNS. I'm definitely feeling pain at this time. Any ideas on how I can get this file to be re-generated again?
    FWIW, I repaired permissions on the disk using "Disk Utility" and the permissions look like:
    lrwxr-xr-x@ 1 root wheel 11 Dec 1 22:46 /etc -> private/etc
    -rwxr-xr-x 1 root wheel 261 Dec 14 21:26 /etc/resolv.conf
    -rwxr-xr-x 1 root wheel 261 Dec 14 21:26 /private/etc/resolv.conf
    Thoughts?
    Message was edited by: Shahbaz Javeed

    Depending on your editor, it is possible that the editor created a new file uniquely named file, then renamed the uniquely named file to the original name, causing the file system to delete the current directory entry (the symlink). This would have the effect of deleting the symlink and replacing it with a real file.
    Another possibility is that the orignal symlink was changed to resolv.bak (or similar name). if you edited multiple times with an editor that does this, the 2nd editing session would have removed the symlink from the system, and left only regular files.

  • Dhcpcd overriding /etc/resolv.conf, 'nohook resolv.conf' [solved]

    hello.
    I set dhcpcd not to override the /etc/resolv.conf file:
    [root@ jenia]# cat /etc/dhcpcd.conf
    # A hook script is provided to lookup the hostname if not set by the DHCP
    # server, but it should not be run by default.
    nohook lookup-hostname
    noipv4ll
    nohook resolv.conf <----------------------------------------------------------------------------
    However, this has no effect:
    [root@ jenia]# cat /etc/resolv.conf
    domain members.linode.com
    nameserver 72.14.179.5
    nameserver 72.14.188.5
    nameserver 2600:3c00::2
    nameserver 2600:3c00::3
    options rotate
    [root@ jenia]# systemctl start [email protected]
    [root@ jenia]# cat /etc/resolv.conf
    # This file is managed by systemd-resolved(8). Do not edit.
    # Third party programs must not access this file directly, but
    # only through the symlink at /etc/resolv.conf. To manage
    # resolv.conf(5) in a different way, replace the symlink by a
    # static file or a different symlink.
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    nameserver 2001:4860:4860::8888
    # Too many DNS servers configured, the following entries may be ignored
    nameserver 2001:4860:4860::8844
    As you can see dhcpcd ovveride the /etc/resolv.conf file.
    How can I avoid this? How can I change the file and make the changes permanent.
    Thanks in advance.
    Last edited by jenia (2014-07-16 17:20:02)

    yes. exactly. i removed and used a text editor to make the necessary changes to a file of the same name (/etc/resolv.conf).
    now the changes remained.
    thanks.

  • [SOLVED] /etc/resolv.conf vs. the DNS field in netctl profiles

    I'm a bit confused about the current role of /etc/resolv.conf.  The Netctl profile documentation has a DNS field, so has /etc/resolv.conf become functionally obsolete when using netctl?  Or is /etc/resolv.conf still useful when you have multiple interfaces, as it specifies DNS servers for all interfaces?
    Last edited by pgoetz (2014-08-30 11:51:50)

    From https://wiki.archlinux.org/index.php/resolv.conf:
    dhcpcd, netctl, NetworkManager, and various other processes can overwrite /etc/resolv.conf.

  • Dhcpcd and /etc/resolv.conf

    How can one prevent dhcpcd from modifying /etc/resolve.conf?
    Or can one prepend static options before it's own ones?
    (I'de like to have my own search and nameserver entry.)

    Yes. Add it to /etc/conf.d/dhcpcd in DHCPCD_ARGS.

  • I need to know how to stop a notification that keeps coming up when playing a spades game, that keeps telling me to go to the game center. I even shut off the notifications in the settings, this is an anoying problem

    I need to know how to stop a notification that keeps coming up when playing a spades game, that keeps telling me to go to the game center. I even shut off the notifications in the settings, this is an anoying problem

    I'm pretty sure this is an Apple thing and you can't do anything about it. To get rid of the notification just do as it asks then try to forget about it.

  • /etc/resolv.conf between netctl profile switches

    Hi, all.
    I use same laptop at home and in my office. Network is managed by netct. At home I connect using a profile generated by wifi-menu, in the office — plain ethernet-dhcp profile form examples folder.
    With both connections nameservers are obtained via dhcp.
    The issue is that after switching from office ethernet-dhcp to my home wi-fi netctl profile, /etc/resolve.conf retains nameserver and domain entries from the office connection. My home's nameserver entry gets appended to the end of the resolv.conf file. This, of course, causes unacceptable delays when resolving domain names, so I have to edit /etc/resolve.conf manually every time I've been using that office's connection.
    I'm wondering whether there is something wrong with my setup.
    Profiles are nothing special, as I said:
    Description='Automatically generated profile by wifi-menu'
    Interface=wlp3s0
    Connection=wireless
    Security=wpa
    ESSID=my_ssid
    IP=dhcp
    Key=my_passwd
    Description='A dhcp ethernet connection'
    Interface=enp0s25
    Connection=ethernet
    IP=dhcp
    DHCPClient='dhcpcd'
    Please, help me to resolve that issue. Feel free to ask for more details if needed.
    Thanks in advance for help.
    Last edited by eDio (2014-04-12 19:30:51)

    2branch,
    I switch them with netctl switch-to command, which is incorrect, as I understand now.
    Important notice is that I unplug ethernet cord first, and then I perform a switch.
    Also I tried disabling ethernet-dhcp explicitly after switching to wlp3s0 — not helped.
    I checked /run/resolvconf/interfaces, and found that enp0s25 is missing. Instead, I have tun0, which contains problematic entries.
    dhcpcd --dumplease enp0s25
    broadcast_address=10.1.20.255
    dhcp_lease_time=604800
    dhcp_message_type=5
    dhcp_rebinding_time=529200
    dhcp_renewal_time=302400
    dhcp_server_identifier=10.1.10.2
    domain_name=my.company.domain.name
    domain_name_servers='10.1.10.2 10.1.1.6'
    ip_address=10.1.20.30
    network_number=10.1.20.0
    ntp_servers=10.1.10.2
    routers=10.1.20.1
    subnet_cidr=24
    subnet_mask=255.255.255.0

  • /etc/resolv.conf problems

    In my conky script, the gmail portion stopped working so I just tried to do a normal wget https://mail.google.com in the terminal. The output was
    --11:41:41-- https://mail.google.com/
    => `index.html'
    Resolving mail.google.com... 1.0.0.0
    Connecting to mail.google.com|1.0.0.0|:443...
    which obviously isn't right. What could have changed? I use WICD to connect to my network.
    rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.utf8"
    HARDWARECLOCK="localtime"
    TIMEZONE="Canada/Pacific"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # Scan hardware and load required modules at bootup
    MOD_AUTOLOAD="yes"
    # Module Blacklist - modules in this list will never be loaded by udev
    MOD_BLACKLIST=()
    # Modules to load at boot-up (in this order)
    # - prefix a module with a ! to blacklist it
    MODULES=(sky2 iwl4965 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore acpi-cpufreq cpufreq_conservative)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    HOSTNAME="reasons"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
    # interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
    lo="lo 127.0.0.1"
    eth0="dhcp"
    wlan0="dhcp"
    #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    INTERFACES=(lo eth0 wlan0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network-profiles
    #NET_PROFILES=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng crond dbus netfs !network !dhcdbd wicd @cups @alsa @acpid @hal @fam @mpd @acpid @cpufreq gdm)
    # End of file
    /etc/hosts
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost reasons
    # End of file
    Last edited by Reasons (2008-01-11 01:28:45)

    nawcom wrote:
    i was wandering around forums and i noticed the wicd issue with archlinux, since it still focuses on dhcpcd, not dhclient - so resolv.conf doesnt upload.
    http://bbs.archlinux.org/viewtopic.php? … 34#p332334
    let me know if it solves the issue.
    That fixed it, thanks. Let's hope it stays this time.
    Cerebral wrote:
    Reasons wrote:
    I tried that all to no avail. The problem actually went away for a while but now it is back. I've disabled ipv6 which is what solved it but now that isn't working. Also,
    [shawn] /etc/rc.d/dhcpd start
    :: Starting DHCP Server                                                  [FAIL]
    Is there a reason you're starting the dhcp Server, and not client?  Do you want dhcpcd?
    That was my mistake.

  • /etc/resolv.conf Configuration

    I have the following in all my servers resolv.conf file and I was wondering if having the "domain" line and the "search" line in there is the right thing to do. It has been suggested to remove the "domain" line.
    domain mybiz.com
    nameserver 10.5.24.70
    nameserver 10.7.24.70
    search mybiz.com myoldbiz.com
    Thanks.
    Brian

    Good suggestion. I did read the man pages and it did not lead me to believe that having both lines in the resolv.conf file mattered. One thing that I did notice was that if my hostsname does not include the domain name, then it will use the root doamin. I'm not following that.
    root / ] # hostname
    rchdxz41
    root / ] # domainname
    The last command "domainname" returns no value. I remember in older Solaris version that I set a /etc/defaultdoain. I'm not sure it that's still used.
    Brian

  • [solved] No dhcpd : No /etc/dhcpd.conf file

    I've managed to get the KDE desktop running, but ever since starting KDE, I haven't been able to connect to anything online. When I tried to check and edit the /etc/dhcpd.conf file, that file doesn't exist. Looked at the Beginner's Guide but didn't see where I skipped whatever I should have done to make the file. Install worked great, so dhcp worked for that.
    What do I do to get dhcp to work? Checked /etc/rc.conf and eth0="dhcp" is uncommented.
    Last edited by pottzie (2010-05-14 05:11:38)

    What do you mean by this?
    wrote:Right now I have three, "network netfs crond,"  "network crond alsa," "and dbus hal networkmanager alsa crond kdm." Hal's seemed kinda "maybe-ish," as when I entered what I thought was suggested, sometimes nothing happened, sometimes some things did
    If those are what you are placing in the daemon section of your /etc/rc.conf then that's probably your problem. Don't use networkmanager daemon unless you have 'networkmanager' and 'network-manager-applet' installed.
    Try this
    (hal syslog-ng network netfs crond alsa)
    Look here for network configuration
    http://wiki.archlinux.org/index.php/Beg … NG_Section
    And here to start KDM using /etc/inittab instead of /etc/rc.conf
    http://wiki.archlinux.org/index.php/Dis … mmended.29
    Have Fun!

  • Resolv.conf not being created (XSAN/GBenet/MetaData)

    Hi, recent reboots have caused some of our Xsan clients to try to search for a DNS server on the Meta Data network and not the general network. Within the syslog I can see where the system is trying to bind to a DNS server on the Meta Data network (10.0.0.x) and not the general studio network (192.168.1.x). This in turn causes the generation of an empty resolv.conf. Using the network preferences tool, I've checked configuration of both networks and they seem. fine (just like the machines that are properly working). All machines are running with static IP addresses and the configuration for the general network is pointing to the DNS servers. It was mentioned this may have been caused by a problem with Rendezvous. So the question is how do I force DNS to occur on the ethernet port that is connected to the general network and not the Meta Data network? Thanks in advance.

    That didn't work. I don't think it's a permission problem. In other versions of Unix, I can tell the OS to assign IP addresses to specific interfaces and then hard code in a resolv.conf. I guess I really need to know how to do this under OSX.

  • Hostname keeps being overwritten...

    I have been trying to change my hostname from 'stupendiousman' to 'stupendousman'.
    In my /etc/rc.conf I have...
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="stupendousman"
    In my /etc/hosts I have
    # /etc/hosts: staticthe delay, but the refreshing issue came back.  It seems as though it didn't take the --indirect-rendering switch even though the wiki the delay, but the refreshing issue came back.  It seems as though it didn't take the --indirect-rendering switch even though the wiki  lookup table for host names
    #<ip-address>   <hostname.domain.org>   <hostname>
    127.0.0.1       stupendiousman  localhost.localdomain   localhost
    # End of file
    Which I change to:
    # /etc/hosts: static lookup table for host names
    #<ip-address>   <hostname.domain.org>   <hostname>
    127.0.0.1       stupendousman  localhost.localdomain   localhost stupendousman
    # End of file
    However every time I reboot /etc/hosts changes back to the first one somehow.  Every time I change it something changes it back.
    I have networkmanager installed... not sure if that's the problem.
    Last edited by fowler (2010-11-29 13:48:30)

    I had the same issue months ago on all compters where I used a networkmanager daemon. I solved it by the suggestion in the wiki page which Bregol mentioned. With the most recent update of networkmanager to 0.8.2 from testing repo it seems it overwrites /etc/hosts again but everything works in this case (in the past without properly configured /etc/NetworkManager/nm-system-settings.conf  networkmanager changed my /etc/hosts file and X applications weren't able to be launched).
    From manually edited /etc/hosts:
    127.0.0.1 localhost.localdomain localhost acerntb
    networkmanager 0.8.2 it changes to:
    marek@acerntb ~ $ cat /etc/hosts
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    192.168.1.19 acerntb # Added by NetworkManager
    127.0.0.1 localhost.localdomain localhost
    ::1 acerntb localhost6.localdomain6 localhost6
    # End of file
    Last edited by Dogmeat (2010-11-10 20:09:50)

Maybe you are looking for

  • Trouble accessing photos.

    Hello! Need help! Having trouble accessing photos from Adobe Photoshop Album Starter Edition 3.0, I had a free trial but never registered the program because I was not using it. The other day I was taking pics off a Canon camera, & they automatically

  • Suppressing "No Entry" calendar entry when printing in the list view

    How can I go about suppressing the "No Entry" item for a date when printing the whole month in the calendar view? I would prefer to only see printed dates that have an actual entry in them.

  • Unable to insert and retrieve Unicode data using Microsoft OLE DB Provider

    Hi, I have an ASP.NET web application that uses OLEDB connection to Oracle database. Database: Oracle 11g Provider: MSDAORA ConnectionString: "Provider=MSDAORA;Data Source=localhost;User ID=system; Password=oracle;*convertNcharLiterals*=true;" When I

  • Variable for version dep hier

    Trying to use a variable for a version dependent hierarchy in a BI query.  The version field for version dep hier is 'version' with a data element 'rsversion'.  The delivered variable is '0p_hver' however it only sees the values # and 000 ... how can

  • How & Where to dig back those reversed payment requests by using Key Number

    I have a few payment requests via bank to bank transfer that have been reversed / deleted. Since the transaction have been reversed / deleted, they will not be displayed in the list of open payment request. How & where I can get back those payment re