i has setup a persistent DNS cache to improve my web-browsing. it works wonders and with my ICC built firefox my web-browsing is laser-fast, pretty much like using internet explorer in windows! however, everytime i reboot, my modifications to /etc/resolv.conf have been replaced... 1st. the file must contain:
# Generated by NetworkManager (obviously modified by this) nameserver 127.0.0.1 <----this is lost on reboot, and is needed to make it all work nameserver 22.214.171.124 nameserver 126.96.36.199
i have tried to add this to - System/administration/network, but it doesn't seem to fix the problem. 2nd. my next problem is that when fedora 12 starts up,i need it to start "dnsmasq".i have tried to add it as a startup application, but it doesn't start automatically.so i end up having to start it manually everytime:
sudo /etc/init.d/dnsmasq start
it is annoying, but so far i just deal with it, because my browsing is that much faster! i am planning to post a tutorial for those interested in faster web-browsing in linux, but until i can make the changes perminent there isn't much point.
PS: i have tried to write a shell script to do this and every which way i try it fails
I would like to make group changes on serial ports permanent. I can become root and use chgrp:
chgrp uucp /dev/ttyaa00
but it only lasts until reboot. I think I need to add this line to a startup file but not sure where. I want this to work in run level 3 and 5 (at least). I have a digi portserver and their realport software. The ports are /dev/ttyaa00 through /dev/ttyaa07 and are in group root on startup. I want them in uucp so any user in uucp can use them. This is for F10.
I recently compile Kernel 2.6.34 (to fix the AMD PowerNow issue with 1055T processor, and it worked!) However, the device /dev/shm starts up at boot as Read-Only.
Google Chrome requires this device to be user-writable, or it won't start up. Presumably, the stock kernels (and all that are updated) have it set to User-Write. I have not noticed any other ill effects with the permission being read-only. If I do: sudo chmod a+w /dev/shm Everything will work from there, but each time I reboot, I have to do that. How do I make that permission-change permanent?
I'm running Ubuntu 10.04 and I've been looking to customize what's given as my command prompt, and I learned how to do this by entering PS1="desired text" which is remarkably straight forward.
I'm a little stuck on how to make this permanent though. If you just type in that command, then when you close that terminal session and open a new one, it resets to the old/default prompt. I read the tutorial at:
and it referred to editing the .bashrc file in ubuntu. I found the bash.bashrc file in /etc/ and edited the line that said PS1=, however it didn't change my command prompt. I searched for other files relating to bash and in clear instances that PS1= was given, I changed it to see if the command prompt would change. This has been to no avail so far though.
Does anyone know which file needs to be edited/what needs to be done in order to make a customization of the command prompt permanent?
I use Ubuntu 10.04 and after installing the driver for my onboard video card, I can no long boot into Ubuntu. I'm thinking that if I was somehow able to remove it, this might fix the problem. Is there a way to do this, possibly from the boot cd?
I have a Finnix live CD. I can customize it by remastering it. When I boot with the live CD I need to make a little change in the boot profileThe boot profile before making the changes islinux apm=power-off vga=791 initrd=minirt quiethe boot profile after making the change become linux apm=power-off vga=791 initrd=minirt quiet root=/dev/sr0Now, I need to make this change (adding root=/dev/sr0) permanent. How can I do that?
I came across very useful nautilus keyboard shortcut Ctrl-L - change view of location bar to display full folder address but can't find an option to make this changed view permanent. where can i find it? i don't mind editing config files
Since the 10.10 upgrade my mouse clicks on my laptop have been behaving rather oddly. Sometimes it randomly does a middle click when i'm doing a left click, which is really annoying because it means that sometimes tabs close or my text gets random bits of text appearing in it. I've found that running this command "synclient tapbutton2=2 tapbutton3=0 rtcornerbutton=0 rbcornerbutton=0 clickfinger3=0" fixes it, but only temporarily, sometimes it only lasts like 10 minutes or so, other times it lasts till reboot. So, is there anyway to make these changes permanent?
I have just booted to Puppy (for the first time in my life) on a 6 y/o amd type with a 40Gb HD, Ram: 512.I would like to make a permanent install of puppy onto the HD, I have read various pieces on how to install, defraging, repartitioning, differing file systems. However, i am a bit lost. The computer will be used for e-mail, web browsing, and watching the odd film (films installed on the drive) - I am unsure as to the best combination of file types and partition in order to keep puppy happy and keep some compatibility with the world outside of linux.
For instance, could i have a small partition with the puppy install and setting, and the rest on a format that would be compatible with windows/mac/linux? If so, how do I do this, pls bare in mind that my windows install is running but incomplete. I have the feeling this will be a really simple problem for someone to help me with,
When I enter my bootloader Grub I have to go to the system I want to load and press e to edit. Then I add vga=792 in the end of one line to change the tty resolution. How can I make this change permanent? My distribution is Debian Squeeze and there is no menu.lst in squeeze.
This command is working like a charm. The only problem is, for some unknown reasons, this rule will be dropped at some point. I did not manage to identify what is causing this to happen. It occurs during night, but I have nothing about that in my log files. messages / firewall / ...) The only way I managed to reproduce this 'dropping' is this one: I type the command like as root. The command is effective and working fine. I open yast, I go to the firewall module, the I do a simple "save changes and restart firewall" (without changing anything). As soon as this process is finished, the iptables rule is gone.
-How can I make this rule permanent ?
-Is there a place where I can launch a script executing this rule, after the yast firewall module is 'touched' or something ?
I have a CentOS running. It is important to have my CentOS available when I am remotely connected to a VPN router. I tried to add a default gateway to the VPN router, but after reboot it goes away. How can i put this as permanent?
I have a generic monitor which has problems with many Linux distros. We can boos Sugar on a Stick v2 by pressing <tab> at the Sugar splash screen and adding the boot parameter "nomodeset". I'm handy enough to do this, but my wife, well, not so much. So is there a way to make that boot parameter permanent?
I have an eeePC 1005HA, with a Linux Mint 8 distro on it. Each time i start it, i slide down the lcd brightness to take the power consumption low, using the Power Manager Brightness Applet on the gnome panel and each time i restart the pc i have to repeat this over again,I'd like to make this change permanent.
The idea is that I got to grips with Linux a couple of times in the past; most recently in a Radio Astronomy class (where we had to use openSUSE and terminals 24/7). I loved it so much that I fired up Wubi on my laptop and I am having a play.
Then I loved it even more.
So here's the plan:
Find Windows (Vista) CD *sigh* Get 500 GB external Hard Drive Backup files to HD (60 GB max) Reformat Laptop & Reinstall Windows ====
To my understanding, this gives me a blank slate with a lot of room to play with because of the external HD. If this is not possible/too risky etc. then what are the best alternatives?
The plan is to make my primary OS Ubuntu. The way I figured, to keep things simple, is to keep the laptop's HD with Windows as 'normal'. I would thus install Ubuntu to the external HD, and put my files etc. on that.
Now, is that possible for a clean installation? Ideally, it would be fantastic if the boot can be configured so it would boot Ubuntu if the HD is connected, and Windows if not.
just can't find the answer for this one (after Google and these forums) So I want to configure my Synaptics touchpad in this fashion:
Code: synclient RTCornerButton=8 RBCornerButton=10 LTCornerButton=11 LBCornerButton=12 FastTaps=1 This line of code does what it's intended of it. However, the changes made don't really stick after a system reboot.I'll explain:
So, the "FastTaps" part works flawlessly (as intended). However, the corners bit doesn't work after system reboot!...and weird enough, if I set up a start up script with that bit of code on it it'll only remap the last two corners (LT and LB), because RT and RB always get automatically set to "2" and "3". It's obvious then that those corners are getting remaped somewhere I haven't found yet. I've already tried ppa:yurivkhan/ppa and adding new options to "usr/lib/X11/xorg.conf.d/10-synaptics.conf" to no avail either. how to make the remap of touchpad corners permanent? P.S. - I'm using Ubuntu 10.04 LTS with Macbuntu.
I am using Ubuntu 9.10 Desktop Version and the entries did in /etc/resolve.conf all the time it is cleaning as and when i am restarting my systems. How to make is permanent solution to keep all the entries done in /etc/resolve.conf
I'm having some difficulty setting my txpower setting on my atheros wifi card. I am using ath_pci driver on ubuntu 8.1 64 bit. I can set the txpower to whatever, 12dBm for example, it accepts the change but quickly reverts back to a default value of 8dBm. Power saving is off. How can I make these changes permanent, or adjust the default value?
i have a problem, to get a picture on my tv over VGA (and also over S-Video to SCART). I've tried it first over xorg, but without success. After that i tried xrand, but xrander detect only my laptop display, here the output
bufka [~] $ xrandr -q Screen 0: minimum 1680 x 1050, current 1680 x 1050, maximum 1680 x 1050 default connected 1680x1050+0+0 0mm x 0mm 1680x1050 50.0* 51.0 52.0
My video card is Nvidia Geforce 8600M GT, TV is LG M227WPD and OS Ubuntu Lucid...
i have auto login and a ultra simple admin password, so it wasn't hard for them to mess with stuff...so when i came home i see that they had gone into terminal and added something to my system. i cant recall what it was because as soon as i saw in the history "warning this will make permanent changes to your system do you want to proceed" and the falling yes i got up and started bitching out my roommate and when i was gone someone had closed terminal. i was wondering is there is a way to search my recent terminal activity to see what was done so i can then find out if i can fix what was done?. or is there another option i should look into?
It's work very well until i try restart my client server and the mount from 192.168.2.83 is gone, if i want it work again i must run mount script again. Can it become the permanent mount, so when i restart my server the mount is already exist?
I have recently used PowerTop to get information about what settings I could tweak to make my laptop more power efficient. However, my problem is that all such changes seem to dissapear as soon as I reboot my machine. For example, if I run:
This value will have been rewritten to 500 when I reboot. Is there any way to change this, and make sure that any and all changes I do to my system remain permanent until I change them to something else? This question is of course not limited to Powertop, I would also like changes I do via for example cpufreq to be permanent as well.
My Fedora 10 install runs from a single PC, from a single location. I'd like the connection, via wireless, to automatically connect to my home network. Right now, I suspect that NetManager scans all the options first.But that's a waste of time. How do I set things up to skip all that and just grab the only connection that will work?I have NetManager set up to "Auto linksys" with MTU set for "automatic" too. I've Googled around for this, but maybe have missed something. Too often, at login I do NOT connect though the network is available. I suspect there's a way to lock this in that I have not yet discovered...