General :: Reslove.conf Changes Automatically ?
Jan 12, 2011
I've a static ip configuration in my eth0 ,and i've added my nameserver in resolve.conf,but every time after the service network restart my resolve.conf changes to default and at the reboot time i'm not getting my ip assigned automatically
Code:
After the restart my eth0 changes to
Code:
I'm using fc9 and my machine is a VPN connected so the ip has to assign automatically of every boot.
View 8 Replies
ADVERTISEMENT
Aug 25, 2010
trying to automatically disable some DAEMONS in /etc/rc.conf. This requires inserting ecxlamation signs itno the file. The example command
Code:
echo Hi?|sed 's/?/!/'
returns "unterminated `s' command".
but
Code:
echo netfs|sed 's/netfs/!netfs/'
returns !netfs as expected.
Where does the difference come from?
View 4 Replies
View Related
Nov 16, 2009
After a kernel upgrade on my linux, my grub.conf become empty. How can I auto generate grub.conf file? I don't want to do it from scratch.
View 3 Replies
View Related
Oct 17, 2009
The owners manual of my monitor gives me the following informations:
When editing my xorg.conf, do I have to add the automatically 'keyword' ? (saw nothing about it in man xorg.conf or man nv)
View 6 Replies
View Related
Mar 31, 2010
My resolv.conf states:
No nameservers found; Try putting DNS servers into your ifcfg files in /etc/sysconfig/network-scripts like so: [...]
After running wvdial. I suppose I have to create a file ifcfg-ppp0, but what does it have to contain in order to automatically grep the DNS servers from wvdial?
In Ubuntu, it works just fine, just that I don't have an Ubuntu installation anymore.
View 3 Replies
View Related
Jan 25, 2010
what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?
View 2 Replies
View Related
Jun 1, 2009
I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:
In my httpd.conf file, at the very end, I have the line
Include conf/vhosts/vhost_*.conf
However, when I run apache checkconfig or try to start apache, it gives me the error:
httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied
It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.
View 3 Replies
View Related
Jul 25, 2010
phpmyadmin files are in usr/share/phpmyadmin but i cant find anything in my apache2.conf or httpd.conf files that point to that directory.How do I find the route taken from the Server root "ServerRoot "/etc/apache2"" to the phpmy admin files.
View 5 Replies
View Related
May 22, 2011
I have used nVidia my entire linux life (about 5 years clean and sober from M$). Recently, I have switched over to an ATI Radeon HD 5550 card. After many trial and error setups, I finally got the resolutions and screens set properly with a xrandr command, which I have now added to a shell script in ~/.kde4/Autostart. It has worked for me for a while now, but I really would like to get it set in the xorg.conf.d files so that I don't have to wait that extra few seconds after login for the screens to fix themselves.
Is there an easy way to take what xrandr does and export it to the xorg.conf.d files? If my video card recognizes my default monitor as DFP2 and the tv that I only sometimes use with this computer as DFP1, how can I ensure that the login screen for openSUSE/KDE4 appears on my default screen (an issue that drove me nuts a few months ago when I tried Ubuntu to see what all the fuss was about)?
My xrandr command that I use to fix it all is:
xrandr --output DFP2 --auto --pos 0x0 --primary --output DFP1 --auto --right-of
I am using the proprietary Radeon driver from the ioda repository. DFP2 is a monitor which has a optimum resolution of 1920x1200, and DFP1 is an 1080p HDTV. I can not reverse the output plugs for the screens even though my monitor is an HDMI monitor because I use the actual HDMI port on the video card to output audio to the television and the other plug is a DVI that I convert to HDMI for the monitor.
View 1 Replies
View Related
Apr 3, 2011
I'm trying to set up samba. I am editing the smb.conf.master file, and then using the testparm -s "smb.conf.master > smb.conf" command to make the smb.conf file. I am running this command as root. However, the smb.conf is not updating with the changes I am making. Does anyone know why? It just stays the same no matter what I change. The only way to change it is to edit the smb.conf file itself.
View 1 Replies
View Related
Dec 11, 2010
I've just done a fresh install of Lubuntu 10.10 on an older Sony Vaio laptop. Having learned the hard way about editing xorg files, I wanted to create a backup of the xorg.conf file so that I dont have to do another install when I screw everything up. In a terminal, I typed
[Code]....
View 8 Replies
View Related
Feb 28, 2011
I am having trouble getting grub to automatically boot into ubuntu server. When I turn on my server the grub menu shows up and shows me the choices. They all work fine except that grub wont automatically select one. This wouldn't be too much of a problem but this is a headless server and I can't boot into ubuntu without a keyboard. I tried looking through the grub 2 documentation but nothing seemed to work when I edited the conf file.
View 1 Replies
View Related
Apr 9, 2010
I have installed Kubuntu 8.04.2 on a USB stick with persistence to keep any changes I make after a reboot and it works fine. I then installed the 185 Nvidia driver to give me higher resolutions and it works fine.
But each time I reboot, my updated xorg.conf is replaced with the default xorg.conf that ships with that version of Kubuntu and a backup is made of my updated xorg.conf (the correct one) which looks like xorg.conf.20100409135913. I have to put the backup xorg.conf back in place to get my Nvidia driver to work with the correct screen resolutions again. Otherwise my screen resolution is too low.
What could be causing this behavor? I'm sure it not the persistence feature of the USB stick failing since a backup is made of my original xorg.conf.
I might add more information. The xorg.conf that gets changed after a reboot says "This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database." #
View 11 Replies
View Related
Aug 20, 2010
I am setting up LDAP server, i set slapd.conf(dc=proldap,dc=com) and start ldap it is OK but when i check using ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts result is : namingContexts: dc=my-domain,dc=com
it seems that it did not use my slapd.conf so i tried removing my slapd.conf from /etc/openldap and start slapd again and it did start with no errors. and when i do ldapsearch again still uses dc=my-domain,dc=com
I tried searching about this in google and found no answers,
my reference in setting up ldap is the link below. but it seemed that it always uses another configuration not the one i modified
I'm using Fedora12, ldap version 2.4.19. i installed ldap by yum install url
url
View 12 Replies
View Related
Feb 16, 2011
1. What is the difference between files (xorg.conf and xorg.conf-vesa)
2. No matter how hard I try I can't change keyboard layout in xorg.conf-vesa (I change it in file ) but there is no actually anything changing, it starts to get annoying - for example - below goes my xorg.conf-vesa, if I uncomment and set line from
[Code]...
View 3 Replies
View Related
Sep 18, 2009
I've set limits in limits.conf but they don't seem to be having an effect (the easiest to test is maxlogins). Do I need to do something to enable the limits?:wqEDIT: old postI know you can have file system quotas, is there any way to set a similar quota for CPU usage for particular users so that they can't hog all the system resources (either intentionally or accidentally)?A preliminary Google search is suggesting it's not possible, but I can't believe thatOk, limits.conf and pam... I used bad search terms apparently. Now I just need to figure out how to use this stuff, but that shouldn't be an issue.
View 2 Replies
View Related
Jun 2, 2010
i am having problem with
"/etc/vsftpd/vsftpd.conf"
the rule in file(/etc/vsftpd/user_list) says that if "userlist_enable=NO" is set in vsftpd.conf then only users which are listed in
[code]....
View 5 Replies
View Related
Aug 19, 2010
I'm reading about how to set log options and I can't find /etc/syslog.conf?
I'm using fedora12 , ubutnu 10.04 and suse 11.2.
And Can't find syslog.conf anywhere.
View 3 Replies
View Related
Dec 18, 2010
I have simpe question about xinetd what happen to my system if i remove xinetd.conf what can i do to dont allow anyone delete xinetd.conf.
View 2 Replies
View Related
Jan 26, 2011
I've read the how-tos (thank you oldcpu!) and wikis about how xorg.conf take precedence over the section configuration files in etc/X11/xorg.conf.d/, if it exist. I also understand that the xorg.conf can be partial. If it is missing some sections, these will be taken from the corresponding xorg.conf.d section config file. Currently I'm using a xorg.conf generated by nvidia-settings in one of my home machines, due to a dual-monitor setup. After generating xorg.conf, the device sections are:
in xorg.conf:
Code:
Section "Device"
Identifier "Device0"
Driver "nvidia"
[code]....
My question is if the Option "UseCompositeWrapper" "True" will be used or not. In other words, if a section exist in xorg.conf then it's correspondent in xorg.conf.d/ will be completely ignored *or* only the lines in xorg.conf.d/ that already exist in xorg.conf will be ignored?
View 5 Replies
View Related
May 3, 2010
I'm running the ubuntu based Green OS and cant get my video card properly configured. i've already gone through the forums to figure out what i need to do to get my ATI card working but my system wont let me access the xorg.conf file. i can see it using the the GOS file editor but it wont let me save the modifications. when i attempt to edit from a terminal window with su privelages it tells me that /etc/x11/xorg.conf does not exist. i've even tried booting into recovery mode and using the root instead of the sudo command. nothing i've tried will let me open the file.
View 3 Replies
View Related
Jan 20, 2011
I installed Kismet on my Ubuntu 10.04 machine as apt-get install kismet every thing seems to work fine.
View 1 Replies
View Related
May 30, 2011
I'm setting up virtual dev environments and I want the hostname.domain to be something specific, eg- "barney.local". However my /etc/resolv.conf file keeps getting nuked because i'm using DHCP. I placed this into my dhclient.conf:
supersede domain-name "localhost"
supersede host-name "barney"
but it didn't help. I'm not sure where I'm going wrong. How can I still use DHCP but configure that virtual environment to see itself as barney.local?
View 2 Replies
View Related
May 27, 2009
I wanted to put password in lilo.conf file. I added this line but doesn't seem to work out Code: password=vickey. I also did Code: lilo -v Is there any thing missing
View 8 Replies
View Related
Sep 10, 2010
If I run this as su I get the same thing. If I log on as root user It is the same as well
View 5 Replies
View Related
Feb 10, 2010
I want to look into disabling things like chargen, chargen-udp, daytime, daytime-udp, echo etc...I have found a manual at:which points me towards the xinetd.conf file. I cant seem to find it, im using ubuntu 8.10 LTS. Should I be looking else where?
View 2 Replies
View Related
May 11, 2009
As you may well be aware the resolv.conf search appears to be limited to 6 domains. I need 7 One thing I noticed is that if you run nslookup on a short name that is in the 7th search it does work but ssh does not. I'm guessing that nslookup is actually reading the whole file and isn't limited.
View 7 Replies
View Related
Jan 13, 2011
How to back up my httpd.conf from my server to my computer and only found one solution via a google search
[url]
I typed in locate httpd.conf and see that it resides in /usr/local/apache/conf/httpd.conf so I assume I would type $ cd /usr/local/apache/conf $ sudo cp -p httpd.conf httpd.conf.bak
I wanted to confirm this with an expert before I do damage that I cannot reverse.
View 3 Replies
View Related
Jun 28, 2011
I m trying to find an answer for this matter. I have download the SNMP version which I am concerned due to the following problems. I am trying to configure the SNMPD.conf and I cannod find any tutorial on the internet.
I downloaded the following product.
Linux version :
Linux version 2.6.18 (root@srv03) (gcc version 3.3.6) #1 SMP Sat Sep 23 19:32:53 BRT 2006
SNMP
net-snmp-5.4.2.1-i486-1_slack12.0.tgz
when I run the command snmpd I have the following problems
root@srv03:~# snmpd
snmpd: /lib/libc.so.6: version `GLIBC_2.4' not found (required by snmpd)
I dont know how to configure the SNMPD.conf there is anyway
View 1 Replies
View Related
Aug 2, 2011
I have just installed sendmailanalyzer to my centos 6 by using rpm package. But before, i tried to install it by perl.There is no problem now everything works but when i want to configure i see that there are lots of conf file. How can i see a conf file of service "sendmailanalyzer" what is the command ?
View 2 Replies
View Related