Debian :: Proper Place To List Nameserver (Configuration)
Apr 10, 2011
I tried installing gnome-desktop, which wiped out /etc/resolv.conf (and ultimately failed to install). A comment was left in resolv.conf saying "do not edit..". Where is the proper place to list nameservers in debian?
How can I have /etc/resolv.conf point to my router address as the nameserver nameserver 192.168.1.1
instead of picking up the ISP's DNS servers and using that as the nameserver entries? Reason being I have more than one ISP account, and when I change I do not want to have to remember to restart the networking service. because i often forget.
What is the most proper place to mount a NFS share? I have an NFS server that shares up data to my network. Should I mount it under /mnt/NFS, /media/NFS, or /home/user/NFS? Under /mnt, I notice that a disk icon does not appear when using Gnome.
The system crontab (/etc/crontab) uses the same format, except that the username for the command is specified after the time and date fields and before the command.
[code]...
Every hour, I get an e-mail complaining about the first line of the crontab:
[code]...
I get the same complaint from the other entries: It looks to me as if cron, or anacron, is trying to execute the user (root) as a command. Predictably, the shell doesn't like it, so barfs and triggers an e-mail about it. Why is this not doing what the man page says it should do? The 2nd problem I believe is related to exim, not cron. The e-mails I'm getting above are being bounced from my ISP because they are directed to root@myisp.com, rather than my regular e-mail address. When the message bounces, it bounces to my regular e-mail address. In /etc/aliases, I have root: [URL]... and in etc/email-addresses I have root: [URL]... Adding the entry to /etc/email-addresses allowed the bounce to find me because the sender's address is [URL]... but how can I get cron to send these messages to me in the first place, instead of root?
On a fresh installed Debian8.1 whit Mate Desktop. I start Synaptic. Lets show the Source, all empty. I can't install or remove anything. Whats happens?
I have tried install libsub-install-perl and libparams-util-perl but get Error. Now I want remove it from the list when I tried apt-get upgrade. Where I can remove from this entries?
I am trying to set up samba using AD to authenticate users. I did a clean install with the latest version of debian (need at least version 3 of samba for this to work). When I first installed winbind and ran "ps -ef | grep winbind", I could see about 4 instances of winbindd running. I set up kerberos and ran kinit and that ran fine, then tried changing my smb.conf file and restarting samba and winbind. Everything seems to appear normal when I restart the daemons, but when I run "ps -ef | grep winbind", I see nothing running.
I've setup my own repository which I want to use SSH as the protocol. I managed to get everything working with an SSH key using port 22. Now, I would like to change the SSH port. I've already changed it on the SSH/repo server. Now I can't figure out how to change apt to use a custom port on the client computer.
My sources.list file line which worked over port 22: deb ssh://user@1.1.1.1/home/user/repo lenny main contrib non-free I've tried: deb ssh://user@1.1.1.1:12345/home/user/repo lenny main contrib non-free and it fails and actually says "failed connecting to port 22"
Can this be done? I've searched google for hours and I getting nothing but unrelated data. I've read the man pages. The man page for apt.conf specified that you can set the port this way for HTTP, but doesn't mention anything about ssh ports.
I have a fresh Debian install, since this install was on a desktop, I had an internet connection and didn't notice (it was late, I was half asleep) I opted to download a whole load of packages I didn't really need. I thought all was doomed until I remembered that I have done another Debian install but a week ago on a laptop, which has a nice clean install without all the bloat.
So I ran dpkg --get-selections > selections and had it sent to my new desktop installation.
Now if I run dpkg --set-selections < selections followed by dselect-upgrade nothing happens. I assume this is because the smaller list contains all the packages 'to be installed' which already are, and all the missing packages are not being purged. Do I need to explicitly add all the packages I want to purge to the 'selection' list or is there a better way of doing it?
Today I decided to include again Debian Volatile and discovered that it doesn't exist anymore and that I can get the same packages using this line: deb [url] squeeze-updates main
And the first question is: is this the same than debian-security?
Then, I decided to use [url] to make things less confused, and this was the output:
The first line is Ok. The second line, I guest it's the same than my second line. But, the third, is something different. So, the main question is: what is the difference between squeeze-proposed-updates and squeeze-updates? Are those repos completely separated from squeeze/updates (in security.debian.org)? And, what else should I add to have an always up-to-date and secure system?
When I right click on a free area of the desktop or within an open folder, I read "Create Document" -> "no templates installed" and "Empty File". How to install the templates in there so I could open a file of my choice?
I have migrtaed from Arch, my first experience with linux for the past 2 months, to Debian and i'm currently setting up my system. I have a X61s Thinkpad with a cracked screen which i use with the ultrabase with an external monitor and keyboard. The monitor requires me to use fbset on console and xrandr for a graphical enviroment Whilst i was using Arch i used 'startx' to access openbox and placed my xrandr configuration in ~/.xinitrc but with debian i have wanted to use a login manager, Slim.
Because i am using KMS for my intel based system i don't have an xorg.conf and because i am using slim i am not using ~/.xinitrc I read somwhere that creating an ~/.xprofile file would solve this but i have not had any luck. So i am wondering where would be the best place to put the xrandr configuration?
My first message on this forum, I'm a new comer in the Suse world (after 10 years of debian, ouch) I really like this distro so far. Fast, clean, simple. I got an "acess denied" issue with the apache configuration though. I've installed apache through yast and configured it with yast-http. Permissions are okay and a index.htm file is in the directory.
I won't ask for a direct answer cause everything can be found on the wiki. However, I'm surprised that configuration files are not erased when the related software is uninstalled. I've spent the afternoon trying to make it work so I guess the config files are spoiled right now. I tried to erase all the config file but can't find the yast-http ones, so it does not launch the wizard like the first time. yast-http also warns about my network ruled by NetworkManager, and that it could not run properly with it, how come?
I have accidentally configured compizconfigure settings manager to activate the shift switcher whenever i press the left mouse button. because of this now i cant do any work as the shift switcher is activated whenever i press the left mouse button
i tried to use remove compiz by typing this command in the terminal: sudo apt-get remove compiz the terminal said that it has been removed but but it is still in the system>>preferences menu and the shift switcher still gets activated when i press the left mouse button.
During playing around sources, synaptic playing I messed up the default list. I know I should have been more careful. Anyways could someone tell me what the default the default sources.list that has free and non free etc for squueze please? I have been trying to get the default list but I cannot find it anywhere. There are alot of lists out there but nothing tagged like the "default" list.
I have 2 images stored temporarily in home folder totaling 21 gigs. I recieved warning stating that home disrectory is full.
I used gparted and resized extended partition and home partition. When I look at disk usage it still says that I'm maxed out in /home/edward. How do I increase my share as I have plenty of space. Or, can I create a place for storing images? Also the images were created and placed there using clonezilla.
I intend to switch to Debian form PCLinuxOS. I am not an experienced Linux user. But I intend to switch all my machines to Linux. I have used Antix as well on an older machine. I am a bit familiar with the basic Linux CLI commands.
I intend to switch to Debian as I think the support (Forums and probably mailinglist) are more active then PCLoS and Antix. Sadly enough though the live cd gives a problem which no distro gave on the same machine. And I really do not know what to do about it.
When starting the first line that prints is:
Umount: can't mount /live overlay: Device or resource busy
What is the best way to install Firefox 5 (with flash) in Debian Testing ? I'm asking this because, until now, I've used Mint Debian, and now when I switched to Debian, there isn't a firefox 5 package in debian repositories, and I'm used to installing software through Synaptic only
I have an EeePC 1000HA with Debian squeeze, and I can't seem to find the option to enable touchpad tapping. Is there a certain config file for the synaptics-touchpad driver I need to edit?
I'm trying to write udev rules to make it easier to recognize the network cards in my server. After a reboot it doesn't seem to take place, what am I doing wrong? I'm running Debian Squeeze stable.
Code: $ uname -a Linux debian 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux Code: # ls -l /etc/udev/rules.d/ total 4
I'm unable to install this package, tuxpaint.I get errors in that it cannot reach the proper url or connection to the server?Not sure what I'm doing wrong.I figure the repo is correct and I thought I had the proper source since I've installed other packages.What could be wrong?
my TV resolution is 1366x786, I've set it with xrandr [URL] , but any mode I pick there are two black strips on the sides of my TV display. I'm using debian jessie 8.1 and xfce.
Running Debian Squeeze and OpenBox. I added the command: "gdm-control --suspend" to my OBmenu but nothing happens. When I run the command from the terminal, also, nothing happens. Yes, I did actually Google. Anyway, proper suspend command from the OpenBox menu?
the mcr85+1 packages were built using qt 4.6.3, so will be squeeze-compatible. umplayer is a fork of the abandoned smplayer project which adds skinning, shoutcast stream, and minitube-like videos search, playback, and download capability to the program.
[url]
i did a pull and build from the svn repo, since that is newer than the 0.92 debs on the website and solves some videos issues. debianized sources included so one can build the program on any architecture that supports qt 4 4.6 and mplayer...plus it's a good idea not to trust anybody's binaries off the web, so to be really safe, rebuild the program yourself if you don't know who the heck i am. update 20 april 2011: link to svn 143 builds and sources: [url] update: 25 june 2011: new pull from svn--fixes the returning control bar problem with skins and kde 4 kwin desktop effects enabled:
[url]
squeeze users should use the mcr85 packages, the mcr110 ones need qt 4.7. sources included as usual. it looks like it would be a nice addition to the debian repo...