Re: proper way to change ip and hostname
Brian Kimball wrote: Others have already led you in the right direction. To summarize: 1) change IP address: edit interface information in /etc/network/interfaces 2) change hostname: edit /etc/hostname and /etc/hosts 3) update nameserver information in /etc/resolv.conf or /etc/network/interfaces if you use the resolvconf package. Good But that only handles the bare minimum. You will also need to reconfigure any software that has your old hostname, IP address, netmask, network address, etc., hardcoded in its config files. In this case grepping everything in /etc is the only sure-fire way to remember what needs to be changed and what doesn't. But in many cases the software should have been configured to use localhost anyway, and this name -- the canonical hostname corresponding to IP address 127.0.0.1, never changes. Matthew Lenz wrote: The only other difference I could see is that etherconf puts the FQDN in /etc/hostname rather than just the host name. Arrgh. I'll file a bug report about that. It is possible to have a FQDN as one's system hostname, but this is not Debian tradition and Debian configuration tools should be consistent. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: proper way to change ip and hostname
I have just looked at the bug reports open against etherconf and the package looks undermaintained. I would not recommend using it. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Can't open default sound device!
On Wed, 20 Jul 2005 03:01:31 +, David Roguin wrote: lsmod Module Size Used by snd_pcm_oss48168 0 snd_mixer_oss 16640 1 snd_pcm_oss snd_pcm85384 1 snd_pcm_oss snd_page_alloc 11144 1 snd_pcm snd_timer 23172 1 snd_pcm snd50660 4 snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 9824 1 snd I didn't hava alsa installed but the sound always worked with oss. Alsa can't find any sound card either, but it always has happened when i tried to install alsa. You don't have a card driver installed. When you run alsaconf, does it tell you that you need a certain driver? -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Sound Configuration
On Tue, 19 Jul 2005 23:34:26 -0500, Martin Kenneth Lopez wrote: I still have problems with the sound I already add the snd_intel8x0 snd_pcm_oss snd_mixer_oss to /etc/modules but when I restart the computer and then I type lsmod the computer doesnt load the sound modules... I dont why... there is anything else?? Install the latest alsa-base and linux-sound-base packages and make sure that 'ALSA' is selected in the debconf menu. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/network/if-post-up.d/ scripts are not executed
On Wed, 20 Jul 2005 12:38:20 -0300, Paulo M C Aragão wrote: fetchmail is started before the ethernet interface is up, so I figured that I had to either start or simply awaken it *after* the interface was up, placing a script in /etc/network/if-post-up.d/. The solution is to install resolvconf. I noticed that /etc/network/if-post-up.d/ didn't exist, so I created it and placed a script named 'fetchmail' there. The directory you want is /etc/network/if-up.d/. up and post-up are synonymous. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Ubunto vs. Debian
Tony Godshall wrote: I would think a collaboration of people around the world is more likely to survive than a corporation. Ubuntu is not Canonical. Canonical is the originator and sponsor of Ubuntu, but Ubuntu itself is, like Debian, free software. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Sound Configuration
On Tue, 19 Jul 2005 12:25:15 -0500, Martin Kenneth Lopez wrote: should I add just snd_intel8x0 or I'm wrong... Yes, just add snd-intel8x0. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Ubunto vs. Debian
On Sun, 17 Jul 2005 18:51:57 -0500, Benjamin Sher wrote: My point was simple: If you are going to get a derivative of Debian or Red Hat or whatever, you will never have the perfect compatibility that is often promised but cannot be delivered. You will have it only with the original distro. Good point. Sometimes, though, compatibility with the original distribution ceases to be important because the original distribution has been superseded by something else. Debian has fundamental organizational problems which lead me to think that it won't be able to keep up with improvements in Ubuntu. If that is so then there is a good chance that Ubuntu will replace Debian as the standard dpkg-based distribution. -- Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: sound problems
On Sun, 17 Jul 2005 19:20:27 -0400, Rick Pasotto wrote: What should I check now? Do I need to restart/reboot? Rebooting might cure the problem. Also, try aplay with a .wav file. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Sound Configuration
On Mon, 18 Jul 2005 10:06:15 -0500, Martin Kenneth Lopez wrote: Hello everyone, I just install Debian Sarge in my Laptop (Dell Inspiron 2650) I use alsaconf to setup up the sound card and everything was fine, but when I restart the computer the sound doesnt work anymore I have to setup up again. Do I have to change something else. This is the first time that I install Debian, well thanks, bye Sound driver modules should be loaded by hotplug or discover. If they aren't, add their names to /etc/modules. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: failing to upgrade udev
On Fri, 15 Jul 2005 23:50:03 -0500, Brad Sims wrote: That kind of BS is why I stopped using $commercial_linux_distro. It's unstable I can accept broken packages due to ABI transitions but making a critical part depend on sudo-vaporware smacks of the Beast of Redmond. Why did you think Debian would be any better. In fact, Debian is worse because maintainers are sovereign. So maintainers can do whatever they want, no matter how stupid, and/or they can leave bugs unfixed for years and there is nothing that anyone else can do about it. Get ubuntu. Much less bad than raw Debian. -- Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Testing unplugged network connection: bug?
On Thu, 14 Jul 2005 14:43:41 -0700, Paul Johnson wrote: Don't worry, eventually they'll grow up and start working with Debian Ubuntu developers are quietly improving their distribution, making all their changes available on their website. Debian developers are the ones who spend their energy on childish squabbles. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 2.6.11 and udev
On Fri, 15 Jul 2005 09:26:44 -0400, H. S. wrote: How come udev package has been upgraded in Sid without any warning that 2.6.12 is required for the new version? We upgraded a Sid machine running 2.6.11 and got new version of udev with no dependency indication that 2.6.12 is required. The udev maintainer has been asked this several times. His view is that people running unstable should expect some instability. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: failing to upgrade udev
On Fri, 15 Jul 2005 11:06:34 -0500, Jon Roed wrote: I just tried to run apt-upgrade on my Debian system and i got the following error: This is a feature. You can't install the new udev package unless you have a kernel of version 2.6.12 or later. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 2.6.11 and udev
On Fri, 15 Jul 2005 12:10:16 -0400, Brendan wrote: Well, it's a self-fulfilling prophecy then, isn't it? If he thinks it should be unstable, he doesn't do anything to change it, and it *becomes* unstable. He certainly contributed to its instability, yes. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: resolv gets wacked after reboots
Package: resolvconf Version: 1.29 Severity: important Yes, there is a bug in resolvconf's removal logic. The problem is that /etc/resolvconf/run/resolv.conf resides on a volatile filesystem and is therefore empty after boot until something writes to it. If the resolvconf package is removed then the resolvconf program no longer updates the file. But the symlink /etc/resolv.conf - /etc/resolvconf/run/resolv.conf is only deleted if the resolvconf package is _purged_. Purging resolvconf should fix the user's problem. The resolvconf package should be changed so that the symlink is deleted on package removal. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Testing unplugged network connection: bug?
On Wed, 13 Jul 2005 05:30:32 -0400, Carl Fink wrote: On Tue, Jul 12, 2005 at 08:22:02PM -0700, Marc Wilson wrote: Because the Debian installer set it to auto. Which is a bug. Debian doesn't have good support for dynamic networking. And the Debian installer does not install the tools that are available. These are known shortcomings and filing another bug report about it will not help at all. Debian does not have the developer resources to fix this problem. I expect that Ubuntu Breezy will show progress on this issue. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Testing unplugged network connection: bug?
On Wed, 13 Jul 2005 16:09:30 -0400, Carl Fink wrote: On Wed, Jul 13, 2005 at 12:50:01PM +0200, Thomas Hood wrote: I expect that Ubuntu Breezy will show progress on this issue. Will that be backported into Etch? I don't expect so. The people supporting networking tools in Debian have proved themselves to be inadequate to the task. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: resolv gets wacked after reboots
On Tue, 12 Jul 2005 11:59:37 -0700, Curtis Vaughan wrote: What is going on? You have the resolvconf package installed and haven't set it up. Either remove the package or read /usr/share/doc/resolvconf/README.gz. (You probably need dns-nameservers options in /etc/network/interfaces.) -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Second time on hostname
On Mon, 11 Jul 2005 06:27:36 -0400, Haines Brown wrote: I changed /etc/hostname simply to the local hostname because I was informed that it is the debian way. Doing so and rebooting seems to have worked. Either way is possible, but the Debian installer and Debian documentation are written under the assumption that the hostname is not a FQDN. I found out how to tell postfix to deal with a simple local hostname (run the command # postconf -e myhostname=FQDN). It seems to be working. Good! The only thing that still bothers me is my /etc/hosts, perhaps only because I sense I can clean it up a bit. I'm configured to be a host on a local network, although I'm not actually running a network now. You seem to be saying I could well remove the FQDN from the loopback: 127.0.0.1 localhost localhost.localdoman teufel.hartford-hwp.com 192.168.1.1 teufel teufel.localdomain In general you should have the more qualified names to the left of the less qualified ones. Thus 192.168.1.1 teufel.domain teufel. You do not need 'teufel.localdomain' at all. I was told to use instead: 127.0.0.1 localhost.localdomain localhost 127.0.1.1 teufel.hartford-hwp.com teufel but that definitely does not work (can't send mail), so using the first configuration, which at least works. What in it could be simpler or more standard? If you have an IP address 192.168.1.1 then use that instead of 127.0.1.1. 127.0.0.1 localhost.localdomain localhost 192.168.1.1 teufel.hartford-hwp.com teufel If that does not work then some _other_ program is misconfigured. Perhaps it will help if I show you my configuration files. These are on an Ubuntu system but that should not make any difference. This is a laptop system that is usually configured using DHCP. When I move from one location to another I change relayhost in /etc/postfix/main.cf to a different value. [EMAIL PROTECTED]:~$ cat /etc/hostname turmeric [EMAIL PROTECTED]:~$ cat /etc/mailname aglu.demon.nl [EMAIL PROTECTED]:~$ cat /etc/hosts 127.0.0.1 localhost.localdomain localhost 127.0.1.1 turmeric # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts [EMAIL PROTECTED]:~$ cat /etc/postfix/main.cf # See /usr/share/postfix/main.cf.dist for a commented, more complete version smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate delayed mail warnings #delay_warning_time = 4h alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myhostname = aglu.demon.nl myorigin = /etc/mailname #mydestination: List of domains delivered via $local_transport relayhost = mailhost1.tuhugft.nl mynetworks = 127.0.0.0/8 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all defer_transports = disable_dns_lookups = yes -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Second time on hostname
On Mon, 11 Jul 2005 09:13:06 -0400, Haines Brown wrote: Thanks for the advice re. format of /etc/hosts. I've now set it to: 127.0.0.1 localhost.localdomain localhost 192.168.1.1 teufel.hartford-hwp.com teufel which seems a lot cleaner. Yes. I'm trying it now. I'd appreciate your inspecting the header of this message to see if there's any anomalies (gmane gateway for this list didn't like my header originally). It looks fine. I append the header block to this message for your perusal. My /etc/postfix/main.cf configuration is much like your own, except that I have myhostname = teufel in order to match the return from $ hostname -- my simple local host name. I believe this is OK. It may be that you have to use 'teufel.hartford-hwp.com'. I am not sure. // Thomas Hood Header block from your message ~~ Approved:[EMAIL PROTECTED] Date:Mon, 11 Jul 2005 09:13:06 -0400 (EDT) From:[EMAIL PROTECTED] (Haines Brown) In-reply-to: [EMAIL PROTECTED] (message from Thomas Hood on Mon, 11 Jul 2005 13:17:25 +0200) Lines: 19 List-Archive:http://lists.debian.org/debian-user/ List-Help: mailto:[EMAIL PROTECTED] List-Id: debian-user.lists.debian.org List-Post: mailto:debian-user@lists.debian.org List-Subscribe: mailto:[EMAIL PROTECTED] List-Unsubscribe:mailto:[EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] NNTP-Posting-Date: Mon, 11 Jul 2005 13:13:45 + (UTC) NNTP-Posting-Host: main.gmane.org Newsgroups: gmane.linux.debian.user Old-Return-Path: [EMAIL PROTECTED] Original-Received: from quimby.gnus.org ([80.91.224.244]) by ciao.gmane.org with esmtp (Exim 4.43)id 1Dry6B-00062P-Pr for [EMAIL PROTECTED]; Mon, 11 Jul 2005 15:13:27 +0200 Original-Received: from murphy.debian.org ([146.82.138.6])by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Dry6B-0004W3-00 for [EMAIL PROTECTED]; Mon, 11 Jul 2005 15:13:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by murphy.debian.org (Postfix) with QMQPid 56E2730C3A; Mon, 11 Jul 2005 08:13:14 -0500 (CDT) Original-Received: from mail8.atl.registeredsite.com (mail8.atl.registeredsite.com [64.224.219.82]) by murphy.debian.org (Postfix) with ESMTP id 01DE02FA21 for debian-user@lists.debian.org; Mon, 11 Jul 2005 08:13:07 -0500 (CDT) Original-Received: from imta02a2.registeredsite.com (imta02a2.registeredsite.com [64.225.255.11]) by mail8.atl.registeredsite.com (8.12.11/8.12.8) with ESMTP id j6BDD7uk021228 for debian-user@lists.debian.org; Mon, 11 Jul 2005 13:13:07 GMT Original-Received: from teufel ([69.0.37.40]) by imta02a2.registeredsite.com with ESMTP id [EMAIL PROTECTED] for debian-user@lists.debian.org; Mon, 11 Jul 2005 09:13:07 -0400 Original-Received: by teufel (Postfix, from userid 1000) id 01664353E; Mon, 11 Jul 2005 09:13:06 -0400 (EDT) Original-To: debian-user@lists.debian.org Original-X-From: [EMAIL PROTECTED] Mon Jul 11 15:13:42 2005 Path:news.gmane.org!not-for-mail Precedence: list References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Reply-To:H.Haines Brown [EMAIL PROTECTED] Resent-Date: Mon, 11 Jul 2005 08:13:14 -0500 (CDT) Resent-From: debian-user@lists.debian.org Resent-Message-ID: [EMAIL PROTECTED] Resent-Sender: [EMAIL PROTECTED] Return-path: [EMAIL PROTECTED] Subject: Re: Second time on hostname X-Complaints-To: [EMAIL PROTECTED] X-Loop: debian-user@lists.debian.org X-Mailing-List: debian-user@lists.debian.org archive/latest/400837 X-Original-To: debian-user@lists.debian.org X-Rc-Spam: 2005-07-10_01 X-Rc-Virus: 2005-02-17_01 X-Report-Spam: http://spam.gmane.org/gmane.linux.debian.user:205948 X-Spam-Checker-Version: SpamAssassin 2.63-lists.debian.org_2005_05_20_02 (2004-01-11) on murphy.debian.org X-Spam-Status: No, hits=-3.8 required=4.0 tests=AWL,LDOSUBSCRIBER autolearn=no version=2.63-lists.debian.org_2005_05_20_02 X-Trace: sea.gmane.org 1121087625 28038 80.91.229.2 (11 Jul 2005 13:13:45 GMT) Xref:news.gmane.org gmane.linux.debian.user:205948 MIME-Version:1.0 Content-Type:text/plain -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: unstable update today
Merijn Schering (Intermesh) [EMAIL PROTECTED] writes: The new udev package removed a lot of /dev/* links. My mouse and sound card stopped working because all the dev symlinks were gone. Downgrade udev to the testing version. The new udev only works with kernels 2.6.12 or higher. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [Fwd: alsa_problem under kernel 2.6.8-2-686/etch]
On Mon, 11 Jul 2005 21:00:49 +0200, steef wrote: alsa which i use since a long time from the 2.4 kernels up till now has become somewhat unbecoming and volatile under my testing-os etch kernel 2.6.8-2.686 (included, of course the soundcartdriver for my oldie es1370). any time i start up the computer i must alsaconf etc. anew. this is getting somewhat boring. a couple of weeks ago i read somwhere that i should put smething somewhere in /etc/.../... to prevent this phenomenon happening again. unfortunately i forgot what i have to put exactly where in /etc/ to get rid of this. Put 'snd-ens1370' in /etc/modules, perhaps? -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Questions about sis7012+snd_intel8x0 sound card problem
On Sun, 10 Jul 2005 12:01:15 +0800, Trace Green wrote: This seems an old problem, i tried to find the answer in google, fail Search for the relevant report in the ALSA bug tracking system. https://bugtrack.alsa-project.org/alsa-bug -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Second time on hostname
On Sat, 09 Jul 2005 15:30:24 -0400, Haines Brown wrote: I'm having some difficulties (From: line missing in header of outgoing newsgroup mesaages) and worry their cause might be due to what I put into /etc/hostname when I installed. Shouldn't you be looking at your news reader configuration? I had done some reading, got inconsistent answers, and ended by using as hostname my FQDN, teufel.hartford-hwp.com when I installed. In Debian the standard is to use a simple name which in your case would be 'teufel'. Since then I've seen suggestions to use only the local host name (teufel). Is machine name synonymous with local host name? The system has a name maintained in the kernel and initialised at boot from /etc/hostname. This is what you see when you execute the hostname command. A simple question for which I desperately need an answer: Should I have used only the local hostname? It is possible to use either one. Secondary questions: does my use of FQND spell trouble? Not necessarily. If so, some sources say never try to change your hostname, but do a reinstall instead; I don't see why that would be necessary. others say, grep the /etc directory and change the name whereever it appears. Strictly speaking the system hostname should only appear in /etc/hostname. However, some programs unfortunately expect to be able to resolve this name as if it were a domain name. Thus, the Debian installer puts the hostname in /etc/hosts too. If you change the system hostname then you should also change the relevant line in /etc/hosts. /etc/mailname is completely different: the MTA looks in that file to find out what domain name it should use as the origin of mail. See mailname(5). Which is right? Should /etc/mailname be brownh#hartford-hwp.com? No, it should be a domain name such as 'teufel.hartford-hwp.com'. Set up /etc/hosts like this: 127.0.0.1 localhost.localdomain localhost 127.0.1.1 teufel.hartford-hwp.com teufel Put 'teufel' in /etc/hostname and reboot. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: alsa and kernel 2.4.27-2-686
For information about the Unresolved symbols error message, read Debian bug report #302188 at http://bugs.debian.org/302188 . In order to eliminate the alsactl restore error message, run alsactl store once as root. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: sound problems with 2.6
On Tue, 14 Jun 2005 06:40:06 +0200, Prasenjit Kapat wrote: how do i do both With snd-intel8x0 and snd-ens1371 loaded you should be able to use /dev/snd/pcmC0D0p and /dev/snd/pcmC1D0p. E.g., aplay -Dhw:0 foo.wav aplay -Dhw:1 foo.wav You can set up /etc/modprobe.d/sound this way by hand: alias snd-card-0 snd-intel8x0 options snd-intel8x0 index=0 alias snd-card-1 snd-ens1371 options snd-ens1371 index=1 -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ALSA sound card driver problem
On Thu, 09 Jun 2005 20:00:20 +0200, Peter J Ross wrote: I suggest reading the man page for alsactl. Basically, you want to run alsactl store once (after running alsaconf) and then alsactl restore automatically on each reboot. If you install alsa-base then sound levels will be restored from a file after reboot. To store the sound levels in the file, run alsactl store. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Alsa not working after reboot
See the loading modules section of /usr/share/doc/alsa-base/README.Debian.gz. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to change hostname
On Fri, 20 May 2005 10:00:19 +0200, Urs Thuermann wrote: What is the debain way to change to hostname of a system. Run hostname NEWHOSTNAME and put NEWHOSTNAME into /etc/hostname. If occurrences of OLDHOSTNAME appear in /etc/hosts, change them to NEWHOSTNAME. The mailname serves a different purpose from that of hostname but in many cases their values are the same; so you might want to edit /etc/mailname and restart your mail transport agent. Here are the settings for my laptop, named thanatos. [EMAIL PROTECTED]:~$ hostname thanatos [EMAIL PROTECTED]:~$ cat /etc/hostname thanatos [EMAIL PROTECTED]:~$ cat /etc/mailname localhost [EMAIL PROTECTED]:~$ head -3 /etc/hosts 127.0.0.1 localhost.localdomain localhost 127.0.1.1 thanatos -- Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: esd hanging
On Sun, 24 Apr 2005 23:40:11 +0200, Chuck Williams wrote: I've got a problem with esd hanging in certain circumstances but not others. Usually this is the result of multiple applications trying to open /dev/dsp at the same time. If you run esd then you have to make sure that no other audio applications open /dev/dsp; i.e., you should select the eSound output plugin for all applications rather than the OSS output plugin. If you are using ALSA drivers then I suggest you configure esd to ALSA rather than OSS (emulation); this will make the daemon open /dev/snd/pcmC0D0p rather than /dev/dsp. To configure esd to output to ALSA rather than OSS, simply install libesd-alsa0 instead of libesd0. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Network Setup Help
On Mon, 16 May 2005 21:50:18 +0200, Donald Perkovich wrote: I installed Debian 3.0r4 onto a machine yesterday and things seemed to go alright. When I started the machine up today, I found I have no networking. OK, let's try to figure out what's wrong. There are two NICs but no device nodes for them. Linux networking does not use device nodes. I want to have this host use dhcp to configure itself. Read the Networking chapter of the Debian Reference. It is in the debian-reference-en package and can also be found on the web at qref.sourceforge.net. -- Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Anyone using libasound2-plugins?
Does anyone use the libasound2-plugins package? If so then please send me a note. If not then the package will be omitted from the 1.0.9 release of the Debian ALSA packages. -- Thomas Hood [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: laptop and different networks
On Fri, 13 May 2005 12:00:27 +0200, Daniel Déchelotte wrote: If you have troubles or solutions not list there, I would be glad to update the page. Please note that there _is_ documentation for the laptop-net package and rather good documentation at that. It is located in the laptop-net-doc package. Note that divine has been removed from sarge. Note that waproamd has been deprecated by its author in favor of wpa-supplicant. In guessnet, s/inconveniens/inconveniece/. If you used other online documents as sources when you wrote your page then please document them by providing links. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: problem bringing up eth0
On Sat, 07 May 2005 03:00:12 +0200, germ germ wrote: I configured /etc/network/interfaces as: iface eth0 inet dhcp iface lo inet loopback auto eth0 lo Make it: auto lo eth0 so that the loopback interface is configured first. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How To install ALSA (and uninstall OSS??)
On Wed, 05 Jan 2005 13:50:11 +0100, Christopher Black wrote: Vegard Lundby Rekaa wrote: I've had problems finding a method of uninstalling OSS and installing ALSA withj google that works. Does anyone have a good manualpage etc. on how to do this?? We really should have a chapter in the Debian Reference about this. Compile your kernel with ALSA support, apt-get install alsa-base and alsa-oss and you're pretty much good to go. If you're using one of the Debian kernels you can probably simply install alsa-base and alsa-oss. Note that Debian 2.6 kernel-image packages include ALSA drivers in the form of modules. Only 2.6 kernels have integrated ALSA drivers. For 2.4 kernels you have to build and install a separate alsa-modules package. (The package is actually named something like 'alsa-modules-2.4.27-2-686'.) (You can also build alsa-modules packages for 2.6 kernels if you want drivers that are more current than the ones that have made it into the kernel sources.) You only need alsa-oss if you are going to use the aoss program. See the long description of the alsa-oss package for more information. Once you have installed alsa-modules*, alsa-base and alsa-utils you will probably want to reconfigure some or all of your sound applications to use ALSA rather than OSS. (This is optional because ALSA can emulate OSS.) If you use GNOME, for example, then you may want to make esd talk to ALSA devices rather than to OSS devices; do this by installing libesd-alsa0 in place of libesd0. Applications such as xmms that run in a GNOME environment are normally configured to send their output to esd and won't have to be reconfigured. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Ugly sarge upgrade -- kernel 2.4.27-2 2.4.27-6
On Tue, 04 Jan 2005 23:10:11 +0100, Jason Rennie wrote: On Sat, Dec 25, 2004 at 03:27:57PM -0500, Michael Murphy wrote: After upgrading, the computer ran so slowly that it was as if I were trying to run on a '486. On boot, the lines *crawled* up the screen in shifting waves. Possibly a result of applications trying to play sound effects but sound not working. Also, the soundcard couldn't be found and alsa didn't load. I restored the previous version from the snapshots archive and all has returned to normal. FYI, I'm experiencing nearly identical problems; also Toshiba laptop PIII. The upgrade also broke AFS; my sysadmin had to compile new AFS kernel modules. AFS works now, but I'm experiencing extreme slowness like you. Haven't tried recompiling/removing the alsa modules yet; will try that tonight. I also noticed that hotplug produces numerous error messages during boot-up. Building your own alsa-modules package may fix the problem. This may be bug #284356. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: XMMS produces tons of errors with ALSA output
On Sun, 02 Jan 2005 14:50:10 +0100, Nicos Gollan wrote: since recently (I don't know when it began, but it should be about a month), XMMS produces tons and tons of error messages when paused. I'm using the ALSA output The exact message is: ALSA lib pcm_hw.c:490:(snd_pcm_hw_delay) SNDRV_PCM_IOCTL_DELAY failed: File descriptor in bad state The installed XMMS version is 1.2.10-2, the kernel ALSA drivers are from a clean 2.6.10 kernel, although the error also occured with a 2.6.7 kernel. The libasound package is version 1.0.7-4. Is #284900 and/or #238323 related to your problem? (I got these numbers from the xmms changelog which indicates that they are about ALSA and pausing.) If so then reopen them and add your information. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to get Sound to work - Need step by step instructions
On Sun, 02 Jan 2005 23:20:05 +0100, Syed Huq wrote: Before you start messing around with new kernels, do yourself a favor and switch to Grub. Once you get it installed, it is much easier. Additionally, if you use symlinks like /vmlinuz and /vmlinuz.old and so on, you can point the symlinks at newly installed kernels and reboot without reinstalling Grub. This is because Grub actually reads your filesystem. When you say switch to Grub, is it as simple as doing: apt-get install grub ? What would be steps after that ? I understand that I am supposed to install a newer kernal but not sure what to do about getting my sound going. I think that you should do one of two things. 1) Wait until someone provides (or gives you a pointer to) step by step instructions for setting up sound on your woody system. 2) Install sarge, Linux 2.4 or 2.6, and ALSA sound. If you choose #1 then be prepared to live without sound until the instructions are provided. I would recommend against upgrading your kernel and bootloader until you gain more experience with GNU/Linux. (Upgrading the bootloader is especially dangerous; recommending that to a newbie is irresponsible.) If you choose #2 then there are more people here who can help you. If you choose #2 then I would recommend you get a copy of Ubuntu Linux which is a newbie-friendly free Debian derivative: www.ubuntu.com. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ifupdown locking up when bringing down bridge devices
On Fri, 31 Dec 2004 09:50:07 +0100, Justin Searle at 015 wrote: unregister_netdevice: waiting for br0 to become free. Usage count = 1 This is a kernel bug. Search the linux-kernel archives and if you don't find the bug reported there already, submit a bug report to the list. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Installing alsa-modules will remove discover1
On Thu, 30 Dec 2004 23:10:10 +0100, kurtz wrote: # apt-get install alsa-modules-2.4.27-1-k7 (...) The following packages will be REMOVED: discover1 This is not what I am intending. Am I missing something? Upgrade discover1 to the unstable version before installing alsa-modules. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Tool for finding and choosing access point.
On Thu, 30 Dec 2004 21:00:18 +0100, Alex Polite wrote: What debian packaged tool will let me choose a wireless access point to attach to? Currently your only choice (SFAIK) is waproamd. Check it out. The NetworkManager GNOME application has been ITPed. It will may serve your needs better once it becomes available. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ALSA broken after upgrade
On Thu, 30 Dec 2004 17:40:09 +0100, Hank Marquardt wrote: depmod: *** Unresolved symbols in Known kernel bug #284356 / #287483. Short-term solution: Build your own alsa-modules package from alsa-source using make-kpkg. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Sarge with an Ensoniq Soundscape Elite ISA sound card
On Tue, 28 Dec 2004 01:10:08 +0100, Etienne Fontaine-Lavoie wrote: I still have alsamixer: function snd_ctl_open failed for default: No such device when I run Alsamixer. And I don't have any /dev/dsp of mixer or sequencer. They were there a few days ago but something happened (?). Are the required sound device files all there? If you use devfs or udev then the devices will be created automatically. If not then you may need to run /usr/share/alsa-base/snddevices. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Sarge with an Ensoniq Soundscape Elite ISA sound card
Um, I think you're trying to build the 2.4 modules from the source package (the /usr/src/modules/alsa gives it away). With 2.6, you need to build the modules within the kernel tree itself. Please note, first, that ALSA modules are shipped in kernel-image-2.6* packages, so if you are using a standard Debian kernel then you normally don't need to build any modules yourself. Note, second, that you _can_ build an alsa-modules package for a 2.6 kernel from alsa-source using the make-kpkg utility. When the alsa-modules package is installed, the module loader will load its modules in preference to those from the kernel-image package. One reason you might want to build an alsa-modules package for a 2.6 kernel is that the drivers so generated are generally more up-to-date than the ones in the kernel. For example, alsa-source is currently at version 1.0.7 whereas Linux 2.6.8.1 currently contains ALSA version 1.0.4. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: alsa mismatch with new kernel-image
On Fri, 24 Dec 2004 15:50:11 +0100, Jonathan Kaye wrote: Hi Debianers, I recently did an upgrade of the sarge kernel image from 2.4.27-2 to 2.4.27-6. All went well except for my alsa which is now out of sink. This is known kernel bug #284356. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: resolvconf + pdnsd on a laptop
On Sat, 25 Dec 2004 14:10:07 +0100, James Leifer wrote: Now I want to use pdnsd to cache dns queries. To do this, I need to * keep my /etc/resolv.conf constant (nameserver 127.0.0.1); * and get resolvconf to push changes directly to pdnsd (by calling pdnsd-ctl). Resolvconf works properly with pdnsd out of the box, although not exactly as you just described. Just install both packages and they will work together. Details: When pdnsd is started with its initscript it adds 127.0.0.1 as a nameserver address; pdnsd answers DNS queries at this address. Resolvconf lists this address in resolv.conf as the first nameserver address to use. Applications that use the libc resolver library therefore consult 127.0.0.1 first. (Additional nameserver addresses listed in resolv.conf will be consulted by applications only if 127.0.0.1 doesn't answer within a timeout period. Usually this doesn't happen.) I.e., resolv.conf does not have to be static when pdnsd is in use. The important thing is that 127.0.0.1 be the first nameserver address listed. Resolvconf updates pdnsd's list of nameservers via a pdnsd-ctl command in /etc/resolvconf/update.d/pdnsd. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ALSA mixer does not unmute the volume
On Wed, 22 Dec 2004 19:10:15 +0100, Bob Alexander wrote: Each time I reboot and login as bob I must manually launch alsamixer and press M to unmute the main volume. Why doesn't this get remembered across reboots ? Using sid on 2.6.9 custom compiled kernel. udev or not? -- Thomas Hood Please cc: me in your reply. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc writeable [was: etc writeable blah]
On Tue, 21 Dec 2004 05:30:12 +0100, William Ballard wrote: My bad. I should have said what other files in /etc need to be writeable. See http://panopticon.csustan.edu/thood/readonly-root.html, and especially the README files linked from it, for answers. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Sound problem.
On Wed, 22 Dec 2004 01:00:26 +0100, Andreas Janssen wrote: On a Debian system, don't edit /etc/modules.conf. Your changes will be overwritten sooner or later. Instead edit a file in /etc/modutils, in your case I recommend /etc/modutils/sound, which is the file alsaconf would create. Add the following entries (if snd-intel8x0 is the correct driver; use lspci and dmesg to get more information): alias sound-slot-0 snd-intel8x0 alias snd-card-0 snd-intel8x0 options snd-intel8x0 snd_index=0 snd_id=ICH (I have no idea it the snd_id option is correct that way, I just took it from your example above) After making the changes, run update-modules. If you use kernel 2.6 instead of 2.4 (which you apparently do), edit /etc/modprobe.d/sound instead. Make sure /etc/modprobe.conf is not present (remove it if the file is there) [...] Use lsmod to check if maybe this is the problem. I think the OSS driver name is i810_audio. All correct so far. and also make sure that hotplug, alsa-base and discover1 are installed with the latest versions so that the OSS driver are not loaded. discover1 is optional. You can also install discover (instead of discover1). Current (= 2.0.6-1) versions of discover refrain from loading OSS modules if alsa-base (= 1.0.7-1) has been installed. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Please--sound
On Sat, 18 Dec 2004 23:20:09 +0100, Ted Parks wrote: Thanks to all who responded to my query for help with ALSA and an opl3sa2 card. After reading the replies, I edited /etc/modules.conf (despite the warnings in the file) to comment out some mistaken parameters put there when update-modules read an incorrect alsa file in /etc/modutils. Which file are you referring to? What are the incorrect lines and how are they incorrect? Please cc: me in your reply. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Sarge Betting Pool
On Fri, 17 Dec 2004 22:10:11 +0100, William Ballard wrote: I'll say Sarge on April 1st, 2005. Takers? March 18. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Please--sound
I cannot get ALSA to run properly on bootup. I get an error message about /etc/rc2.d that says alsactl cannot find the card. That message is only a warning. If your module loader is set up correctly then alsactl restore will be run after the module loads. How do I get ALSA to run alsactl correctly on bootup? Upgrade to the latest alsa-base and alsa-utils packages in unstable. Running alsaconf is not an option for me because it cannot find the correct parameters To do by hand what alsaconf does for you automatically (when it works), simply create /etc/modutils/sound with the following contents alias snd-card-0 snd-opl3sa2 alias sound-slot-0 snd-opl3sa2 -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ALSA sound gone since kernel update
On Tue, 14 Dec 2004 21:30:12 +0100, John van Spaandonk wrote: I used apt-get install (sid) to update the kernel to the newest 2.4.27-1-686-smp Now the ALSA modules do not load anymore. update-modules says depmod: *** Unresolved symbols in /lib/modules/2.4.27-1-686-smp/updates/alsa/snd-mpu401.o for lots of snd-* alsa modules. This problem has already been reported as a bug http://bugs.debian.org/284356 I guess that I also need a new alsa-modules package with the new kernel, however this is not on the server yet (waited a few days before complaining here) The fault lies with the kernel-image package: its symbol version suffixes changed from one Debian revision to the next, which should not happen. (This breaks most modules compiled for that kernel image.) I would like to try to install the previous kernel but have deleted it while cleaning up the local package cache :-( Do you agree to this analysis? If yes, can somebody point me to a previous 2.4 kernel package/ Will the alsa-modules be upgraded too? Either alsa-modules* will be upgraded or new kernel-image-2.4.27 packages will be released that contains kernels with the old symbol version suffixes. In the meantime you can build your own alsa-modules package from the sources shipped in the alsa-source package using the make-kpkg utility (provided in the kernel-package package). -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: usb audio card not listed in alsaconf
On Mon, 13 Dec 2004 19:50:05 +0100, Frederico Rodrigues Abraham wrote: Hi. I have an usb audio card which driver loads correctly in ALSA, but the card is not being listed in alsaconf... Does anything else need to be done to make this work? The latest ALSA packages in sid don't need much help from alsaconf to configure the ALSA drivers. If alsaconf doesn't recognize your card, just add /etc/modutils/sound and /etc/modprobe.d/sound files containing lines like these: alias snd-card-0 snd-cs46xx alias sound-slot-0 snd-cs46xx where you should put the name of your own driver in place of 'snd-cs46xx'. These aliases are used by /etc/apm/event.d/alsa if you have force_stop_modules_before_suspend set to true and possibly serve some other purposes unknown to me. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: sound/alsa: missing dependencies
On Mon, 06 Dec 2004 12:00:40 +0100, michael wrote: Am new to this so pls bear with me. I did a 'apt-get install alsa-source' and it asked a few questions (which soundcard). But what do I do next? Rough outline: apt-get install kernel-source-2.4.27 cd /usr/src tar jxf kernel-source-2.4.27.tar.bz2 cd kernel-source-2.4.27 apt-get install kernel-package make-kpkg --rootcmd=fakeroot modules-image -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: sound/alsa: missing dependencies
On Sun, 05 Dec 2004 16:10:10 +0100, michael wrote: I've run `alsaconf` but it gives errors (below) There is a problem with the alsa-modules package in the archive. You need to build your own alsa-modules package from alsa-source using make-kpkg. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Missing ALSA driver?
On Fri, 03 Dec 2004 20:20:08 +0100, Christian Convey wrote: Some documents claim that we need a particular driver: emu10k1x to handle Dell's variation of the SBLive! card. However, that particular driver doesn't seem to have come with Sarge's version of ALSA. The ALSA driver is named 'snd-emu10k1x'. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: DFSG-free replacement of DJBDNS ?
On Sat, 27 Nov 2004 15:50:10 +0100, Tim Kelley wrote: BIND works fine, even if monolithic and a little clunky. Though every time your recursive nameservers switch, you would need to change the forwarders statement and HUP named. Or, you can just not have any forwarders, which will work, but it will go to the root servers quite often ... The resolvconf package will update BIND's forwarders statement automagically. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Save/restore ALSA mixer settings
On Sun, 31 Oct 2004 14:40:07 +0100, Thomas Adam wrote: --- David Baron [EMAIL PROTECTED] wrote: What two calls should I put in here to get the mixer setting saved and restored? alsactl store alsactl restore The latest alsa packages should handle this for you correctly provided you set up /etc/modprobe.d/sound as follows (where your sound card driver name should be substituted for 'snd-cs46xx'): alias snd-card-0 snd-cs46xx alias sound-slot-0 snd-cs46xx install snd-cs46xx /sbin/modprobe --ignore-install snd-cs46xx /usr/lib/alsa/modprobe-post-install snd-cs46xx (Beware: the last line may be wrapped by my mail composer.) alsaconf should set up /etc/modprobe.d/sound for you correctly. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: esound and alsa not compatible?
On Sun, 24 Oct 2004 21:20:07 +0200, H. S. wrote: So I installed esound last night (Gnome in Unstable, kernel 2.6.7). Since then, after reboot, whichever user logs in kind of own esd because if then that user logs out and another logs in, s/he get in .xsession-errors: Please submit this information to the BTS under issue #187730. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: esound and alsa not compatible?
On Sun, 24 Oct 2004 21:50:07 +0200, H. S. wrote: I could do that. But how does that relate to Alsa? If I install esound, can I just uninstall Alsa altogether? If you use ALSA and esound then you should install libesd-alsa0 instead of libesd0. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Failed PPP hangs system
On Sat, Sep 18, 2004 at 10:51:47PM +0300, Robert Golovniov wrote: I have a very strange problem to deal with. When a ppp connections gets broken, the whole system (Sarge) hangs and I cannot do anything with it - neither through ssh, nor even through the normal keyboard. What might be the root of the problem and how to fight with it? Only a buggy driver (or other kernel component) can make the whole system hang. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: waproamd usb interface: hotplug versus coldplug
On Sat, 18 Sep 2004 09:50:08 +0200, Jerome BENOIT wrote: I have an USB wireless gear which works fine with ndiswrapper. On the other hand I use waproamd to configure on the fly my wireless connection: since a while I have noticed that this configuration works only when my USB wireless stick is hot plugged, but not when it is cold plugged. Why ? How can we make it to work for cold plugging ? I have a similar problem. waproamd sometimes hangs when it is Scanning... but this only happens after I resume from APM Suspend. I have been investigating the problem, so far without success. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ALSA -- Problem solved by rm /etc/modprobe.conf
On Thu, 16 Sep 2004 23:40:11 +0200, Osamu Aoki wrote: My solution: * remove /etc/modprobe.conf which was empty file Reason: As mentioned in MODPROBE.CONF(5) NOTE: If the file /etc/modprobe.conf exists, all contents of /etc/mod- probe.d/ are ignored by default. It is up to the system administrator to keep them in sync, either using a tool to concenate files /etc/mod- probe.d/ and write /etc/modprobe.conf or using include statements to share the configuration data (see below). Somehow I had empty /etc/modprobe.conf which prevented hotplug/udev to read files in /etc/modprobe.d/ . See http://bugs.debian.org/271763 The current alsaconf creates an empty /etc/modprobe.conf file. This bug is fixed in CVS. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help with DHCP and Date Question
On Sun, 12 Sep 2004 03:50:03 +0200, Craig Jackson wrote: On Sat, 11 Sep 2004 20:29:42 -0500 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Questions: 1. How do I install DHCP Client? apt-get install dhcp-client This will get you the now-obsolete dhcp-client package. I suggest that you try pump first, then dhcpcd and finally dhcp3-client if you need a highly customized DHCP client. apt-get install pump -- Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: where is rc.local ?
On Mon, 06 Sep 2004 13:00:18 +0200, Nayyar Ahmed wrote: Hello All, i want to add ip_forwarding to my rc.local file ,but in debian i am unable to find it. http://www.desktop-linux.net/debian-rclocal.htm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Bug#101728: ifupdown: Using logical mappings only
First some terminology. There are real network adapters and there are, assigned to the latter: * MAC addresses * physical interface names (assigned by the kernel) * logical interface names (i.e., names of ifupdown profiles) AIUI you want to be able to define logical interfaces in /etc/network/interfaces as this is currently done but you want a simpler way of getting these assigned to real interfaces on the basis of their MAC addresses and you want the physical interface names to be changed so that they are the same as the logical interface names. The behavior you want is already obtainable by installing the ifrename package. The ifrename command changes the physical interface name to another name on the basis of the real interface's MAC address. Once interfaces have been ifrenamed, all you have to do is define logical interfaces in /e/n/i using the same names. E.g. Suppose you have an interface adapter card with MAC address 11:22:33:44:55:66. You set up /etc/iftab with this line: george mac 11:22:33:44:55:66 and /etc/network/interfaces with: iface george inet static address 11.22.33.44 netmask ... Suppose the interface has been named 'eth0' by the kernel. Then you do: ifrename -i eth0 to rename the interface and then do: ifup george to bring it up. If the interface is hot plugged and you have the hotplug package installed then the ifrename command gets executed automatically. An ifup command also gets executed automatically, but in this form: ifup george=hotplug In order to allow this to to have the effect of bring up interface george as logical interface george you need to add the following stanza to /etc/network/interfaces: mapping hotplug script echo -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Alsa in Debian Sarge? How to?
On Sun, 05 Sep 2004 20:10:08 +0200, Pascal Bonesh wrote: apt-get alsa-base alsa-headers alsa-oss alsa-utils alsaplayer alsaplayer-alsa alsaplayer-common alsaplayer-gtk alsaplayer-oss You don't need alsa-headers unless you are a developer. You don't need alsa-oss unless you want to use ALSA's OSS compatibility drivers. The alsaplayer* packages are rather irrelevant here; they are components of the ALSA music player and not of the ALSA drivers. On my debian sarge with 2.6.7-1-686 Standard Kernel. I don't know, I expected apt to ask me to remove oss or configure alsa, so that all apps use it instead of oss. There are no OSS packages per se, although there are quite a few packages that are written to the OSS API. For these to work you need drivers that support that API -- either the OSS drivers themselves or the ALSA OSS-compatibility drivers. I tried xmms with the alsa output plugin: it didn't work. A common reason for ALSA seeming to fail to work after it is first installed is that all the output levels are set to zero. Install gamix and see if you can increase the levels above zero. I googled a bit and found that you may have to do some more things like: add the following in /etc/modutils/aliases You are using Linux 2.6 so /etc/modutils/ is not used. The relevant directory for you is /etc/modprobe.d/ but you shouldn't need to put anything in there other than /etc/modprobe.d/alsa which is included in alsa-base. I rebooted (just to be on the save side) and started Gnome, I again tried to run XMMS with the alsa output plugin, but it didn't work. Nevertheless the OSS ouput plugin still works. Are you sure that the OSS drivers are not loaded? Check by running lsmod. Probably I still have oss running and that prevents alsa from doing it's job, but I don't know how to go on from here: how do I disable OSS, how enable alsa properly? What is the right way to install alsa on debian anyway? If the problem is that OSS modules are loading then you need to configure whatever is loading them so that they don't do that. Discover and hotplug are the usual culprits. A quick hack is to move the OSS drivers out of /lib/modules/$(uname -r)/kernel/drivers/sound to some location where the module loader won't find them. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: pcmcia-cs or hotplug?
Stephen Patterson wrote: I'm just wondering which of these is considere the 'official' way to sort out pcmcia? Read the relevant section of the Networking chapter in the Debian Reference. http://qref.sourceforge.net/Debian/reference/ch-gateway.en.html#s-trigger-pcmcia -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ppp problems
On Mon, 2004-08-23 at 19:52, Haldor Riddering wrote: cannot do dns lookups, surf, ping anything else. what am I doing wrong? how can I fix it? Red Faction wrote: Sounds like resolve.conf issue. Look into /etc/resolve.conf and add name servers there if not listed or not assigned by dhcp. The name of the file is '/etc/resolv.conf'. This file will be updated automagically by pppd or by the resolvconf package if you have the latter installed (recommended). Probably all you need to do is set the usepeerdns option for pppd. Look in the global options file /etc/ppp/options , in the options file for your modem /etc/ppp/options.tty*, and in the options file for your provider /etc/ppp/peers/provider to see whether that option is already set. You might want to read the Networking chapter of the Debian Reference for background information. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: configuration of nsswitch.conf ignored by system
On Tue, 2004-08-24 at 09:43, Matthias Eichler wrote: - I read that right that its not a nscd-bug or something but a bug in the glibc which doesnt handle the nsswitch.conf the correct way? The Debian maintainers seem to regard it as a feature of glibc rather than as a bug. - The bug was tagged WONTFIX...does this just mean that nobody from the Deb-Crew will fix it because it relies on other developers? They regard it as a feature, so the behavior probably will not be changed. - Where can I monitor this bug, where will I see when the bug is fixed as this is really a pain in the ass on one of our production systems. It won't be fixed. There is a workaround, though, involving the addition of IPv6 lines to /etc/hosts. Read through all the reports carefully to get a full picture. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: domain name of debian
Shu Hung (Koala) asked the simple question: where does the domain name of a debain stored? is there anyway to change it? The domain name of the local host is the part of its fully qualified domain name (FQDN) that follows the first dot. The FQDN of the local host is its canonical host name (if the latter is a FQDN). The canonical host name of the local host is determined by the resolver. In the simplest configuration, where the resolver relies on /etc/hosts, the canonical hostname is the first name on the line that contains the unqualified hostname as an alias. E.g., suppose the hostname is 'foo'. There is a line in /etc/hosts: 12.13.14.15foo.bar.com foo The resolver returns 'foo.bar.com' as the canonical hostname of foo. Then the domain name of foo is 'bar.com'. To display the canonical hostname of the local host, do: hostname --fqdn To display only the domain name part of this you can do: dnsdomainname Rus Foster answered: Try edit /etc/domainname or /etc/hostname So far as I know there is no such file as /etc/domainname in Debian. John Summerfield wrote: dnsdomainname is in /etc/resolv.conf That is true in a sense. The configuration of the resolver affects the way it looks up names and thus can affect what it returns as a canonical hostname. He continued: NIS domain name may be in ... We are talking about the DNS domain name, not the NIS domain name, I presume. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: configuration of nsswitch.conf ignored by system
I've the problem that on all debian systems (Woody, Sid) it seems that some configuration changes of the nsswitch.conf are ignored by the system. See #160596 and those merged with it. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: a problem about rcconf and other things
Don't use rcconf. Use sysv-rc-conf. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: init scripts?
Thomas Adam wrote: 1. As far as bootlogd is concerned, do the following: # apt-get install bootlogd No such package. bootlogd is actually included in the sysvinit package. You turn it on by setting BOOTLOGD_ENABLE=Yes in /etc/default/bootlogd. As for syslog this is automatically started up. If you find you're missing symlinks to the scripts the you can do one of two things: 1. man update-rc.d 2. dpkg-reconfigure package (You might also find the package 'rcconf' useful for such tasks). Don't use update-rc.d -- it is designed for use in maintainer scripts, not as a runlevel editor. Good runlevel editors are sysv-rc-conf and ksysv. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Network install fails on reboot
Start by reading the Network Configuration chapter of the Debian Reference. It is available online here: http://qref.sourceforge.net/Debian/reference/ch-gateway.en.html -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/hosts ignored
dnsdomainname: Unknown host See also bug #109931 and those linked with it. -- Thomas Hood [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: usage of ifup ppp0 as opposed to pon
#this is for ppp0 configuration auto ppp0 iface ppp0 inet ppp up /etc/iptables/iptables.sh start provider dsl-provider down poff -a post-down /etc/iptables/iptables.sh stop 1. You don't need the down line. ifdown runs pon and poff for you. 2. The up and post-down commands don't work properly with ppp ifaces. See bug #127786. The problem is that ifup simply runs pon and then the up commands; pon returns immediately -- i.e., before pppd has finished bringing up the ppp connection -- so the up commands get run too early. A similar problem afflicts the post-down commands. Until this bug is fixed you have to put up commands into a script in /etc/ppp/ip-up.d/ and post-down commands into a script in /etc/ppp/ip-down.d/ . -- Thomas Hood [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: 2.6 on_ac_power anacron APM fix
I attempted to search the Debian bugs database for this, and maybe enter this as a bug (with fix), but couldn't get it to recognize the package name. The on_ac_power script is in the powermgmt-base package. The bug you found has already been fixed in the latest version (1.17) of powermgmt-base in testing and unstable. -- Thomas Hood [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: prioritizing deb locations
On 04 Feb 2004, Monique Y. Herman [EMAIL PROTECTED] wrote: Is there any way to tell my system that I only want certain packages to come from this source? I guess my fear is that someone will put a bleeding-edge version of a package into the repository I'm using for other reasons, and now suddenly I'm pulling this non-official package into my system, rather than the one from the official debian repository. If you list only Debian sources in /etc/apt/sources.list then you will get only Debian packages. -- Thomas Hood jdthood_AT_yahoo.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Mapping stanzas in interfaces file not working
mapping eth0 script /etc/network/show-role.sh -q -l Here is one of the problems. You are not allowed to provide arguments (-q, -l) to the mapping script. -- Thomas Hood [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/init.d/ - add/remove services
On Sat, 2004-01-31 at 22:10, I wrote: Note that the expectation of the System V init system is that every service have either an S or a K symlink in each runlevel. If there is no symlink for a service in a particular runlevel then the behavior of sysv's invoke-rc.d is undefined for that service in that runlevel. Methods of shutting off services must take that into account. This is true. Suppose you have service foo that is S20 in runlevel 2 and you want to shut it off. You should do something like: /etc/rc2.d/$ mv S20foo K80foo_originallyS20 No. Further investigation has revealed to me that this won't work. The renamed symlink has to be K??foo or it won't be recognized as a foo script even though it links to foo. I conclude that the only correct way to disable a service is to do something like: /etc/rc2.d$ mv S20foo K80foo It is up to the administrator to keep a record of what the original symlink was called so that he can restore it to that name later if he wishes to do so. There are a couple of high-level utilities available that can automate this process for the administrator. Miquel van Smoorenburg miquels () cistron ! nl wrote in part: A thought just hit me. What if we added a update-rc.d name enable|disable command? This has already been wished for. See sysv-rc wish #214757 and sysvinit wish #67095. That has never been done because the implementation would be awkward and wouldn't fit into the sysv-rc design. But what if we used the destination of the symlink ? Suppose you have a service foo enabled in runlevel 2 and disabled in runlevel 3. On moving from 2 to 3 you want foo to be stopped. However, if foo is disabled in runlevel 3 by having its S entry symlinked to /bin/true then it won't be stopped. The right thing to do is to write a simple runlevel editing tool and include it in the sysv-rc package. This tool would rename Snn symlinks to K(100-nn) symlinks and vice versa and would keep records of what it had done so that reversion was easy. The sysv update-rc.d program would be rewritten to work through the runlevel editing tool; commands coming from update-rc.d would determine what the tool considered to be the default setting. Other init systems would implement this tool differently, of course. -- Thomas Hood [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/init.d/ - add/remove services
Note that the expectation of the System V init system is that every service have either an S or a K symlink in each runlevel. If there is no symlink for a service in a particular runlevel then the behavior of sysv's invoke-rc.d is undefined for that service in that runlevel. Methods of shutting off services must take that into account. Suppose you have service foo that is S20 in runlevel 2 and you want to shut it off. You should do something like: /etc/rc2.d/$ mv S20foo K80foo_originallyS20 As someone has already pointed out, update-rc.d is intended for use by maintainer scripts. It allows maintainer scripts to work independently of which init system is in use, whether it is the System V init system, file-rc or some other. The local administrator need not use update-rc.d to change sysv symlinks. -- Thomas Hood [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /etc/ioctl.save
I noticed after an unclean shutdown (i.e. a system crash), Tripwire is reporting that /etc/ioctl.save has been modified. Note that as of sysvinit version 2.85-1 this file is no longer used. Here is the changelog.Debian entry: * Get rid of /etc/ioctl.save, it's a legacy thing from Unices with a serial console and no way to set reset the linespeed at boot. With Linux we have console=tty0,speed as bootparameter anyway. -- Thomas Hood [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: hostname bogosity
If you are using hostname version 2.11 then you should upgrade to version 2.12 . More info at bugreport #223521. -- Thomas Hood [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: hostname bogosity
On Sun, 2003-12-14 at 15:34, Michael D. Harnois wrote: On Sun, 2003-12-14 at 04:47, Thomas Hood wrote: If you are using hostname version 2.11 then you should upgrade to version 2.12 . More info at bugreport #223521. How very odd. Yes, that does make hostname -f work. :) The strange thing, though, is that with both 2.11 and 2.12, hostname --version returns hostname 2.08. I just reported that as a bug. -- Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Wireless access point association daemon?
I have a laptop with an 802.11b card. When I am in the vicinity of an access point (AP) I can see the AP's details by running iwlist IFACE scan. However, in order to associate to APs with encryption switched on I need to set the encryption key using iwconfig IFACE enc KEY. My question is: has someone written a utility that will do this automatically -- a utility that will set the encryption key according to the access points that show up in the scan? I have searched the web for a while and what I find are sniffing and cracking programs. That is not what I am looking for. I am not interesting in collecting packets and I know the encryption keys I need to access these networks. I just want a program that will automate the process of association. I could write this program myself. In its simplest form it can be done in one line of shell script. However, making the program work reliably would take more work. I would like to know if anyone has already done this work for me. TIA for any tips you can provide. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: DNS for small network with internet connection
It was to solve exactly this sort of problem that I created the resolvconf package. With resolvconf installed, DHCP clients send their information to resolvconf; resolvconf then generates a /etc/resolv.conf file for applications to use, and a separate /var/run/dnsmasq/resolv.conf file for dnsmasq to use. Thus, in your case, with resolvconf installed, the /etc/resolv.conf file will contain: nameserver 127.0.0.1 nameserver 1.2.3.4 nameserver 5.6.7.8 (the first line supplied by dnsmasq, the other two by dhclient) whereas the /var/run/dnsmasq/resolv.conf file will contain: nameserver 1.2.3.4 nameserver 5.6.7.8 For this to work without your having to do manual configuration, get the latest versions of dhcp3-client and dnsmasq and make sure you haven't changed their configuration files such that the integration with resolvconf is disabled. Resolvconf isn't absolutely necessary, given that various packages have implemented their own kludgy solutions to these problems. (Dhclient has its option modifiers and dnsmasq can monitor several resolv.conf files.) However, it is nice in that it solves the problem of contention over the resolv.conf file quite generally, centrally and flexibly. Resolvconf also provides hooks so that applications can arrange to be notified when the resolver configuration changes. You can get the latest resolvconf deb from the resolvconf section of the update-resolv project at alioth: http://alioth.debian.org/projects/update-resolv Read the README file for more information. Please let me know if you run into any problems. On Fri, Jul 11, 2003 at 07:53:33PM +0200, David Fokkema wrote: Currently, I use dhcp and dnsmasq to serve my local LAN. Very, very easy to set up and it works as a charm. I use dhcp-client to acquire an IP addres for the internet, which then rewrites /etc/resolv.conf to incorporate the name servers for the internet. My problem is that my server has no idea what the internal LAN is all about: its nameservers are the ones provided by my ISP. If I add my local dns server (dnsmasq) to /etc/resolv.conf, it is overwritten the next time the lease is renewed. Telling dhclient.conf to _not_ write to /etc/resolv.conf will not update my nameservers for the internet, so there must be another way, I think. Dag -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Some myths regarding apt pinning
Bruno Diniz de Paula diniz () cs ! rutgers ! edu wrote: But before looking at the priority, it looks at the version of the packages. No, it is the other way around, I believe. First priority, then version. I include an updated edition of the apt preferences(5) manual page; it hasn't yet been uploaded. Some of the formatting may be out of whack, but here goes. // Thomas Hood APT_PREFERENCES(5) APT_PREFERENCES(5) NAME apt_preferences - Preference control file for APT DESCRIPTION The APT preferences file /etc/apt/preferences can be used to control which version of a package will be selected for installation. Several versions of a package may be available for installation when the file contains references to more than one distribution (for example, stable and test ing); furthermore, several instances of the same ver sion of a package may be available when the file con tains references to more than one download site for a particular distribution. APT assigns a priority to each instance that is available. (In what follows, an instance will be an instance of a package that is available according to .) Subject to dependency con straints, apt-get installs the instance with the high est priority. If two instances have the same priority then it installs the more recent one, that is, the one with the higher version number. The APT preferences file overrides the priorities that APT assigns to package instances by default, thus giv ing the user control over which one is selected for installation. APT'S DEFAULT PRIORITY ASSIGNMENTS If there is no preferences file, or if there is no entry in the file that applies to a particular instance, then the priority assigned to that instance is the priority of the distribution to which that instance belongs. It is possible to single out a dis tribution, called the target release, which receives a higher priority than other distributions. The target release can be set on the apt-get command line or in the APT configuration file /etc/apt/apt.conf. For example, # Command to install the testing version of some-package apt-get install -t testing some-package # Config setting to make stable the target release # APT::Default-Release stable; If a target release has been specified then APT uses the following algorithm to set the priorities of the instances of a package. Assign: priority 100 to the instance that is already installed (if any). priority 500 to the instances that are not installed and do not belong to the target release. priority 990 to the instances that are not installed and belong to the target release. If no target release has been specified then APT simply assigns priority 100 to all installed package instances and priority 500 to all uninstalled package instances. APT then applies the following rules, listed in order of precedence, to determine which instance of a package to install. · Never downgrade unless the priority of an available instance exceeds 1000. (Downgrading is installing a less recent version of a package in place of a more recent version. Note that none of APT's default pri orities exceeds 1000; such high priorities can only be set in the preferences file.) · Install the highest priority instance. · If two or more instances have the same priority, install the most recent one. · If two or more instances have
Re: Some myths regarding apt pinning
On Fri, Jan 24, 2003 at 02:59:17PM +0100, Adrian Bunk wrote: From a security point of view woody + libc6 from unstable is worse than any other possibility. Consider there's another security bug in libc6. The fixed version for stable has a lower version number than the version on your system and you won't get the update. If I am not mistaken, it is possible to avoid this worst case scenario by appropriately setting up apt's preferences. Suppose I set the priorities of distributions as follows stable 900 testing 800 unstable 700 and, starting with a woody system, upgrade a single package foo to version vvv from unstable apt-get -t unstable install foo which pulls in unstable libc6. Later when I do apt-get dist-upgrade apt will upgrade most packages from stable but will upgrade foo from unstable, or from testing if version vvv has made it into testing; and likewise libc6. -- Thomas Hood [EMAIL PROTECTED] __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: laptop environment detection
I've looked at switchconf, whereami, netenv, guessnet, intuitively, divine, laptop-net, and laptop-netconf (are there any others). ... What is needed is a program that * triggers on events (perhaps including a timer) to do location redetection * Detects the current location * Modifies the configuration accordingly and * It should do all this without requiring the user to hand-craft too many configuration files and scripts Any of the packages you mentioned could be improved to do all these things, but none of them currently does them all. netenv and switchconf look like manual file-switching utilities. intuitively (which replaces divine) does file-switching based on automatic detection of networks: Sends out ARP (address resolution protocol) requests and, depending on who answers, it configures the network interface and default route. It also links the files in /etc/intuitively/NETWORK into your root hierarchy guessnet does the same thing, but does it by enhancing ifup. (guessnet is a program that can be named as a script inside a mapping construct in /etc/network/interfaces.) Thus it integrates better with standard tools. Whereami implements a state machine (it remembers where it was last; detect.conf defines the state transitions; whereami.conf specifies actions to take on state transitions) and includes some nice config-file-altering scripts. However (1) its triggering hooks are a bit imperfect right now, and (2) it does not integrate properly with ifup. First, whereami should not be called in if-pre-up.d. If whereami is going to be triggered by events, it makes no sense for ifup to call whereami, but whereami should call ifup after it has figured out the current location. Alternatively, if we really want ifup to call whereami, then the hook scripts should call ifup. Second, whereami needs a mapping script (of the same genus as guessnet) that will report to ifup the logical interface to use, based on the whereami location. Hmm ... this shouldn't be hard. The following script should do if there is only one location: #!/bin/sh loc=`cat /etc/whereami/iam` awk '$1 ~ /'$loc'/ { print $2 }' This looks up the current location name in the table defined by consecutive map lines in /etc/network/interfaces and prints the interface name mapped to it, which ifup can then bring up as it is configured to do. Here is an example of an interfaces file that works with the above script: auto lo iface lo inet loopback mapping eth0 script /usr/sbin/thescriptabove map home eth0-home iface eth0-home inet static address 192.168.0.1 netmask 255.255.255.0 gateway 192.168.0.254 Other network configuration can be done in pre-up and (post-)up scripts. This could include things like backing up files onto a docking station. Thus, one could add the lines up bind-forwarders 192.168.1.1 and such. -- Thomas Hood [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: BTTV on Debian and Kernel 2.4.7
Herbert Pirke wrote: Under SUSE-Linux I had my TV-Card (Terratec TV+) running perfectly. SUSE installed everything automatically, which means that I have no idea what to do. In addition to that, the kernel I used under SUSE was a 2.2.18. Has anyone got the bttv drivers working on a 2.4-kernel? Experienced any problems? Are there any changes to 2.2? By the way, do you recommend this TV card? Or what card would you recommend? I'm looking for one. Please cc: jdthood_AT_yahoo.co.uk (with '_AT_' - '@') -- Thomas Hood
Re: ALSA problems in Debian/unstable
If xmms is hanging under GNOME, make sure you have xmms's esd output plugin selected, otherwise xmms and esd may contend for the audio device. For those of you moving from ALSA 0.5 to ALSA 0.9, you may have to delete your /etc/asound.conf file. If you are using gamix, you may need to get version 1.99 and you should delete your ~/.gamix directory. The reason is that the names of the controls have changed. Thomas
Setting configure options when using make-kpkg
What is the best way to select configure options when compiling a package, such as pcmcia-cs, using make-kpkg? I go into /usr/src and untar pcmcia-cs.tar.gz . Then I go into /usr/src/linux and run make-kpkg modules_image. make-kpkg answers all the questions that ordinarily I would answer if I ran Configure. Unfortunately it doesn't answer them the way I want. How should I set things up so that make-kpkg will give the answers I want? Thomas Hood Please reply to jdthood_AT_yahoo.co.uk (with '_AT_' replaced by '@').
Re: Setting configure options when using make-kpkg
What I currently do is edit the line in /usr/src/modules/pcmcia-cs/debian/rules which invokes Configure: I add the Configure options I want. There ought to be a better way. Thomas I wrote: What is the best way to select configure options when compiling a package, such as pcmcia-cs, using make-kpkg? I go into /usr/src and untar pcmcia-cs.tar.gz . Then I go into /usr/src/linux and run make-kpkg modules_image. make-kpkg answers all the questions that ordinarily I would answer if I ran Configure. Unfortunately it doesn't answer them the way I want. How should I set things up so that make-kpkg will give the answers I want? Thomas Hood Please reply to jdthood_AT_yahoo.co.uk (with '_AT_' replaced by '@').
Re: 2.4 kernel, problems shutting down eth0 interface
Hi. I just want to let you know that I have run into exactly the same behavior as you did. Originally I compiled my kernel with the PCMCIA driver as a module. I recompiled to make the PCMCIA driver integral (i.e., I selected y instead of m for PCMCIA in make xconfig) and since then I have not had this problem. However I haven't had to connect my computer to Ethernet since this time either, and I think that every time I got the error message before I happened to be connected to the Ethernet, so I fear it may be this, and not the integralness of the PCMCIA driver, that has made the difference. Please let me know if compiling the PCMCIA driver integrally fixes the problem for you. Please reply to jdthood_AT_yahoo.co.uk, not to the return address of this e-message. Thomas jdthood_AT_yahoo.co.uk --- Original message follows --- Yesterday I compiled a 2.4 kernel using make-kpkg. All seems to have gone well. I used the pcmcia features in the kernel, and chose not to separately compile pcmcia modules. All seems to work well, I boot fine, start up pcmcia fine, get a dhcp address fine. However, I do have one problem, I can't shut down or reboot without cutting the power to the laptop. When I try, I get the following error: Shutting down PCMCIA services: cardmgrunregister_netdevice waiting for eth0 to become free. Usage count = 0 No matter how long I wait, this message keeps popping up every 3-4 seconds. It doesn't stop, and the rest of the shutdown/reboot process seems to be waiting for this to finish. Does anybody have any ideas as to what is going on? Also, one other question: I have been using dhcpcd. In the bootup process, I now see something that says pump -r -i eth0 /sbin/ifconfig eth0 down cardmgr. Don't know what this means, but I do know that I don't have pump installed on my computer. Any ideas? Thanks! Bryan Walton ___ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/
Re-enabling Debian menus in Helix GNOME foot menu
Here's something it took me a while to figure out. To enable the Debian menu hierarchy in Helix GNOME, you have to go into the GNOME Control Center (under Programs|Settings) and on the Menu tab in the Global Menu box enable Distribution either in the menu or in a submenu. Thomas Hood
Re: hibernation on a desktop? Suspend-to-RAM on a desktop?
I suggest that you check out the noflushd daemon in the woody archive. Thomas Hood
Re: Changing named forwarders on ppp startup?
If this is the best solution then I'll submit it as a wishlist item for the bind package. I have submitted it as a wishlist item for the ppp package. Thomas