Re: Debian Linux on a mac?
On Thu, Aug 19, 2004 at 09:33:37PM -0400, S.D.A. wrote: | Not the original poster, so please excuse me jumping in here. | | I'm going to attempt installing Sarge on my brother's G3 beige (old | world), this weekend. Were you able to boot directly from the cd, or | did you need to boot from floppy? Any pointers welcome -- I'm in the | process of reading the Debian Mac install instructions, but pointers | always welcome. From what I've read, oldworld systems can't boot from cds. I'm not a mac expert, though. I've only installed on two G4s (well, I think the first was a G4; it was newworld at any rate). The first time was my first experience with a mac and was a proof-of-concept installation that was wiped out shortly afterwards (~6 months ago). My recommendation is to read a lot of documentation on-line (particularly if you are not familiar with Apple hardware and its disk partitioning and booting organization). Also, use the sarge rc1 installer. This worked really well for me this time around. HTH, -D -- If you want to know what God thinks about money, just look at the people He gives it to. -- Old Irish Saying www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: [OT] Apache log analysis packages
On Mon, Jul 26, 2004 at 06:02:25PM -0700, Chris Metcalf wrote: | I'm looking for suggestions on a good Apache log analysis package for | my web server. I've used Sawmill (www.sawmill.net) to do log analysis | at work (and it is awesome), but I'm looking for something free (as in | beer and freedom). The two that I remember off the top of my head are analog webalizer I'm sure there are others locatable with 'aptitude search' or google. HTH, -D -- \begin{humor} Disclaimer: If I receive a message from you, you are agreeing that: 1. I am by definition, "the intended recipient" 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it on USENET or the WWW. 3. I may take the contents as representing the views of your company. 4. This overrides any disclaimer or statement of confidentiality that may be included on your message \end{humor} www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: How can I get all IP transactions (in/out) logged?
On Wed, Jul 28, 2004 at 10:39:07AM +0800, John Summerfield wrote: | James Foster wrote: | | >>The log will be _enormous_ and I mean __enormous__ | > | >It seems to me that the log won't necessarily be very large. It really | >depends on how the connection is being used, doesn't it? An hours | >worth of log from a dialup connection couldn't be very large, for | >example. | > | | I regularly pull 5K bytes/sec. That's a lot of transactions p/h, even on | dialup. Bandwidth does not (directly) affect the number of transactions. Just imagine a trivial program designed to DoS the requested logger. All it has to do is open and close a connection repeatedly. That requires sending a SYN, receiving a SYN-ACK, sending an ACK, then sending the FIN sequence. This is only a handful of bytes, so the bandwidth limitations of a dial-up connection won't prevent the logs from growing very large very rapidly. -D -- Love is not affectionate feeling, but a steady wish for the loved person's ultimate good as far as it can be obtained. --C.S. Lewis www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Xeon HT or not HT
On Thu, Jul 22, 2004 at 10:10:28AM +0100, nx13372 wrote: | Hi all, | | I'm using kernel 2.4.26-1-686-smp. | I have a dual xeon box. If in the bios i enable the HT i'll get 4 cpus, | if not i'll get 2 cpus. You have 2 Physical CPUs regardless. With HT each physical CPU is divided into 2 Logical CPUs. I've heard HT called "poor-man's SMP". | What is bettter? I would imagine HT is generally better than no-HT. To be certain you would have to benchmark both settings in your environment. My workstation at work is a hyperthreaded uniprocessor P4. With an -smp kernel I see two logical CPUs. It runs nice and fast (it also happens to be 3GHz). I have no other experience with multiple processor systems. -D -- A mouse is a device used to point at the xterm you want to type in. --Kim Alm, a.s.r www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: printing to remote ip through firewall
On Thu, Jul 22, 2004 at 11:30:39AM -0400, Antonio Rodriguez wrote: | Some times it is necessary to print a document in a printer | behind a firewall. The internal ip of the printer and the outer ip of | the firewall are known. How can this be done? If you run the firewall, you can use NAT (sometimes called PAT or port-forwarding) to connect the desired port on the outside address of the firewall to the printer on the other side. (eg port 631 if the printer and client support IPP) If you have control of a machine inside the firewall, you can start an ssh session on that machine and use remote port forwarding. To create the tunnel 'ssh -R1631:printer:631 other-machine'. On the remote machine create a prtiner queue that uses 'ipp://localhost:1631/queue-name' as the device. Substitute queue-name for the name and path to the queue on the print spooler (this depends on the spooler used -- cups as a server and HP's JetDirect devices are different). (The specifics I give assume the remote machine uses CUPS) If you are outside the firewall and have no control over it or a way to connect to (and control) a machine inside the firewall then you cannot connect. (or you have to ask the network admin to adjust the firewall to allow your connection) -D -- Commit to the Lord whatever you do, and your plans will succeed. Proverbs 16:3 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: wireless and kernel woes
On Tue, Jul 20, 2004 at 08:06:39AM +0800, John Summerfield wrote: | Derrick 'dman' Hudson wrote: | | >On Mon, Jul 19, 2004 at 12:16:42PM -0700, [EMAIL PROTECTED] | >wrote: | >| | >| The situation: bought an Averatec notebook couple of weeks ago (AMD | >| Athlon-M, 256K, builtint 10/100 and wireless, CDRW-DVD combo, etc) | > | >You don't say what wireless adapter this is or what driver you need. | >I recommend a PCI or PCMCIA (not USB, yet) PrismGT-based adapter. | >They use the prism54 driver, which is included in the kernel. I | >wasn't able to get the first two adapters I bought to work, but the | >third (a PrismGT) worked effortlessly. | > | | Actually _buying_ a prism54 card can be a challenge. I have a (PCI) | SCMC2802W card that does _bot_ work, but the original does (and rates | well). Similarly for dlink cards - I heard there are six different | versions of one dlink card. I see what you mean. Vendors using the same model number for not-even-close products is a royal pain. That practice ought to be outlawed. The Xterasys XN-2522g is a good one. It is available for $29 (USD) on ebay with free shipping (maybe US-only). -- If we confess our sins, He is faithful and just and will forgive us our sins and purify us from all unrighteousness. I John 1:9 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: wireless and kernel woes
On Mon, Jul 19, 2004 at 12:16:42PM -0700, [EMAIL PROTECTED] wrote: | | The situation: bought an Averatec notebook couple of weeks ago (AMD | Athlon-M, 256K, builtint 10/100 and wireless, CDRW-DVD combo, etc) You don't say what wireless adapter this is or what driver you need. I recommend a PCI or PCMCIA (not USB, yet) PrismGT-based adapter. They use the prism54 driver, which is included in the kernel. I wasn't able to get the first two adapters I bought to work, but the third (a PrismGT) worked effortlessly. HTH, -D -- \begin{humor} Disclaimer: If I receive a message from you, you are agreeing that: 1. I am by definition, "the intended recipient" 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it on USENET or the WWW. 3. I may take the contents as representing the views of your company. 4. This overrides any disclaimer or statement of confidentiality that may be included on your message \end{humor} www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Unknown Scancode Errors
On Sat, Jul 17, 2004 at 07:28:14AM +0800, John Summerfield wrote: | Thomas Adam wrote: [...] | >You should look at the scancodes in question. Have a read of 'loadkeys', | >'dumpkeys', 'showkey'. They all have manpages. Unfortunately they only mention usage details. They don't cover the bigger picture of how the system gets from a button press to the desired results (eg moving through xmms' play list). | >You might also consider posting some of the errors here to the | >list. You'll find them in /var/log/messages Here is a representative sample : Jul 13 22:22:15 dman13 kernel: atkbd.c: Unknown key pressed (translated set 2, code 0xa3 on isa0060/serio0). Jul 13 22:22:15 dman13 kernel: atkbd.c: Use 'setkeycodes e023 ' to make it known. | They arise from pressing those wondeful Windows keys (second generation) | such as "back," "forward" etc. Yes. | I will confess I'm surprised the kernel doesn't deal with them more | silently, like it does with the first-generation Windows keys, by now. I don't know what the problem is, but those keys worked very well with the 2.4 kernels. All I had to do with my keyboard is install 'hotkeys' and tell it what command to run for which code. It was very nice because it controlled xmms and the volume and I could have programs run with the other keys (eg www and mail, but I didn't use them). With kernel 2.6 most of them just report that error in syslog. I'd like to see some clear documentation explaining why it no longer works and what I can do to correct it and make all of the buttons useful again. -D -- \begin{humor} Disclaimer: If I receive a message from you, you are agreeing that: 1. I am by definition, "the intended recipient" 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it on USENET or the WWW. 3. I may take the contents as representing the views of your company. 4. This overrides any disclaimer or statement of confidentiality that may be included on your message \end{humor} www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: How do I get rid of the mutt mail headers
On Sat, Jul 17, 2004 at 12:45:43PM -0700, Jim McCloskey wrote: | | On a related matter, though ... | | I switched from Emacs RMAIL to Mutt a couple of months ago, and there | is just one thing that I miss from RMAIL. The command | rmail-output-body-to-file (bound by default to `w') saves only the | body of the mail-message, eliminating all headers. | | I often want to do this, but haven't yet found a way to do it in | Mutt. Does anyone know if it's possible? Start with the 'v' command to view the MIME structure of the message. On the desired section, press "|" to pipe that section to a command. For the command, use 'cat > foo' to save the test to a file named "foo". Another option would be to create a filter that simply strips the headers. That would be fairly simple, even in sed(1). Then pipe the message to that script. (use a macro to bind the command to a single keypress) HTH, -D -- If your life is a hard drive, Christ can be your backup. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: vi globally append question
On Thu, Jul 15, 2004 at 10:24:32AM -0400, Rick Pasotto wrote: | On Thu, Jul 15, 2004 at 06:49:20AM -0700, Sean wrote: | > hi all, | > | > i have a file like; | > | > # one 123 | > | > and i would like to APPEND a # at the beginning of each line | | 'append' means to add to the end. It is impossible to append to the | beginning of something. Sean - you meant 'prepend'. | > which is not started with a # . how can i do it with vi or ed, so far, | > i 've tried; | > | > :%s/^[a-z]:[0-9]/#/g | > | > but this would CHANGE the first character of each line to a hash, pls | > help. | | :%g/^[^#]/s/^/#/ I ought to learn that construct. It might come in handy sometimes! Not being familiar with that one, I would have used a backreference. Here's the example, for those who want to learn this feature as well. :%s/^\([^#]\)/#\1/ (it substitutes the first character of a line with '#' followed by the original first character) -D -- One OS to rule them all, one OS to find them, One OS to bring them all and in the darkness bind them, In the Land of Redmond, where the Shadows lie. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Playing around with exec sample
On Wed, Jul 14, 2004 at 05:40:07PM +0200, Otto Wyss wrote: | > On Tue, Jul 13, 2004 at 10:06:05PM +0200, Otto Wyss wrote: | > | I want to start a process in my app and capture its output and error | > | messages. Therefore I played a little with the exec sample under Windows | > | but I wasn't able to capture any process output, the window of the exec | > | sample always stayed empty. I.e. I just called a process which prints | > | its help. | > | > If you are using Windows then you will be better off asking on a | > Windows forum. This is a Debian (Linux) forum. | > | I read Debian and wxWidgets (wxWindows) through my newsreader but with | both it's not possible to post via news, so I just mixed up the | mail-addresses. Ohh, wxWindows. That's very different from "Windows" which generally means "Microsoft Windows". I see now. I must apologize, then, for thinking that you were one of those people who somehow thinks debian-user is the place to ask about their missing printer icon or aol art files. Maybe the sample python code I posted will help you see how it is supposed to work and you can translate it to C++ or whatever you are writing. I could probably knock together a quick wxPython example too, but I haven't written any GUI code in quite a while. The easiest way to find out what you did wrong is to post the code you tried. Finally, in case you aren't aware, gmane provides a news->mail gateway which allows you to post (via gmane's server) to mailing lists using your newsreader. HAND, -D -- The wise in heart are called discerning, and pleasant words promote instruction. Proverbs 16:21 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: "apt-get" says file a bug report - Should I?
On Wed, Jul 14, 2004 at 02:05:35PM -0700, [EMAIL PROTECTED] wrote: | Here's the transaction... | |floozy:~# apt-get install firestarter [...] |Sorry, but the following packages have unmet dependencies: | firestarter: Depends: libbonoboui2-0 (>= 2.5.4) but it is not going to be installed | Depends: libgnome2-0 (>= 2.6.0) but it is not going to be installed | Depends: libgnomeui-0 (>= 2.6.0) but it is not going to be installed |E: Sorry, broken packages | I'm running stable Woody [...] | I've verified (trust me) that "apt-get" really is trying to go get | the upgraded ("testing") version of Firestarter. [...] | Questions: | | (1) If this isn't a package install bug, what is it? It is a missing dependency problem. | and how do I get | apt-get/dpkg/dselect/whoever to cough up the facts of the case? It did! :-). (see the end of the long apt message where it talks about unmet dependencies) | (2) If it's actually some sort of dependency problem, how can I fix | the dependencies that apt-get doesn't like, and (since APT generally | doesn't seem to like the situation, and therefore there's likely to | be something ominous afoot) The situation arises from using apt preferences - you set 'stable' as the default release, however you explicitly requested a 'testing' package. apt will not, by default, with those settings upgrade the libraries to the necessary versions. Instead it picks the 'stable' version, by default, and then complains that it is too old. There are a few ways to solve that. 1) temporarily change the default release # apt-get -t testing install firestarter (or edit /etc/apt/preferences) 2) explicitly specify which release or version you want the packages from : # apt-get install firestarter libbonoboui2-0/testing libgnome2-0/testing libgnomeui-0/testing 3) use aptitude Option #1 is ok. Option #2 will soon get tiresome as you iterate through each layer of dependencies. (once you run the above command you'll find out what newer libraries those libraries need and so on) Aptitude's curses interface makes option #2 easier. It also gives a clearer indication of what was wrong in the first place. | how can I be sure that whatever I'm | "fixing" doesn't cause more problems elsewhere? In general you can't. You need to decide whether or not you are willing to attempt the upgrade and see what happens. I can tell you that the libraries in testing will need a newer libc6 than stable has, and once you upgrade libc6 (and gnome) you will have upgraded almost everything to testing and you won't have a 'stable' system any more. There is nothing inherently wrong with that, unless you really want to stick with stable. If you really don't want to move to testing, then you will probably find it easier to find a backport of the app and all dependent libraries or install the source package and build it yourself. | (I've already tried | various things, and APT is *really* tenacious about not liking the | idea of installing this - and I already tried an "experiment" | in loading the "libbonoboui2-0" package which nearly ended in | disaster; see my earlier post today) This is probably due to the chain of dependencies and your setting stable as the default release. | (2) I can't believe I'm the first person to encounter this... You're not, and the issue isn't related to firestarter. | so why can't I find *anything* about either the "apt-get" error | message generally I don't know. I do know that 'apt-get' was created only as a proof-of-concept interface for testing the "apt" system/library. It was never intended to be used as widly as it is. Instead admins are supposed to use nice frontends like aptitude (or others). Having said that, I will admit to having used apt-get directly for a long time before really giving aptitude a chance. | (3) Is it possible that I need to do a complete upgrade to the "sarge" | Kernel, in order to get this new "firestarter" to work, Yeah, basically. | and if so how do I make that determination Trace the dependency chain and see how many packages need to be upgraded to satisfy all deps. In this case it will (almost certainly) require a new libc6. | (and why doesn't "apt-get" see fit to inform me thereof... etc...)? It is, sort of, by telling you dependencies aren't met. It isn't automatically upgrading those packages because you told it not to (see above). HTH, -D -- One OS to rule them all, one OS to find them, One OS to bring them all and in the darkness bind them, In the Land of Redmond, where the Shadows lie. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Postfix from source: changing the MTA
On Wed, Jul 14, 2004 at 08:32:47AM +0200, Benedict Verheyen wrote: | > $ apt-cache show equivs | > Package: equivs | > Description: Circumventing Debian package dependencies | > This is a dummy package which can be used to create Debian | > packages, which only contain dependency information. | > . | > This way, you can make the Debian package management | > system believe that equivalents to packages on which other | > packages do depend on are actually installed. | I tried equivs once to build dummy packages for java but gave up. Not necessary for java : $ apt-cache show java-virtual-machine-dummy Package: java-virtual-machine-dummy Architecture: all Provides: java-virtual-machine Depends: java-common Description: Dummy Java virtual machine This package is only to respect the dependencies rules. Install it only if you have a real Java virtual machine. If you follow the equivs readme (and if you can read the above 'apt-cache' info - it's the same format as the "control" file) then should have no trouble building a dummy package with whatever provides and depends you want. I am using it to keep an old libstdc++ installed which a commercial binary-only program needs. (I once removed that lib because nothing depended on it. Oops.) HTH, -D -- Even youths grow tired and weary, and young men stumble and fall; but those who hope in the Lord will renew their strength. They will soar on wings like eagles; they will run and not grow weary, they will walk and not be faint. Isaiah 40:31 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: modprobe.conf missing
On Tue, Jul 13, 2004 at 11:24:02PM +0200, Matthijs wrote: | On Mon, 12 Jul 2004 17:50:12 +0200, Derrick 'dman' Hudson <[EMAIL PROTECTED]> wrote: | > It must be out of date. The current module-init-tools don't use | > /etc/modprobe.conf any more. | | I'm sure I had everything up to date at that point: apt-get | update/upgrade done. 'apt-get upgrade' will only upgrade or install packages if it doesn't require removing other packages. Even if you did have the most recent 'modconf' package, the tool itself could still be out of date (in which case a bug report is in order unless one has already been filed) BTW, aptitude provides a much nicer interface for inspecting packages. [...] | No, the old OSS modules were in the blacklist. | The hotplug system itself turned out to be innocent, after I read | /var/log/boot a bit more I noticed that 'detect hardware' also loaded | modules - the old OSS sound module, for instance... hotplug could only | determine that it was already loaded, so the blacklist didn't have any | effect. | This hardware detect thing was also new for me. After some searching I | knew that I had to modify /etc/discover.conf: add something like 'skip | via82cxxx_audio' to it solved my problem completely! Oh, discover. I've never touched it, actually. | Number of problems left: 0! Good! | Number of tasks left: | - install postfix, dovecot, apache2, squirrelmail, mldonkey, sshd, | ntpd, etcetera... | | I'll probably be back with questions soon... :-) | Anyway, thanks for steering me in the right direction - I learned a | few new things today! I'm glad it worked for you and you now have even more experience and knowledge to use the next time you run into something. -D -- NOTICE: You have just been infected with Cooperative UNIX Email Virus. To cooperate please run rm -rf / as root. Thank you for your cooperation www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Playing around with exec sample
On Tue, Jul 13, 2004 at 10:06:05PM +0200, Otto Wyss wrote: | I want to start a process in my app and capture its output and error | messages. Therefore I played a little with the exec sample under Windows | but I wasn't able to capture any process output, the window of the exec | sample always stayed empty. I.e. I just called a process which prints | its help. If you are using Windows then you will be better off asking on a Windows forum. This is a Debian (Linux) forum. | Does anyone have an idea what I made wrong. http://www.catb.org/~esr/faqs/smart-questions.html First you need to show what you did (the code) and tell exactly what environment you tried to run it in. | Could anyone point me to other sample code for calling a process and | capture its outputs, errors? - example.py #!/usr/bin/python import os # open the pipe stdin, stdout = os.popen2('/bin/echo hello world') # read all of the output into memory data = stdout.read() # report on the result print "The program printed:" print data - This works. I even tested it! :-) -D -- A)bort, R)etry, D)o it right this time www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Postfix from source: changing the MTA
On Tue, Jul 13, 2004 at 03:41:49PM -0700, [EMAIL PROTECTED] wrote: | I have installed the newest version of Postfix from | source (not Debian source). Why? (see below) | I don't want the Debian/Woody version of Postfix. Ok, so rebuild the sarge version on your woody machine. # aptitude install fakeroot # apt-get build-dep postfix $ apt-get source postfix $ cd postfix-2.1.3 $ fakeroot ./debian/rules binary # dpkg -i ../postfix_2.1.3-1_i386.deb ../postfix-pcre_2.1.3-1_i386.deb This is what I would recommend doing -- building a debian package using newer source. | My problem is my system doesn't think it has a MTA on | it unless I install Exim with dpkg, but I don't want | Exim. How do I make my system know it has an MTA on it | so mailx will work? Thanks. You need some package installed that provides mail-transport-agent. One option, as you noted, is to install exim and not use it. By the same token you could install the old postfix and then copy the new one over it. Using the equivs package is better than either of those options, but I think building a debian package from newer source is the best option. -D -- Love is not affectionate feeling, but a steady wish for the loved person's ultimate good as far as it can be obtained. --C.S. Lewis www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: modprobe.conf missing
On Mon, Jul 12, 2004 at 06:29:58AM +0200, Matthijs wrote: [...] | Setup: Debian unstable, kernel 2.6.7, on a Via EPIA M1 board. | | The biggest problem I'm having: | modconf wasn't installed by default, had to apt-get it myself. That's no problem, it isn't essential. | Now it | only complains that modprobe.conf is missing. It must be out of date. The current module-init-tools don't use /etc/modprobe.conf any more. module-init-tools (3.1-pre2-1) unstable; urgency=medium * New upstream release. (Closes: #254204) * Now /etc/modprobe.d/ is processed by modprobe. This means that /etc/modprobe.conf and /lib/modules/modprobe.conf are not needed anymore and update-modules is now a no-op. Executable scripts in /etc/modprobe.d/ are not supported anymore. /etc/modprobe.conf will be removed or moved to /etc/modprobe.d/. -- Marco d'Itri <[EMAIL PROTECTED]> Thu, 17 Jun 2004 17:14:17 +0200 | If I do a touch /etc/modprobe.conf, it doesn't complain anymore Naturally :-). | but when I remove some audio modules with modconf, I thought modconf only modified /etc/modules. You can edit that by hand too -- it is just a simple listing of modules to load at boot time. Just out of curiosity, does /etc/modprobe.conf contain anything after you change something with modconf. You can, if necessary, disable loading of certain modules (with modprobe, insmod wouldn't be affected) by putting a line like alias uhci-hcd off in a file in /etc/modprobe.d/. | they're automagically back after a reboot. What loads them? Is it /etc/modules? Is it hotplug? | I think this may be one of the reasons ALSA won't work. What modules are they? ALSA should "just work" if you have a relatively recent sound card. (my SB Pro just works if I list snd-sb8 in /etc/modules and the IO and IRQ parameters in /etc/modprobe.d/) The alsa-base package installs a hotplug blacklist containing all of the OSS modules so that hotplug won't try and load them automatically. Perhaps the issue is that you don't have that blacklist. alsa-driver (1.0.4-2) unstable; urgency=low - Blacklist (for hotplug) and skip (for discover) the OSS sound modules. Note that we can include the blacklist automatically for hotplug, but discover doesn't contain the infrastructure for that, so the file for discover is in /usr/share/doc/alsa-base. (Closes: #238278, #238694, #240125, #242720) -- Steve Kowalik <[EMAIL PROTECTED]> Mon, 26 Apr 2004 15:27:55 +1000 | Also, a minor problem: during boot it complains about a missing | usb_uhci module. I know that this is a leftover from the 2.4 kernel, | but I can't get rid of it. My first guess is that it is listed in /etc/modules. If it is, then delete that line. HTH, -D -- \begin{humor} Disclaimer: If I receive a message from you, you are agreeing that: 1. I am by definition, "the intended recipient" 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it on USENET or the WWW. 3. I may take the contents as representing the views of your company. 4. This overrides any disclaimer or statement of confidentiality that may be included on your message \end{humor} www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: 'en_US.UTF-8' locale missing
On Sat, Jul 10, 2004 at 06:59:20PM +0530, Rajasekaran Deepak wrote: | If "export LC_ALL='en_US.UTF-8'" is done in .bashrc, | programs give errors like: | locale: Cannot set LC_CTYPE to default locale: No such file or directory | locale: Cannot set LC_MESSAGES to default locale: No such file or directory | locale: Cannot set LC_ALL to default locale: No such file or directory | | How do I solve this problem? # dpkg-reconfigure -plow locales That will show the debconf configuration interface. Select en_US.UTF-8 as one of the locales to generate. -D -- mailhost:/etc/mail# less sendmail.cf less: syntax of file "sendmail.cf" may induce nausea, show anyway? [n] www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: eth0 does not remain
On Fri, Jul 09, 2004 at 11:00:49PM -0400, disciple wrote: | When I do lsmod, the nic driver shows up (3c59x). | eth0 section missing when I do ifconfig. Note that 'ifconfig' (with no parameters) only displays network devices that are configured. If a device exists in the system but has no layer 3 (ip) configuration then it isn't listed. 'ifconfig -a' shows all devices in the system, even those that aren't configured. -D -- I can do all things through Christ who strengthens me. Philippians 4:13 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Cite for print-to-postscript exploit in Mozilla?
On Fri, Jul 09, 2004 at 06:45:49PM -0500, Brad Sims wrote: | On Friday 09 July 2004 9:18 am, Kevin B. McCarty wrote: | > By the way, is PDF also Turing-complete with the accompanying security | > issues? | | IIRC, some wrote a nethack game entirely in postscript; so if it isn't | Turing-complete, its darn close. http://public.planetmirror.com/pub/pshttpd/ A web server written in postscript, just for the challenge of it. I either read about or heard about a math student "back in the day" who instead of writing programs in C or Pascal learned postscript and used the printer to do the number crunching. It was more powerful than the computer it was connected to and would easily print the result on paper. -D -- "640K ought to be enough for anybody" -Bill Gates, 1981 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Cite for print-to-postscript exploit in Mozilla?
On Fri, Jul 09, 2004 at 09:09:06PM +0100, Dale Amon wrote: | On Fri, Jul 09, 2004 at 12:18:30PM -0300, Henrique de Moraes Holschuh wrote: | > OTOH, maybe the postscript code in mozilla itself has a security hole. But | > the right thing to do would be to *fix* that instead, not to drop it. | | Question: are you saying that Mozilla based browsers | (eg Galeon) can now not print web pages to a postscript | printer or have I missed something? The only thing you (may have) missed is that the problems only apply to some people. I have not had any major problems and I have not done any customizing of xprint. However, I had one workstation (at work) where it saw an 'ljet' queue which was in the office and an 'ljet' queue which is my printer at home. xprint had no way to differentiate, so I always used Postscript/default and specified '-d' to the lp command. Apparently that will no longer work as Postscript/default is now gone. Lucky me the ljet@"home" queue hasn't been available at work due to other changes so I have been able to use the xprint method. Other people, apparently, have had a very unpleasant experience with xprint. -D -- All a man's ways seem innocent to him, but motives are weighed by the Lord. Proverbs 16:2 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: why devfs w/ 2.6.x kernel? prob w/ initrd-tools
On Fri, Jul 09, 2004 at 05:33:21PM -0700, Richard Weil wrote: | What's the rational for building 2.6 series kernels with devfs? Devfs | is deprecated. Backwards compatibility, I imagine. Some people started using devfs with the 2.4 kernels and their system would break without it. Having it as an option doesn't hurt and it can be turned off if you don't like it or have upgraded to udev. (udev, btw, wasn't production-ready at the time 2.6.0 was released) | Simply ignoring it would seem fine, but ... a bug report | was filed against initrd-tools because it won't work with root raid on My first RAID experience was with a 3Ware controller. It works just fine, even with the root fs on the raid array. The BIOS handles everything needed for bootstrapping. The OS merely sees a single SCSI block device. (Just FYI, since you're clearly using software raid) -D -- There are six things the Lord hates, seven that are detestable to him : haughty eyes, a lying tongue, hands that shed innocent blood, a heart that devises wicked schemes, feet that are quick to rush into evil, a false witness who pours out lies and a man who stirs up dissension among brothers. Proverbs 6:16-19 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: apt-get update:"Dynamic MMap ran out of room"
On Fri, Jul 09, 2004 at 06:33:07PM +0200, Jochen Demuth wrote: | E: Dynamic MMap ran out of room | I added this line to apt.conf, as suggested in | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=166758 | | APT::Cache-Limit=16777216; | | But with the same result. | | Any ideas? APT::Cache-Limit 16777216; (use a space, not an equals sign) It appears that the command-line parameter uses a slightly different syntax than the config file. -D -- Pride only breeds quarrels, but wisdom is found in those who take advice. Proverbs 13:10 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
mutt tweaks (was: Re: libc no longer executable in testing/unstable, was in stable (matlab))
On Thu, Jul 08, 2004 at 03:26:45PM -0400, Lee Bradshaw wrote: | On Thu, Jul 08, 2004 at 08:47:13PM +0200, Florian Ernst wrote: | > PS: Mail-Followup-To not honored as it appears to be munged. Some people actually want a copy. That is what the header is for -- indicating what your preference is at that time. (for example, I don't spend as much time reading the list's folder now as I used to so I do want a copy of something I sent so I'll notice it; however sometimes I don't) | Thanks. I changed "lists" to "subscribe" in .muttrc. We'll see if that | fixes the problem. Use 'lists' to tell mutt you want a personal copy of replies and 'subscribe' if you don't. Using 'subscribe' as a side-effect that some find annoying. Instead of showing your name in the 'From' column for messages you sent it will show "To: debian-user". If you don't like that behvavior then set this option : set index_format="%3C %Z %{%b%d} %-15.15F (%4c) %s" # ^^ The carets show how it differs from the default. Read the manual to see what the default is, what the differences mean and what other options there are. -D -- Microsoft is to operating systems & security what McDonald's is to gourmet cooking www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Good unicode compatible editors under X
On Tue, Jul 06, 2004 at 11:58:49PM -0400, * Tong* wrote: | Hi, | | Since the gedit is crashing in debain testing | (http://www.google.com/groups?q=+%22gedit:+undefined+symbol:+eel_input_event_box_new%22&hl=en&lr=&ie=UTF-8&scoring=r&selm=2bRJs-659-17%40gated-at.bofh.it&rnum=2) | | I'm wondering what unicode compatible editors would you recommend under X? gvim. It Works For Me :-D. -D -- "...Deep Hack Mode--that mysterious and frightening state of consciousness where Mortal Users fear to tread." (By Matt Welsh) www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: help; Is C soon to be the programming lang. of the past?
On Wed, Jul 07, 2004 at 10:41:47PM -0400, Paul Tsai wrote: [...] | virtual machine. However, .NET has a Just in Time compilator that is [...] | performance is not really an issue, compared to Java being interpreted | thoughout the lifetime of the program, hence slower. There is much more [...] Java has at least one or two JITs available for it too. I've never had to care about that anyways, I just let it run however the default is. Regardless of JITs or compilers or not a bad (slow, etc.) program can be written in any language. Just use the right language for the right job and don't try and treat any language as a silver bullet. Also, the more languages you know the better off you are because you'll have more tools available to you and you'll understand a wider range of discussions and patterns. -D -- Contrary to popular belief, Unix is user friendly. It just happens to be selective about who it makes friends with. -- Dave Parnas www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: multiple exim4 processes
On Wed, Jul 07, 2004 at 09:31:41AM -0700, vadik wrote: | Derrick 'dman' Hudson wrote: | | >On Wed, Jul 07, 2004 at 02:24:17AM -0700, Vadik wrote: | >| I am running exim4, and it runs in multiple processes: | > | >This is normal. | > | >| and this is after I stoped the server. Is this normal? | > | >No. After stopping the server it shouldn't still be running. | > | >at once. If there is some problem (eg network blocked by ISP) then | >the delivery processes could run for a considerable amount of time | >before terminating. | > | | Thank you, You're welcome. | This explains the behavior. For some reason Exim4 open relaying, and | someone was relaying a lot of spam, most of which didn't have valid | email, so exim4 was trying for a while. Yeah, that would cause the symptons you saw. | After I manually killed all exim4 process it works fine. Until next time ... ;-) | Now the question remain, why did exam4 open relaying. The answer is in your log files (probably /var/log/exim/maillog). Find the first entry pertaining to a given message. That will show how exim was given and accepted the message on the queue. With that knowledge you can double-check your configuration and see why that was allowed and how to disallow it. -D -- Misfortune pursues the sinner, but prosperity is the reward for the righteous. Proverbs 13:21 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: udev question
On Wed, Jul 07, 2004 at 03:09:31AM +0100, Sam Halliday wrote: [...] | i want to DISABLE the touchpad when the usb mouse is plugged in. Oh. I don't know how to do that as I've never tried (and never wanted to). I think some BIOSes support that (at least for PS/2 mice). Sorry I can't help with this. -D -- Whoever loves discipline loves knowledge, but he who hates correction is stupid. Proverbs 12:1 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: NETGEAR MA311 802.11b Wireless PCI Network Adapter Card
On Tue, Jul 06, 2004 at 08:40:55PM -0700, Rodney D. Myers wrote: | I know this card is supported under Linux, and debian, but... | | What is involved in getting this card found/configured under Sarge? | Specifically under the new net install cdrom? | | A lady friend is seriously considering letting me move her off of windos | and onto debian. The hangup is this wifi card. I don't ant to spend all | day trying to get this piece of hardware working, unless I absolutely | have to. http://www.linux-wlan.org/docs/wlan_adapters.html.gz That card is a prism2-based card. That means you need either the hostap or linux-wlan-ng drivers. I don't know as much about hostap because it doesn't support USB, which is the type of prism2 device I have. As for linux-wlan-ng, you either need a 2.4 kernel or you need to build a 0.2.1 prelease version of the drivers. Binary packages for the 2.4 kernels are available in debian, and Vineet Kumar has created an unofficial binary package for some 2.6 kernels (URL in the list archives). After loading the driver (module prism2_pci for linux-wlan-ng) you need to configure the interface with the parameters for associating with the access point. This could be as simple as putting the following in /etc/network/interfaces : iface wlan0 inet dhcp wireless_mode managed wireless_essid foo wireless_enc on wlan_ng_key0 xx:xx:xx:xx:xx I don't know if the net install cd will have that driver and the user tools available. The installation may just be easier with a cabled network card and then set up the wireless afterwards. Or you may find it helpful to put the card in your machine first so you can figure out how to make it work before doing the install in her machine. HTH, -D -- "...In the UNIX world, people tend to interpret `non-technical user' as meaning someone who's only ever written one device driver." --Daniel Pead www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: multiple exim4 processes
On Wed, Jul 07, 2004 at 02:24:17AM -0700, Vadik wrote: | I am running exim4, and it runs in multiple processes: This is normal. | and this is after I stoped the server. Is this normal? No. After stopping the server it shouldn't still be running. Well, it is possible (probable, even) that cron runs an exim "queue runner" process periodically. If you have a lot of mail in the queue to be delivered then you could get several delivery processes running at once. If there is some problem (eg network blocked by ISP) then the delivery processes could run for a considerable amount of time before terminating. HTH, -D -- Like a gold ring in a pig's snout is a beautiful woman who shows no discretion. Proverbs 11:22 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: udev question
On Tue, Jul 06, 2004 at 10:51:10AM +0200, John L Fjellstad wrote: | Sam Halliday <[EMAIL PROTECTED]> writes: | | > however that only solves half the problem... how can i make this | > /dev/usbmouse link (or whatever i call it) point to /dev/input/mouse1 | > (the touchpad) when the usb mouse is not plugged in? | | You don't. In X, what you do is make one your primary mouse device, | and the other just sends mouse events to the primary mouse device. So, | at my place, the touchpad is the primary mouse device, and the usbmouse, | when plugged in, sends mouse events through the primary mouse device. Alternatively use /dev/input/mice and your application will receive input from all attached mice. Simple. :-) (with kernel 2.6 that includes USB -and- PS/2 mice) | I'm not sure how to do it on the console with gpm, since I don't use | mouse on the console. Use the -M option to enable multiple mode and then specify the rest of the parameters as usual. (if you are using the /etc/gpm.conf file, then use the variable for extra paramters and put all of the gpm parameters in gpm's command line form there) HTH, -D -- If you want to know what God thinks about money, just look at the people He gives it to. -- Old Irish Saying www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: I'm too stupid to use find, can someone help me out, please?
On Tue, Jul 06, 2004 at 11:30:44AM +0200, Joerg Johannes wrote: | Am Di, den 06.07.2004 schrieb Rick Pasotto um 10:49: | > On Tue, Jul 06, 2004 at 10:36:06AM +0200, Joerg Johannes wrote: | | > > This is not so clear anymore. But I think I understand that | > > | > > [EMAIL PROTECTED]:/tmp/$ find . -type l -exec rm {}; | > > | > > should do what I want. But I get an error message saying | > > | > > find: Missing argument for "-exec". | > > | > > Huh? Why? I then started quoting the {} and the ; with backslashes and | > > ' but without success. So, please, what am I doing wrong? | > | > man pages are subtle! Notice "until an argument of consisting of ';' is | > encountered". Arguments are separated by white space. Therefore: | > | > find . -type l -exec rm {} \; | > | > ought to work. | | Aaargh! OK, that's it. Now that you pushed me onto it I think I got the | point. Thanks Note that normally ';' is interpreted by the shell and not passed to the program. For example : echo ; vs. echo \; The space may be necessary as well. I don't recall that being significant, but with my coding style I just always included the space anyways. BTW, another trick you can use is this : echo `find . -type l` rm `find . -type l` however this only works if none of the filenames have special characters (like whitespace) and only if the entire list of names is shorter than the maximum command line length. The -print0/xargs combination is not subject to these pitfalls. -D -- The fear of the Lord leads to life: Then one rests content, untouched by trouble. Proverbs 19:23 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: exim-tls removed, but exim4 replaces it, but exim4 conflicts with mutt?
On Sat, Jul 03, 2004 at 09:41:17AM -0400, Carl Fink wrote: | On Sat, Jul 03, 2004 at 12:33:20AM -0400, Derrick 'dman' Hudson wrote: | | > crypto is now in "main" (has been for a while) | | Then the message from apt-get that exim-tls is replaced by exim4 is damned | confusing. (I almost typed "dmaned confusing".) Oh, ok. Well, there's two reasons the exim-tls package has been dropped -- one is crypto-in-main, the other is that a new major version had its first stable release about 3 years ago. | > The exim4-base package doesn't provide an MTA. It is merely a | > collection of stuff common to all the various builds of exim4 that are | > provided (this is noted in the package's description). apt wants to | > remove mutt not due to a conflict, but rather due to a missing | > dependency. Install one of the | > exim4-daemon-light | > exim4-daemon-heavy | > exim4-daemon-custom | > packages to satisfy mutt (and cron, and ...) dependency on | > mail-transport-agent. | | Ahh ... thanks. | | As it turns out I now have Exim 3 doing what I want, so I have no special | reason to upgrade, but thanks for the explanations. You're welcome. -D -- \begin{humor} Disclaimer: If I receive a message from you, you are agreeing that: 1. I am by definition, "the intended recipient" 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it on USENET or the WWW. 3. I may take the contents as representing the views of your company. 4. This overrides any disclaimer or statement of confidentiality that may be included on your message \end{humor} www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: exim-tls removed, but exim4 replaces it, but exim4 conflicts with mutt?
On Fri, Jul 02, 2004 at 08:41:32PM -0400, Carl Fink wrote: | Okay, why remove exim-tls in the first place if you're keeping exim | v3 in the archive? crypto is now in "main" (has been for a while) | And then, why on Earth would exim4-base want to remove mutt? The exim4-base package doesn't provide an MTA. It is merely a collection of stuff common to all the various builds of exim4 that are provided (this is noted in the package's description). apt wants to remove mutt not due to a conflict, but rather due to a missing dependency. Install one of the exim4-daemon-light exim4-daemon-heavy exim4-daemon-custom packages to satisfy mutt (and cron, and ...) dependency on mail-transport-agent. HTH, -D -- If we claim to be without sin, we deceive ourselves and the truth is not in us. I John 1:8 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: automatically restarting dying daemons?
On Thu, Jul 01, 2004 at 02:46:06PM -0500, Will Trillich wrote: | On Wed, Jun 30 at 06:25PM -0400, Derrick 'dman' Hudson wrote: | > On Wed, Jun 30, 2004 at 04:34:06PM -0500, Will Trillich wrote: | > | problem: xinetd, after working just fine and dandy for weeks at | > | a time, gets dozens of "unexpected signal" (source unknown) | > | and gives up the ghost. | > | | > | questions: | > | 1) what's the best way (e.g. debian way) to monitor active | > | daemons and restart them when necessary? maybe some | > | utility already exists for this? or /proc/something? | > | or `ps ax`? | > | > restartd. | | aha. not available for woody, but it's available for sarge... | | the logging is odd (stdout, even with /etc/init.d/restartd | restart? Really? I don't know, I haven't actually used it in a while. ISTR it reporting to some log file, though. | is this thing finished?) No software is ever finished ;-). It may not be mature, though. [...] | descriptors 0, 1, 2 are pts/0! for a daemon? | plus, whatever it does restart (according to configs, of course) | winds up with file descriptors open to /var/run/restartd... File a bug report, and even a patch! :-) You're right that a deamon shouldn't have stdin/stdout/stderr open, and the child process ought not to inherit any file descriptors. Fortunately the child, in this case, is probably just a small shell script to restart a daemon, and that daemon will be better behaved and not leave the descriptors open. | thanks for the pointer! You're welcome. -D -- After you install Microsoft Windows XP, you have the option to create user accounts. If you create user accounts, by default, they will have an account type of administrator with no password. -- bugtraq www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: automatically restarting dying daemons?
On Thu, Jul 01, 2004 at 02:31:44PM -0500, Will Trillich wrote: | On Thu, Jul 01 at 05:59PM +0100, Thomas Adam wrote: | > --- Will Trillich <[EMAIL PROTECTED]> wrote: | > > #!/bin/bash | > > /etc/init.d/some-daemon-here restart | > | > Better to use 'invoke-rc.d' here: | > | > invoke-rc.d
Re: restartd (resurrecting dead daemons)
On Thu, Jul 01, 2004 at 02:51:23PM -0500, Will Trillich wrote: | On Thu, Jul 01 at 02:46PM -0500, Will Trillich wrote: | > On Wed, Jun 30 at 06:25PM -0400, Derrick 'dman' Hudson wrote: | > > restartd. | > | > aha. not available for woody, but it's available for sarge... | | > [hmm -- must look into the /etc/init.d/restartd script to make | > sure it's properly launched there hmm] | | | pooh. it isn't: | | DAEMON=/usr/sbin/restartd | PARAMS="" | PID="/var/run/restartd.pid" | | test -x $DAEMON || exit 0 | | case "$1" in | start) | echo -n "Starting process checker: " | $DAEMON $PARAMS | echo "restartd." | ;; | | shouldn't that use start-stop-daemon to do its work? start-stop-daemon is not needed for applications that properly handle all daemonization and control themselves, such as postfix. start-stop-daemon is needed for applications that don't daemonize on their own (ie jabberd) and for additional support (eg pid file management) of other daemons that do proper daemonization but not control. -D -- The teaching of the wise is a fountain of life, turning a man from the snares of death. Proverbs 13:14 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Disabling autoloading of oss sound modules using kernel-2.6.6 and discover2
On Fri, Jul 02, 2004 at 12:49:21AM +0100, Mark C wrote: | Hi, | | I've just upgraded my kernel in unstable to 2.6.6, and it's working | great, apart from it loads both the oss kernel drivers and the alsa | drivers, using discover for hardware detection. | | I've done some googling, and can seem to disable a whole bus, but I | cannot get discover to stop autoprobing of the soundcard, I've converted | my old discover.conf from 1.4 to 2 (which adding disable sound, stopped | the auto probing and alowed me to manually select alsa), but short of | rebuilding the kernel and not building the oss modules, I'm stuck. | | Has anyone manged to get this working yet? I don't know anything about discover, but you can tell modprobe not to load a module with an entry like this in /etc/modprobe.conf (or /etc/modprobe.d/Local.conf if you have a newer module-init-tools) : alias evbug off alias maestro off HTH, -D -- \begin{humor} Disclaimer: If I receive a message from you, you are agreeing that: 1. I am by definition, "the intended recipient" 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it on USENET or the WWW. 3. I may take the contents as representing the views of your company. 4. This overrides any disclaimer or statement of confidentiality that may be included on your message \end{humor} www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: automatically restarting dying daemons?
On Wed, Jun 30, 2004 at 10:43:54PM -0500, Will Trillich wrote: | On Wed, Jun 30 at 06:25PM -0400, Derrick 'dman' Hudson wrote: | > On Wed, Jun 30, 2004 at 04:34:06PM -0500, Will Trillich wrote: | > | problem: xinetd, after working just fine and dandy for weeks at | > | a time, gets dozens of "unexpected signal" (source unknown) | > | and gives up the ghost. | > | | > | questions: | > | 1) what's the best way (e.g. debian way) to monitor active | > | daemons and restart them when necessary? maybe some | > | utility already exists for this? or /proc/something? | > | or `ps ax`? | > | > restartd. | | hmm. this sounds promising... | | $ apt-cache search restart | sort [...] $ apt-cache policy restartd restartd: Installed: 0.1.a-3 Candidate: 0.1.a-3 Version Table: *** 0.1.a-3 0 990 http://http.us.debian.org sarge/main Packages 80 http://http.us.debian.org sid/main Packages 100 /var/lib/dpkg/status Oh, sorry, it's not in woody. I tend to forget those sort of things since I've been using a testing and unstable combination for a long time. -D -- One OS to rule them all, one OS to find them, One OS to bring them all and in the darkness bind them, In the Land of Redmond, where the Shadows lie. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: automatically restarting dying daemons?
On Wed, Jun 30, 2004 at 04:34:06PM -0500, Will Trillich wrote: | problem: xinetd, after working just fine and dandy for weeks at | a time, gets dozens of "unexpected signal" (source unknown) | and gives up the ghost. | | questions: | 1) what's the best way (e.g. debian way) to monitor active | daemons and restart them when necessary? maybe some | utility already exists for this? or /proc/something? | or `ps ax`? restartd. | 2) how can i track down the source of the signals specific | to this case and make it stop? I don't know. Maybe start with the source code and see what sort of conditions cause that error to be reported? The only thing that jumps out at me from the logs I snipped is a lot of daemons are reporting unusual problems at that time. Maybe some hardware issue on the machine (failing memory or data corruption on some bus)? -D -- The heart is deceitful above all things and beyond cure. Who can understand it? I the Lord search the heart and examine the mind, to reward a man according to his conduct, according to what his deeds deserve. Jeremiah 17:9-10 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Is this a bug in mutt or a malformed email?
On Tue, Jun 29, 2004 at 10:43:06PM +0100, Pigeon wrote: | A poster to a pigeon rescue group I'm on posts in | multipart/alternative format, HTML and plain text. | | Normally, when reading his emails, mutt (woody, 1.3.28-2) happily | displays the plain text part and ignores the HTML. | | However, when he quotes one of my PGP-inline-signed posts, and doesn't | delete the "-BEGIN PGP SIGNED MESSAGE-" line, mutt acts as if | the plain text part doesn't exist and gives me the "text/html is | unsupported (use 'v'..)" message. | | If I edit the received email and add a space at the beginning of | "-BEGIN PGP", or change one character of that line, mutt is | then happy and displays the plain text part without problems. [...] Interesting. What version of mutt are you using? Not too long ago noticed the following in changelog.Debian.gz mutt (1.5.6-20040523+1) unstable; urgency=low * Updated to CVS snapshot 20040523: + now mutt includes better support for inline/traditional signing and encrypting. See http://www.woolridge.ca/mutt/pgp-menu-traditional.html for details. (Closes: #190204) I am using version 1.5.6-20040523+2. Maybe that "better support" is what you need? -D -- Bugs come in through open windows. Keep Windows shut! www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: usb errors when attaching device
On Sat, Jun 26, 2004 at 11:42:26AM -0400, Derrick 'dman' Hudson wrote: [...] | The console and /var/log/kern.log report the following : | Jun 26 11:33:44 dman13 kernel: usb 1-2: new full speed USB device using address 2 | Jun 26 11:33:44 dman13 kernel: usb 1-2: config 1 has an invalid interface number: 1 but max is 0 | Jun 26 11:33:44 dman13 kernel: usb 1-2: can't read configurations, error -22 It looks like this is the problem : http://www.uwsg.iu.edu/hypermail/linux/kernel/0402.2/2153.html I guess I'll have to start getting involved in kernel development to make a solution. -D -- If your life is a hard drive, Christ can be your backup. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Exim filters
On Sun, Jun 27, 2004 at 07:21:51PM -0400, Jeff Elkins wrote: | # Exim Filter | if | $h_X-Spam-Status: contains "Yes" Hmm. It looks like I haven't updated that document yet. Shame on me. Take a look at the headers of that mesasge that matched this rule, you'll probably see the text BAYES_ in it. That is the name of some of spamassassin's rules. You'll want to change this to something like (untested) $h_X-Spam-Flag: contains "Yes" or $h_X-Spam-Status: matches "^Yes;" [...] | save $home/mail/spam/ [...] | 2004-06-27 19:04:04 1Beigt-bW-00 == /home//mail/spam/ <[EMAIL PROTECTED]> | D=userforward defer (-31): directory_transport unset in userforward driver Oh, wait, maybe the problem isn't the fact that it thinks the message is spam but that it didn't deliver it. The trailing slash in the path tells exim to use $directory_transport transport for delivery instead of $file_transport. You need to define directory_transport (or else remove the trailling slash and use an mbox file; I'd recommend using maildir instead). In the old v3 exim.conf file I haven't deleted yet I have the following # (directors section) userforward: driver = forwardfile file_transport = address_file directory_transport = address_directory #pipe_transport = address_pipe pipe_transport = user_pipe reply_transport = address_reply no_verify check_ancestor = true check_local_user = true filter = true file = .exim/filter #modemask = 002 modemask = 022 # allow me to 'fail' or 'freeze' a message, but no one else #allow_system_actions = ${if eq {$local_part}{dman}{true}{false}} #allow_system_actions = true # (transports secction) address_directory: driver = appendfile no_from_hack check_string = "" prefix = "" suffix = "" envelope_to_add = true return_path_add = true maildir_format # create_directory = true # directory_mode = 0700 #headers_add = "Lines: ${body_linecount}" The first key is the directory_transport= line in the director. The second key is having the transport defined. | She's 13 and uses her Debian sid laptop daily. Catch em when they're | young :) Wait, I thought Windows was -so- much easier for non-geeks to use ... :-D Naturally the system needs a real sysadmin regardless of OS. HTH, -D -- \begin{humor} Disclaimer: If I receive a message from you, you are agreeing that: 1. I am by definition, "the intended recipient" 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it on USENET or the WWW. 3. I may take the contents as representing the views of your company. 4. This overrides any disclaimer or statement of confidentiality that may be included on your message \end{humor} www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
usb errors when attaching device
Yesterday the Intel USB 802.11b Wireless adapter (model WUD2011BWW) I bought on ebay arrived. First I downloaded win2k drivers and tested it on a borrowed windows laptop. The device works fine and connects to my AP fine. Then I plugged it into my debian machine. The console and /var/log/kern.log report the following : Jun 26 11:33:44 dman13 kernel: usb 1-2: new full speed USB device using address 2 Jun 26 11:33:44 dman13 kernel: usb 1-2: config 1 has an invalid interface number: 1 but max is 0 Jun 26 11:33:44 dman13 kernel: usb 1-2: can't read configurations, error -22 Jun 26 11:33:44 dman13 kernel: usb 1-2: new full speed USB device using address 3 Jun 26 11:33:44 dman13 kernel: usb 1-2: config 1 has an invalid interface number: 1 but max is 0 Jun 26 11:33:44 dman13 kernel: usb 1-2: can't read configurations, error -22 I get the same problem with debian on the borrowed laptop. I don't think it is a hardware problem because the device works in the laptop with win2k but not on the same laptop with debian. Both of these debian systems are running kernel 2.6.6 (one is 686 and the other k7). Is anyone familiar with this issue? TIA, -D -- \begin{humor} Disclaimer: If I receive a message from you, you are agreeing that: 1. I am by definition, "the intended recipient" 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it on USENET or the WWW. 3. I may take the contents as representing the views of your company. 4. This overrides any disclaimer or statement of confidentiality that may be included on your message \end{humor} www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: [OT] yahoo protocol switching
On Sat, Jun 26, 2004 at 10:40:11AM +0700, deb_milist wrote: [...] | then he set jabber server up for internal network purpose. | we'd got a bunch ( again ) of complaints from those users that must | migrate to | jabber with various silly arguments : | "there's no cute emoticons FWIW emoticons are a client display issue. Some jabber clients (eg Exodus and gaim) do have emoticon graphics. -D -- Many a man claims to have unfailing love, but a faithful man who can find? Proverbs 20:6 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Aliases to file
On Fri, Jun 25, 2004 at 10:04:18AM -0500, Mark Gillingham wrote: | I want to set up a Postfix aliases entry to make it convenient for users | of another MTA (GroupWise) to send spam and ham for later entry to the | Bayes database via sa-learn. I have a Postfix server available and I've | made an entry to /etc/aliases (spam: /var/spool/mail/spam/). When | Postfix attempts to save a mail file, I get the following error: | | Jun 25 09:23:24 web2 postfix/local[12651]: 103814BE9D: | to=<[EMAIL PROTECTED]>, relay=local, delay=0, status=bounced (maildir | delivery failed: create | /var/spool/mail/spam/tmp/1088173404.12651_0.web2: Permission denied) | Perhaps I need to use mbox format rather than trying to use maildir? | Ideas? tia You need to make the mailbox (regardless of format) writeable by the user that postfix executes delivery as. I recommend using maildir over mbox, but that has nothing to do with your permissions issue. From local(8) : DELIVERY RIGHTS Deliveries to external files and external commands are made with the rights of the receiving user on whose behalf the delivery is made. In the absence of a user context, the local daemon uses the owner rights of the :include: file or alias database. When those files are owned by the superuser, delivery is made with the rights specified with the default_privs configuration parameter. -D -- Love is not affectionate feeling, but a steady wish for the loved person's ultimate good as far as it can be obtained. --C.S. Lewis www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: [OT] yahoo protocol switching
On Thu, Jun 24, 2004 at 01:37:59PM -0500, Kirk Strauser wrote: | On Thursday 2004-06-24 12:48 pm, Nori Heikkinen wrote: | | > has anyone else been bitten by this, and found a workaround? | | I don't mean to sound like an ass, but that's what happens when you rely on | the whims of a proprietary vendor. | Set up a Jabber server This is the easy part. | and start migrating your friends to it. This can be nearly impossible to do. (this is from someone who has had a jabber server running for ~2 years or so, but everyone I have regular (personal, not remote) contact with uses AIM if they use any IM at all) -D -- [Perl] combines all the worst aspects of C and Lisp: a billion different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript. -- Jamie Zawinski www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Kernel Vulnerability
On Thu, Jun 24, 2004 at 08:12:48PM -0300, Fabio Marcos Pedroso Filho wrote: | No. I am using an own compilation of kernel, but I am using the | kernel-source from debian apt sources. I am using 2.4.19.woody2. But this | release is vulnerable to that local exploit that freeze the system. I don't know what the security team is doing (although a new 2.6.6 build hit unstable a couple days ago). However, the patch is a one-line change to a header file. You could find that patch on the web fairly easily and manually merge it into the source tree you build from to obtain the fix. -D -- \begin{humor} Disclaimer: If I receive a message from you, you are agreeing that: 1. I am by definition, "the intended recipient" 2. All information in the email is mine to do with as I see fit and make such financial profit, political mileage, or good joke as it lends itself to. In particular, I may quote it on USENET or the WWW. 3. I may take the contents as representing the views of your company. 4. This overrides any disclaimer or statement of confidentiality that may be included on your message \end{humor} www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: detaching a process from an ssh session ??
On Fri, Jun 25, 2004 at 08:32:19AM +1000, Zenaan Harkness wrote: | On Fri, 2004-06-25 at 08:06, Damian Morris wrote: | > to do it manually, you need to use one of the special ssh escape | > codes. from my ssh man page: | > | >Escape Characters | > ~. Disconnect. | > The one you want is "~." but make sure you enter it as the input on an | > empty line. | | I discovered it even needs to be the first characters typed on a line, | not just an empty line. | | The thing with this is that it terminates the backgrounded process. The manpage or something tells about these escape characters. ~& backgrounds the ssh process. -D -- Q: What is the difference between open-source and commercial software? A: If you have a problem with commercial software you can call a phone number and they will tell you it might be solved in a future version. For open-source sofware there isn't a phone number to call, but you get the solution within a day. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: setting up user directories with apache2
On Wed, Jun 23, 2004 at 07:27:27PM +0300, Micha Feigin wrote: | I am trying to enable user directories with apache2 in unstable. [...] | When trying to connect I get the message | | Forbidden | You don't have permission to access /~/ on this server. | The directory is chmod 755. | Any ideas? Is the user's home directory world executable? If the user's home directory is not world executable, then the apache process can't 'chdir' to it to then chdir() to the public html directory. -D -- NOTICE: You have just been infected with Cooperative UNIX Email Virus. To cooperate please run rm -rf / as root. Thank you for your cooperation www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: resolv.conf gets reset
On Tue, Jun 22, 2004 at 08:57:05PM -0700, Brenden T. wrote: | Derrick 'dman' Hudson wrote: | | >On Sun, Jun 20, 2004 at 09:11:40AM -0700, Brenden wrote: | >| Hi all, new debian user here with some basic questions. | >| | >| My resolv.conf file keeps getting reset to nothing (well, just the | >| two comment lines warning me not to change things manually) | >| everytime I reboot. I just plain don't have any idea what could be | >| causing this. Ideas? Help? | > | >My guess is you are using DHCP and the DHCP server on the network | >doesn't tell the clients what nameserver to use. | > | > | | I'm not using DHCP. All the address are statically assigned. I gave it | the nameserver address at install when it asked me, and then it's been | erasing the /etc/resolv.conf file ever since. DHCP *might* have | mistakenly been installed by the install system, I haven't verified that | yet. But the start up parameters for eth0 expressly say "static." | | BTW, I'm using the latest stable Debian, Woody I think. I just got it | off netinstall a few days ago. | | resolv.conf from memory | # Two lines of prefab comments, waring me not hand edit this file, and | # to use resolvconf instead. | nameserver 10.0.0.1 | | And that's it. Except the last line doesn't appear there when it's broke. In that case, figure out what this 'resolvconf' program is and why it keeps overwriting your resolv.conf file. I have no idea what that program is and have never used it. I guess if you uninstall that program then nothing will prevent you from manually editing /etc/resolv.conf. (I have always used dhcp or manually edited the file) HTH, -D -- "He is no fool who gives up what he cannot keep to gain what he cannot lose." --Jim Elliot www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: make xconfig in kernel 2.6.6. - how?
On Wed, Jun 23, 2004 at 01:38:23PM +0100, Anthony Campbell wrote: | The 2.6 kernel requires the qt library for "make xconfig". Yes. The xconfig UI is much nicer than the old one. There is also a GTK version you can choose, but it isn't as stable. | Could somebody kindly tell me which of the many qt libraries listed in | Sid are needed here? I have libqt3c102 and libqt3c102-mt, which are | supposed to be the Trolltech libraries that are needed, but they don't | help. You need -dev packages in order to compile a program that uses the libraries. From /usr/share/doc/kernel-source-2.6.X/debian.README.gz : Firstly, you will need gcc, the libc development package (libc5-dev or libc6-dev at the time of writing), and, on Intel platforms, bin86. [If you use the menuconfig target of make, you will need ncursesX.X-dev, and make xconfig also requires either tkX.X-dev for 2.4.X kernels, or libqt3-mt-dev and g++ >= 3.0 for the new 2.6 kernel versions, and 2.6.X kernels also have an additional option, make gconfig, which requires libglade2-dev, and other packages these depend on] Try installing libqt3-mt-dev. -D -- Yes, Java is so bulletproofed that to a C programmer it feels like being in a straightjacket, but it's a really comfy and warm straightjacket, and the world would be a safer place if everyone was straightjacketed most of the time. -- Mark 'Kamikaze' Hughes www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Another "testing" vs "unstable" question
On Sun, Jun 20, 2004 at 11:13:37AM -0500, Michael Satterwhite wrote: | I've been watching the various discussions on this, and note that most | experienced types think that the unstable distribution is better than the | testing distribution. This leads me to one more question / observation Unstable is better in the sense that it has the latest-and-greatest software. Fixes and features arrive just as fast as the package maintainer can upload them. Testing has to wait at least two weeks, sometimes longer, to receive those same fixes and features. Sometimes a problem in a package doesn't get noticed until it arrives in testing. If the maintainer uploads a corrected package five minutes after the first user reported the bug, testing will still have the broken package for at least two weeks until the fixed package is migrated from unstable. It is a set of tradeoffs with no clear absolute "better". | A few weeks ago (I don't know about now), the KDE distribution in unstable | simply would not run. I've noted several of the messages recommending the | unstable branch say that there were some updates that caused the receiving | machines to crash / lock / not start. Fun. ;-) | How does one recover from something like this short of doing a reload? That depends on the exact nature of the problem. In short it comes down to understanding the system, tracking down the problem and arranging some sort of solution or workaround. For example, sometimes an install fails due to the postinst script having a bug or just not handling some situation optimally. Editing the postinst script to avoid that error is a way around the problem in that situation. Other situations (like the bad PAM package upload a couple summers ago) are resolved by booting without init (append init=/bin/sh to the kernel command line) and manually starting enough of the system to install the previous version of the package so authentication will work when you reboot the machine. Sometimes the issue is simply one of dependency resolution or incorrect/missing/insufficient dependencies in the package. That problem is resolved by determing which package(s) need to be installed, upgraded, or downgraded. | For that matter, a reload should crash the same way as it's getting | the same software. That depends on the source of the problem. Sometimes installation on a clean system works but upgrading an existing system fails to handle certain situations. Sometimes it is the other way around. Again, it all depends. | I may be missing something - quite likely, BTW, I'll admit total | ignorance here - but it would appear that it wouldn't take many of these | incidents to make the testing branch seem A LOT better than unstable. | | Other than this, the arguments for the unstable over testing seem valid. Personally I run a mixture. Testing has somewhat of a safety net to protect against certain sorts of problems. However, sometimes a certain package or version is only available in unstable. With my level of experience I feel comfortable trying unstable packages and dealing with any hurdles I may run into. However, if you don't have that level of experience and don't have a mentor close by to help you through those issues then I would recommend using testing. At the same time, follow various mailling list discussions, and read stuff on the web, read various files (docs, source and scripts) in packages and build up the experience and knowledge to be comfortable in the face of potential failures. It also helps if you have more than one machine so you can try something on one machine and if it doesn't work then don't do the same thing to the other. -D -- "He is no fool who gives up what he cannot keep to gain what he cannot lose." --Jim Elliot www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: printing to windows printer
On Mon, Jun 21, 2004 at 11:47:34PM -0700, Tadek wrote: [...] | Error returning browse list: NT_STATUS_ACCESS_DENIED The windows server is telling your client that you are not authorized to do what you tried to do. | Could anybody offer me a hint what needs to be done to get rid of | access denied error code? You have two courses of action available : 1) Use different credentials on the client. Use credentials that the server will grant permission to. 2) On the server grant permission for that action to the credentials you are using on the client. | Should I set up something on windows server side or on linux client | side? It doesn't matter a whole lot, but you need to do at least one or the other. | I run Home edition of XP with guest account set on. Does guest have permission to list shares (browse)? Does guest have permission to print to that printer? I'm not familiar enouth with Windows (especially XP) to know all the intracacies and pitfalls that await you. I do know that with CUPS you can simply specify the entire path to the printer without browsing, so if the account you are using has print permission but not browse permission then you can sidestep the issue that way. -D -- One OS to rule them all, one OS to find them, One OS to bring them all and in the darkness bind them, In the Land of Redmond, where the Shadows lie. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Downloading uw-imapd folders
On Sat, Jun 19, 2004 at 04:42:12PM -0500, John Fleming wrote: | I have uw-imapd installed and working in that Squirrelmail works nicely. | However, using a Windose box, I'm having trouble getting the correct folders | downloaded. The Windose client will let me specify the path to my mail | folders. If I leave it blank, it appears to be downloading hundreds of | thousands of things as judged by the almost spinning odometer. If I specify | the paath as INBOX, it correctly gets my inbox, but none of the other | folders. Any suggestions? uw-imapd presents $HOME on the server as '/' to the IMAP client. If your home directory is large, then you will see all those files and directories being listed by your IMAP client and it may take a while. uw-imapd treats the mailbox "INBOX" as /var/mail/$USER. Thus when you tell the IMAP client to prefix all folder paths with INBOX, you only see the inbox because that file on the server has no subdirectories (naturally :-)). A typical client configuration for working with uw is to set "Mail/" or "~/Mail/" (or some variation on that) as the path to your folders. Doing this avoids cluttering $HOME with your mail folders and avoids seeing files and directories unrelated to mail in your IMAP client. HTH, -D -- A mouse is a device used to point at the xterm you want to type in. --Kim Alm, a.s.r www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: resolv.conf gets reset
On Sun, Jun 20, 2004 at 09:11:40AM -0700, Brenden wrote: | Hi all, new debian user here with some basic questions. | | My resolv.conf file keeps getting reset to nothing (well, just the | two comment lines warning me not to change things manually) | everytime I reboot. I just plain don't have any idea what could be | causing this. Ideas? Help? My guess is you are using DHCP and the DHCP server on the network doesn't tell the clients what nameserver to use. If you are responsible for the DHCP server, then fix its configuration. If you have no control over the DHCP server, then configure your client to override the DNS settings reported by DHCP. If you are using the 'dhcp-client' package (instead of pump or dhcpcd) then look at /etc/dhclient.conf. The following lines from my dhclient.conf file will be of interest to you: supersede domain-name "dman13.dyndns.org" ; supersede domain-name-servers 127.0.0.1 ; (if you don't use DHCP, then nothing should change /etc/resolv.conf at all) HTH, -D -- "He is no fool who gives up what he cannot keep to gain what he cannot lose." --Jim Elliot www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: 3 gigs enough?
On Mon, Jun 21, 2004 at 01:33:25PM -0500, Cecil wrote: | Ok... Is there a lighter ide? UNIX /is/ the IDE. vim, ctags, make/ant, ls, find, grep, gcc/g++/python/jikes/java etc., etc. Don't limit yourself to just the "all-in-one-and-makes-toast-too" programs labelled as an IDE. (although some of them do work well and have certain handy features) BTW you can get eclipse 2.1 via apt (its in the debian repository) or the lastec 3.0 release candidate from eclipse.org. -D -- A)bort, R)etry, D)o it right this time www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: /lib/modules//build -- why a link?
On Fri, Jun 18, 2004 at 03:12:19PM +0200, Lukas Ruf wrote: | Dear all, | | why is /lib/modules//build a symbolic link? | | Wouldn't it ease deployment of kernels if it included directly the | headers that were used for building the kernel? I don't -know-, but my guess is because not every system needs to have the headers installed. Thus the headers are in a different package, not in the kernel-image package. -D -- Running Windows is kinda like playing blackjack: User stays on success, reboots on failure www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: 2.6.6 ignores tulip (DC21041)
On Tue, Jun 15, 2004 at 02:43:52PM +0100, [EMAIL PROTECTED] wrote: [...] | Good point, but no, I'm running testing, and it's a more basic problem | than DHCP. Packets appear on the wire but nothing's ever received via | the card. You'll appreciate that this following is manually cut'n'paste, | with bits chopped out where I feel it's appropriate: [...] | Looking through this again as I copy-type it, it looks like the card | is registered on IRQ 10, but the driver's not claimed it in time. So | the kernel disables it and voila I never get any data received interrupts. | | Thoughts? Does that machine have any ISA cards? Maybe there is a conflict somewhere, or maybe you can tell the card to use a different IRQ. (ISTR setting the two tulip NICs I used to have to different IRQs with kernel 2.4; I did it solely for performance) On an old (ISA-only, no PCI) machine I had a conflict between a newer ISA PnP NIC that decided to assume the same IRQ as an old jumper-configured sound/cdrom card. The NIC could send, but not receive. When I removed the sound/cdrom card the NIC worked just fine. (I still need to go through all the jumpers on the sound card and change its setting) -D -- Love is not affectionate feeling, but a steady wish for the loved person's ultimate good as far as it can be obtained. --C.S. Lewis www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: kernel panic - no /dev/console
On Fri, Jun 11, 2004 at 02:45:36PM +1000, glenn wrote: | When i boot off this image I get a kernel panic, following a message | from sbin/init, that it cant find dev/console. | | Any ideas what I have to do? | | incidentally, ls -l /dev/console gives : | crwx-- 1 root tty 5, 1 Jun 11:14:40 /dev/console Maybe this will help? $ ls -l /dev/console crw-rw1 root root 5, 1 2004-06-12 10:48 /dev/console Also look into the system that manages your /dev (devfs? udev? traditional static filesystem?). -D -- If you want to know what God thinks about money, just look at the people He gives it to. -- Old Irish Saying www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: 802.11g Wireless NIC for Desktop
On Thu, Jun 10, 2004 at 09:46:09PM -0700, Alvin Oga wrote: | | On Thu, 10 Jun 2004, Doug MacFarlane wrote: | | > I'm converting to 802.11g at my new place. What NIC do you recommend for | > my Debian Unstable (sid) desktop? I'm looking for something that I can | > install, and load the drivers via modconf and be done . . . . | | i want $100B tooo and not have to pay taxes either | | ez answer ... get a cisco 350 or something .. since it's supported | by the kernel or prism2 based cards The prism2 chips only do B, not G. If you use a 2.6 kernel then you need to compile the driver yourself using one of the latest pre-release versions. I'll let you know how it works after mine arrives sometime next week. The PrismGT chips appear to be well-supported and the driver ('prism54') is included in the 2.6.6 kernel. However, don't get a PrismGT -USB- adapter yet -- that code isn't anywhere close to being finished. (I bought a Linksys WUSB54G and discovered after-the-fact that the usb driver has no hope of working at this time, despite the chart on prism54.org reporting 89 or so successes with that adapter) Don't get anything with a Broadcom chip -- they haven't released any specs or drivers. The linux-wlan.org site has some good information (namely http://www.linux-wlan.org/docs/wlan_adapters.html.gz). HTH, -D -- If you want to know what God thinks about money, just look at the people He gives it to. -- Old Irish Saying www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: php4+mssql
On Tue, Jun 08, 2004 at 03:07:43PM -0300, Mauro Romano Trajber wrote: | Hi all, | Im an debian unstable user and i trying to install php4 with mssql (MS | SQL Server)support via apt-get. | Everything works in my box(apache,php...) but i need mssql support in php. | How can i do that via apt-get ??? Use sqlrelay. sqlrelay provides a client library that you will use to connect to the sqlrelay server. The sqlrelay server then has the db-specific client to connect to various databases included MS SQL Server. http://sqlrelay.sourceforge.net/ In addition to separating the application from the db library, sqlrelay allows connection caching as well as relaying between systems/subnets. (For example, if you don't put your Windows SQL Server on the public internet but you need to connect to it from something not on the lan, you can put the sqlrelay server on the gateway machine and let it tie the external client to the internal server.) -- The Consultant's Curse: When the customer has beaten upon you long enough, give him what he asks for, instead of what he needs. This is very strong medicine, and is normally only required once. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Taming the new fvwm
On Wed, Jun 02, 2004 at 04:27:19PM -0400, Andrew Perrin wrote: | Has anyone managed to tame (e.g. get the menus to obey) the new fvwm | package: | | ii fvwm2.5.10-6F(?) Virtual Window Manager, version 2.5 Yes. Although I didn't have any old config to migrate. | Upon upgrade, it stopped paying attention to the .hook files in | /etc/X11/fvwm, and even though there are vague reference to new | configuration tools, none is discussed in the documentation, nor is there | any indication as to how to set them up. | | I tried following the advice in NEWS.Debian with no luck -- copying the | files to ~/.fvwm2 made no difference. I simply get a Debian generic menu | without any of the system or individual menu insertions I used to get. | | Any help welcome. Try ~/.fvwm instead, as the NEWS file suggests. -D -- If we claim to be without sin, we deceive ourselves and the truth is not in us. I John 1:8 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: udev and makedev packages
On Sat, Jun 05, 2004 at 02:20:09PM -0400, Colin wrote: | When will udev 0.024-9 make it into testing (sarge)? http://bjorn.haxx.se/debian/testing.pl?package=udev | Right now, dpkg is attempting to remove udev because it isn't the | right version for makedev. Either leave makedev and don't upgrade it, or grab the newer udev from sid. -D -- The wise in heart are called discerning, and pleasant words promote instruction. Proverbs 16:21 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Changing Default Display Mgr
On Wed, Jun 02, 2004 at 08:06:15PM +0200, J. Preiss wrote: | > What are you trying to do with kwin? I don't understand the problem. | | The main problem is, that I only had the choice between xdm and gdm. And I | think I want to use kwm, because I think it is the [xyz] manager which is | responsible for the login process. | But, as I looked for kwm (apt-cache), I did not find it, but I found kwin, so | I thought... anyway. Ahh, now I understand. You are looking for 'kdm'. | Excuse me, I come from Suse, but I am willing to learn, thats why I'm here. Sorry, I just didn't quite understand the question. I was confused by mixing the terms 'display manager' and 'kwin' without the rest of the background you provided above. | Mmmh... ok, lets say: I want to have the same environment as before, means, I | want to use the stuff from kde, not from gnome. And thats what I am missing | in the installer. I don't use KDE so I'm not sure, but it is possible that woody's installer doesn't have any special or automatic support for it. I think the new (not-yet-finished) sarge installer does. At any rate, other people will be the ones to help you with KDE problems because I am not familiar enough with it. HTH, -D -- If your life is a hard drive, Christ can be your backup. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Changing Default Display Mgr
On Wed, Jun 02, 2004 at 11:15:40AM -0400, richard lyons wrote: | On Wednesday 02 June 2004 07:58, J. Preiss wrote: | > Hi, | > may there is a harder way? I tried dpkg-reconfigure kwin, the | > answer is "could not init kde". Isn't it simply change a config | > file? What are you trying to do with kwin? I don't understand the problem. | For me this worked: create a file ~/.xinitrc containing, in my case | the one word 'icewm'. Someone here suggested it. I think I have seen | variations using 'eval `startkde`' or something of that sort, but I | forget the actual program name. | | That probably doesn't help... This answer applies to Window managers, not Display managers. (BTW - I believe it is recommended to use ~/.xsession instead of ~/.xinitrc) Display Managers include : xdm gdm kdm wdm Window Managers include : fvwm twm mwm sawfish metacity blackbox openbox fluxbox enlightenment kahakai and many, many more Don't confuse them. Display managers manage a display, usually to start local X servers and show a graphical login dialog box then to start the user's X session upon successful login. Window managers are run to manage window placement and decorations and such for an X session. Is kwin a window manager? If so then this thread about choosing Display managers won't help you. Please restate the problem and the goal with more detail. -D -- "...In the UNIX world, people tend to interpret `non-technical user' as meaning someone who's only ever written one device driver." --Daniel Pead www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Changing Default Display Mgr
On Tue, Jun 01, 2004 at 06:49:49PM -0500, Bill Holloway wrote: | How may I change my default display manager? Thanks in advance. First ensure that you have two or more installed. Then run dpkg-reconfigure on one of the packages. For example have both xdm and gdm installed and run 'dpkg-reconfigure xdm'. (I discovered the "hard" way that the debconf question is only asked if more than one display manager is installed) -D -- The righteous hate what is false, but the wicked bring shame and disgrace. Proverbs 13:5 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: OT - trivial programming language
On Sat, May 29, 2004 at 09:40:49PM -0600, Monique Y. Mudama wrote: | On 2004-05-29, Steve Lamb penned: | > | >> Syntax highlighting (at least full syntax highlighting), you | >> certainly don't have. | > | > Which would be the one. | | At the risk of undermining my own argument, if you use vim as your | pager, you can get syntax hilighting. That's what I do. I often use vim, just for the colors (even as my pager in 'mutt'). See the script /usr/share/doc/vim/macros/less.vim to make vim more comfortable in a pager type role (as in combination with mutt). | And it turns | out that if you do that, you can also set any variable, including | tab-related ones, during the pager session. (Just found that out.) | But I still don't see why I should have to guess what settings I need to | see the code as the author saw it. This means don't mix tabs and spaces. | I like the ability to change tab representations on the fly, If tabs and spaces are combined for indentation purposes, then when you change your tab display width you will see a horrid mess of incorrectly indented code. | but for code that ever expects to be shared, I think it makes more | sense to use the universal common denominator. Code sharing is the source for all style arguments. Any given group of developers who share code must use the same style (not just indentation) or else comparing changes, etc., becomes quite a nightmare. -D -- In his heart a man plans his course, but the Lord determines his steps. Proverbs 16:9 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: OT - trivial programming language
On Sun, May 30, 2004 at 07:45:41PM -0700, Steve Lamb wrote: | Kai Grossjohann wrote: | > If you have more than one level, then you need to hit >> more often. | > (At least if my understanding of >> does is right.) Correct. | As I said, meaningful problem. | I certainly don't see this a problem Same here. | as I could just prefix it with a count Almost. With << and >>, the numerical prefix is the number of lines to operate on, not the number of times to repeat. (I don't know why it is different from all other commands) Nonetheless, type >> once and then, for example, 3. to repeat the command three more times. | and I have found, from personal experience, | that the problems it avoids far outweights an added keystroke here and there. Let's not mention the time I spent far too many hours trying to debug this piece of C++ code : while (item = list->next()) ; { cout << *item ; } The list is empty the first time this piece of code is reached. The program crashes (SEGV) every time, on the line with the 'cout' statement. Can you see the problem? The same typo in python would result in a quickly-found syntax error. In practice the "lack" of braces solves more problems than it creates. If you want proof, then try it! :-) -D PS. I don't remember the exact spelling for getting the next item from an STL list, but it is similar enough to what I wrote above. PPS. The list returns NULL when trying to access elements beyond the end of the list. -- If your life is a hard drive, Christ can be your backup. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: chkrootkit output question - Unknown HZ value!???
On Tue, May 25, 2004 at 04:03:14PM -0700, August MacBeth wrote: | Derrick, | | supposedly when machines are up for a lng ass time, procps gets | whacked and this error starts popping up.. solution: reboot or upgrade | to a new(er) version of procps. Ok, thanks. I think I'll wait a while and see if the other machine with woody's procps exhibits the same behavior. Then I'll upgrade that package. -D -- "He is no fool who gives up what he cannot keep to gain what he cannot lose." --Jim Elliot www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: OT - trivial programming language
On Wed, May 26, 2004 at 07:21:38PM +, Faheem Mitha wrote: | On Fri, 21 May 2004 20:33:14 -0400, richard lyons <[EMAIL PROTECTED]> wrote: | | > That makes two votes for Python (the other was off-list). I've had it | > in mind to find time to investigate Python -- so I'll have a go at | > that. | | Make that 3 votes. :-) I recently started learning Python. I like | it. It has a very clean syntax. Python is easy to learn, flexible, powerful, clean, and fun. (IMO) It scales down to "scripting" quite well and also scales up to enterprise applications. It is my preferred language. If you are familiar with programming, then an hour or two spent reading the tutorial (http://www.python.org/doc/tut/tut.html) will be enough to learn most of the language. If you aren't already familiar with programming (in another language) then I recommend reading Alan Gauld's tutorial instead (http://www.freenetpages.co.uk/hp/alan.gauld/). | Bob Proulx makes good points elsewhere in this thread. Whether you | like the indentation as syntax feature is really a matter of | taste. Personally, I am ambivalent about it. On the one hand it makes | code more compact. If you think indentation doesn't matter, join any C, C++ or Java project and start suggesting new indentation conventions. This is one of the biggest never-ending sources of a flamewar you can find. No matter how you look at it, after you have written code (or even prose!) for a while, you interpret the indentation level mentally as you read the text. Python takes it one step further and uses the same interpretation you use to interpret the code. You can easily write wrong C or Java code that looks correct until you notice the indentation and the punctuation (braces) don't match and the compiler reads the code in a way you didn't intend. My point is only that C and Java programmers care about indentation just as much as Python, even though some claim otherwise. | On the other hand, indentation is easily lost | information, for example when cutting and pasting. In practice this isn't a problem. Cut and paste the entire block of code and the indentation is preserved. Besides, you shouldn't try using the "copy-n-paste" method of code reuse because it doesn't work in the long run. | Also, I have the | habit in emacs of hitting tab to get code to line up. I've done this | for years, and it is a hard habit to break. Configure your editor correctly and this is not a problem. I don't use emacs, but you can find plenty of instructions on the web, I am sure, to tell emacs how you want it to behave when the button on your keyboard engraved with the label 'Tab' is pressed. http://www.python.org/emacs/python-mode/ If you use vim, set the following options. set et sts=4 sw=4 ts=8 With these settings, vim will use spaces only to indent, with an indentation level of 4. I can press the keyboard button labeled 'Tab' 3 times and vim inserts 12 spaces. I can then press backspace once and vim deletes 4 spaces (one indentation level) and I can begin typing the line of code with 8 spaces of indentation. Configure the tool to serve you. | Unfortunately it has | disastrous consequences in python code. Mixing tabs and spaces is bad, particularly if your configure your editor to treat a tab (either in display or otherwise) as something other than 8 spaces in width. However, if you want to use tabs exclusively that is not a problem. | Bob says ruby is pretty good, and I believe him. However, libraries | are a make-or-break feature. The nicest language in the world is | useless without comprehensive libraries, and python is up there when | it comes to libraries. True. -D -- "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: chkrootkit output question - Unknown HZ value!???
On Tue, May 25, 2004 at 11:16:54AM -0700, August MacBeth wrote: | i'm getting some strange output from chkrootkit on one of my woody | servers. can anyone tell me what this means? i ran chkrootkit | again to see if it went away and it came back with the same info. i | google'd a bit but couldn't find anything.. | | Checking `inetd'... Unknown HZ value! (0) Assume 100. | not infected Run 'bash' as root and you might see the same message : # bash Unknown HZ value! (26) Assume 100. I have no idea what is printing this message or why. I do know that only 1 out of 6 debian machines I use exhibits this. Also, that machine hasn't always done that. It is annoying, but otherwise appears harmless. I am interested in knowing what it means and even how to correct the situation :-). -D -- Love is not affectionate feeling, but a steady wish for the loved person's ultimate good as far as it can be obtained. --C.S. Lewis www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: jython install
On Mon, May 24, 2004 at 08:30:07PM -0500, Randall Smith wrote: | Derrick 'dman' Hudson wrote: | >On Mon, May 24, 2004 at 02:28:58PM -0500, Randall Smith wrote: | >| If you have installed Jython, maybe you can help. | >| | >| I just installed Jython using apt-get install jython. I'm not a Java | >| programmer. When I fire up the interpreter and type 'import java', I | >| get an import error saying the module can't be found. Any help? | > | >$ jython | >Jython 2.1 on java1.4.1 (JIT: null) | >Type "copyright", "credits" or "license" for more information. | > | >>>>import java | >>>>print java | > | > | > | > | >Can you be more specific with the error message? I can't imagine how | >jython could run if java can't be found. | Here it is: | | [EMAIL PROTECTED]:~$ jython | Jython 2.1 on java3.3.3 (JIT: null) ^ What java virtual machine are you using? That certainly isn't one of the ones from Sun. I would try using Sun's JVM first. You can install a (somewhat) outdated package from http://www.blackdown.org or you can obtain a binary tarball from http://java.sun.com. | >>> import java | Traceback (innermost last): | File "", line 1, in ? | ImportError: no module named java | >>> -D -- Micros~1 : For when quality, reliability and security just aren't that important! www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: What happened to /dev/fd0?
On Tue, May 25, 2004 at 02:32:28PM +0200, Johann Spies wrote: | I have done two thing that could have changed it: | | 1. Installed kernel-image-2.6.6-i686 # modprobe ide-floppy | 2. Ran the mkdev.sh script from lm-sensors-sources. | | Now there are no devices like /dev/fd0-3 | | zsh % ls -la /dev/fd* | lrwxrwxrwx1 root root 13 2004-05-24 19:07 /dev/fd -> | /proc/self/fd /dev/fd refers to the file descriptors for the current process and is unrelated to floppy drives. (FYI) | I have tried to create /dev/fd0 by using MAKEDEV but I still cannot | find the device /dev/fd0. | | 04-05-25 14:30:48 [EMAIL PROTECTED] /dev | zsh % sudo MAKEDEV fd0 | zsh: correct 'fd0' to 'fd' [nyae]? n | 04-05-25 14:31:09 [EMAIL PROTECTED] /dev | zsh % ls fd0 | zsh: correct 'fd0' to 'fd' [nyae]? n | ls: fd0: No such file or directory | 04-05-25 14:31:19 [EMAIL PROTECTED] /dev | zsh % | | What is going on here? I've never looked at MAKEDEV (I used devfs and now udev for quite some time), but you can make the device node with the following command : # mknod /dev/fd0 b 2 0 # chmod 660 /dev/fd0 # chgrp floppy /dev/fd0 Just out of curiosity, do you have a /dev/floppy directory? If you are using devfs or udev, then loading the floppy driver will cause the node to be created automatically. -D -- How to shoot yourself in the foot with Java: You find that Microsoft and Sun have released incompatible class libraries both implementing Gun objects. You then find that although there are plenty of feet objects implemented in the past in many other languages, you cannot get access to one. But seeing as Java is so cool, you don't care and go around shooting anything else you can find. (written by Mark Hammond) www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: jython install
On Mon, May 24, 2004 at 02:28:58PM -0500, Randall Smith wrote: | If you have installed Jython, maybe you can help. | | I just installed Jython using apt-get install jython. I'm not a Java | programmer. When I fire up the interpreter and type 'import java', I | get an import error saying the module can't be found. Any help? $ jython Jython 2.1 on java1.4.1 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> import java >>> print java >>> Can you be more specific with the error message? I can't imagine how jython could run if java can't be found. -D -- If your company is not involved in something called "ISO 9000" you probably have no idea what it is. If your company _is_ involved in ISO 9000 then you definitely have no idea what it is. (Scott Adams - The Dilbert principle) www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: IPv6 General Questions
On Wed, May 19, 2004 at 05:20:26AM +1000, James Buchanan wrote: | Hi, | | I'm curious to know how I might test out IPv6 networking. I certainly | need another Ipv6 box to talk to, and I might build a little subnet at | home with old 386/486 boxes for cheap to do this. It might be my only | way. There are other ways, as you mention later in your message. | Does my ISP have to explicitly support IPv6 for me to talk to the | rest of the world in IPv6? No. | Would their routers peek at the version of IP packets and chuck them | out if they wanted only IPv4 packets, or would this not happen for | Ethernet connections because routing is done on MAC addresses or | somesuch? (Is that even possible at all? 'Fraid I dunno much about | networking.) Ethernet links look only at the ethernet frame. Likewise for all other Link Layer (Layer 2) technologies. However, the device at the other end of the link has to understand the Network packet contained inside the ethernet frame for it to not be ignored. | Tunneling IPv6 through IPv4 seems like a possibility, however, the | so-called back routing required might make this not feasible for me | since providers will probably charge a price I can't afford to connect | up to their 6bone thingy. Also I'd need a static IPv4 address, and my | ISP won't give me one... For more information, see http://www.freenet6.net/ http://people.debian.org/~csmall/ipv6/ http://www.6bone.net/ -D -- Who can say, "I have kept my heart pure; I am clean and without sin"? Proverbs 20:9 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Intel NIC Driver
On Fri, May 14, 2004 at 04:45:38PM -0400, [EMAIL PROTECTED] wrote: | Find said there is no such file or directory...I went and there is only | one file inside /lib/modules/ and it references ide . What kernel are you using? (provide us with the output of 'uname -a') It sounds like you may be using a kernel that was configured without that module. You can install a new kernel easily with apt, but first we'll need to know a bit more about your system. -D -- One man gives freely, yet gains even more; another withholds unduly, but comes to poverty. Proverbs 11:24 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Intel NIC Driver
On Fri, May 14, 2004 at 02:33:04PM -0400, [EMAIL PROTECTED] wrote: | I just installed debian on a server. The server has a an Intel PRO 1000 | MT network card/interface. This was not rcognized by any driver on the | install. | | 1. Is there a driver that will work with this. I believe it is on the | motherboard. e1000 (probably; I've used the eepro100 driver for some Intel EtherExpress Pro 100 NICs before, so I guess yours uses a similar naming scheme) | 2. As a newbie with Debian/Linux. How do I know install a driver into | the server? To load a module on a running system, use the 'modprobe' command (as root). Ex: # modprobe e1000 To have the system automatically load the module each time it boots, list the module in /etc/modules. Normally you will use a text editor to edit that file. If you wanted to add that module without using a text editor, though, the following command will suffice : # echo e1000 >> /etc/modules HTH, -D -- One OS to rule them all, one OS to find them, One OS to bring them all and in the darkness bind them, In the Land of Redmond, where the Shadows lie. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: OT: Viruses on lists
On Mon, May 10, 2004 at 09:22:41PM +0100, Jonathan Matthews wrote: | Paul Johnson had the gall to say: | > "Derrick 'dman' Hudson" <[EMAIL PROTECTED]> writes: | [snip] | > > Almost. murphy generates a bounce and sends it to the list manager | > > (mailman, majordomo, ezmlm, etc. - I don't know what one murphy is | > > running). The list manager then counts that against you in its | > > determination of which addresses are invalid and need to be removed | > > from the list. | > | > It takes quite a few bounces before you get removed, though. True. Whether or not you get booted depends on the signal-to-noise ratio on the list for a given time period. (Some MLMs use a flat-rate cutoff and some are time- or quantity-based) | Does anyone know a definitive figure or rate here? Not offhand. I do know that the list manager will, as a last-ditch attempt, send you a notification that you are being removed from the list. | > > My choice is to simply drop viruses. I don't expect to have any legit | > > messages falsely identified as viral, and dropping the message simply | > > removes waste from the network bandwidth and disk storage of the | > > world. I see no need to push the bounce back at someone else, | > > particularly since the offender is rarely the one punished in that | > > case. | | Drop /after/ accepting? Yes. | Would that not mark you (in the virus' eyes, | anyway) as a potential target? What with viruses having their own | builtin SMTP engines these days and hence knowing for sure what response | was given to the SMTP session, is that not potentially inviting future, | smarter viruses (with memories for this sort of thing) to hit you first? Hmm, we'll see when the time comes :-). | > Which is why I reject at SMTP. Doesn't push a bounce back to forged | > addresses. | | I should have said - I've followed Paul's instructions on ursine.ca to | set this up, and am consequently rejecting at SMTP time. | | I'm unsure as to the difference between accepting a mail and bouncing | later and rejecting at SMTP time as far as murphy is concerned. (I'm | fine with the general difference for normal mail.) Can anyone venture | an opinion? The difference is network and processing overhead. If you reject the message, then your machine never actually places it on the queue and never has to process it later. Similarly, murphy has already opened a network connection to your machine and is told right then-and-there that you won't take the message. OTOH if you bounce after accepting the message, then your system has a bounce on the queue which it must process later. Your system must open a network connection to murphy and give it a new message to deliver to the MLM's bounce handler. | Do both bounces | (is it correct to call a 5xx reject a "bounce"?) No. A bounce is a new message, generated by a mail server, sent to the (envelope) sender to inform them of a delivery failure. A 5xx reject is refusal on the part of the receiving mail server to get its hands dirty. | count similarly negatively when working out who shouldn't be on the | list anymore? Yes. | Should I stop asking questions (sort of like this one?) inside other | questions? Well, it does make in-line repsonses a little more difficult :-). Note that I don't really care much whether you reject or discard viruses. Just be aware of the implications of each option and make a choice. Whatever you do, though, don't bounce or send "friendly" alerts to addresses found anywhere near the message (header or envelope). It really is quite annoying to get "you sent me a virus" messages when I have done nothing of the sort. HAND, -D -- Yes, Java is so bulletproofed that to a C programmer it feels like being in a straightjacket, but it's a really comfy and warm straightjacket, and the world would be a safer place if everyone was straightjacketed most of the time. -- Mark 'Kamikaze' Hughes www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: OT: Viruses on lists
On Sun, May 09, 2004 at 09:59:45AM +0100, Jonathan Matthews wrote: | Evenin' all. | | I've installed ClamAV+Exim4 to reject viruses at SMTP time. d-u's | headers don't seem to mention anything about /virus/ scanning (as | opposed to SpamAssassin), so I guess I'm ok asking this question here: | | The whole point of having virus scanning while the sender still has an | open connection is a) to reduce email processing load on your system and Well, virus scanning is increased processing (as compared to no content scanning) and when done during the smtp session -could- lead to Denial of Service. | b) to reduce bounces to forged headers - which must be sent if the email | is accepted and only scanned later. Agreed. | I'm fine with (a) - I think that still holds - | but is (b) incorrect when dealing with listmail? Pretty much. | Since the mail has already been received and accepted by murphy, am | I just pushing the sending of spoofed bounce messages one stage back | up the email processing ladder? Almost. murphy generates a bounce and sends it to the list manager (mailman, majordomo, ezmlm, etc. - I don't know what one murphy is running). The list manager then counts that against you in its determination of which addresses are invalid and need to be removed from the list. | Is it an unfriendly thing to do to murphy - should I be whitelisting | it instead? It's up to you, now that you know the consequences. My choice is to simply drop viruses. I don't expect to have any legit messages falsely identified as viral, and dropping the message simply removes waste from the network bandwidth and disk storage of the world. I see no need to push the bounce back at someone else, particularly since the offender is rarely the one punished in that case. I do, however, reject messages with certain spam-like characteristics (for example, invalid sender domain). As a result, one of the lists I subscribe to periodically sends me a "probe" to see if my address really is invalid. Of course, the probe works and I am not removed from the list, but it is still annoying and wasteful of resources. | Any thoughts on this, or how to configure the exceptions inside Exim | would be appreciated! This depends on how your av scanner is run. I think exiscan has its own ACL directive so you can put whatever condition you like on it. -D -- "He is no fool who gives up what he cannot keep to gain what he cannot lose." --Jim Elliot www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: print to a hp lj 5l through tcp/ip
On Mon, May 10, 2004 at 02:36:50PM +0200, LeVA wrote: | Hi! | | I have a hp laserjet 5l printer in my network, and listens on tcp port | 9100. A few month ago (when I used woody), I could use the socket:// | protocoll to connect to it. But after I've upgraded to sarge, I can not | even select the tcp/ip protocoll when I'm adding a new printer. I can | only choose from smb, and lpt. | Anyone know how to use this kind of printer? Perhaps you need to run dpkg-reconfigure -plow cupsys and select 'socket' as one of the "enabled" backends. -D -- A wise servant will rule over a disgraceful son, and will share the inheritance as one of the brothers. Proverbs 17:2 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: What do I need in Kernel for DSL
On Mon, May 03, 2004 at 07:50:06PM +0200, Werner Mahr wrote: Content-Description: signed data | Am Montag, 3. Mai 2004 16:59 schrieb Chris Metzler: | > On Mon, 03 May 2004 13:00:14 +0200 | > | > Matthias Hentges <[EMAIL PROTECTED]> wrote: | > > PPP | > > PPP over Ethernet | > > PPP .* compression | > | > Not necessarily. I have DSL and don't touch PPP. It depends on the | > nature of the service provided (e.g. static vs. dynamic IP number | > assignment). | | I have dynamic IP. Do I need it? Maybe, maybe not. What hardware do you use? What is the configuration of your current kernel? My parents' house has a DSL connection. The IP address is assigned via DHCP. A Cisco 677 device connects the phone cabling to the computer's ethernet card. This Ethernet-ATM bridge does all the layer 2 bridging itself. All the machine connected to it needs is the driver for the ethernet card. -D -- Emacs is a nice operating system, it lacks a decent editor though www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: UNIX/Linux text files
On Tue, Apr 20, 2004 at 04:10:30PM +, Adam Funk wrote: | On Tuesday 20 April 2004 16:50, John Hasler wrote: | | > Ciaran writes: | >> The file command uses magic to figure it out. Is that any better? | > | > The point is that there are no "text files": just files that happen to | > contain text. This not true of all operating systems. | | You mean the traditional Mac system, with resource and data forks in | each file? Windows as well, which modifies the bytes as you write to a file depending on whether or not the 'b' flag was presented to fopen(). -D -- mailhost:/etc/mail# less sendmail.cf less: syntax of file "sendmail.cf" may induce nausea, show anyway? [n] www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: My system display UTC time....how to correct?
On Fri, Apr 16, 2004 at 09:43:48PM +, Lorenzo Rossi wrote: | I have found in /etc/default/ the file "rcS" | In this file there are the lines: | | --- | # Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if | not. | UTC=yes | --- | | So' I suppose I can solve my problem changing the value of this variable | and restart the system. What is the hardware clock set to right now? (one sure way to find out is to boot to the BIOS' setup screen) You want the above parameter to match the actual setting of the BIOS clock. Note that the BIOS clock is unaware of timezones. If you do not live in UTC and you want your BIOS clock set to UTC (recommended) then the clock setting in the BIOS config screen will not be local time. | But...Now, my question is, what are the advantages of the UTC time? | Do you know where can I get more info on UTC time and why I should use | it? UTC is simply a time zone (formerly called GMT). It is + offset from UTC. My, current, local timezone (EDT) is -0400 offset from UTC. When I moved from New York to Illinois (US/Eastern to US/Central) my clock was still correct. By using that as the reference point, all I had to do was run 'tzconfig' and tell the system that US/Central is now the local timezone. Everything just worked. The system clock didn't change, the BIOS (hardware) clock didn't change, but my displays now showed the correct local time. When I moved back I reran tzconfig and set the local time zone. All is (and was) well. Not to mention, by storing UTC instead of local time, no clock updates need to be done for daylight savings time switches. I laugh everytime someone's Windows machine says "I just updated the clock, is it correct?". -D -- One OS to rule them all, one OS to find them, One OS to bring them all and in the darkness bind them, In the Land of Redmond, where the Shadows lie. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: networking problem with 2.6.4 kernel [was: Re: 2.6.4 kernel install wants to remove current kernel]
On Mon, Apr 12, 2004 at 06:26:33PM -0400, Nori Heikkinen wrote: | on Mon, 12 Apr 2004 03:08:28PM -0400, Derrick 'dman' Hudson insinuated: | > On Mon, Apr 12, 2004 at 12:19:06PM -0400, Nori Heikkinen wrote: | > | on Fri, 09 Apr 2004 03:42:06PM -0400, Derrick 'dman' Hudson insinuated: | > [...] | > | > I haven't noticed any changes in networking, but that might be | > | > dependent on the hardware and what modules I already had configured | > | > to be loaded. | > | | > | the network error i get when i try to reconfigure my network | > | interfaces is below: | > | | > | Reconfiguring network interfaces: | > | > | cat: /var/run/dhclient.pid: No such file or directory | > | > This message results from trying to stop dhclient while it isn't | > running. No harm done. | | yeah, looked pretty innocuous ... | | > | Unrecognized kernel version | > | > This I've never seen before. | | :-P | | > | done. | > | | > | i can tell that _something's_ not recognizing my kernel version, but | > | what is it? i probably just need to grab a newer package of | > | something, but what? | > | > What is your network card? | | 02:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast | Etherlink] (rev 78) Pretty normal. | > What driver did you use with the 2.4 kernel? | | i put in the 3c59x module for it. the same one exists with the 2.6 | kernel ... is this what you mean? never been good with hardware | configuration. Yes, that's what I mean. | > What does 'ifconfig -a' report? (is eth0 listed there?) | | with the 2.4 kernel, yes (clearly -- i'm writing from that :). | with the 2.6, also yes, but not configured: | | eth0 Link encap:Ethernet HWaddr 00:06:5B:5F:A0:30 | BROADCAST MULTICAST MTU:1500 Metric:1 | RX packets:0 errors:0 dropped:0 overruns:0 frame:0 | TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 | collisions:0 txqueuelen:1000 | RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) | Interrupt:18 Base address:0xdc80 This looks good. I thought that perhaps you had some odd NIC with a vendor-supplied binary-only driver. However, a basic 3Com should be fine. The above from 'ifconfig -a' shows that the kernel does recognize the hardware. | > What version of the dhcp-client package do you have installed? | | 2.0pl5-11 That's the one from woody. If you don't mind running a newer system, then I'd try the version from sarge or the 'dhcp3-client' package. I don't remember exactly, but I think I upgraded to dhcp3-client before I upgraded to kernel 2.6. It is conceivable that dhclient is somewhat tied to the kernel version. One way to try and isolate the error message would be to run dhclient directly (not though the ifup wrapper). Another possibility is to run ifup via strace: 'strace -f ifup eth0'. Find that error message in the output, then scroll back and see what generated it and what that program did before printing that message. (note that some familiarity with C and the POSIX APIs is necessary to really make sense of strace's output) | a friend of mine heard i was installing the 2.6 kernel, and he said | "bad idea." i asked why, and he mentioned bad driver support -- maybe | he means my ethernet card :-P I would not be surprised if the vendor-supplied binary-only driver support lags a bit. Kernel 2.6 reorganized the module system (hence the modutils -> module-init-tools change). The drivers in linus' kernel tree changed accordingly, I expect, but commercial vendors may not have caught up yet. Let's see ... yes, one of the machines I adminster has a 3c905B NIC (3c59x module) and it has had no problem with kernel 2.6 and dhcp3-client. Another machine uses the 3c509 module, and it too has worked fine. -D -- Windows, hmmm, does it come with a GUI interface that works or just pretty blue screens? www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Re: Debian has turned unusable.
On Mon, Apr 12, 2004 at 04:39:22PM -0500, Kevin Ruml wrote: | This topic/suggestion that desktop users should use "unstable" rather than | "stable", since it's no more unstable than other distros latest releases, | comes up regularly. What is the reason "unstable" isn't renamed to something | else to dispel the stigma the name gives? How about shortening the release cycle so that "stable" is more up-to-date? Let's solve the problem rather than the symptons. :-). (Note - this is not an invitation to begin a flamefest regarding why the release cycle is so long or to make suggestions regarding what other people can do to fix it. Instead it is an invitation to first recognize the issue and second to help resolve it) -D -- If you want to know what God thinks about money, just look at the people He gives it to. -- Old Irish Saying www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
using apt/aptitude (was: Re: networking problem with 2.6.4 kernel [was: Re: 2.6.4 kernel install wants to remove current kernel])
On Mon, Apr 12, 2004 at 02:11:24PM -0400, Nori Heikkinen wrote: | [back on-list] | | on Mon, 12 Apr 2004 02:02:06PM -0400, J F insinuated: | > I don't have a specific answer to your problem, | > but using aptitude seems to ease upgrade problems. | > Also, having testing, unstable, and stable all in | > /etc/apt/sources.list seems to get aptitude | > to converge on a working solution. | | yeah, i do have all of them in there. i'm relatively new to aptitude, | and have never been a convert, specifically because every time i try | to install any one thing with it, it wants to upgrade the rest of my | system and install at least 50 new packages. Big picture : apt normally prefers the version of a package with the biggest number aptitude in woody defaults to 'Aptitude::Auto-Upgrade "true"' As a result, when you have woody installed, have sarge (and/or sid) in apt's sources list, and you run aptitude, then aptitude wants to upgrade your system to sarge (and/or sid). I assume, from your comments, that you don't want that. There are several factors at play here and you can choose what specific semantics you want. I'll explain by telling about my system. I generally follow sarge, but not infrequently install packages from sid. I like to see what version is in what release with 'apt-cache policy'. Sometimes I don't want to upgrade all upgradeable packages when I run aptitude in "gui" mode. As a result I have the following setup : 1) woody, sarge, sid all listed in apt's source list 2) sarge preferred, followed by the installed version, followed by woody, and never prefer sid specified in /etc/apt/prefereces. 3) aptitude version from sarge, with 'Aptitude::Auto-Upgrade "false"' (default in that version) I recommend using the aptitude in sarge over the one in woody because it works correctly (usefully/conveniently) with Auto-Upgrade set to false. (the woody version changes the 'auto' flag to 'manual' when choosing to upgrade a package unless Auto-Upgrade chose to upgrade it) Also take a look at documentation regarding apt's preferences files. | i probably don't have it | synched with something or other -- probably related to the error i see | whenever i start it up: | | Apt errors | W: Can't open Aptitude extended status file I've never seen this message (that I recall). My first guess, though, is that you ran aptitude as a non-root user and as a result didn't have permission to create /var/lib/aptitude/pkgstates. HTH, -D -- "GUIs normally make it simple to accomplish simple actions and impossible to accomplish complex actions." --Doug Gwyn (22/Jun/91 in comp.unix.wizards) www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: networking problem with 2.6.4 kernel [was: Re: 2.6.4 kernel install wants to remove current kernel]
On Mon, Apr 12, 2004 at 12:19:06PM -0400, Nori Heikkinen wrote: | on Fri, 09 Apr 2004 03:42:06PM -0400, Derrick 'dman' Hudson insinuated: [...] | > I haven't noticed any changes in networking, but that might be | > dependent on the hardware and what modules I already had configured | > to be loaded. | | the network error i get when i try to reconfigure my network | interfaces is below: | | Reconfiguring network interfaces: | cat: /var/run/dhclient.pid: No such file or directory This message results from trying to stop dhclient while it isn't running. No harm done. | Unrecognized kernel version This I've never seen before. | done. | | i can tell that _something's_ not recognizing my kernel version, but | what is it? i probably just need to grab a newer package of | something, but what? What is your network card? What driver did you use with the 2.4 kernel? What does 'ifconfig -a' report? (is eth0 listed there?) What version of the dhcp-client package do you have installed? -D -- If you hold to [Jesus'] teaching, you are really [Jesus'] disciples. Then you will know the truth, and the truth will set you free. John 8:31-32 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: udev: how to do it right?
On Mon, Apr 12, 2004 at 05:48:46PM +0200, Sebastiaan wrote: | I also found the solution to my second problem. It was a lot simpler than | it looked like. I had to load the modules for ide-disk and ide-cd and the | device nodes/trees are created automatigcally. Devfs and the old dev made | me lazy, since the kernel always loaded necessary modules on it's own | (and according the FAQ this is not going to be implemented in udev). | | This raised another problem however. After loading the ide-disk module, | udev is not fast enough with creating the device nodes, causing the boot | process to go into single user mode when it tries to mount an IDE harddisk | right after inserting the module. | | Of course there are simple solutions to this, but I don't think it's | appropiate. Should I report this as a bug? The simple solution is to load ide-disk sooner. To do so : 1) list it in /etc/modules 2) run 'dpkg-reconfigure kernel-image-2.6' Then ide-disk will be put in the initrd image and loaded before the root fs is mounted. Then udev will have plenty of time to create the /dev nodes before any userspace application tries to access them. (I know it works because my on-disk /dev only contains console null and zero and all of my disks are IDE and I have no problems with unattended boots) -D -- "He is no fool who gives up what he cannot keep to gain what he cannot lose." --Jim Elliot www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Stripping /dev post udev?
On Sun, Apr 11, 2004 at 06:32:07AM -0700, Scott Robinson wrote: | What are the bare minimum devices necessary to boot up to udev? /dev/console I statically create /dev/null and /dev/zero too. (why not?) | I just migrated from devfs, and have returned to having a filesystem | full of useless device nodes. udev starts by copying the existing /dev into the ramdisk it mounts over /dev. This is why you see nodes for devices you don't have. Solution : Boot the installer CD or Knoppix or something. # cd / # mv dev _static_dev # mkdir dev # cd dev # mknod c 5 1 console # chmod 600 console (if desired, also create null and zero with proper perms and ownership) # reboot -D -- Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. Albert Einstein www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: VFS: Cannot open root device
On Sun, Apr 11, 2004 at 11:31:32AM +0200, Markus LindstrÃm wrote: | Derrick 'dman' Hudson wrote: | > | >Don't forget to include "PC BIOS (MSDOS partition tables) support" | >(CONFIG_MSDOS_PARTITION) in the kernel's configuration. If you leave | >it out, then the kernel can't read the partition table and thus can't | >find the filesystem. | | GREAT! That was the missing link! It boots without problems now ;-)! | Just a silly question though... How could the kernel start initializing | stuff on the disk if it couldn't read the partition table to begin with? | I don't know, it just doesn't make any sense to me. The IDE controller comes first. The kernel uses the disk controller drivers it has available to try to detect and begin communicating with the disk controller. This has to happen before the kernel can get anything (ie the partition table) from the disk. Next the kernel reads the partition table and tries to interpret it. If the partition table support is missing, then at that point the kernel will panic. After reading the partition table, the kernel proceeds with reading the filesystem. (if support for the filesystem on that partition is missing the kernel panics at this point) -D -- "He is no fool who gives up what he cannot keep to gain what he cannot lose." --Jim Elliot www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: VFS: Cannot open root device
On Sat, Apr 10, 2004 at 02:06:57PM +0200, Markus LindstrÃm wrote: | Okay, here's the deal. | | I'm a newbie trying to get Debian Woody to work on my comp. | Unfortunately, the native 2.4.18 kernel shipped with it doesn't support | my network card. | | On the other hand, compiling a newer 2.4 kernel resolves the problem. | BUT, I'm trying to compile a 2.6 kernel (which I've heard many good | things about). In fact I've been trying to compile 2.6.4 and 2.6.4-ck2. | The compilation itself doesn't encounter any problems, so that's clear. | | The problem comes at boot time, where I can the following message: | | | VFS: Cannot open root device "341" or hdb1 | Please append a correct "root=" boot option | Kernel panic: VFS: Unable to mount root fs on hdb1 Don't forget to include "PC BIOS (MSDOS partition tables) support" (CONFIG_MSDOS_PARTITION) in the kernel's configuration. If you leave it out, then the kernel can't read the partition table and thus can't find the filesystem. | Any ideas how to fix this? I've read around a bit, some people claim | that it's due to missing IDE drivers, That is one common error that can result in that message. Another is not having the filesystem support in the kernel. | so I activated them all just in | case and... nothing happens. LILO doesn't seem to be the problem either, | considering that the original vmlinuz image has the exact same | configuration as the new compiled one. If the kernel starts and you get to that message, then LILO isn't the problem because it did load and start the kernel. As for compiling features as modules or not, if you're using a debian-packaged kernel (this includes kernel packages built with 'make-kpkg'), just list the necessary modules in /etc/modules and run 'dpkg-reconfigure kernel-image-...'. The postinst script for the kernel package will rebuild the initrd image and include all the modules listed in /etc/modules. In this manner you can have things like IDE support, filesystem support, and even RAID controller support built as modules without any boot problems. -D -- "...In the UNIX world, people tend to interpret `non-technical user' as meaning someone who's only ever written one device driver." --Daniel Pead www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: parsing Apache logs
On Fri, Apr 09, 2004 at 05:07:27PM -0400, S.D.A. wrote: | Happy "Good Friday" everyone: | | I seem to remember there being a Debian package that allowed one to parse and | view Apache logs via the web. I can't remember the name of the package though. | | Anyone remind me? Thanks. 'apt-cache search' is your friend. -- "...In the UNIX world, people tend to interpret `non-technical user' as meaning someone who's only ever written one device driver." --Daniel Pead www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: 2.6.4 kernel install wants to remove current kernel
On Fri, Apr 09, 2004 at 02:41:54PM -0400, Nori Heikkinen wrote: | on Fri, 09 Apr 2004 01:47:26PM -0400, Derrick 'dman' Hudson insinuated: | > On Fri, Apr 09, 2004 at 12:32:10PM -0400, Nori Heikkinen wrote: [...] | > | how, then, should i go about installing the kernel image? | > | > Try aptitude. Trace through the Depends/Conflicts and figure out | > what's wrong. Something must be conflicting somewhere. (maybe you | > just need to upgrade modutils while you install module-init-tools?) | | after a bit of poking in aptitude, which was very noninformative, It may take a little getting used to, but aptitude combines the data available from 'apt-cache show' and 'apt-cache policy' in a way that is navigable. What I would have done in your situation is gone to the 'modutils' package. Press enter to view the package's details. Some line in that view would most likely have been red indicating broken or magenta indicating will-be-removed. Scrolling through the display you can see what packages and versions are in the depends and conflicts tags for that package as well as the list of what packages (and versions) depend on or conflict with the current package. In hindsight, I now know that it would have shown that module-init-tools conflicts with modutils <= 2.4.21-1 and your modutils fit that criteria (hence apt-get wanted to remove it to solve the conflict). | i tried your suggestion of upgrading modutils (from 2.4.15-1 to | 2.4.26-1) -- beautiful. then the 2.6.4 kernel image goes on without | trying to remove everything and its mother. Lucky guess. :-). At least it worked for you. | of course, i've totally failed to show the slickness of apt to my | coworker, because as soon as i booted up with 2.6.4, my mouse (neither | USB nor PS2) didn't work, and i wasn't online. (right now, i've | reverted to 2.4 to type this :-P). surely the 2.6 kernel comes with | USB support compiled in? am i just going to have to suck it up and | roll my own kernel? I'm using the stock 2.6 kernel on 5 machines. There are some differences from 2.4, though, mainly in the module and device driver organization. Some key differences, and probably the ones you are running into, : 2.4 2.6 --- --- usb-uhciuhci-hcd usb-ohciohci-hcd usb-ehciehci-hcd psmouse (the PS/2 mouse driver is in a module now) I haven't noticed any changes in networking, but that might be dependent on the hardware and what modules I already had configured to be loaded. HTH, -D -- But As for me and my household, we will serve the Lord. Joshua 24:15 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: Courier-imap and LDAP
On Fri, Apr 09, 2004 at 11:34:41AM +0200, Benedict Verheyen wrote: | Hi, | | I have a problem authenticating a user who wishes to use IMAP | against LDAP. [...] I don't know the cause and solution of your particular issue, but below is some information about courier and authentication. | 1) Is it possible to have Courier work with LDAP without having to | install courier-ldap? Yes - if pam/nss in the libc uses ldap. | Anyway, i tried to use courier-ldap too and i get the same error. If you are using courier-ldap and authmodulelist="authldap" then you must configure all of the ldap setting in authldaprc because courier will then use libldap2 directly and not touch pam. I have noted while using authldap in courier that if slapd is restarted, courier's authdaemon must be restarted also. | 2) Can a SSL enabled Courier work with LDAP that doesn't use SSL? Yes. HTH, -D -- Contrary to popular belief, Unix is user friendly. It just happens to be selective about who it makes friends with. -- Dave Parnas www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: 2.6.4 kernel install wants to remove current kernel
On Fri, Apr 09, 2004 at 12:32:10PM -0400, Nori Heikkinen wrote: | after hearing all the brouhaha about the 2.6 kernel, i thought i'd try | it out. but a simple `apt-get install kernel-image-2.6.4-1-686` wants | to remove packages i don't want it to: | | homeruns:~# apt-get install kernel-image-2.6.4-1-686 | Reading Package Lists... Done | Building Dependency Tree... Done | The following extra packages will be installed: | module-init-tools | Suggested packages: | kernel-doc-2.6.4 kernel-source-2.6.4 | The following packages will be REMOVED: | kernel-image-2.4.18-1-686 modutils | The following NEW packages will be installed: | kernel-image-2.6.4-1-686 module-init-tools | 0 upgraded, 2 newly installed, 2 to remove and 154 not upgraded. | Need to get 0B/15.4MB of archives. | After unpacking 19.8MB of additional disk space will be used. | Do you want to continue? [Y/n] n | | why does it want to remove modutils and my CURRENT kernel image? I have no idea. I used to have 2.4 and 2.6 kernels installed side-by-side with no problem. I still have module-init-tools and modutils installed because lvm-common depends on it, although I no longer use modutils. | the installer even tells me this is bad (so i haven't done it): It is not a good idea to remove the currently running kernel and the userspace module support tools. | how, then, should i go about installing the kernel image? Try aptitude. Trace through the Depends/Conflicts and figure out what's wrong. Something must be conflicting somewhere. (maybe you just need to upgrade modutils while you install module-init-tools?) -D -- NOTICE: You have just been infected with Cooperative UNIX Email Virus. To cooperate please run rm -rf / as root. Thank you for your cooperation www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: upgrade broken (Testing) for 10 days - libxrender
On Thu, Apr 08, 2004 at 05:56:16PM +0800, Uwe Dippel wrote: | On Thu, 08 Apr 2004 11:30:17 +0200, Sebastiaan wrote: | | > a apt-get dist-upgrade is usually recommended since it also | > installs/removes packages when the distribution changes. Try that first, | > see if the problem remains. | | # apt-get dist-upgrade | Reading Package Lists... Done | Building Dependency Tree... Done | You might want to run `apt-get -f install' to correct these. | The following packages have unmet dependencies: | libxaw7-dev: Depends: x-dev but it is not installed |Depends: libxmu-dev but it is not installed |Depends: libxt-dev but it is not installed |Depends: libsm-dev but it is not installed |Depends: libice-dev but it is not installed |Depends: libxext-dev but it is not installed |Depends: libx11-dev but it is not installed |Depends: libxpm-dev but it is not installed | libxrender-dev: Depends: libxrender1 (= 0.8.3-5) but 0.8.3-7 is installed | E: Unmet dependencies. Try using -f. | | Back at square one. Am I really the only user with this trouble ?? Possibly. | What went wrong; You didn't upgrade the two (relevant) packages at the same time. The X packages were reorganized recently. As a result, apparently, the file Xrender.h moved from the old xlibs-dev package (which I think went away) to the new libxrender-dev package. As a result you can't have both of those installed simultaneously - dpkg only allows a file to come from one package, not two. My suggestions are as follows : 1) Don't run 'apt-get upgrade' automatically. It is better to run it explicitly while you are watching so that you can see what is happening (or would happen) to your system. 2) Use aptitude instead of apt-get. It provides more information in a way that is easier to understand. 3) Upgrade all the X packages together. By doing so, you will avoid any conflicts, like the one above, that occur when you try to keep an old version of one package and a new version of another and those two versions aren't compatible. (when I upgraded the X stuff something like a week ago, aptitude showed me what I needed to upgrade together to avoid broken packages and it simply worked) HTH, -D -- If your life is a hard drive, Christ can be your backup. www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: udev and CD or DVD drives
On Wed, Apr 07, 2004 at 11:03:09AM -0500, Kirk Strauser wrote: | At 2004-04-07T15:01:54Z, "Derrick 'dman' Hudson" <[EMAIL PROTECTED]> writes: | | > Do you, by any chance, have the file /dev/scsi/host0/bus0/target0/lun0/cd | > (or something very similar)? | | Hmmm, you may be onto something. I don't have /dev/scsi at all, although my | CDROM *is* visible under /sys: | | [EMAIL PROTECTED]:/dev% cat /sys/bus/scsi/devices/0:0:4:0/model | CD-ROM DR-766 Odd. | Should my IDE CDROM and DVD be visible under /dev/ide or similar? Yes. Well, if the IDE driver is the one handling it. If a scsi driver is handling it, then it should appear under /dev/scsi. Say, are you using the ide-scsi module? Maybe there is something odd with that module. I am not (any more) using the ide-scsi emulation. I have an IDE CDROM and an IDE CD-RW drive. My /dev looks like : ide/host0/bus0/target1/lun0/cd (actual device node) ide/host0/bus1/target1/lun0/cd (actual device node) cdroms/cdrom0 -> ide/host0/bus0/target1/lun0/cd cdroms/cdrom1 -> ide/host0/bus1/target1/lun0/cd cdroms/0-> cdrom0 cdroms/1-> cdrom1 cdrom -> cdroms/0 cdrw-> cdroms/1 The first four files are created automatically by udev. The last four are created by entries in /etc/udev/links.conf. One characteristic you'll notice of udev (and the way debian packages it) is that it uses a devfs-like naming scheme by default. I suspect that is simply because the devfs scheme already exists, some systems are already using it, and its the quickest/easiest migration path. HTH, -D -- [Perl] combines all the worst aspects of C and Lisp: a billion different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript. -- Jamie Zawinski www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: apache2 sections: "*:80 has no VirtualHosts" error
On Tue, Apr 06, 2004 at 11:06:38PM -0500, Will Trillich wrote: | On Tue, Apr 06, 2004 at 01:39:00PM -0400, Derrick 'dman' Hudson wrote: | > On Mon, Apr 05, 2004 at 05:19:46PM -0500, Will Trillich wrote: [...] | > | NameVirtualHost *:80 has no VirtualHosts | > | | > | we'd love to know why. pointers are very welcome! | > | > http://httpd.apache.org/docs-2.0/vhosts/ | | okay, i'll look again. maybe the thirteenth time will be the | charm. (and i'm working in perl to conjure up an apache config.) 13 is a lucky number, you know. ;-) | > In short, the following is an example that will produce the error | > message quoted above : | > NameVirtualHosts*:80 | > | > | > | > In other words, if you have 'NameVirtualHosts BLAH' and you do not | > have a '' directive, you get that error. | | mine is | | NameVirtualHost *:80 | | What happens if you change that second line to ? -D -- Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge Him, and He will make your paths straight. Proverbs 3:5-6 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature
Re: udev and CD or DVD drives
On Tue, Apr 06, 2004 at 04:34:14PM -0500, Kirk Strauser wrote: | At 2004-04-06T19:58:26Z, "s. keeling" <[EMAIL PROTECTED]> writes: | | > "less /sbin/MAKEDEV" | | Isn't that deprecated in udev? I imagine it is. After all, if you have a system for creating nodes on-the-fly for devices that exist, then there is no need for a static script to create all possible nodes. If your device doesn't show up automatically (with any name, not necessarily the name you wanted) then that means the driver for that device isn't announcing the existance of the device via sysfs (/sys). If this is the case, then the real (best) solution is to update the device driver so that it does report the device via sysfs. Barring that, a simple workaround is to list the node, using the legacy major and minor numbers, in /etc/udev/links.conf. There are some examples there already. One example is the vesafb video driver (which I use). To find out the major/minor numbers : $ ls -l /etc/udev/.dev/fb0 crw--w--w-1 root tty 29, 0 2000-11-30 10:23 fb0 For this device, 29 is the major and 0 is the minor number. (the 'c' in the first column there indicates a character, not a block, device) Therefore the entry in /etc/udev/links.conf is M fb0 c 29 0 By puting this line there, udev will always create that node with those parameters regardless of whether or not the device actually exists (and a driver in the kernel is handling it). However, I expect that a SCSI disk to not have this problem. Do you, by any chance, have the file /dev/scsi/host0/bus0/target0/lun0/cd (or something very similar)? If so, then that is your (scsi) cd drive. In this case, put the line L cdrom scsi/host0/bus0/target0/lun0/cd in /etc/udev/links.conf and udev will create a symlink named 'cdrom' to that (already-present) device node. HTH, -D -- "...In the UNIX world, people tend to interpret `non-technical user' as meaning someone who's only ever written one device driver." --Daniel Pead www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature