broken python-turbogears dependency list?
Hello, I just moved a system using turbogears to Debian v6. I found that simply importing "turbogears" from python (2.6) yielded import errors which could be fixed by installing the following packages: - python-genshi - python-tgmochikit My understanding is that turbogears moved from kid to genshi for the default templating system between versions 1.04 and 1.1 so I believe the following dependency changes are in order: - python-kid: change to "recommends" - python-turbokid: change to "recommends" - python-genshi: change to "depends" I am less familiar with the change to depend on tgmochikit, but since importing "turbogears" imports "tgmochikit", it seems to me at least the dependency should be added: - python-tgmochikit: add to "depends" Do others see this issue too? Does anyone have any additional insight? Are there any other packages that should be downgraded in the python-turbogears dependency list? Is the best way to get this fixed to file a bug? Cheers, Jason -- Jason Rennie Research Scientist, ITA Software 617-714-2645 http://www.itasoftware.com/
Re: non-network printer in a network.
Hey Derrick, Many thanks for the "internet printer" tip. I had been trying to use samba to print from Windows XP with varying success. Specifying the CUPS http address worked like a charm. Some minor notes for others who are trying this: - The URL that worked for me was http://server:631/printers/foo - I was able to use the driver specific to the printer (instead of Apple Laserwriter) - IIRC, the default CUPS config only allows local access; to allow access from other machines, it's necessary to add "Allow From 123.456.789.012" lines within the block of /etc/cups/cupsd.conf. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Move from i386 to ia64?
Some useful reading: http://www.nl.debian.org/ports/amd64/ https://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to make Firefox default to CUPS printer (rather than Xprint spool dir)
On Sun, May 22, 2005 at 09:57:02PM -0400, Patrick Wiseman wrote: > Purge xprint, unless you have some use for it. That fixed the problem, but created a new one. Now, when I hit Ctrl+P, there's a 12 second delay before the print window pops up. And Firefox is "frozen" during those 12 seconds. Anyone know how to fix this problem? Here's what got removed when I purged xprint: The following packages will be REMOVED: x-window-system* xprint* xprint-common* xprt-xprintorg* Thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
How to make Firefox default to CUPS printer (rather than Xprint spool dir)
I don't know exactly when this happened, but some time recently, firefox decided to by default send print jobs to a new "Xprintjobs" directory in my home directory. This even though I have an installed CUPS printer that works. i.e. if I select my printer, whatever I want to print prints great. But, if I simply Ctrl-P & hit enter, the print job is left as a postscript file in ~/Xprintjobs. Anyone know how to make Firefox default to my printer? Thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: grep & tar segfault - broken system
On Mon, Jan 03, 2005 at 06:45:38PM +0200, Alexandros Papadopoulos wrote: > This is all too strange and I'd like to know if there is anywhere I can > find known good md5sums of Debian package binaries (not of the packages > themselves - of the executables in'em). Otherwise, it's impossible to > know if one has a cracked system, or is simply experiencing a "testing" > glitch... Don't know if this'll help, but here are md5's from two machines with different versions of those utilities: [EMAIL PROTECTED]:~$ dpkg -l findutils | grep ^ii ii findutils 4.1.20-4 utilities for finding files--find, xargs, an [EMAIL PROTECTED]:~$ dpkg -l grep | grep ^ii ii grep 2.5.1.ds1-3GNU grep, egrep and fgrep [EMAIL PROTECTED]:~$ dpkg -l tar | grep ^ii ii tar1.13.93-4 GNU tar [EMAIL PROTECTED]:~$ md5sum /usr/bin/find 5e8f27978c90c500b213f67ec759db2a /usr/bin/find [EMAIL PROTECTED]:~$ md5sum /bin/grep 03e99cc8532668c2cf198c3a6795cc26 /bin/grep [EMAIL PROTECTED]:~$ md5sum /bin/tar 4a1f9c9a1679faaf66073c96f1435284 /bin/tar [EMAIL PROTECTED]:~$ dpkg -l findutils | grep ^ii ii findutils 4.1.20-5 utilities for finding files--find, xargs, an [EMAIL PROTECTED]:~$ dpkg -l grep | grep ^ii ii grep 2.5.1.ds1-4GNU grep, egrep and fgrep [EMAIL PROTECTED]:~$ dpkg -l tar | grep ^ii ii tar1.13.93-4 GNU tar [EMAIL PROTECTED]:~$ md5sum /usr/bin/find f88ace1e9fd6f456cfff178e29189c32 /usr/bin/find [EMAIL PROTECTED]:~$ md5sum /bin/grep 3e39a37478852cbc407a48cbb87742b1 /bin/grep [EMAIL PROTECTED]:~$ md5sum /bin/tar 4a1f9c9a1679faaf66073c96f1435284 /bin/tar Well, tar's the same, but the other two differ. Jason P.S. Hello! From a fellow CMU alum ('99 CS). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: HELP! My printer won't stop!!
On Mon, Jan 03, 2005 at 10:52:33PM +, Clive Menzies wrote: > You could try: > $ ps aux | grep lpr > which will list the process ID > the kill the process, as root or sudo, with: > # kill -9 ProcessID (the number) Or, even simpler: pkill lpr Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: debian-user and mail tools
On Wed, Jan 05, 2005 at 04:42:33PM +0100, Bob Alexander wrote: > Thunderbird does a decent (but not wonderful) job of filtering spam. I use bogofilter (via procmail) to do spam filtering. "Out of the box," bogofilter works very well. Tuned, it's extremely effective. My FP (regular mail labeled as spam) & FN (spam labeled as regular mail) rates are less than 1%. I have my mail delivered locally. It might be tricky to use bogofilter in conjunction with IMAP (I don't know, never tried). Here's my procmail line for bogofilter ("/." suffix indicates MH-style mailbox) :0BH * ? /usr/bin/bogofilter spam/. > What I do not like about TB is the relative clumsy interface to build > filters to weed out topics I am not interested into or "plunking" rude > or otherwise irritant people. Eliminating certain people is pretty trivial with procmail. Here's a recipe to eliminate messages from me: :0 * ^From:[EMAIL PROTECTED] /dev/null > Does any of you offer some good suggestion on a client which will make > my life easier with filtering, killing/ignoring whole threads and any > other goodies experience shows you to be important on such an high > volume list ? Like someone else mentioned, ctrl-d in mutt kills a whole thread. Another mutt nicety: "/" (forward slash) displays only messages with headers that match a search string (great for searching subject or from headers). Jason
Re: Ugly sarge upgrade -- kernel 2.4.27-2 > 2.4.27-6
On Sat, Dec 25, 2004 at 03:27:57PM -0500, Michael Murphy wrote: > Any one else? Googling's born no fruit. I'm brand new to debian (a > recent redhat emigree) and am unsure where, or whether, to report > this. Any insight or direction members of this list can share will > be gratefully received. In case you're still looking for a solution, reverting to 2.4.26 fixes the problem for me. Here's what I did: - Point apt at sid If you have a /etc/apt/sources.list line like this: deb http://http.us.debian.org/debian sarge main contrib non-free edit it and change "sarge" to "sid" - Run "apt-get update" - Run "apt-get install kernel-{image,pcmcia-modules}-2.4.26-1-686" Only trouble with this is that alsa-modules-2.4.26-1-686 does not exist in sid, so you won't be able to use alsa with 2.4.26... Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Ugly sarge upgrade -- kernel 2.4.27-2 > 2.4.27-6
Upgrading to 2.4.27-2-686 (from sid) does not fix the slowness problem (at least for me). The bug corresponding to this problem is #288272: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=288272 Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Ugly sarge upgrade -- kernel 2.4.27-2 > 2.4.27-6
On Wed, Jan 05, 2005 at 06:13:24AM +0100, Thomas Hood wrote: > Possibly a result of applications trying to play sound effects but sound > not working. I can play ogg files. Sounds like crap (since processor can't decode quickly enough), but screen output for ogg123 is normal. > Building your own alsa-modules package may fix the problem. I don't have alsa-modules installed. ogg123 uses OSS drivers. > This may be bug #284356. Thanks for the pointer. Hoping that 2.4.27-2-686 may solve my problem. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Ugly sarge upgrade -- kernel 2.4.27-2 > 2.4.27-6
On Sat, Dec 25, 2004 at 03:27:57PM -0500, Michael Murphy wrote: > After upgrading, the computer ran so slowly that it was as if I were > trying to run on a '486. On boot, the lines *crawled* up the screen > in shifting waves. Also, the soundcard couldn't be found and alsa > didn't load. I restored the previous version from the snapshots > archive and all has returned to normal. FYI, I'm experiencing nearly identical problems; also Toshiba laptop PIII. The "upgrade" also broke AFS; my sysadmin had to compile new AFS kernel modules. AFS works now, but I'm experiencing extreme slowness like you. Haven't tried recompiling/removing the alsa modules yet; will try that tonight. I also noticed that hotplug produces numerous error messages during boot-up. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: gdm and reboot
On Thu, Dec 02, 2004 at 10:55:56PM -0500, Michael Spang wrote: > I have often wondered why exactly it defaults to requiring a password. > Requiring a user who has physical access to a computer root privileges > to shut it down seems fundamentally flawed to me--they could easily shut > it down by removing power. However this is potentially damaging, so it > seems logical to allow them to initiate a proper shutdown. Is removing > this limitation a security issue for remote users? Surely disabling > 'secure actions' won't allow a remote user to shutdown via gdm.. right? > Anyhow, just thought I'd throw this out there to see if anyone has a > good explanation. It always seemed to be a completely unncessesary and > potentially frustrating default. I find it especially strange since by > default any user can shut down once logged into gnome via gdm, but they > become stranded once back on the welcome screen. I agree with you. It's a stupid default. I hope they change it. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: changing default os in grub
On Thu, Dec 02, 2004 at 09:38:00AM +, john gennard wrote: > The man and info pages do not appear to help (perhaps > because I don't fully understand them). I don't want to > risk making everything unbootable by experimenting, so > can anyone please explain how I can safely put Sarge > back as default? Maybe someone has already mentioned this, but I didn't see it in my quick scan of responses... - Edit /boot/grub/menu.lst. - Find the line starting with "default". It should have a number indicating which entry is booted by default (usually this is "0" implying the first entry). - Run "grep ^title /boot/grub/menu.lst". Counting from zero, determine the order in which your desired entry comes. You could equivalently determine this by looking through menu.lst "by hand". - Modify the "default" line accordingly (if your desired entry is 3rd, set "default" to "2"). - Have a Knoppix CD handy (in case you screw anything up). - Reboot (to see the effect of your change). Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: rescue disk
On Tue, Nov 30, 2004 at 07:56:43PM +0200, George Iordanou wrote: > Unfortunately i haven't exactly understood the procedure. Do i need > knoppix? I have the installation cd of sarge. Knoppix is a "live" Debian distribution on a CD. I.e. you don't have to install it, just put in the Knoppix CD, boot the computer and up comes Knoppix. Since everything is on the CD, it does not rely on your hard drive being in working order. If something is broken on your HD, you can use Knoppix to fix it. I.e. Knoppix is the ultimate Linux rescue disk. All you have to do is to burn the Knoppix distribution onto a CD. Here's the image I used: http://csociety-ftp.ecn.purdue.edu/pub/knoppix/KNOPPIX_V3.6-2004-08-16-EN.iso The full list of mirrors is here: http://www.knopper.net/knoppix-mirrors/index-en.html Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sound driver
On Fri, Nov 19, 2004 at 04:41:26PM -0700, Justin Guerin wrote: > These won't work, because the arguments are provided to the kernel, not to > the module. If your sound driver were compiled into the kernel, this would > be the proper way to provide the argument. Since it's not, you've got to > provide the argument when the module actually loads. Ah... > One easy way is to specify the option as an argument to modprobe. I can't > remember the exact format, but I think it's sufficient to do "modprobe > snd-via82xx irq=22". I'll keep looking for the proper format, but I'll > send this message, just in case the above works. So, I've been succesful in getting the sound driver (vi82cxxx_audio) to not load upon boot. However, it now looks like the problem is deeper than just passing the right IRQ to the module... :( /sbin/lsmod shows no sound driver and when I try to play an ogg file, I get "Error: Cannot open device oss." But, "lspci -v" shows that the sound card has been assigned IRQ 18! :00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50) Subsystem: VIA Technologies, Inc.: Unknown device 4161 Flags: medium devsel, IRQ 18 I/O ports at e000 [size=256] Capabilities: Just to check, I tried "sudo /sbin/modprobe via82cxxx_audio irq=22". It gives the error "Warning: ignoring irq=22, no such parameter in this module". Anyway, the sound card is getting assigned an IRQ before the sound module is loaded. It seems that something is going wrong at the PnP layer! Feels like every time I figure something out, there's another problem lurking underneath... Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sound driver
On Thu, Nov 18, 2004 at 11:51:22AM -0700, Justin Guerin wrote: > Sounds like you have a DMA or IRQ problem. Can you check which DMA and IRQ > channels are assigned during Knoppix boot, and during Debian boot? You may > have to tell the sound module to use a specific IRQ when it's loaded. I > had to do the same thing with my ISA card, when I first configured it. I > just went down the list of available IRQs before I got to one that worked. Did some reading on the subject. The Sound How-To confirms your suspicisions: Another symptom is sound samples that loop. This is usually caused by an IRQ conflict. The Boot Prompt How-To has information on boot arguments, but they don't seem to work. I tried both "sound=22" and "snd-via82xx=22" (after making sure I had alsa-modules-2.4.27-1-686 installed), but the card gets configured with IRQ 18. Here's the dmesg output: Via 686a/8233/8235 audio driver 1.9.1-ac3 via82cxxx: Six channel audio available PCI: Setting latency timer of device 00:11.5 to 64 ac97_codec: AC97 Audio codec, id: VIA97 (Unknown) via82cxxx: board #1 at 0xE000, IRQ 18 [EMAIL PROTECTED]:~$ cat /proc/cmdline root=/dev/hdb2 ro snd-via82xx=22 Any ideas what else I should try? Many thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sound driver
On Thu, Nov 18, 2004 at 11:51:22AM -0700, Justin Guerin wrote: > Sounds like you have a DMA or IRQ problem. Can you check which DMA and IRQ > channels are assigned during Knoppix boot, and during Debian boot? You may > have to tell the sound module to use a specific IRQ when it's loaded. I > had to do the same thing with my ISA card, when I first configured it. I > just went down the list of available IRQs before I got to one that worked. You got it: under Debian it gets IRQ 18, under Knoppix it gets IRQ 22. Do you know what option I'd use to pass an alternate IRQ to the kernel? Thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sound driver
On Wed, Nov 17, 2004 at 01:25:51PM -0700, Justin Guerin wrote: > The size discrepency is most likely due to differing kernel versions. What > kernel are you using in Sarge? How about in Knoppix? Both are 2.4.27 > Hmm, the above output would seem to suggest that ogg123 is actually working. > If there isn't an error message you forgot to copy, how about turning up > the volume via a mixer? Sorry, forgot to mention the details of the problem... the first second of the song is repeated continuously. It works in the sense that I get out sound and it is sound from the song that I'm trying to play, but it only plays the first second, over-and-over again. Imagine a CD or record that keeps skipping. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problem Installing Debian 3.0r1 on HP Visualize C3700 workstation
On Tue, Nov 16, 2004 at 01:47:06PM -0500, Kaplan, Andrew H. wrote: > I am experimenting with Debian 3.0r1 and have a Visualize C3700 workstation. You might have better luck trying to install Sarge (testing): http://www.debian.org/devel/debian-installer/ Use the "netinst CD image, with Debian base" image that corresponds to your architecture. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
sound driver
In short: I can't play ogg files on my Debian Sarge (2.4.27) machine, but I can if I boot off a Knoppix live CD (v3.6, kernel 2.4.27). i.e. the drivers I have installed on my Debian Sarge machine aren't working. I'd like to set things up to use the sound drivers that Knoppix uses, but I don't know how. Does anyone out there know how I'd go about doing this? Here's the output of /sbin/lsmod on Debian Sarge: Module Size Used byTainted: PF input 3648 0 (autoclean) apm 9868 1 (autoclean) openafs 44 2 parport_pc 23880 1 (autoclean) lp 6724 0 parport26504 1 [parport_pc lp] af_packet 13032 1 (autoclean) printer 8000 0 ehci-hcd 18444 0 (unused) usb-uhci 23344 0 (unused) usbcore62924 1 [printer ehci-hcd usb-uhci] via82cxxx_audio21564 1 ac97_codec 13300 0 [via82cxxx_audio] uart401 6436 0 [via82cxxx_audio] sound 57480 0 [via82cxxx_audio uart401] soundcore 3940 4 [via82cxxx_audio sound] ide-scsi 10032 0 scsi_mod 95012 1 [ide-scsi] via-rhine 13200 1 mii 2464 0 [via-rhine] crc32 2912 0 [via-rhine] ide-cd 31264 0 cdrom 29828 0 [ide-cd] rtc 6440 0 (autoclean) ext3 81068 2 (autoclean) jbd42468 2 (autoclean) [ext3] ide-detect 288 0 (autoclean) (unused) via82cxxx 10856 1 (autoclean) ide-disk 16736 3 (autoclean) ide-core 108504 3 (autoclean) [ide-scsi ide-cd ide-detect via82cxxx ide-disk] unix 14928 173 (autoclean) Here's lsmod output for Knoppix: Module Size Used byNot tainted autofs4 8756 1 (autoclean) af_packet 13544 0 (autoclean) agpgart42724 0 (unused) via82cxxx_audio19448 1 ac97_codec 11916 0 [via82cxxx_audio] uart401 6052 0 [via82cxxx_audio] sound 55276 0 [via82cxxx_audio uart401] soundcore 3428 4 [via82cxxx_audio sound] via-rhine 12336 1 mii 2240 0 [via-rhine] crc32 2816 0 [via-rhine] serial 52100 0 (autoclean) printer 8256 0 (unused) pcmcia_core39840 0 thermal 6724 0 (unused) processor 9008 0 [thermal] fan 1600 0 (unused) button 2700 0 (unused) battery 5952 0 ac 1824 0 rtc 7036 0 (autoclean) cloop 8740 2 ieee1394 183076 0 usb-storage61760 0 (unused) usb-uhci 21644 0 (unused) usbcore57600 1 [printer usb-storage usb-uhci] ataraid 6180 0 ide-scsi8816 1 My sound card is built into my Via motherboard. via82cxxx_audio and via82cxxx appear to be the driver modules. The size of via82cxxx_audio differs and Knoppix doesn't use via82cxxx. But, I can't rmmod via82cxxx on Debian: [EMAIL PROTECTED]:~$ sudo rmmod via82cxxx Password: via82cxxx: Device or resource busy In case it's useful, here's the output of ogg123 (looks the same for both Debian and Knoppix): Audio Device: OSS audio driver output Playing: ogg/king_crimson/sleepless_the_concise_king_crimson/red.ogg Ogg Vorbis stream: 2 channel, 44100 Hz Title: Red Artist: King Crimson Genre: 17 Date: 1993 Album: Sleepless (The Concise King Crimson) Any help would be much appreciated! Thanks, Jason P.S. Many thanks to Maurits van Rees and Wim De Smet for helping me get this far! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Playing ogg files
On Mon, Nov 15, 2004 at 06:45:16PM +0100, Wim De Smet wrote: > > via82cxxx_audio21564 1 > > ac97_codec 13300 0 [via82cxxx_audio] > > uart401 6436 0 [via82cxxx_audio] > > sound 57480 0 [via82cxxx_audio uart401] > > soundcore 3940 4 [via82cxxx_audio sound] > > via-rhine 13200 1 > > via82cxxx 10856 1 (autoclean) So, I *am* able to play ogg files by booting a Knoppix CD (never realized just how cool Knoppix was!). Here's the relevant output of lsmod: via82cxxx_audio19448 2 ac97_codec 11916 0 [via82cxxx_audio] uart401 6052 0 [via82cxxx_audio] sound 55276 0 [via82cxxx_audio uart401] soundcore 3428 4 [via82cxxx_audio sound] via-rhine 12336 1 Mostly the same as before. But, no via82cxxx, sizes are different and vai82cxxx_audio has a different number after the size (version maybe?). Do you know which drivers these are (oss or alsa)? Is there any way to tell where these modules come from? Kernel version is the same. Here's the uname -a output: Linux Knoppix 2.4.27 #2 SMP Mo Aug 9 00:39:37 CEST 2004 i686 GNU/Linux Seems all I need to do is to figure out how to get Debian to load the same drivers that Knoppix loads and my problem will be solved! :) Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Playing ogg files
On Mon, Nov 15, 2004 at 06:45:16PM +0100, Wim De Smet wrote: > You could try to switch to alsa. The most important part is disabling > everything oss (making sure it doesn't load those modules any more). > So if you try alsa, disable OSS. Modules are probably either loaded > from /etc/modules or via an autodetect system (most likely discover) > on your computer. But if this problem just "suddenly popped up" this > will probably not fix it. Thanks for not giving up on me :) I appreciate all the suggestions. Y'know, more I think, more I realize it has to be the drivers---the machine is dual boot and we haven't had any problems on windows. So, I should really try the oss->alsa switch. Installing alsa seems easy enough, but how do I make sure no oss drivers are being loaded? How do I identify oss drivers? Btw, I think the sound drivers are being loaded via discover. Here's what a discover restart shows: [EMAIL PROTECTED]:~$ sudo /etc/init.d/discover restart Password: Detecting hardware: via-ircc via-rhine via82cxxx ide-scsi via82cxxx_audio usb-uhci ehci-hcd via-ircc disabled in configuration. Skipping already loaded module via-rhine. Skipping already loaded module via82cxxx. Skipping already loaded module ide-scsi. Skipping already loaded module via82cxxx_audio. Skipping already loaded module usb-uhci. Skipping already loaded module ehci-hcd. When I tried installing alsa the first time, apt-get decided to remove discover1. I reinstalled discover1 after removing alsa... Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Playing ogg files
On Thu, Nov 11, 2004 at 08:11:56PM +0100, Wim De Smet wrote: > I think it might be more of a driver issue. Try playing some .wav's or > .mp3's with another program and see what that does. Do you have alsa > or OSS? You might have both? Check with lsmod to see what sound > modules are loaded. Here are (what appear to be) the relevant parts of lsmod output: via82cxxx_audio21564 1 ac97_codec 13300 0 [via82cxxx_audio] uart401 6436 0 [via82cxxx_audio] sound 57480 0 [via82cxxx_audio uart401] soundcore 3940 4 [via82cxxx_audio sound] via-rhine 13200 1 via82cxxx 10856 1 (autoclean) I've got a Via motherboard w/ built-in sound card, so it looks like the right drivers are being loaded. I don't have alsa installed; not sure if libsdl qualifies as "having oss installed": [EMAIL PROTECTED]:~$ dpkg -l "*alsa*" | grep ii [EMAIL PROTECTED]:~$ dpkg -l "*oss*" | grep ii ii gstreamer-oss 0.6.4-5OSS plugin for GStreamer ii libsdl1.2debia 1.2.7-7Simple DirectMedia Layer (with X11 and OSS o I tried installing the alsa modules (alsa-modules-2.4.27-1-686), which triggered installation of alsa-utils and alsa-base. After reboot, ogg123 had very similar behavior (repeat 1st second of song, requires -9 to kill). I don't have any wav's or mp3's laying around, but when I open a flash presentation in firefox, firefox freezes and the first second of sound repeats over-and-over again... Are there any quirks to installing alsa? Are there more oss packages that I should try to install? Are there other sound drivers I should try? Thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: e100
On Thu, Nov 11, 2004 at 01:43:28PM -0200, Attilio Cucchieri wrote: > I am having trouble with an on-board Intel 82562EZ > 10/100 card, for which I need the e100 driver. I usually > use kernel 2.4.18-686, but this does not support that > driver. Which kernel-image should I get to make the card > work? You might as well try the latest 2.4 kernel. Shouldn't hurt, might help. apt-get install kernel-image-2.4.27-1-686 Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Playing ogg files
On Thu, Nov 11, 2004 at 10:46:16AM +0100, Maurits van Rees wrote: > Just for the sake of it, check if some friend pulled a practical joke > by installing an alias for ogg123. :) Something is wrong if `alias > ogg123' gives you something like this: I wish :( Only other person with physical access to the machine is my wife (who uses linux as little as possible). Just to check: [EMAIL PROTECTED]:~$ alias ogg123 -bash: alias: ogg123: not found I have a laptop with basically the same configuration as my desktop (also Debian Sarge, nearly identical set of packages). It plays the ogg files without trouble. I checked the version number of vorbis-tools and all the packages that vorbis-tools depends on. They're identical! I'm running 2.4.27-1-686 on both machines. Only possibility I can think of is that the sound card on my desktop is flaky... could a flaky sound card cause this problem? Thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: upgrading KDE
On Wed, Nov 10, 2004 at 09:24:24PM -0600, downtime null wrote: > I'm currently running KDE 2.2.2 as reported by dpkg. I have a ton of > packages that are being held back though. I could possibly track down > the problem by manually adding dependencies to the command line, but > that defeats having a package management system. Another thing you could try: 'apt-get dist-upgrade'. That *should* bring your entire system up-to-date with the current Sarge. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installing Woody with USB keyboard and mouse.
On Thu, Nov 11, 2004 at 03:27:37AM +, [EMAIL PROTECTED] wrote: > How do install Debian "Woody" with a USB keyboard and mouse? > I only have usb ports. When I try it says "Keyboard not recognized". > I want use Debian badly. I hate using Suse 9.1 You'll probably have much better luck trying to install Sarge. Try the "netinst CD image, with Debian base" from this page: http://www.debian.org/devel/debian-installer/ Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Playing ogg files
Earlier this year, I ripped lots of my CDs to ogg files using grip/cdparanoia (Debian sarge). I used ogg123 to play them. At some point, I went back to playing music directly off CDs. Well, just today I "apt-get install"ed grip, which triggered lots of new package installs and "upgrades". I ripped a CD successfully, but now when I try to play any the new ogg files or the old ones, it doesn't work. It just repeats the first second of the song over and over again. Here's what the ogg123 output looks like: [EMAIL PROTECTED]:~/ogg$ ogg123 king_crimson/sleepless_the_concise_king_crimson/red.ogg Audio Device: OSS audio driver output Playing: king_crimson/sleepless_the_concise_king_crimson/red.ogg Ogg Vorbis stream: 2 channel, 44100 Hz Title: Red Artist: King Crimson Genre: 17 Date: 1993 Album: Sleepless (The Concise King Crimson) Time: 00:00.72 [06:15.88] of 06:16.60 (113.2 kbps) Output Buffer 3.1% Here's what ps says: [EMAIL PROTECTED]:~$ ps auxw| grep ogg jrennie 3589 1.0 0.6 9412 2452 pts/1S+ 21:40 0:00 ogg123 king_crimson/sleepless_the_concise_king_crimson/red.ogg jrennie 3590 0.0 0.6 9412 2452 pts/1S+ 21:40 0:00 ogg123 king_crimson/sleepless_the_concise_king_crimson/red.ogg jrennie 3591 0.0 0.6 9412 2452 pts/1S+ 21:40 0:00 ogg123 king_crimson/sleepless_the_concise_king_crimson/red.ogg I can't Ctrl-c or Ctrl-z the ogg123 process. I have to kill -9 to get it to stop. My machine is basically the same as it was many months ago when I did the initial ripping and playing. Only substantial change is some package installs and upgrades. I'm still running Sarge. Does anyone know if there's anything I could try that might fix this problem? Many thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: upgrading KDE
On Wed, Nov 10, 2004 at 08:15:49PM -0600, downtime null wrote: > I would like to upgrade to at least KDE 3 (3.3 would be nice), but apt > is giving me fits. I'm sure it's something simple that I'm just > overlooking. When I type the command 'apt-get -f install kde', I get : This might be a dumb response, but did you do 'apt-get update' first? Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: listing number of directories only
On Thu, Nov 04, 2004 at 08:33:41AM +1100, Cameron Hutchison wrote: > $ find -maxdepth 1 -type d ! -name '.*' | cat -n Another variation: find * -type d -maxdepth 0 Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Using more than one driver for a laser printer?
On Tue, Nov 02, 2004 at 09:15:57PM +, Adam Funk wrote: > So I'd like to know if there is any easy way to switch between them, > just for local printing. I'm considering adding a second printer > to /etc/printcap with the same device (/dev/lp0) and other > specifications but a different driver, so I can use the lpr -P option > as necessary. Is this idea good, bad or ugly? Should I use the same > spool directory (subdirectory of /var/spool/lpd/)? Have you tried CUPS and the CUPS web interface? According to the packages you've installed, it looks like you're using CUPS. Launch a web browser as root and direct it to localhost:631 Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: annoying mutt problem
On Mon, Nov 01, 2004 at 12:45:17AM -0700, Sean wrote: > After fetching my mail from my isp's pop server, mutt usually only > displays the first 10 or so messages. The others although fetched by > fetchmail, don't display in my mailbox for a few minutes, according to > mutt. If I have about 50 or so, I can quit mutt, and go back in to see > all the messages. However if there are 200 or so, like today, it takes > 2 or so minutes and quitting and restarting mutt before I see them all. > What's appening here? Can I fix that? Is the problem that must isn't updating it's index as the messages arrive? If you have maildir or MH style folders, all you need to do is add a line to your .muttrc file. I use this to tell mutt to look for new mail in my inbox: folder-hook inbox set check_new = yes Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Switching between two network cards
On Thu, Oct 07, 2004 at 10:54:35PM +0200, Andrei Badea wrote: > After my system starts, I want to switch to the other network card (the > sk98lin one), but I only want its module loaded, so I do: > > ifdown eth0 > rmmod fealnx > modprobe sk98lin > ifup eth0 I'm no expert in networking. Might be totally off base here. But, could it be that fealnx gets eth0 and sk98lin gets eth1? i.e. might this work? ifdown eth0 modprobe sk98lin ifup eth1 I have a vaguely similar situation w/ my laptop... When undocked, the PCMCIA card gets eth0, when docked, the dock station ethernet gets eth0 and PCMCIA card gets eth1. I use the check-mac-address.sh script to make sure that only the PCMCIA card gets networking. Something similar might work for you if you don't want fealnx to come up at all. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to get the 2nd CPU to work?
On Thu, Oct 07, 2004 at 03:06:41AM +0530, Rishi wrote: > The output of dmesg and /proc/cpuinfo appears to have recognized the > 2nd CPU. Any ideas if > (a) the 2nd CPU is being used OR > (b) it's not being used This is the test that I use to tell if both CPUs are working: yes > /dev/null & top yes > /dev/null & top If the first top shows a yes process with 49% CPU usage or the second top shows two yes processes each with 99% CPU usage, then both processors are working. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Tetex problem: twocolumn is not working properly
On Wed, Oct 06, 2004 at 10:23:38PM -0400, Alan Davis wrote: > Something is not working properly on this installation of TeX/LaTeX. At home, I > wrote an exam, emailing it to work. At work, using TeTeX, the formatting of the two > column mode is not working: both columns of the test (I use examdesign.cls for > exams) are crammed into the left column of the page, while the headings, etc., at > the top of the page are all ok, across the whole page, as intended. Would be very helpful if you could send a small example .tex file that exhibits the behavior you're describing. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Two ethernet cards [SOLVED]
It was annoying that dhclient would spend 60 second figuring out that eth0 was not connected to a network. Some pre-up lines fixed that problem: auto eth0 iface eth0 inet dhcp pre-up /home/jrennie/usr/bin/check-mac-address.sh eth0 00:50:8B:46:28:6F auto eth1 iface eth1 inet dhcp pre-up /home/jrennie/usr/bin/check-mac-address.sh eth1 00:50:8B:46:28:6F I copied check-mac-address.sh from /usr/share/doc/ifupdown/examples. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Two ethernet cards [SOLVED]
On Sat, Sep 18, 2004 at 05:14:41PM -0400, Jason Rennie wrote: > Now, when the laptop is docked, PCMCIA comes up as eth0, but I lied. PCMCIA still comes up as eth1 (dhclient and ifconfig confused me by showing eth0 and 00:50:8B:46:28:6F together...) I added another section to /etc/network/interfaces: auto eth1 iface eth1 inet dhcp hwaddress ether 00:50:8B:46:28:6F Now it works! :) Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Two ethernet cards
Hello, I have a laptop with docking station. The laptop has a PCMCIA wireless card; the docking station has its own ethernet port/card. When I boot up w/o the docking station, the wireless card is recognized as eth0 and the network comes up properly. When I boot up with the docking station, the docking station ethernet gets eth0, PCMCIA gets eth1 and Debian tries to bring up the network via eth0. Unless I connect with a ethernet cord, networking fails. Following suggestions from the recent "DHCP Question" thread, I added the hardware address to the eth0 section of my /etc/network/interfaces file: auto eth0 iface eth0 inet dhcp hwaddress ether 00:50:8B:46:28:6F Now, when the laptop is docked, PCMCIA comes up as eth0, but networking doesn't work. During boot, dhclient runs and fails (DHCPDISCOVER, DHCPDISCOVER, ..., No DHCPOFFERS received). I tried running dhclient after the machine was fully booted... it again fails. PCMCIA card flashes its LED to indicate that it has been initialized, but it is not connected to a network. I use a DSL wireless router for networking. Anyone have any suggestions? Many thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DHCP Question
On Wed, Sep 15, 2004 at 09:07:51PM -0400, Michael Marsh wrote: > You can also apparently specify "hwaddress" in the stanzas (once you know > them), so that you can autoload the modules and have eth0 and eth1 assigned > consistently. I would guess that's the point of having hwaddress. It > would look > something like: > > hwaddress ether 01:23:45:67:89:AB I've got a similar problem when I use my laptop with my docking station. My laptop has a PCMCIA wireless card. The docking station has an ethernet port. When the laptop is docked, the ethernet port gets priority and I only get networking via the ethernet port. When the laptop is not docked, the PCMCIA card is configured as eth0 and networking works. I would like the PCMCIA card to always be bound to eth0, so I added a hwaddressline to /etc/network/interfaces: auto eth0 iface eth0 inet dhcp hwaddress ether 00:50:8B:46:28:6F Now when the laptop is docked, dhclient runs during boot, but it fails (DHCPDISCOVER, DHCPDISCOVER, ..., No DHCPOFFERS received). Shortly thereafter, PCMCIA services comes up, recognizing the card, but networking doesn't work. Anyone know what'd I'd have to do to get the PCMCIA card to work while the laptop is docked? Thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mouse Wheel not working.
On Wed, Sep 08, 2004 at 10:43:21AM -0700, Eric Dickner wrote: > I am using XFree86, but I'm not sure if the problem > isn't with the Debian (2.4.27) configuration. Assuming it is a problem with XFree86, you should run dpkg-reconfigure xserver-xfree86 Choose "ImPS/2" as "the entry that best describes your mouse". Answer "No" to the "Emulate 3 button mouse?" question. Answer "Yes" to the "Enable scroll events from mouse wheel?" question. Then run dexconf This will generate the XFree86 configuration file based on the debconf information (that you just entered via dpkg-reconfigure). Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: rm difficult filename
On Wed, Sep 08, 2004 at 04:21:12PM +0800, John Summerfield wrote: > Often, too, you can use the TAB key to advance over problematic > characters, a "?" to represent one of them and "*" to represent any > number of them. So > > rm ?rtsp-stream-over-tcp > rm *over-tcp Hmm... I don't think this works since the shell will expand to "rm -rtsp-stream-over-tcp". rm will still see the file name as an option. [EMAIL PROTECTED]:~$ cat > -foo foo [EMAIL PROTECTED]:~$ rm -foo rm: invalid option -- o Try `rm --help' for more information. [EMAIL PROTECTED]:~$ rm ?foo rm: invalid option -- o Try `rm --help' for more information. [EMAIL PROTECTED]:~$ rm *foo rm: invalid option -- o Try `rm --help' for more information. [EMAIL PROTECTED]:~$ rm -- -foo rm: remove regular file `-foo'? y [EMAIL PROTECTED]:~$ Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Some question on source.list.
On Wed, Sep 08, 2004 at 07:10:38AM -0400, Spencer wrote: > If one is going to upgrade to sarge do you need > the security pointers? > Here is my current sources.list file from installing woody. The security pointers are useless until sarge becomes 'stable'. Once sarge becomes stable, they will provide security updates. > deb http://ftp.us.debian.org/debian/ unstable main > #deb-src http://ftp.us.debian.org/debian/ stable main > deb http://non-us.debian.org/debian-non-US unstable/non-US main > #deb-src http://non-us.debian.org/debian-non-US stable/non-US main > > #deb http://security.debian.org/ stable/updates main These will give you sid (unstable) not sarge (testing). To upgrade to sarge, you want something like this: deb http://security.debian.org/ sarge/updates main deb http://http.us.debian.org/debian sarge main contrib non-free deb http://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: dpkg / apt equivalent to 'rpm -qf'?
On Tue, Aug 24, 2004 at 01:11:33PM +0100, Thomas Adam wrote: > It's doing *exactly* what you asked of it. Remember that dpkg -S will only > work for files that were *in* a package initially and not ones that were > *created*. /etc/apt/sources.list is created by apt-setup from 'base-config', > but does not reside in any package. Geez. Try answering the question, not insulting the guy. The dpkg man page is unclear on what -S does: dpkg -S | --search filename-search-pattern ... Search for a filename from installed packages. So, is there a dpkg option that allows one to determine from which package a file came? Or, is there some other program that can provide this information? Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Unidentified subject!
On Sat, Aug 14, 2004 at 04:02:19PM +0530, gopalakrishnan wrote: > I have intel D845GVSRL board and 2.4 GHZ processor. I installed Debian > linux 3.0 (Woody), during installation it is > not detected the onboard network card (intel 10/100 chipset) and also not > supporting GUI , all in xdm,Gdm,and Kdm. > Is any drivers avaibale in the net. Try the new debian installer. It detects a much wider range of hardware than the installer for woody. http://www.debian.org/devel/debian-installer/ Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: So you think you are (or wanna be) a hacker
On Thu, Aug 12, 2004 at 07:28:24PM -0500, John Hasler wrote: > The malloc() might fail and return NULL. You need to deal with that. Good point. Can't believe I missed that... Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: So you think you are (or wanna be) a hacker
On Thu, Aug 12, 2004 at 01:51:46PM -0700, Stefan Nicolai O'Rear wrote: > Using a glibc extension, how about: > >char *configfile; > >asprintf (&configfile, "%s/%s", getenv ("HOME"), cfgfile); > > aprintf auto-mallocs a buffer of the right size. > Be sure to free()! On Thu, Aug 12, 2004 at 04:22:46PM -0700, Erik Steffl wrote: > IMO for stuff like the above the c++ strings should be used (unless > there is some reason to use pure C or you really need every bit of > performance boost you can get), even in otherwise C source. There's > number of C++ fueatures/libs that can be used withotu going fully OO and > IMO using containers (STL) at least somewhat is a lot better that > juggling pointers (except of special cases maybe). Egad! If you're going to go beyond standard C, I'm of the same persuasion as Kirk: you might as well use a scripting language with a good C API like python. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: So you think you are (or wanna be) a hacker
On Thu, Aug 12, 2004 at 10:59:36AM +0800, John Summerfield wrote: > So set the ball rolling, here is a snippet from a program I found via > freshmeat the other day: > configfile = malloc(strlen(getenv("HOME")) + 20); > sprintf(configfile,"%s/%s",getenv("HOME"), cfgfile); Something a bit safer... char *home = getenv("HOME"); if (home == NULL || cfgfile == NULL) hittheuseronthehead(); int sz = strlen(home) + strlen(cfgfile) + 2; char *configfile = malloc(sizeof(char)*sz); sprintf(configfile,"%s/%s",home,cfgfile); I'm sure someone can do better (and be more creative :) On Wed, Aug 11, 2004 at 08:31:49PM -0700, Stefan Nicolai O'Rear wrote: > * It's very ugly (atleast to me.) Is there such a thing as pretty C code? Or C++ code for that matter? Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Packages needed for Cups Foomatic printer
On Wed, Aug 11, 2004 at 07:51:33PM -0400, Tong wrote: > Here are all the relevant packages that I have installed: > > cupsys > cupsys-bsd > cupsys-client > foomatic-db > foomatic-db-engine > foomatic-db-hpijs > foomatic-filters > foomatic-gui > hpijs > libcupsimage2 > libcupsys2-gnutls10 > libusb-0.1-4 I'm no Debian CUPS expert, but I have CUPS up-and-running with support for a long list of printers. Took me some fiddling to find the package that provided driver support, I recall. Anyway, try installing these packages: cupsys-driver-gimpprint cupsomatic-ppd foomatic-db-gimp-print One of them (I forget which) was the magic package that added support for a long list of printers. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian and Fedora
On Wed, Aug 11, 2004 at 05:32:06PM -0500, Mingzhai Sun wrote: > I am new in debian, actually I never used it. I tried to install once but > failed. Now I am using Fedora 2. But I need a more stable system, I don't > want to update my system every two days. I need a neat, stable system. > I need to run matlab 6.1 and labview 6.1. > Please give me some suggestion and reasons whether I should switch to > debian. I recently gave up on Fedora (after trying to move from RH9) and switched my machines over to Debian. What did you try to install? If you tried 3.0/woody, you should try installing 3.1/sarge/testing with the new installer. It does a much better job of auto-detecting hardware. See: http://www.debian.org/devel/debian-installer/ Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Configuration DB
On Sat, Aug 07, 2004 at 08:05:53PM -0500, John Hasler wrote: > On Sun, Aug 08, 2004 at 12:51:23PM +1000, Cameron Hutchison wrote: > > It is not enough to simply backup /etc, as some packages automatically > > generate config files from the debconf info (xfree86 being one). > > Any package that overwrites your changes to config files and/or uses > debconf as a registry is seriously buggy. Seems like there's still an important question left unanswered. We've discussed how to duplicate installed packages. We've discussed how to dupliate debconf configuration. But, as Cameron points out, some packages need configuration files that are to be generated from the debconf database. dexconf does this for XFree86. In general, how does one know what utility/utilities to run in order to generate all the configuration files? Is the configuration-file-generating-utility for each package specified in the debconf DB? Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Configuration DB
On Mon, Aug 09, 2004 at 02:09:08AM -0700, Brian Nelson wrote: > The debconf database is nothing more than a temporary cache of answers > gotten from the user. Debconf will regenerate this data by asking any > questions it needs to. If the Debian designers had this attitude, everything would go into /var/cache: What, you want to run oowriter? Oops, just deleted that from my cache. Downloading openoffice.org-bin.deb from www.debian.org. Please wait. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to test new installer?
On Sun, Aug 08, 2004 at 10:45:15AM -0400, stan wrote: > I need to build a new "unstable" machine for some testing, and I thought > this might be a good oportunity to test the new installer. > > How does one use it, at this point? Is there a specia; set of disk images? Here's the debian-installer web page: http://www.debian.org/devel/debian-installer/ Pick the ISO(s) that correspond to your architechture and desired installation method. For an i386 machine with a reasonably fast network connection, this is probably your best bet: http://cdimage.debian.org/pub/cdimage-testing/sarge_d-i/i386/rc1/sarge-i386-netinst.iso Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sarge security
On Wed, Aug 04, 2004 at 01:18:37PM -0800, Greg Madden wrote: > I read where security will be online for Testing/Sarge on August 8th. I > am not sure about the sources line to use for it though. This should work: deb http://security.debian.org sarge/updates main contrib non-free Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
fam segfaults
Hello, I recently tried installing gnome on a (sarge) machine at my lab. All was well until it tried to set-up fam. [...cut...] Setting up fam (2.7.0-5) ... Starting file alteration monitor: /etc/init.d/fam: line 40: 25206 Segmentation fault start-stop-daemon --start --quiet --exec $DAEMON -- $FAMOPTS invoke-rc.d: initscript fam, action "start" failed. dpkg: error processing fam (--configure): subprocess post-installation script returned error exit status 139 [...cut...] Errors were encountered while processing: fam gnome-desktop-environment gnome E: Sub-process /usr/bin/dpkg returned an error code (1) fam segfaulted. I tried /usr/sbin/famd from the command line. It segfaulted. I tried removing/var/cache/apt/archives/fam_2.7.0-5_i386.deb and reinstalling. It still segfaulted. What's strange is that a number of other (sarge) machines haven't had any trouble with fam. I checked all the packages that fam depends: versions on the machine where fam crashes are the same as on a machine where I haven't seen the fam problems. I ran 'ldd' on /usr/sbin/famd on both machines: same library dependencies. I checked the libraries: all existed on both machines and all sizes (after resoling symb links) are identical. Any idea what could be causing the problem? Is there anything else I should investigate? Many thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Encrypted wireless
On Thu, Jul 29, 2004 at 09:18:59AM +0800, John Summerfield wrote: > >I have a wireless DSL router set up at home. I currently don't use > >encryption, so it's essentially a free-for-all and I've noticed some > >freeloaders and the router doesn't provide any way to restrict access > >other than by setting up encryption (side question: anyone know of a > >wireless router that can restrict access by MAC address?). > > Hmm I thought they all did! > > What brand and model? SMC 7004VWBR I've searched the config menus over-and-over again... I was surprised too! Another annoying thing: it doesn't allow you to establish constant MAC->IP mappings. I'm tempted to go buy a different one... What models have you used? > Not that mac addresses stop anyone but casual freeloaders. That's all I really care about. Sounds like even encryption wouldn't keep out a knowledgable person who really wanted to hack my (relatively pitiful) network. And if I can stop casual freeloaders, I can at least identify the malicious freeloaders :) Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Couple Questions Before I install for first time.
On Wed, Jul 28, 2004 at 09:15:37PM -0400, Jason G Skala wrote: > I have a Intell LX440GX+ Motherboard with Dual PIII 500's running software > raid currently, I have found some great articles on getting the Software > Raid portion to work with debian so I think I am ok on that. My real concern > is getting the SMP Kernel working with it, and I have yet to really find any > good examples or docs on this. I am not new to linux but new to debian, I am > used to Red Hat were I have a GUI install and select SMP kernel and that is > it. Now is there an easy way to get a SMP kernel for debian or should I just > plan on creating my own from source? At the lab, we have two relatively new dual-Xeon machines and three older dual-P3 machines. Most are SCSI, one is SATA. All of them run various flavors of either Woody (stable) or Sarge (testing). As other people have described, installing the SMP kernel is nearly painless. If you install Woody/stable, looks like the most recent Intel SMP kernel is 2.4.18. After installing, do: apt-get install kernel-image-2.4.18-686-smp If you install Sarge/testing, the most recent Intel 2.4 kernel is: apt-get install kernel-image-2.4.26-1-686-smp The recent versions of debian-installer are very nice. As long as you have at least a DSL connection, let me suggest that you burn a CD with one of the latest Sarge network install ISO images and install w/ that: http://cdimage.debian.org/pub/cdimage-testing/daily/i386/current/ > The motherboard has a built in Adaptec aic7896/97 Ultra2 SCSI adapter, is > this supported by default without any trouble? I've got a dual-P3 running Debian Sarge with a Adaptec aic7890/91 Ultra2 SCSI adapter. A while back it was running Woody w/o trouble. Driver appears to cover all AIC7xxx cards: Adaptec AIC7xxx driver version: 6.2.36 > Also I have an intel Nic card 82559 that uses the e100 module/driver and > have read that this can be trouble some to get to working any info that some > one can provide to me on that as well. One of the dual-Xeons had an e1000; debian-installer recognized it, but it wasn't properly set up. I had to add 'e1000' to /etc/modules. Though, I've heard that this was probably fixed in recent versions of debian-installer. Issues you've heard of were probably w/ the Woody installation. I was never able to successfully install woody myself (though I knew less about Debian then). Sarge install is much easier and it is likely to become the new 'stable' in the next month or two. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Getting photos from USB compactFlash into linux
On Wed, Jul 28, 2004 at 04:42:38PM -0400, J F wrote: > So I typed: > [EMAIL PROTECTED]:/etc/apt# mount -r -t vfat /dev/sda1 /mnt/auto/sda > mount: mount point /mnt/auto/sda does not exist It doesn't matter where you mount the sucker. Do this: mkdir /usb mount -r -t vfat /dev/sda1 /usb I mount w/o -r so that I can delete the pictures after I've transfered them. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Encrypted wireless
Hello, I have a wireless DSL router set up at home. I currently don't use encryption, so it's essentially a free-for-all and I've noticed some freeloaders and the router doesn't provide any way to restrict access other than by setting up encryption (side question: anyone know of a wireless router that can restrict access by MAC address?). I tried setting up 64-bit encryption and adding an entry in /etc/pcmcia/wireless.conf on my laptop. No dice. Anyone know what the appropriate entry would look like? Alternatively... Can anyone suggest a tutorial/How-To on setting up wireless PCMCIA cards to work on an encrypted wireless network? Many thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Need an older version of Perl on Debian for WebCT
On Tue, Jul 27, 2004 at 02:21:03PM +0200, Johann Spies wrote: > The problem is that (we are trying out sarge now) the perl version > (5.8.3) cannot open the Berkeley database files of WebCT 3.8. I > suspect it needs perl 5.005 which is what is installed on the RH > server at the moment. Is there a way to have both perl 5.8.3 and > 5.005 on the same machine? Are you absolutely sure you have installed all the necessary packages? Here are some packages that perl may need to read Berkeley DB files: libberkeleydb-perl libdbi-perl Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: libmagic1 and file
On Mon, Jul 26, 2004 at 11:24:43PM +0200, Stefan Vunckx wrote: > Can anyone tell me why those 2 packages (libmagic1 & file) are blocking each > other ??? > > I searched the package pages on debian but found no information about it, > neither on the bugs page ... > > I have a couple of packages that depend of file, and apache2-common depends on > libmagic1, and I want to try out apache2 :/ > > Anyone has a clue ??? Are you using strictly debian packages? What does your /etc/apt/sources.list look like? What is the output of apt-get? Did you apt-get update? Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: newbie apt-get question
On Tue, Jul 27, 2004 at 08:26:26AM -0400, Mark D. Hansen wrote: > Thanks. You are right - I'm using stable. But, I thought that I could > override the version of Samba (or other packages) included in the > distribution by using the syntax in my original post (i.e., > samba=3.0.5-1). Am I mistaken? > > Can I customize "stable" so that I use newever versions of some of the > packages (like Samba)? If so, is there a "HOW-TO" covering this? In fact, the Apt How-To has a section on exactly this issue: http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html#s-default-version Note that in order to get unstable packages, you need to have entries for unstable in your /etc/apt/sources.list (an 'unstable' entry looks exactly like a 'stable' entry except that 'stable' is replaced with 'unstable' :) Also, be warned that upgrading one package may trigger a long chain of "upgrades". If samba is connected to enough other packages, you may end up "upgrading" most of your system to unstable. Unless you're somewhat of a Debian expert, running unstable may lead to quite a bit of frustration. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: newbie apt-get question
On Mon, Jul 26, 2004 at 09:36:47PM -0400, Mark D. Hansen wrote: > I'd like to upgrade to version 3.0.5 of SAMBA. But, apt-get tells me that "samba is > already the newest version". When I try this: > > apt-get install samba=3.0.5 > > it tells me that "Version 3.0.5 for samba is not found" > > > What am I doing wrong? Possibly nothing. Problem might be that your distribution doesn't have samba 3.0.5 yet. Stable and Testing currently use older versions. Here's how you can check to see what version is current for your dist: apt-get update apt-cache policy samba I'm running Sarge (testing): [EMAIL PROTECTED]:~$ apt-cache policy samba samba: Installed: (none) Candidate: 3.0.4-5 Version Table: 3.0.4-5 0 500 http://debian.csail.mit.edu sarge/main Packages Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: yay! I can print!
This fixed my problem (fresh install from Beta 4 CD about a week ago). Many thanks Jim! Jason On Sun, Jul 25, 2004 at 04:32:14PM -0700, Jim McCloskey wrote: > This could be your problem if you're running a quite recent (from > Debian testing) version of Firefox which uses Xprint to do its > printing. > > If that *is* your problem, the solution, for many people at least, has > been to edit the file: > > /etc/Xprint/en_US/print/attribute/document > > and/or: > > /etc/Xprint/C/print/attribute/document > > (it depends on how how you have locales set up on your system). > > and set: > > *default-printer-resolution: 600 > > Jim > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: yay! I can print!
On Sun, Jul 25, 2004 at 11:51:02AM -0500, Nate Bargmann wrote: > I think it depends on whether you are using mozilla.org builds or > Debian packages for Mozilla and/or Firefox. The Debian pakages > currently require Xprint. I am using the mozilla.org builds with no > problems. The default margins may need to be reset or the header and > footer may not be visible. I'm using Debian packages; just installed from a Beta 4 net CD image a week ago. Appears I have Xprint: [EMAIL PROTECTED]:~$ sudo apt-get install xprt-xprintorg Password: Reading Package Lists... Done Building Dependency Tree... Done xprt-xprintorg is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. It's not just a header/footer issue. The entire print-out is garbage. This being a Mozilla/Firefox issue seems unlikely (at least to me :). When I print to file from Moz/FFox, I can view the printout w/ gv fine. But, "lpr mozilla.ps" comes out of the printer as garbage. Seems like the wrong filter gets applied on the way to the printer or no filter gets applied at all (I don't think my printer can deal with postscript), or something like that. > Try the upstream Firefox with postscript output? Which version are you talking about? Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: yay! I can print!
On Sun, Jul 25, 2004 at 11:38:06AM -0600, Monique Y. Mudama wrote: > I just assumed cupsys was the right thing to install for cups? (Haven't > done it, though.) I guess I'm wrong? cupsys: CUPS server cupsys-client: CUPS client programs cupsys-bsd: CUPS BSD-style client programs (e.g. lpr, lpq, lprm) cupsys-driver-gimpprint:CUPS drivers foomatic-db-gimp-print: more drivers (most of the drivers are here) I'd be nice if there were some virtual package, e.g. cups-printing-system, that depended on all of these packages (plus any necessary ones I'm missing)... but I guess that's wishful thinking... Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: yay! I can print!
On Sun, Jul 25, 2004 at 11:25:22PM +0800, Katipo wrote: > There's actually a debian package that features this, i.e., four pages > onto one. > It looks very much as though your printing programme is being routed > through this. > Regretfully, I can't remember the name of the package, but it is in main. > Regards, mpage? Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
6G memory
Hello, I've got a machine w/ 6 gigs physical memory. kernel-image-2.4.26-1-686-smp only recognizes 4G. I unsuccessfully tried to build a custom kernel with kernel-package and in the process learned that the 4G limit is due to a kernel option. Is there a 2.4.26-1-[36]86-smp kernel available with the 64G mem option turned on? I can't use a 2.6 kernel since we use Kerberos/AFS and AFAIK, AFS doesn't work on 2.6 yet. Thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: yay! I can print!
On Sun, Jul 25, 2004 at 09:53:13AM -0500, Nate Bargmann wrote: > I concur. I never have had satisfactory print quality on my agin > Lexmark 4039-10R with lpr/lprng with magicfilter/apsfilter. I started > playing with CUPS a month or so back and once I installed libgimpprint > and used their ljet3 driver in CUPS I got the best output from that > printer I have seen yet. I'm on the other side of the fence ATM; just installed CUPS and configured my Samsung ML-1710 (CUPS had an exact match for make/model). Test page prints great, enscript'd text prints great, even simple postscript (latex->dvi->postscript) works great. But, pages printed from firefox/mozilla are a mess---just a jumble of lines at the top of the page; doesn't look anything like gv shows. I didn't have any problems like this when I was running RedHat/Fedora... (same printer) Might there be a driver package I'm missing? These are the packages I apt-get installed: cupsys-bsd cupsys-client cupsys-driver-gimpprint xpp cupsomatic-ppd foomatic-db-gimp-print Any help/ideas would be much appreciated :) Thanks, Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Debian installer beta 4 can't mount ext3 partitions
Hello, I just did a Debian Sarge install using the beta 4 installer. I had an existing ext3 paritition that I wanted to mount as /home, but after "manually partitioning" and telling Debian to use the existing format, Debian complained that the ext2 filesystem had something wrong with it. I don't have any ext2 filesystems. I presume it was looking at the ext3 filesystem, trying to mount it as an ext2 filesystem. When I told Debian to ignore the partition, it installed fine. Anyone else seen this problem? Has it been fixed in one of the daily installer builds? Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DNS -- caching server inside firewall?
> Any starting points or clues? I'm not totally up to snuff on DNS > configs, hoping to learn. I found a program on http://freshmeat.net called dnsmasq. It is a small dns proxy, that uses your /etc/hosts file to server DNS on your lan, and uses the resolv.conf to work out where you isp's name servers are. If you run this on the linux box, and tell the openbsd box that this is the dns server, assuming the linux box can do its own dns lookups successfully, this should get the effect you desire. Just put the doubleclick.net stuff in your /etc/hosts file on the linux box. Jason
RE: help! NT4 destroyed my Linux partitions!
> Yeah... I played with that program a little -- only to change the > drive > letter of my cdrom drive. > Did you let it write a disk signiture to the partition ?? If you did the damage may not be recoverable. Jason -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]