Renaming files
Sorry for the length of this thought I should be VERY clear as to the limited scope of what I'm doing. Bob, I use mmv out of habit. It does more than mv and I've used those functions in the past -- rather than try to remember which functions mv does not do. OK -- when I followed up on that old thread about renaming files I didn't specify WHY I wanted to do it. It's from a thread I started in the procmail-users list. Thanks for all the various ideas. I'm staying with the for-loop for simplicity's sake and because this will never see that many files. What I am doing is setting up a way for the net-idiot type users of a Volkswagen related list I am on to post images without them having to learn html, find a host, or resort to pop-up laden free hosts. No attachments allowed to the list and I'm all for that, it's email. This started because the listmaster was considering going to a web-forum setup so images could be displayed. I would drop membership. I'm a member because the email comes to me, i don't have to remember to log in at some web page every few days, nor am I forced to use a graphical interface if I don't want to. I got my procmail/metamail difficulties worked out. If an email is sent to a specific address I have set up then procmail grabs it. Procmail saves the original headers in a temporary folder then passes it to metamail. Metamail takes out the mime parts and saves those. It saves the message body using a random name it generates and saves any other attachments with the names indicated in the mime parts. I am ONLY worried about gif, jpg, and bmp files. I don't care about other files and won't make them available. Below is the short script I have working to handle the graphic files and create a text file of links to their future web location. All directories cleaned so it looks like it's all in /, but it's not (to reduce wrapping, I'm bad about long one-liners). I still have to add a bit to transfer the files to a web location when that is determined and use 'mail' to generate a message back to the list that contains the original text body of the message, the 'links' that were generated, and the name of the original sender. Since I can't seem to control the name that metamail uses for the saved text part I'll probably have to shift the known entities (graphic files and link text file) to another directory then 'cat' whatever is left inth the email text. Except, if some other file type is attached that will get tossed back in also -- ick. Also note the use of 'convert' to shrink bmp files by converting them to jpg -- love it when a WIN using friend sends me a 900K bmp that could have been a 100K jpg. The script:cat ~/bin/names #!/bin/bash typeset -i a=1 if [ `ls /t/*.jpg 2>/dev/null|wc -l` -gt 0 ] then for i in /t/*.jpg; do mmv "$i" /t/`date +%s`-$a.jpg; a=a+1; done if [ `ls /t/*.JPG 2>/dev/null|wc -l` -gt 0 ] then for i in /t/*.JPG; do mmv "$i" /t/`date +%s`-$a.jpg; a=a+1; done fi fi if [ `ls /t/*.gif 2>/dev/null|wc -l` -gt 0 ] then for i in /t/*.gif; do mmv "$i" /t/`date +%s`-$a.gif; a=a+1; done if [ `ls /t/*.GIF 2>/dev/null|wc -l` -gt 0 ] then for i in /t/*.GIF; do mmv "$i" /t/`date +%s`-$a.gif; a=a+1; done fi fi if [ `ls /t/*.bmp 2>/dev/null|wc -l` -gt 0 ] then for i in /t/*.bmp; do mmv "$i" /t/`date +%s`-$a.bmp; a=a+1; done if [ `ls /t/*.BMP 2>/dev/null|wc -l` -gt 0 ] then for i in /t/*.BMP; do mmv "$i" /t/`date +%s`-$a.bmp; a=a+1; done fi fi if [ `ls /t/*.bmp 2>/dev/null|wc -l` -gt 0 ] then for i in /t/*.bmp; do convert "$i" `basename "$i" .bmp`.jpg; rm -f "$i"; done fi if [ `ls /t/*.jpg 2>/dev/null|wc -l` -gt 0 ] then for i in /t/*.jpg; do echo "http://host.com/images/$i"; >>/t/links; done fi if [ `ls /t/*.gif 2>/dev/null|wc -l` -gt 0 ] then for i in /t/*.gif; do echo "http://host.com/images/$i"; >>/t/links; done fi -- Gerald http://www.phorce1.com http://www.buskatiers.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Darell Speirer/BJS/BJSERVICES is out of the office.
I will be out of the office from 12/21/2002 until 01/07/2003. I will respond to your message when I return. If you are in need of immediate assistance please resend to Barbara Day at [EMAIL PROTECTED] or call 281-357-2867. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ipchains and DHCP with kernel 2.4.20
On Sat, Jan 04, 2003 at 09:07:31PM -0800, Geoff Hunsicker wrote: > We are using kernel 2.4.20. When we try to use > ipchains it tells us it is not compatible with the > kernel. Is this because we have left out a kernel > option, or are ipchains no longer supported? There's an ipchains compatibility module, but the world's moved on to iptables. -- .''`. Baloo <[EMAIL PROTECTED]> : :' :proud Debian admin and user `. `'` `- Debian - when you have better things to do than to fix a system msg22477/pgp0.pgp Description: PGP signature
RE:Radeon Mobility M6/LY problem
windows me does that, me thinks m$/ati may use part of xfree86 Dean McEwan, If the drugs don't work, [sarcasm] take more...[/sarcasm]. On Sat, 04 Jan 2003 14:04:33 -0500 Matt Casey <[EMAIL PROTECTED]> wrote: --- Begin Message --- Greetings, I recently purchased an hp pavilion xt345 laptop, which has an ATI Radeon Mobility M6 video card. Following some things that I'd read online, I used the 'radeon' driver in my X configuration. My problem is this: about 1/2 the time when I start X, something goes wrong and it appears as if some sort of refresh rate is incorrect. It's clearly trying to display the correct thing, but it shows things out of place and 'shaking'. If I switch to a terminal and back into X a few times, the problem goes away (until I switch back to a terminal again). Sometimes X starts up fine. The same problems happen when I use radeon-fb. Any ideas on what could be wrong? I would think that it has to do with the refresh rates in my X config file, but I don't understand why it would work fine half the time, in that case. Please CC me in any replies. Thanks! --Matt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] --- End Message ---
spamassassin setup / exim
okay, i've browsed dman's spamassassin setup at and i've got it, well, doing something... it seems to add a whole new slew of headers, a blank line and then repeats the original headers and message: From [EMAIL PROTECTED] Sat Jan 04 23:50:16 2003 Return-path: <[EMAIL PROTECTED]> Envelope-to: [EMAIL PROTECTED] Received: from mail by server with spam-scanned (Exim 3.35 #1 (Debian)) id 18V3fr-63-00 for <[EMAIL PROTECTED]>; Sat, 04 Jan 2003 23:50:16 -0600 Message-Id: From: [EMAIL PROTECTED] Bcc: Date: Sat, 04 Jan 2003 23:50:16 -0600 >From [EMAIL PROTECTED] Sat Jan 4 23:50:16 2003 Received: from duo ([192.168.1.2] helo=duo.lan) by server with esmtp (Exim 3.35 #1 (Debian)) id 18V3fr-5v-00 for <[EMAIL PROTECTED]>; Sat, 04 Jan 2003 23:50:15 -0600 Received: from will by duo.lan with local (Exim 3.35 #1 (Debian)) id 18V3eN-8I-00 for <[EMAIL PROTECTED]>; Sat, 04 Jan 2003 23:48:43 -0600 To: [EMAIL PROTECTED] Subject: second Message-Id: <[EMAIL PROTECTED]> From: will trillich <[EMAIL PROTECTED]> Date: Sat, 04 Jan 2003 23:48:43 -0600 X-Spam-Status: No, hits=0.9 required=5.0 tests=FROM_AND_TO_SAME version=2.20 X-Spam-Level: two aaugh! my spam-relevant exim.conf portions are: # Spam Assassin Transport spamcheck: driver = pipe command = /usr/sbin/exim -oMr spam-scanned -bS transport_filter = /usr/bin/spamc -u ${local_part} bsmtp = all home_directory = "/tmp" current_directory = "/tmp" # must use a privileged user to set $received_protocol on the way back in! user = mail group = mail return_path_add = false log_output = true return_fail_output = true prefix = suffix = # Spam Assassin Director spamcheck_director: # do not use this director when verifying a local-part at SMTP-time no_verify # When to scan a message : # - it isn't already flagged as spam # - it isn't already scanned # - it didn't originate locally (as long as I don't harbor spammers :-)) condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}} {!eq {$received_protocol}{local}} } {1}{0}}" driver = smartuser transport = spamcheck where'd i go wrong? -- I use Debian/GNU Linux version 3.0; Linux server 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown DEBIAN NEWBIE TIP #56 from Vineet Kumar <[EMAIL PROTECTED]> : Troubled by DOS-FORMAT OR MAC-FORMAT TEXT FILES? Here's another way to deal with those troublesome ^M characters: a simple tr -d '\015' < dos.file > reg.file should do the trick. While we're on the subject, a Mac file can be converted with tr '\015' '\012' < mac.file > reg.file You can do all your CR/LF translations with tr as long as you can remember that macs use CRs, *nices use LFs, and DOS uses CR+LF. Also see http://newbieDoc.sourceForge.net/ ... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Squirrelmail/uw-imap start up problems
On Sat, 4 Jan 2003, Derrick 'dman' Hudson wrote: > I would assume the version in sid has the fix. It does indeed. For those who don't want to use a package from sid, I also have a backport to woody available from http://www.braincells.com/open/ I don't think it is the same problem as #152219 but probably similiar so an upgrade should help. But then again using dovecot would probably help even more. :) -- Jaldhar H. Vyas <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Will my fonts every look good?
"Stig Are M. Botterli" <[EMAIL PROTECTED]> writes: > In article <[EMAIL PROTECTED]>, Bill Moseley >wrote: >> >> $ dpkg -l | grep font >> >> ii gsfonts-x110.16 Make Ghostscript fonts available to X11. > > This package is a real uglificator. Replace it with a dummy equiv. Why do you say that? That package makes the PostScript fonts included with the GhostScript PS interpreter available to X. My experience has been that PostScript fonts are generally superior to bitmapped fonts, except at what these days are unusually low resolutions; if you want a non-standard resolution, bitmapped fonts are right out. I'd actually consider this package essential to coming up with font support that doesn't suck. -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /etc/resolv.conf keeps getting overwritten
alex <[EMAIL PROTECTED]> [2003-01-04 19:54:47 -0500]: > For the benefit of someone who doesn't have much experience > and occasionally has a problem understanding > generalizations, could you elaborate a bit on these? Let me try. > "A better solution is to edit /etc/dhclient.conf. Since dhcpclient is a conf file directly it has a very simple syntax. It describes what someone wants to do but without saying how it will be done. This separates the method from the madness. Right now the dhcp-script is a '#!/bin/sh' script. But in the future one might want to make that a '#!/usr/bin/env ruby' script instead. The implementation could be very different in the future. If you have made changes to the script then you might find it hard to merge your changes into the new methodology. But the configuration file should be simpler and might even be either fully compatible or automatically translatable. Regardless, if it is marked as a conffile then when dpkg tries to update it you will get asked interactively if you want to replace it with the new one or keep your old one. If you have made changes you will need to decide how to handle it at that time. If you are not sure then it is safe to copy off the old, then say replace with new, and then merge your changes in again with the new conf file. That way you keep up with package changes. > > Use one of > > append search foo.example bar.example > > prepend search foo.example bar.example > > depending on the effect you want. " > And, what effect might someone want? This affects your search order. Without either it is your current domain. But if you are adding a new one you might want to put it either before or after. I will assume DHCP since that is the simpler client case. What typically exists is that someone sets up a domain, fake or otherwise, for themselves. But they want to use their ISP's news server. So the append the ISP's domain to their search path. search dhcpserver-domain.home isp.com This way when 'news' is resolved it will not find one locally and will fall through to finding the ISP's news server. But other names in the local domain take precedence. Conversely if they are using the ISP's DHCP they will get the ISP domain by default. They may want to set up their own network names for other things and would 'prepend' their own fake domain. This way they could print to their network printer 'inkjet.jones.home' without any problem of colliding with injet.dhcpserver-domain-at-isp.com. search jones.home dhcpserver-domain-at-isp.com This is all contrived but perhaps helps to explain things. Bob msg22472/pgp0.pgp Description: PGP signature
Re: no modules after kernel compile
Robert Storey <[EMAIL PROTECTED]> writes: > Part 3 of my "kernel compile saga." > > My new kernel compiles OK, it boots OK, but there are no modules. Typing > lsmod shows no modules loaded, even though /etc/modules says: ... > A look in directory /lib/modules/2.4.19/kernel/drivers confirms that the > directory is empty. I can find compiled drivers in > /usr/src/linux-2.4.19/drivers, but I don't know how to get these to > install. How did you build your kernel? If you used kernel-package, all of the magic should just happen, and the module files should be in the generated kernel-image .deb file. If you didn't, did you run 'make modules_install'? Also, if you didn't select anything in your kernel configuration to be built as modules, you just won't have modules, even though you might have all of the drivers you care about built into your kernel. -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: config X under woody -- SOLVED... and yet...
i'm still trying to get enough pixels displayed on my monitor so that if i decide to start up mozilla, i can see the entire window. :) 1024x768 doesn't seem to be in the X-app designer's lexicon! (and i *know* i had more pixels in X when i was running potato.) alas... On Sat, Dec 14, 2002 at 04:23:25PM +1100, Rob Weir wrote: > On Thu, Dec 12, 2002 at 02:44:59PM +, Pigeon wrote: > > It would be useful to pure Linux users - possibly including the OP - > > if there was some Linux tool that did this, so xf86config et al. could > > say "Your monitor appears to be an ADI MS-5P+, accept/change" or > > something like that, combined of course with a file listing many > > different monitors' capabilities. > > Install 'discover', 'mdetect' and 'read-edid' before X and debconf will > be able to autodetct most things for your X config. This is noted in > both the xserver-xfree86 Suggests:, and the install documentation. OP here... i tried "get-edid" from the "read-edid" package and this shows up on screen*: > # get-edid get-edid: get-edid version 1.4.1 Performing real mode VBE call Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0 Function supported Call successful VBE version 200 VBE string at 0xc7659 "Matrox Graphics Inc." VBE/DDC service about to be called Report DDC capabilities Performing real mode VBE call Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0 Function supported Call successful Monitor and video card combination does not support DDC1 transfers Monitor and video card combination does not support DDC2 transfers 0 seconds per 128 byte EDID block transfer Screen is not blanked during DDC transfer Reading next EDID block VBE/DDC service about to be called Read EDID Performing real mode VBE call Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0 Function supported Call failed The EDID data should not be trusted as the VBE call failed EDID claims 255 more blocks left EDID blocks left is wrong. Your EDID is probably invalid. < *i say "on screen" because i saw it flash by briefly before my screen went whole-hog dead -- i can run it from a remote ssh session and i can see (and cut and paste) the whole thing. (this is generated on stderr, of course); i try piping get- into parse- like so # get-edid | parse-edid > edid.out and it yields very suspicious stuff: > # EDID version 255 revision 255 Section "Monitor" Identifier "___:" VendorName "___" ModelName "___:" # DPMS capabilities: Active off:yes Suspend:yes Standby:yes Mode"4095x4095" # vfreq 9.770Hz, hfreq 80.018kHz DotClock655.35 HTimings4095 4350 4605 8190 VTimings4095 4158 4221 8190 Flags "Interlace" "+HSync" "+VSync" EndMode Mode"4095x4095" # vfreq 9.770Hz, hfreq 80.018kHz DotClock655.35 HTimings4095 4350 4605 8190 VTimings4095 4158 4221 8190 Flags "Interlace" "+HSync" "+VSync" EndMode Mode"4095x4095" # vfreq 9.770Hz, hfreq 80.018kHz DotClock655.35 HTimings4095 4350 4605 8190 VTimings4095 4158 4221 8190 Flags "Interlace" "+HSync" "+VSync" EndMode Mode"4095x4095" # vfreq 9.770Hz, hfreq 80.018kHz DotClock655.35 HTimings4095 4350 4605 8190 VTimings4095 4158 4221 8190 Flags "Interlace" "+HSync" "+VSync" EndMode EndSection < this most aggravating thing is that IT BORKS MY SYSTEM, including locking up the monitor (all x displays gone, sometimes i get a blinking text/console cursor at top left, sometimes not) and my keyboard (typing "reset" or "ctl-alt-backspace" or "ctl-alt-del" do nothing)... i can generate new ssh sessions and do an orderly shutdown, but killing various processes (such as X) do no good. reboot seemed the only salve to put on the wound. much frown, here. # cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 7 model name : AMD-K6tm w/ multimedia extensions stepping: 0 cpu MHz : 267.276 cache size : 64 KB fdiv_bug: no hlt_bug : no sep_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 10 mmx bogomips: 532.48 any ideas how i can probe my hardware without ki
Re: /etc/resolv.conf keeps getting overwritten
Colin Watson <[EMAIL PROTECTED]> [2003-01-05 03:58:02 +]: > On Sat, Jan 04, 2003 at 05:23:13PM -0600, Ron Johnson wrote: > > Of course, if apt-get ever updates dhclient, the package may overwrite > > /etc/dhclient-script, so keep a seperate copy > > No, it won't. /etc/dhclient-script is marked as a conffile, so if you've > made local changes then they will be preserved; you'll be prompted to > merge changes from the package's copy if there are any. How is it possible to know that it is marked as a conffile? Being a script I would not expect it to be conffile. But being in /etc/ I expect it would be a conffile. One can pull the package source and look in the debian directory for the dhcp-client.conffiles and see if it is listed there, or look in /var/lib/dpkg/info/dhcp-client.conffiles where it is installed. But I believe those are more complicated methods than the newbie would be expected to execute. Is there an easier way? I have not been able to find a way to, say, query dpkg's database for this information more directly. Thanks Bob msg22469/pgp0.pgp Description: PGP signature
Re: initializing linux partitions after installation
Nori Heikkinen <[EMAIL PROTECTED]> writes: > now my question is: during setup and installation, i partitioned off > my hard drive into a swap partition /, /usr, /var, /tmp, and /home. i > initialized the swap and the first three of the others, but then i > stopped, and moved on to the rest of the installation. now i don't > have /tmp or /home initialized or mounted. how do i go back and do > this? For the remaining partitions, which you would like to mount as /tmp and /home, you must first create a file system on each and then mount them where you like, taking care to move over any files already created in the directories you will be using as a mount points so they are not left inaccessible. A word of caution, this all needs to be done as root and a few wrong key presses and you will be back at square one :( Please, please be very careful. I don't give allot of details and I glaze over some points as I have been following the saga of the frozen, then replaced machine on the list for a few days :) I'll explain how to get /home setup, /tmp will be pretty much the same without the need for moving over old files. Log your user out everywhere, X, VT's and then log in as root, don't su -. First you need to know what partition you want to use for /home. It is one of your unused ones so you can find it by first looking at all the partitions you have created on the disk: (Your setup will look slightly different of course.) # fdisk -l /dev/hda Device BootStart EndBlocks Id System /dev/hda1 * 1 1 8001 83 Linux /dev/hda2 217128520 82 Linux swap /dev/hda318 266 292+ 83 Linux /dev/hda4 267 1222 7679070 83 Linux ...then check what's mounted # mount /dev/hda3 on / type ext2 (rw,errors=remount-ro) proc on /proc type proc (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/hda1 on /boot type ext2 (rw,errors=remount-ro) By looking at what partitions are defined on the disk and what's mounted, you will be able to find the unused partitions. Based on this output, hda4 is defined but not currently mounted so we are going to ASSUME it is one of the partitions you didn't finish setting up during installation. You want to create a filesystem on that partition. Use whatever filesystem type you want, I am using ext2 in this example. # mke2fs /dev/hda4 Now you want to mount hda4 on some temporary mount point. If /mnt isn't in use it is a good candidate. # mount -t ext2 /dev/hda4 /mnt Make sure your user is logged out everywhere, we don't want to start moving stuff while some process is using it. Move your home dir to the temporary mount point. # mv /home/nori /mnt Then unmount hda4 from the temporary spot you stuck it. # umount /mnt ...and remount it on /home like so # mount -t ext2 /dev/hda4 /home You should then be all set, you will want to update /etc/fstab so hda4 always comes up mounted on /home, follow the format of the other entry's or post for more help. good luck, jereme -- +--+ Jereme Corrado <[EMAIL PROTECTED]> System Administrator Restorative Management Corp. "Let's call it an accidental feature." --Larry Wall -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: no modules after kernel compile
heya, well.. are you sure that your kernel compile compiled those as modules when you made your kernel? (a quick way to check is to grep through the /boot/config-) if so, try re-installing your kernel package .deb(s). there's a y/n question in the process that might keeps you from accidentally nuking your old drivers that might have kept you from putting in your new ones. if not, try insmod'ing them from where they are and see if nothing complains. if they really are the modules made with your kernel, they should slip in and out without any fuss, but if not there should be a good deal of said fuss (specifically, whining about unresolved symbols) hth, because all series suck after part III (just look at rocky, superman...) sean On Sun, Jan 05, 2003 at 12:05:04PM +0800, Robert Storey wrote: > Hi all, > > Part 3 of my "kernel compile saga." > > My new kernel compiles OK, it boots OK, but there are no modules. Typing > lsmod shows no modules loaded, even though /etc/modules says: > > msdos > via-rhine > ide-scsi > sg > agpgart > es1370 > parport > parport_pc > > A look in directory /lib/modules/2.4.19/kernel/drivers confirms that the > directory is empty. I can find compiled drivers in > /usr/src/linux-2.4.19/drivers, but I don't know how to get these to > install. Can I get away with just copying them one by one into their > proper location? Seems like a very Micky Mouse solution - I'd like to > know why they didn't install when I installed the kernel. > > Hoping someone can enlighten me. > > best regards, > Robert > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > msg22467/pgp0.pgp Description: PGP signature
Re: Desperate for Mplayer apt sources
On Sun, Jan 05, 2003 at 05:33:20PM +0800, Elijah wrote: > I'm trying to install Mplayer 386 or 686 via synaptic but it seems I > don't have libvidencore0. I checked out libvidencore0's dependency and > it requires libc6. It doesn't seem to accept my current libc6 (currently > installed) because it needs at least version 2.3 upwards. I've searched > the debian site and only found libc6 version 2.2.5. Can someone help me > find a newer version for this? If it's not in sid, it's probably at mariliat.free.fr. -- .''`. Baloo <[EMAIL PROTECTED]> : :' :proud Debian admin and user `. `'` `- Debian - when you have better things to do than to fix a system msg22466/pgp0.pgp Description: PGP signature
Re: Switching to GNOME2
On Sat, Jan 04, 2003 at 10:46:55PM -0600, Scott C. Linnenbringer wrote: > I'm very impressed with GTK2 and GNOME, and am indeed thinking about > switching from KDE, but what is the best way to do so in Debian? > Should I just use update-alternatives to change the window manager > and point my display manager to GNOME, or is there more I have to > do? Go grab gdm, select your session. When it asks, make it your default. This will prevent annoying your other users. -- .''`. Baloo <[EMAIL PROTECTED]> : :' :proud Debian admin and user `. `'` `- Debian - when you have better things to do than to fix a system msg22465/pgp0.pgp Description: PGP signature
Re: Strange Number Lock Behavior
On Sat, Jan 04, 2003 at 11:49:06PM -0500, Erinn wrote: > Hi, > > Previously, I had an all text Debian firewall. Everytime I would boot > it, the number lock would turn off. I thought it was specific to that > box until I installed Debian on my workstation. The behavior persists > and as I'd never witnessed it in any previous operating system, I > thought it was Debian-specific, and was wondering two things: > > 1. Has anyone else experienced this? All Linux users have. The kernel pretty much assumes the BIOS is an idiot and ignores it. > 2. If so, is there any way to stop it? Probably. Easiest is to hit number lock. 8:o) -- .''`. Baloo <[EMAIL PROTECTED]> : :' :proud Debian admin and user `. `'` `- Debian - when you have better things to do than to fix a system msg22464/pgp0.pgp Description: PGP signature
ipchains and DHCP with kernel 2.4.20
We are using kernel 2.4.20. When we try to use ipchains it tells us it is not compatible with the kernel. Is this because we have left out a kernel option, or are ipchains no longer supported? Also, we are trying to use DHCP to connect to our cable modem. We can ping systems on our ISP's net, but cannot get to systems outside the ISP's net. Does anyone have any ideas about what could be going on? Thanks in advance Geoff __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: avi, mpeg
heya, On Sun, Jan 05, 2003 at 06:29:32PM +0800, Elijah wrote: > Hi! > I'm having problems installing mplayer on my debian, does that command > up there ^ be enough to compile and create a deb? will I still need > dependencies like the mplayers in the apt sources? eg. libvidencore0 you know, i honestly don't remember, and unfortunately don't have access to the box i have it on because i'm 3000 miles away and there was a power outage a week or two ago :) i say give it a try, and if it doesn't work, you'll probably know why. in that case try installing the -dev versions of whatever libs mplayer needs and then debian/rules binary again, and if still that doesn't work, try the pre-compiled .deb binaries like other folks suggested as a last resort. hth sean msg22462/pgp0.pgp Description: PGP signature
Re: how to rename multiple files
Colin Watson <[EMAIL PROTECTED]> [2003-01-05 04:04:19 +]: > > And I've bumped into this. How *DOES* one test for the existence of > > ANY file with a given extension without getting a "too many arguments" > > error when there are multiple files? > > How about: > > find . -maxdepth 1 -name '*.jpg' -print | grep -q . Very nice. But if there _were_ thousands and thousands you spend cpu time grep'ing through all of them. As long as you have one you can quit early. How about this tweak? Of course you spawn one more process. But it is small and goes away quick. find . -maxdepth 1 -name '*.jpg' -print | head -n 1 | grep -q . Because I have now guarded the amount of data this produces I would probably use this following construct to test the existence of output. I would never do this without making sure the output is bounded to something reasonably small. In this case the maximum length of one filename. [ -n "$(find . -maxdepth 1 -name '*.jpg' -print | head -n 1)" ] Doing it this way instead of using the exit code I am trying to avoid the pipeline exit code problem. In older shells it was the return code of the last program to exit and not necessary the last program in the pipeline. Perhaps I am too paranoid these days. Does anyone know what the standards (SUSv3?) say about this? > (The first '.' and the '-print' are redundant with GNU find, but useful > on other systems.) But '-maxdepth 1' is a GNU find extension and so this won't work on other systems. Bob msg22461/pgp0.pgp Description: PGP signature
Re: how to rename multiple files
Colin Watson said: >> Took a couple of tries to get the syntax correct but I >> ended up with this: >> >> if [ `ls *.jpg 2>/dev/null|wc -l` -gt 0 ] >> >> then for i in *.jpg; do mmv "$i" `date +%s`-$a.jpg; a=a+1; done >> >> fi > > In general it's better to avoid putting backticks in the middle of ['s > arguments; it's just too fragile. Your arithmetic expansion looks a > bit > dodgy too. Extending my earlier mail, I'd use: > > export a=0 > find . -maxdepth 1 -name '*.jpg' -print | while read i; do > mmv "$i" "`date +%s`-$a.jpg" > a="$(($a+1))" > done > > -- > Colin Watson I cut out a bit too much of the script in my example (the dodgy math is missing parts above it). I'm working on completing the bit I have and will re-thread this with a new message (and an explanation) in a bit. G -- Gerald http://www.phorce1.com http://www.buskatiers.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
kdevelop - unmet dependencies
I'm running testing and would like to install kdevelop, but when I run apt-get install kdevelop I get the following: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: Sorry, but the following packages have unmet dependencies: kdevelop: Depends: kdelibs3 (>= 4:2.2.2-1) but it is not going to be installed Depends: kdebase-libs but it is not going to be installed E: Sorry, broken packages Is this truly a broken package, or is there something I need to fix on my end? I.e. install the unstable version of kdelibs3 and kdebase-libs? I'm concerned, however, that if I do this, that other apps will get messed up. Thanks Kevin -- Kevin Coyner mailto: [EMAIL PROTECTED] GnuPG key: 1024D/8CE11941 msg22458/pgp0.pgp Description: PGP signature
Re: Files saved to one directory Drive space consumed somewhere else
Thanks this seems to have fixed the problem. --- Travis Crump <[EMAIL PROTECTED]> wrote: > Denzil Kelly wrote: > > I downloaded an .iso and specified that it be > saved to > > /home/myhome/myiso, however, when doing this > wmmount > > shows that the / partition is the one actually > > decreasing in size as the file downloads. Does > anyone > > know why this might be happening? I have a 2 > drives in > > this box and they are patitioned as indicated > below. > > > > > How are you downloading it? If you left click an > iso link in mozilla > than mozilla will download it to /tmp and move it to > the final location > when it is done so that it can start downloading > before you select the > destination. You need to right click and save > target as if you want to > download directly to the destination. Other > programs may do something > similar. > > > -- > To UNSUBSCRIBE, email to > [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Switching to GNOME2
I'm very impressed with GTK2 and GNOME, and am indeed thinking about switching from KDE, but what is the best way to do so in Debian? Should I just use update-alternatives to change the window manager and point my display manager to GNOME, or is there more I have to do? Secondly, I want to customize the theme. I've decided to use Metacity, but I assume I have to use a GTK theme, too, to get the themed menubar, buttons, boxes, et cetera. I've been able to use apt to download some themes, but all of the ones I grab from Freshmeat only change the coloring scheme. The interface still looks the same other than a new color. Thirdly, I plan on using pan as my newsclient and am looking for a mailer. Sylpheed looks good, and it will be the one I intend to use if no others are found, but it doesn't utilize GTK2. What other options do I have? I've spent today googling and reading through mail archives, but I can't seem to figure this stuff out. Can anyone help? -- Scott C. Linnenbringer finger sl at eskimo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Strange Number Lock Behavior
Hi, Previously, I had an all text Debian firewall. Everytime I would boot it, the number lock would turn off. I thought it was specific to that box until I installed Debian on my workstation. The behavior persists and as I'd never witnessed it in any previous operating system, I thought it was Debian-specific, and was wondering two things: 1. Has anyone else experienced this? 2. If so, is there any way to stop it? I know it's kind of trivial but it's also a little annoying. Thanks, Erinn -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Revert Back to Gnome 1.4 from Gnome2
on Sat, Jan 04, 2003 at 07:24:28PM -0800, Itsik Aviad ([EMAIL PROTECTED]) wrote: > Hi > I would truly appreciat it if somone could tell me how to revert back > to Gnome 1.4 from Gnome2? IMO this should be filed as a packaging bug. Gnome2 should be distinguished from gnome1 / gnome1.4. Several other packages reflect this, though most are development or interpreter packages (e.g.: Perl, Python, etc.). The distinction and interoperability are significant enough that it matters in this case. Peace. -- Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/ What Part of "Gestalt" don't you understand? Geek for hire: http://kmself.home.netcom.com/resume.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mail server
On Sat, Jan 04, 2003 at 06:47:54PM -0600, Jeffrey Taylor wrote: > For these sites, route e-mail thru your ISP. (I use Postfix, not > exim, so the details are left as an exercise for the reader.) eximconfig will do the whole setup for you, including letting your home network join in (when it asks if there's any hosts we should be relaying for, enter 192.168.0.0/24 or whatever your home network is) -- .''`. Baloo <[EMAIL PROTECTED]> : :' :proud Debian admin and user `. `'` `- Debian - when you have better things to do than to fix a system msg22454/pgp0.pgp Description: PGP signature
Re: mail server
On Sat, Jan 04, 2003 at 07:23:15PM +0100, Raymond Gree wrote: > what should I setup in exim to allow this? It should already be doing so for the computer running exim. To enable it for your home network, you'll need something like this in your exim.conf. host_accept_relay = 127.0.0.1 : 192.168.0.0/24 This will let your home network join the fun. -- .''`. Baloo <[EMAIL PROTECTED]> : :' :proud Debian admin and user `. `'` `- Debian - when you have better things to do than to fix a system msg22453/pgp0.pgp Description: PGP signature
Re: how to rename multiple files
Fraser Campbell <[EMAIL PROTECTED]> [2003-01-04 21:51:21 -0500]: > On January 4, 2003 09:20 pm, the fabulous Gerald V. Livingston II wrote: > > > Thank you. Took a couple of tries to get the syntax correct but I > > ended up with this: > > > > if [ `ls *.jpg 2>/dev/null|wc -l` -gt 0 ] > > then for i in *.jpg; do mmv "$i" `date +%s`-$a.jpg; a=a+1; done > > fi What does 'mmv' buy you over using the more standard 'mv' in this example? Just curious. You were not using any of the mmv features that I could tell here. > If there were thousands of jpgs you'll probably still get a "too many > arguments" error with that for loop. I usually do something like this: > > ls *.jpg | while read i; do > mv "$i" `date +%s`-$a.jpg; a=a+1 > done > > If there are no files, no problem, if there are 10,000 files also no problem > (although there might be a faster way?). That works. I prefer 'xargs' myself. Consider this alternative, not replacement, example. Also you do have the shell to help you out with your unique name generation and I don't. (Of course I only have the 'echo' there for testing because I am paranoid that someone would cut and paste this literally.) The {} is replaced with each name read from standard input in turn. find . -name '*.jpg' -print0 | xargs -r0 -i echo mv {} /path/to/there/ However, if this is a command that is run frequently as I seem to recall the OP saying earlier in this thread then I would assume that it would not be possible to get up to ARG_MAX and would do the simpler for loop above. Bob msg22452/pgp0.pgp Description: PGP signature
Re: Desperate for Mplayer apt sources[SOLVED] ... Onto another problem with gnome :(
I hashed some outside apt sources and it somehow fixed up the dependencies of libxvidencore0, mplayer seems to download now. Thanks :) another prob: After rebooting I logged on the usual gnome wm but it just flashes a bit and throws me back to gdm. Kde works though. I figure the bogus outside sources could be the reason for all this I just updated gnome last night with plenty of errors (my fault for updating via damaged apt sources). My XF86 logs doesn't explain much or I could be looking at the wrong logs. Can anyone help? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Files saved to one directory Drive space consumed somewhere else
I am using mozilla --- nate <[EMAIL PROTECTED]> wrote: > Denzil Kelly said: > > I downloaded an .iso and specified that it be > saved to > > /home/myhome/myiso, however, when doing this > wmmount > > shows that the / partition is the one actually > > decreasing in size as the file downloads. Does > anyone > > know why this might be happening? I have a 2 > drives in > > this box and they are patitioned as indicated > below. > > how did you download it ? > > mozilla has a really annoying download method, it > downloads to /tmp > then copies it over to the final destination, sort > of like IE. I wonder > if there is a way to turn this "feature" off. > > in the meantime I reccomend something like wget to > download your ISO > it doesn't do that. > > if your not using mozilla what are you using? > > nate > > > > > -- > To UNSUBSCRIBE, email to > [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Desperate for Mplayer apt sources
On Sun, Jan 05, 2003 at 06:19:08PM +0800, Elijah wrote: > > > Actually, if you want to use mplayer, you _really_ should download the > > source from the main site http://www.mplayerhq.hu and compile it. > > > > Sean > > I've already done that and I'm having problems running it, gives me an > error in my configs or something (?). that's why I've decided to use the > debs instead. > > Elijah > > The source from www.mplayerhq.hu should include a debian directory. You should be able to create a deb by running "fakeroot debian/rules binary" in the top directory. -- Jerome msg22449/pgp0.pgp Description: PGP signature
Re: how to rename multiple files
On Sat, Jan 04, 2003 at 08:20:18PM -0600, Gerald V. Livingston II wrote: > Jamin W. Collins said: > > On Sat, Jan 04, 2003 at 07:00:03PM -0600, Gerald V. Livingston II > > wrote: > >> I want "TRUE" if there is one or more zzz.jpg files in a directory, > >> "FALSE" if there are zero of them. > > > > Assuming you don't want the names of the files, just whether they are > > there or not: > > > >ls *.ext 2> /dev/null | wc -l > > > > If there are no files you get a 0, if there are you get the number of > > them. Thus a non-zero result means TRUE and a zero result means > > FALSE. > > Thank you. Took a couple of tries to get the syntax correct but I > ended up with this: > > if [ `ls *.jpg 2>/dev/null|wc -l` -gt 0 ] > > then for i in *.jpg; do mmv "$i" `date +%s`-$a.jpg; a=a+1; done > > fi In general it's better to avoid putting backticks in the middle of ['s arguments; it's just too fragile. Your arithmetic expansion looks a bit dodgy too. Extending my earlier mail, I'd use: export a=0 find . -maxdepth 1 -name '*.jpg' -print | while read i; do mmv "$i" "`date +%s`-$a.jpg" a="$(($a+1))" done Your mileage may of course vary, though. -- Colin Watson [[EMAIL PROTECTED]] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to rename multiple files
On Sat, Jan 04, 2003 at 06:58:18PM -0700, Mark Zimmerman wrote: > shopt -s nullglob > SOME=FALSE > MATCH=*.jpg > for f in $MATCH; do SOME=TRUE; break; done > > I tried [ -z $MATCH ] also but it always fails even though echo $MATCH > prints an empty string. You probably need to double-quote "$MATCH" like so. -- Colin Watson [[EMAIL PROTECTED]] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Files saved to one directory Drive space consumed somewhere else
Denzil Kelly wrote: I downloaded an .iso and specified that it be saved to /home/myhome/myiso, however, when doing this wmmount shows that the / partition is the one actually decreasing in size as the file downloads. Does anyone know why this might be happening? I have a 2 drives in this box and they are patitioned as indicated below. How are you downloading it? If you left click an iso link in mozilla than mozilla will download it to /tmp and move it to the final location when it is done so that it can start downloading before you select the destination. You need to right click and save target as if you want to download directly to the destination. Other programs may do something similar. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: There is no place like Sarge.... Knoppix must go.
On Sat, 04 Jan 2003 19:02:32 + "Chris Lale" <[EMAIL PROTECTED]> wrote: > Dan Hunt wrote: > > I had decided Knoppix 3.1 could be installed on my old windows > > Are you trying to use Knoppix to install Debian? There are instructions > at http://www.linuxworld.com/site-stories/2002/1104.barr_p.html No, I ran apt-get update "without" changing the etc/apt/sources.list and it "broke" the apt-get in Knoppix. "Pretty easy, really. I added deb http://security.debian.org stable/updates main contrib non-free to my /etc/apt/sources.list, then ran apt-get update and apt-get upgrade. The whole process took me about 10 minutes." In my Canadian 10 minutes, I had decided I wanted to go back to Sarge! I guess if I try hard enough I can break anything. Thank You! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
no modules after kernel compile
Hi all, Part 3 of my "kernel compile saga." My new kernel compiles OK, it boots OK, but there are no modules. Typing lsmod shows no modules loaded, even though /etc/modules says: msdos via-rhine ide-scsi sg agpgart es1370 parport parport_pc A look in directory /lib/modules/2.4.19/kernel/drivers confirms that the directory is empty. I can find compiled drivers in /usr/src/linux-2.4.19/drivers, but I don't know how to get these to install. Can I get away with just copying them one by one into their proper location? Seems like a very Micky Mouse solution - I'd like to know why they didn't install when I installed the kernel. Hoping someone can enlighten me. best regards, Robert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Files saved to one directory Drive space consumed somewhere else
On Sat, Jan 04, 2003 at 07:39:18PM -0800, Denzil Kelly wrote: > I downloaded an .iso and specified that it be saved to > /home/myhome/myiso, however, when doing this wmmount > shows that the / partition is the one actually > decreasing in size as the file downloads. Does anyone > know why this might be happening? I have a 2 drives in > this box and they are patitioned as indicated below. > > Filesystem 1k-blocks Used Available > Use% Mounted on > /dev/hda2 768744425720303972 > 59% / > /dev/hda1 8657 4710 3500 > 58% /boot > /dev/hdb6 5763616 1177980 4292856 > 22% /usr > /dev/hdb7 11535344 2025656 8923720 > 19% /home > /dev/hda5 2700988 1843620720156 > 72% /oldhome The file could be initially downloading into /tmp. Since you don't have a separate partition for /tmp, it is located in your / partition. -- Jerome msg22443/pgp0.pgp Description: PGP signature
Re: Files saved to one directory Drive space consumed somewhere else
Are you watching the filesapce *AS* the file downloads? Perhaps whatever you are downloading with is using /tmp to save the file until it's complete and you don't have /tmp on a separate partition. G Denzil Kelly said: > I downloaded an .iso and specified that it be saved to > /home/myhome/myiso, however, when doing this wmmount > shows that the / partition is the one actually > decreasing in size as the file downloads. Does anyone > know why this might be happening? I have a 2 drives in > this box and they are patitioned as indicated below. > > Filesystem Mounted on > /dev/hda2 / > /dev/hda1 /boot > /dev/hdb6 /usr > /dev/hdb7 /home > /dev/hda5 /oldhome > -- Gerald http://www.phorce1.com http://www.buskatiers.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: kernel compile error
Rodrigo F. Baroni said: > /usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h:48: > `smp_num_cpus' undeclared (first use in this function) A guess for a workaround would be to check to see if SMP is enabled in the config, if it is, turn it off. If it is not, turn it on, and see if that helps. nate -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to rename multiple files
On Sat, Jan 04, 2003 at 07:00:03PM -0600, Gerald V. Livingston II wrote: > Colin Watson said: > > On Tue, Dec 10, 2002 at 11:20:31AM -0800, Osamu Aoki wrote: > >> if [ -e *.JPG ]; then for i in *.JPG; do mv "$i" "${i%.JPG}.jpg"; > >> done fi > > > > That -e test looks dreadful ... surely it'll usually expand to lots of > > arguments which will confuse [, or perhaps to an empty string > > (nullglob) > > which will also confuse test? > > And I've bumped into this. How *DOES* one test for the existence of > ANY file with a given extension without getting a "too many arguments" > error when there are multiple files? How about: find . -maxdepth 1 -name '*.jpg' -print | grep -q . ? This keeps the shell's wildcard expansion comfortably out of the equation. (The first '.' and the '-print' are redundant with GNU find, but useful on other systems.) -- Colin Watson [[EMAIL PROTECTED]] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Files saved to one directory Drive space consumed somewhere else
Denzil Kelly said: > I downloaded an .iso and specified that it be saved to > /home/myhome/myiso, however, when doing this wmmount > shows that the / partition is the one actually > decreasing in size as the file downloads. Does anyone > know why this might be happening? I have a 2 drives in > this box and they are patitioned as indicated below. how did you download it ? mozilla has a really annoying download method, it downloads to /tmp then copies it over to the final destination, sort of like IE. I wonder if there is a way to turn this "feature" off. in the meantime I reccomend something like wget to download your ISO it doesn't do that. if your not using mozilla what are you using? nate -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Files saved to one directory Drive space consumed somewhere else
On Sat, Jan 04, 2003 at 07:39:18PM -0800, Denzil Kelly wrote: > I downloaded an .iso and specified that it be saved to > /home/myhome/myiso, however, when doing this wmmount shows that the / > partition is the one actually decreasing in size as the file > downloads. What are you using to download the file? Chances are that the file is actually downloading to /tmp during the retrieval process and then gets moved to /home/myhome/myiso after the download completes. -- Jamin W. Collins -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /etc/resolv.conf keeps getting overwritten
On Sat, Jan 04, 2003 at 05:23:13PM -0600, Ron Johnson wrote: > On Sat, 2003-01-04 at 16:25, Nori Heikkinen wrote: > > great, i just modified the script to add my info in each time. that > > should take care of it. thanks! > > Of course, if apt-get ever updates dhclient, the package may overwrite > /etc/dhclient-script, so keep a seperate copy No, it won't. /etc/dhclient-script is marked as a conffile, so if you've made local changes then they will be preserved; you'll be prompted to merge changes from the package's copy if there are any. It's a general principle of Debian policy that you should never be forced to keep a separate copy of locally changed files in /etc out of fear that a package may overwrite them [1], so even if they aren't conffiles packages have an absolute obligation to preserve your changes in that directory (although there's still some debate over whether big "do not change this file by hand; use this tool instead" markers at the top of files are acceptable). If you find that a package overwrites locally changed files in /etc on upgrade, please file a bug, probably with the "serious" severity. Somebody did a survey before woody released of packages with this problem, and we did a mass fixing session. I think the situation should be pretty good now on this front. [1] The subject of this thread is a counterexample, of course. Heh. I guess you just have to accept that DHCP clients need to edit /etc/resolv.conf in order to do their job. Is it possible to put comments in /etc/resolv.conf? If so, maybe they should start doing so. -- Colin Watson [[EMAIL PROTECTED]] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: System won't boot
On Sat, Jan 04, 2003 at 06:32:13PM -0500, Trey Sizemore wrote: > When attempting to boot my newly installed system, it gets as far as the > following and then stops with a kernel panic. Is this repairable, and if > so how. I am a relative newbie, so be as simple as possible. Any help > is greatly appreciated. Thanks. > > These are the last 4 lines when booting: > > kmod : failed to exec /sbin/modprobe -s -k block-major-33 errno=2 > VFS : cannot open root device "2105" or 21:05 Check your kernel config to see is low level support for your disk is compiled in and also root filesystem support. If they are modules, you need to use initrd to boot. > Please append a correct "root=" boot option > Kernel panic : VFS : Unable to mount root fs on 21:05 > > -Trey -- Jerome msg22436/pgp0.pgp Description: PGP signature
Re: console messages flit by too fast
On Sun, Jan 05, 2003 at 01:57:17AM +0800, Dan Jacobson wrote: > I can't believe this is still not solved. I boot the system. I see > some ominous warnings. They scroll by so fast and are gone. Yeah, every bug report you file must be dealt with as an emergency even if it really requires a redesign of the initscript system to do it properly. (Hint: people are working on it, but it's not easy.) Sarcastic comments like "I can't believe this is still not solved" about this kind of thing will not motivate anyone to work on it, especially when Ctrl-S Shift-PgUp is an easy workaround. Sorry. -- Colin Watson [[EMAIL PROTECTED]] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: USB Mouse not working ( contd )
On Sat, Jan 04, 2003 at 11:45:55AM -0800, suresh kumar sharma wrote: > Hi, > thanks for help ,but I am still not able to get the > usbmouse to work . > Here is what all I have done . > I loaded input,mousedev,usbcore,usb-uhci,and hid > modules . > I can see the red light in the mouse but it does not > work . > I already had /dev/input/mice and my XF86Config-4 file > points to /dev/input/mice. > I have attached my XF86Config-4 file along with this > mail ,if that helps .. > > if I do "cat /dev/input/mice".it says . > cat: /dev/input/mice: No such device If the device doesn't exit, you need to create it. One way is: mkdir /dev/input /bin/mknod /dev/input/mice c 13 63 The device should be owned by root.root with mode 0660. An alternative way, since you are booting a 2.4.20 kernel, is to mount devfs on /dev. For more info, see http://www.atnf.csiro.au/people/rgooch/linux/docs/devfs.html If your mouse has a wheel that also functions as a third button, you do not need Emulate3Buttons option. If your mouse does not have a wheel, you probably need to use the PS/2 protocol and not need ZAxisMapping option. > Content-Description: XF86Config-4 # Before the line "### BEGIN DEBCONF SECTION" you could add: Section "ServerLayout" Identifier "My Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "My Mouse" EndSection Section "InputDevice" Identifier "My Mouse" Driver "mouse" Option "CorePointer" Option "Device""/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection > ### BEGIN DEBCONF SECTION > # XF86Config-4 (XFree86 server configuration file) generated by dexconf, the > # Debian X Configuration tool, using values from the debconf database. > # > # Edit this file with caution, and see the XF86Config-4 manual page. > # (Type "man XF86Config-4" at the shell prompt.) > # > # If you want your changes to this file preserved by dexconf, only make changes > # before the "### BEGIN DEBCONF SECTION" line above, and/or after the > # "### END DEBCONF SECTION" line below. > # > # To change things within the debconf section, run the command: > # dpkg-reconfigure xserver-xfree86 > # as root. Also see "How do I add custom sections to a dexconf-generated > # XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz. > > Section "Files" > FontPath"unix/:7100"# local font server > # if the local font server has problems, we can fall back on these > FontPath"/usr/lib/X11/fonts/misc" > FontPath"/usr/lib/X11/fonts/cyrillic" > FontPath"/usr/lib/X11/fonts/100dpi/:unscaled" > FontPath"/usr/lib/X11/fonts/75dpi/:unscaled" > FontPath"/usr/lib/X11/fonts/Type1" > FontPath"/usr/lib/X11/fonts/Speedo" > FontPath"/usr/lib/X11/fonts/100dpi" > FontPath"/usr/lib/X11/fonts/75dpi" > EndSection > > Section "Module" > Load"GLcore" > Load"bitmap" > Load"dbe" > Load"ddc" > Load"dri" > Load"extmod" > Load"freetype" > Load"glx" > Load"int10" > Load"record" > Load"speedo" > Load"type1" > Load"vbe" > EndSection > > Section "InputDevice" > Identifier "Generic Keyboard" > Driver "keyboard" > Option "CoreKeyboard" > Option "XkbRules" "xfree86" > Option "XkbModel" "pc104" > Option "XkbLayout" "us" > EndSection > > Section "InputDevice" > Identifier "Configured Mouse" > Driver "mouse" > Option "CorePointer" > Option "Device""/dev/psaux" > Option "Protocol" "PS/2" > Option "Emulate3Buttons" "true" > Option "ZAxisMapping" "4 5" > EndSection > > Section "InputDevice" > Identifier "Generic Mouse" > Driver "mouse" > Option "SendCoreEvents""true" > Option "Device""/dev/input/mice" > Option "Protocol" "ImPS/2" > Option "Emulate3Buttons" "true" > Option "ZAxisMapping" "4 5" > EndSection > > Section "Device" > Identifier "Generic Video Card" > Driver "ati" > EndSection > > Section "Monitor" > Identifier "Generic Monitor" > HorizSync 30-60 > VertRefresh 50-75 > Option "DPMS" > EndSection > > Section "Screen" > Identifier "Default Screen" > Device "Generic Video Card" > Monit
Files saved to one directory Drive space consumed somewhere else
I downloaded an .iso and specified that it be saved to /home/myhome/myiso, however, when doing this wmmount shows that the / partition is the one actually decreasing in size as the file downloads. Does anyone know why this might be happening? I have a 2 drives in this box and they are patitioned as indicated below. Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda2 768744425720303972 59% / /dev/hda1 8657 4710 3500 58% /boot /dev/hdb6 5763616 1177980 4292856 22% /usr /dev/hdb7 11535344 2025656 8923720 19% /home /dev/hda5 2700988 1843620720156 72% /oldhome __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Revert Back to Gnome 1.4 from Gnome2
Hi I would truly appreciat it if somone could tell me how to revert back to Gnome 1.4 from Gnome2? Thanks Itsik __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: avi, mpeg
On Sun, Jan 05, 2003 at 06:29:32PM +0800, Elijah wrote: > > I'm having problems installing mplayer on my debian, does that command > up there ^ be enough to compile and create a deb? will I still need > dependencies like the mplayers in the apt sources? eg. libvidencore0 > I think you need the dev version of the above packages. Before you compile your own, have you tried the precompiled versions of mplayer from Christian Marillat's site? He has all the dependent packages there. Check out: http://marillat.free.fr/ Alternately, you can add the following line to your apt/sources.list deb http://marillat.free.fr/ testing main Regards, -- Sridhar M.A. There's no such thing as a free lunch. -- Milton Friendman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Chat servers
On Sat, Jan 04, 2003 at 08:52:30PM -0600, Jacob S. wrote: > Thanks to all for all the suggestions. Does anyone know of a client or > server implementation for irc or jabber that could be embedded into an > html webpage, thus allowing users to login and chat w/o having to > install additional software? There are PHP, Perl, and Java (to name only a few) libraries for Jabber. For a partial listing of clients, take a look here: http://www.jabberstudio.org/project/?cat=5 -- Jamin W. Collins -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
kernel compile error
Hello all, When I do %make bzImage to a 2.4.18 kernel source in a 233Mhz Pentium Pc (lmr 591 mother board), the follow error appear: In file included from ksyms.c:17: /usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h: In function `kstat_irqs': /usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared (first use in this function) /usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h:48: (Each undeclared identifier is reported only once /usr/src/kernel-source-2.4.18/include/linux/kernel_stat.h:48: for each function it appears in.) make[2]: *** [ksyms.o] Error 1 make[2]: Leaving directory `/usr/src/kernel-source-2.4.18/kernel' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/kernel-source-2.4.18/kernel' make: *** [_dir_kernel] Error 2 Does anybody knows what is going on? I tryed to compile setting to processors 586/Pentium Classic/Pentium Pro-II/Pentium III where the only that got compile at all it was that to Pentium III (although it isn't my processor) but giving a message about "clock" and doesn't get booting. I have spend some good time since this. Any suggestion it's welcome. Rodrigo F Baroni ___ Busca Yahoo! O melhor lugar para encontrar tudo o que você procura na Internet http://br.busca.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Chat servers
On Fri, 3 Jan 2003 22:18:04 -0600 "Jamin W. Collins" <[EMAIL PROTECTED]> wrote: > On Fri, Jan 03, 2003 at 09:13:52PM -0600, Jacob S. wrote: > > > Does anyone know of some good chat server software other than irc > > that doesn't use Java? (Preferably open source). > > Take a look at Jabber. It's more than capable of providing chat > services, and it's Open Source. Thanks to all for all the suggestions. Does anyone know of a client or server implementation for irc or jabber that could be embedded into an html webpage, thus allowing users to login and chat w/o having to install additional software? I'm not currently aware of any, which is the reason I was looking at something along the lines of what phpgroupware offers, instead of something like irc or IM. TIA, Jacob - GnuPG Key: 1024D/16377135 In a world without fences, who needs Gates? http://www.linux.org/ msg22428/pgp0.pgp Description: PGP signature
Re: how to rename multiple files
On January 4, 2003 09:20 pm, the fabulous Gerald V. Livingston II wrote: > Thank you. Took a couple of tries to get the syntax correct but I > ended up with this: > > if [ `ls *.jpg 2>/dev/null|wc -l` -gt 0 ] > > then for i in *.jpg; do mmv "$i" `date +%s`-$a.jpg; a=a+1; done > > fi If there were thousands of jpgs you'll probably still get a "too many arguments" error with that for loop. I usually do something like this: ls *.jpg | while read i; do mv "$i" `date +%s`-$a.jpg; a=a+1 done If there are no files, no problem, if there are 10,000 files also no problem (although there might be a faster way?). Fraser -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to rename multiple files
Hi, "Gerald V. Livingston II" <[EMAIL PROTECTED]> writes: > Colin Watson said: > >> On Tue, Dec 10, 2002 at 11:20:31AM -0800, Osamu Aoki wrote: >>> if [ -e *.JPG ]; then for i in *.JPG; do mv "$i" "${i%.JPG}.jpg"; >>> done fi >> >> That -e test looks dreadful ... surely it'll usually expand to lots of >> arguments which will confuse [, or perhaps to an empty string >> (nullglob) >> which will also confuse test? >> >> -- >> Colin Watson >> [[EMAIL PROTECTED]] > > And I've bumped into this. How *DOES* one test for the existence of > ANY file with a given extension without getting a "too many arguments" > error when there are multiple files? > > I want "TRUE" if there is one or more zzz.jpg files in a directory, > "FALSE" if there are zero of them. Try list=`echo *.jpg` case $list in '*.jpg') echo "nothing to be done";; *) for i in $list; do mv $i `basename $i .jpg`.jpeg; done esac - Hari -- Raja R Harinath -- [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: console messages flit by too fast
Hi, * Dan Jacobson <[EMAIL PROTECTED]> [2003-01-04 18:57]: >I can't believe this is still not solved. I boot the system. I see >some ominous warnings. They scroll by so fast and are gone. Scroll back. Shift-PgUp/Shift-PgDown Thorsten -- It is exactly because markets are amoral that we cannot leave the allocation of resources entirely to them. - George Soros -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Desperate for Mplayer apt sources
Hi, ok, just tried it. But it seems that it still has 2.2.5 displayed on the available versions (??). That's weird ... Can having too many sources on my sources.list cause problems?? cause I think I'm having some now. I think I'll hash some of it... Elijah On Sun, 2003-01-05 at 09:53, Seneca wrote: > On Sun, Jan 05, 2003 at 05:33:20PM +0800, Elijah wrote: > > I'm trying to install Mplayer 386 or 686 via synaptic but it seems I > > don't have libvidencore0. I checked out libvidencore0's dependency and > > it requires libc6. It doesn't seem to accept my current libc6 (currently > > installed) because it needs at least version 2.3 upwards. I've searched > > the debian site and only found libc6 version 2.2.5. Can someone help me > > find a newer version for this? > > libc6 2.3 is in sid. > > Try this line in your sources.list (if you don't want sid): > > deb http://marillat.free.fr/ stable main > > -- > Seneca > [EMAIL PROTECTED] > > > -- > 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: how to rename multiple files
Jamin W. Collins said: > On Sat, Jan 04, 2003 at 07:00:03PM -0600, Gerald V. Livingston II > wrote: > >> I want "TRUE" if there is one or more zzz.jpg files in a directory, >> "FALSE" if there are zero of them. > > Assuming you don't want the names of the files, just whether they are > there or not: > >ls *.ext 2> /dev/null | wc -l > > If there are no files you get a 0, if there are you get the number of > them. Thus a non-zero result means TRUE and a zero result means > FALSE. > > -- > Jamin W. Collins Thank you. Took a couple of tries to get the syntax correct but I ended up with this: if [ `ls *.jpg 2>/dev/null|wc -l` -gt 0 ] then for i in *.jpg; do mmv "$i" `date +%s`-$a.jpg; a=a+1; done fi Works beautifully. (I ripped out the directory names to prevent wrapping as that stuff is all buried deep in /home/username/.) G -- Gerald http://www.phorce1.com http://www.buskatiers.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: avi, mpeg
On Sun, 2003-01-05 at 10:04, sean finney wrote: > i've used a small handful of apps to do this. my current favorite is > mplayer. it plays almost anything i can give it, it's not horribly bloated > or buggy, and though it isn't directly available via apt-get, it ships > with a debian directory in its source. this means you can > > # ./debian/rules binary > > and have a .deb package that you can install just like anything else > with dpkg. > > > sean > Hi! I'm having problems installing mplayer on my debian, does that command up there ^ be enough to compile and create a deb? will I still need dependencies like the mplayers in the apt sources? eg. libvidencore0 Elijah -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[SOLVED] CMI9738 sound driver
Hi all, Thanks to all who have replied to my post regarding CMI 9738 chipset audio driver. CMI9738 at least in my case was somewhat misleading as I later found as on my board there is SiS 7012 audio accelerator. Driver that is actually needed was i810_audio.o driver (I found sndconfig package to be of great help). Now I can finally enjoy my collection of mp3s :-) Take care, Davor -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Desperate for Mplayer apt sources
On Sun, Jan 05, 2003 at 05:33:20PM +0800, Elijah wrote: > Hello, > > I'm trying to install Mplayer 386 or 686 via synaptic but it seems I > don't have libvidencore0. I checked out libvidencore0's dependency and > it requires libc6. It doesn't seem to accept my current libc6 (currently > installed) because it needs at least version 2.3 upwards. I've searched > the debian site and only found libc6 version 2.2.5. Can someone help me > find a newer version for this? Add the following to your sources.list: deb http://marillat.free.fr stable main $ apt-cache show libxvidencore0 Package: libxvidencore0 Priority: optional Section: libs Installed-Size: 572 Maintainer: Christian Marillat <[EMAIL PROTECTED]> Architecture: i386 Source: xvid Version: 20020822-0.0 Depends: libc6 (>= 2.2.4-4) ^^ Filename: dists/stable/main/binary-i386/libxvidencore0_20020822-0.0_i386.deb Size: 137552 MD5Sum: aa692e8aba30e1204d5ce77888c08c8f Description: MPEG-4 Video encoder This codec is the open source video codec from Project Mayo, now developed by others people. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Desperate for Mplayer apt sources
> Actually, if you want to use mplayer, you _really_ should download the > source from the main site http://www.mplayerhq.hu and compile it. > > Sean I've already done that and I'm having problems running it, gives me an error in my configs or something (?). that's why I've decided to use the debs instead. Elijah -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: avi, mpeg
i've used a small handful of apps to do this. my current favorite is mplayer. it plays almost anything i can give it, it's not horribly bloated or buggy, and though it isn't directly available via apt-get, it ships with a debian directory in its source. this means you can # ./debian/rules binary and have a .deb package that you can install just like anything else with dpkg. sean On Sat, Jan 04, 2003 at 07:04:30PM -0500, Antonio Rodriguez wrote: > What would be the best to see some avi or mpeg movies? Or converter from avi > to mpeg? > Using woody 3.0 > Thanks > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > msg22418/pgp0.pgp Description: PGP signature
unsubscribe
-- Mikael Olsson <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Desperate for Mplayer apt sources
On Sun, 2003-01-05 at 04:33, Elijah wrote: > Hello, > > I'm trying to install Mplayer 386 or 686 via synaptic but it seems I > don't have libvidencore0. I checked out libvidencore0's dependency and > it requires libc6. It doesn't seem to accept my current libc6 (currently > installed) because it needs at least version 2.3 upwards. I've searched > the debian site and only found libc6 version 2.2.5. Can someone help me > find a newer version for this? > Actually, if you want to use mplayer, you _really_ should download the source from the main site http://www.mplayerhq.hu and compile it. Sean -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Desperate for Mplayer apt sources
On Sun, Jan 05, 2003 at 05:33:20PM +0800, Elijah wrote: > I'm trying to install Mplayer 386 or 686 via synaptic but it seems I > don't have libvidencore0. I checked out libvidencore0's dependency and > it requires libc6. It doesn't seem to accept my current libc6 (currently > installed) because it needs at least version 2.3 upwards. I've searched > the debian site and only found libc6 version 2.2.5. Can someone help me > find a newer version for this? libc6 2.3 is in sid. Try this line in your sources.list (if you don't want sid): deb http://marillat.free.fr/ stable main -- Seneca [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to rename multiple files
05.01.2003 02:00:03, "Gerald V. Livingston II" <[EMAIL PROTECTED]> wrote: >I want "TRUE" if there is one or more zzz.jpg files in a directory, >"FALSE" if there are zero of them. One solution might be: ls | grep -q '\.jpg$' Cheers, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to rename multiple files
On Sat, Jan 04, 2003 at 07:00:03PM -0600, Gerald V. Livingston II wrote: > Colin Watson said: > > > On Tue, Dec 10, 2002 at 11:20:31AM -0800, Osamu Aoki wrote: > >> if [ -e *.JPG ]; then for i in *.JPG; do mv "$i" "${i%.JPG}.jpg"; > >> done fi > > > > That -e test looks dreadful ... surely it'll usually expand to lots of > > arguments which will confuse [, or perhaps to an empty string > > (nullglob) > > which will also confuse test? > > > > -- > > Colin Watson > > [[EMAIL PROTECTED]] > > And I've bumped into this. How *DOES* one test for the existence of > ANY file with a given extension without getting a "too many arguments" > error when there are multiple files? > > I want "TRUE" if there is one or more zzz.jpg files in a directory, > "FALSE" if there are zero of them. > This is icky but works: shopt -s nullglob SOME=FALSE MATCH=*.jpg for f in $MATCH; do SOME=TRUE; break; done I tried [ -z $MATCH ] also but it always fails even though echo $MATCH prints an empty string. -- Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: KDE3 -- wich packages to download
Andy wrote: Its a problem with some of the packages changing boundaries I think. What was the reason given for holding back the packages? It does not say. Only "The following packages have been kept back" There are 55 held back. I did not pay attention when it did some installing the first time around. I'm not sure exactly what that means but I just go ahead and install them. I'll bet apt-get install kdebase will install most of them. Every time Ralf upgrades the packages I get kdebase and konsole held back and I just do as I said above and usually everything works fine. I am running Ralf's latest right now. I _think_ this is caused by the non removal of some of the packages which are no longer in the release. I did it with a combination of aptitude and dpkg -r. I used aptitude to try and understand what the problem was, and dpkg -r to fix it (sometimes with --force-depends) This is probably true and apt-get install seems usually to fix it. Paul Scott -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to rename multiple files
On Sat, Jan 04, 2003 at 07:00:03PM -0600, Gerald V. Livingston II wrote: > And I've bumped into this. How *DOES* one test for the existence of > ANY file with a given extension without getting a "too many arguments" > error when there are multiple files? > > I want "TRUE" if there is one or more zzz.jpg files in a directory, > "FALSE" if there are zero of them. Assuming you don't want the names of the files, just whether they are there or not: ls *.ext 2> /dev/null | wc -l If there are no files you get a 0, if there are you get the number of them. Thus a non-zero result means TRUE and a zero result means FALSE. -- Jamin W. Collins -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Desperate for Mplayer apt sources
Hello, I'm trying to install Mplayer 386 or 686 via synaptic but it seems I don't have libvidencore0. I checked out libvidencore0's dependency and it requires libc6. It doesn't seem to accept my current libc6 (currently installed) because it needs at least version 2.3 upwards. I've searched the debian site and only found libc6 version 2.2.5. Can someone help me find a newer version for this? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: console messages flit by too fast
Dan Jacobson said: > Isn't there something that I can turn on to capture all these, or are we > too early in the startup? turn on serial console in lilo.conf, and check to be sure your kernel has serial console support. for 2.2.x kernels the options would be: CONFIG_SERIAL=y CONFIG_SERIAL_CONSOLE=y check /boot/config-`uname -r` I think the lilo setting is append="console=ttyS0" or something like that, run a google search for serial console linux and you'll find tons of matches. then when booting the machine, hook up the console to another system which can log the output of the process to a file, and you get your ulimited console buffer on the 2nd machine which is useful incase the first machine is crashing or something. > Am I supposed to boot my system thru some remote terminal like the > certainly must do a Linux Labs so they can scroll back? But I only have 1 > equipment and am not into learning something fancy. if you only have 1 system, I'd suggest getting another. you can get crappy computers pretty cheap these days. > Perhaps all the stupid questions I post about why I can't enter the audio > age could be solved if I didn't miss one of those ominous > messages that go by too fast. not sure. haven't read those messages. my opinion is for the best basic audio experience get a soundblaster PCI 128 (ES1370/ES1371), they run about $20 probably. I use them in all my linux machines that need sound. > > I hit ALT CTRL F1 etc. but I don't suppose those `man console(4)` tty can > be scrolled backwards. most likely if your booting directly into X the console log will be lost when X loads(at least if your using a display manager). Disable X from loading on boot and you can scroll back a certain amount(usually ~20 screens of data). And DO NOT CHANGE CONSOLES if your going to scroll, if you change to console #2 the scrollback buffer from the other console is immediately wiped. Which is why it's good to setup console on serial port. if you were in the U.S. I could sell you one of the computers I have, my former company gave me 15 systems for payment for some contracting work I did... nate -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Kernel hacking: building single module
* Bill Moseley <[EMAIL PROTECTED]> [2003-01-04 23:32]: > * Bill Moseley <[EMAIL PROTECTED]> [2003-01-04 19:15]: > > > Ok, that works, although it does a lot more work than I wished ;). > I suppose it has to go through the enter build process to build all > the dependencies. Nice if I could just rebuild the usb modules. > there is no problem in doing so: just make sure that you have exactly the same environment when you want to build the respective kernel module, i.e. make modules > module_build.dat grep module_build.dat then you can simply build that module and copy it at the right place by hand. -- that's the way I build my kernel modules. wbr, Lukas -- Lukas Ruf http://www.lpr.ch Wanna know anything about raw ip? Join [EMAIL PROTECTED] on http://www.rawip.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: console messages flit by too fast
On Sun, Jan 05, 2003 at 01:57:17AM +0800, Dan Jacobson wrote: > I can't believe this is still not solved. I boot the system. I see > some ominous warnings. They scroll by so fast and are gone. > E.g. something about mtab. Ok, cd /var/log; grep mtab * */* > Nothing. > > You will answer "oh, mtab, don't worry about that". > But the general problem of messages that appear at boot but go off the > screen is not solved for me still. Am I really supposed to hit ^S^Q > like back 30 years ago? What if I am not fast enough still? > > You will answer: that is the fault of whatever package author for also > not logging his message to syslog. But that isn't helping me: what > package? the name went by too fast. > > Isn't there something that I can turn on to capture all these, or are > we too early in the startup? Try using dmesg (or less /var/log/dmesg) > Perhaps all the stupid questions I post about why I can't enter the > audio age could be solved if I didn't miss one of those ominous > messages that go by too fast. Some clues as to the driver can sometimes be seen there. > I hit ALT CTRL F1 etc. but I don't suppose those `man console(4)` tty > can be scrolled backwards. The console can be scrolled backwards (SHIFT+PG_UP), you can only scroll what was put up after the last time you returned to it (in my experience). -- Seneca [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: console messages flit by too fast
Shift-PgUp? On Sun, Jan 05, 2003 at 01:57:17AM +0800, Dan Jacobson wrote: > I can't believe this is still not solved. I boot the system. I see > some ominous warnings. They scroll by so fast and are gone. > E.g. something about mtab. Ok, cd /var/log; grep mtab * */* > Nothing. > > You will answer "oh, mtab, don't worry about that". > But the general problem of messages that appear at boot but go off the > screen is not solved for me still. Am I really supposed to hit ^S^Q > like back 30 years ago? What if I am not fast enough still? > > You will answer: that is the fault of whatever package author for also > not logging his message to syslog. But that isn't helping me: what > package? the name went by too fast. > > Isn't there something that I can turn on to capture all these, or are > we too early in the startup? > > Am I supposed to boot my system thru some remote terminal like the > certainly must do a Linux Labs so they can scroll back? But I only > have 1 equipment and am not into learning something fancy. > > Perhaps all the stupid questions I post about why I can't enter the > audio age could be solved if I didn't miss one of those ominous > messages that go by too fast. > > I hit ALT CTRL F1 etc. but I don't suppose those `man console(4)` tty > can be scrolled backwards. > -- > http://jidanni.org/ Taiwan(04)25854780 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to rename multiple files
Colin Watson said: > On Tue, Dec 10, 2002 at 11:20:31AM -0800, Osamu Aoki wrote: >> if [ -e *.JPG ]; then for i in *.JPG; do mv "$i" "${i%.JPG}.jpg"; >> done fi > > That -e test looks dreadful ... surely it'll usually expand to lots of > arguments which will confuse [, or perhaps to an empty string > (nullglob) > which will also confuse test? > > -- > Colin Watson > [[EMAIL PROTECTED]] And I've bumped into this. How *DOES* one test for the existence of ANY file with a given extension without getting a "too many arguments" error when there are multiple files? I want "TRUE" if there is one or more zzz.jpg files in a directory, "FALSE" if there are zero of them. G -- Gerald http://www.phorce1.com http://www.buskatiers.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /etc/resolv.conf keeps getting overwritten
David Gardner wrote: Derrick 'dman' Hudson <[EMAIL PROTECTED]> wrote: A better solution is to edit /etc/dhclient.conf. Use one of append search foo.example bar.example prepend search foo.example bar.example depending on the effect you want. -D I agree, that is a much much better solution. *grin*. And one that's not going to cause you any problems when there's a new package or whatever. Sometimes though, there's a time and place to just hack everything to pieces :) David - For the benefit of someone who doesn't have much experience and occasionally has a problem understanding generalizations, could you elaborate a bit on these? And, what effect might someone want? "A better solution is to edit /etc/dhclient.conf. Use one of append search foo.example bar.example prepend search foo.example bar.example depending on the effect you want. " Alex -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how do i get wu-ftp to work?? (Debian Woody) (solved)
Thanks guys, I did switch to vsftpd, and in the end it worked, but the first thing that happened on testing was that any connection was outright refused. Turns out the problem was that in inetd.conf ftp was commented as such: ##ftp stream tcp nowait root/usr/sbin/tcpd /usr/sbin/vsftpd I'm not sure how long that had been in there, possibly since original installation, but at any rate, the command update-inetd that is supposedly used by stuff like dselect, as in: update-inetd --enable ftp Doesn't take that kind of comment away as apparently a comment in that file is supposed to be honored as a user edit. Actually the Head of that file says you're not supposed to edit it unless you're really sure what you're doing, better just use update-inetd (!!). Well, great! .. looks like the whole design is meant to keep you from using a ftp demon. I ended up taking the comment away directly. Now it finally works (sigh). I know that I didn't put the fricking comment in there, must've been some installer. I find it really annoying that ftp can be just quietly disabled like that without any failure message on the part of the install scripts. After all the script DID obviously put vsftpd into that line somehow, just only without actually activating the bloody thing. Probably wu-ftp itself would've been working fine as well, I guess. Lukas __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: avi, mpeg
On Sat, Jan 04, 2003 at 07:04:30PM -0500, Antonio Rodriguez wrote: > What would be the best to see some avi or mpeg movies? Would depend on the encoding of the avi file, but normally xine or mplayer. > Or converter from avi to mpeg? Again depends on the encoding, but normally transcode. -- Jamin W. Collins -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Courier-IMAP / MySQL
Heta, I am running Woody with postfix, mysql, and courier-imap (and courier-base, courier-authdaemon, courier-authmysql, courier-pop, and courier-debug). Postfix is set up to deliver mail in maildir format based on information in a mysql database. It delivers mail predictably (though I had to change some of its configuration parameters to chroot) and based on the data in mysql. Courier-IMAP is configured to also use the mysql database for authentication and to pick up the maildir email, but I can't get it to authenticate. # netstat -anp | grep 143 tcp0 0 0.0.0.0:143 0.0.0.0:* LISTEN 23502/couriertcpd # courierauthtest -s imap [EMAIL PROTECTED] Temporary authentication failure from module authdaemon Authentication FAILED! # telnet localhost imap Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc. See COPYING for distribution information. aa01 login [EMAIL PROTECTED] aa01 NO Login failed. # tail /var/log/mysql.log 030104 19:31:38 28 Connect @localhost on 28 Init DB mail 28 Query SELECT vuser, crypt, clear, uid, gid, home, maildir, quota, name FROM mailboxes WHERE vuser = "[EMAIL PROTECTED]" I can log into the database using "mysql -u -p mail" and execute the query above and get a row back. Here are what I think are the pertinent lines... ...from /etc/courier/authdaemonrc: authmodulelist="authmysql" ...from /etc/courier/authmysqlrc: MYSQL_SERVERlocalhost MYSQL_USERNAME MYSQL_PASSWORD MYSQL_SOCKET/var/run/mysqld/mysqld.sock MYSQL_PORT 0 MYSQL_DATABASE mail MYSQL_USER_TABLEmailboxes MYSQL_CRYPT_PWFIELD crypt MYSQL_CLEAR_PWFIELD clear MYSQL_UID_FIELD uid MYSQL_GID_FIELD gid MYSQL_LOGIN_FIELD vuser MYSQL_HOME_FIELDhome MYSQL_NAME_FIELDname MYSQL_MAILDIR_FIELD maildir MYSQL_QUOTA_FIELD quota finally, here is from within the database: mysql> desc mailboxes; +-+--+ | Field | Type | +-+--+ | vuser | varchar(255) | | maildir | varchar(255) | | crypt | varchar(16) | | clear | varchar(16) | | name| varchar(128) | | uid | int(10) unsigned | | gid | int(10) unsigned | | home| varchar(13) | | quota | varchar(255) | +-+--+ What am I doing wrong? Is there anything more I can do to gather information? (I admit I don't know how to use traces, but I'm willing to learn!) Please help. It all looks correct to me, and I've tried many different things (including changing MYSQL_PORT to 3306), but I would very much like to hear if someone else has this working or if someone knows where I'm being a dunderhead. Thanks, Mickey __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IP firewalls
On Sat, Jan 04, 2003 at 03:58:43PM -0800, Bob Nielsen wrote: > One can use ipfwadm (or ipchains) in addition to iptables with > 2.4.kernels: Not "in addition to", in place of. I can't speak for ipfwadm specifically, but with the ipchains wrapper it's one or the other. You can't use iptables commands and then switch off to ipchains commands. They are mutually exclusive. Additionally, the ipchains wrapper is not (TMK) as full featured as the ipchains tool present in the 2.2.x kernels. -- Jamin W. Collins -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mail server
Quoting Derrick 'dman' Hudson <[EMAIL PROTECTED]>: [snip] > Almost. Some sites will reject your connection just because you have > a dynamic address. > For these sites, route e-mail thru your ISP. (I use Postfix, not exim, so the details are left as an exercise for the reader.) HTH, Jeffrey -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[ANNOUNCE] Struts Training in NYC and DC in January
Increase Your Struts Productivity - Attend the BaseBeans Public Struts Training We have a 11 hour public class in DC and in NYC in January. Washington DC Class -- January 18th 2003 NYC Class -- January 24th 2003 This class is taught by baseBeans Engineering, the company voted to have the best hands on training class by JDJ for their "Fast Track to Struts" class. Get your training from the #1 trainer with a money back guarantee You will pay $50 to register and be billed the balance. Upon registration, you will be shipped a CD that contains the tools needed for the class, such as an IDE, App. Server, some sample working source code, Struts, etc. Follow this link to register: http://www.basebeans.com/do/classReservation At the training, we will cover Struts, Java Server Faces, JDO, DAO, JDBC,etc. A pre-requisite for attendance is some Struts knowledge or at least Servlet and SQL knowledge. This class is targeted at tech leads. Bring your questions and receive practical advice from the baseBeans team. You can FedEx a check or a PO for the balance to BaseBeans. Prior paid students and clients are free for this class, as always, but we need to know you are coming. Hope to see you there, JOHN -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: avi, mpeg
Antonio Rodriguez said: > What would be the best to see some avi or mpeg movies? Or converter from > avi to mpeg? > Using woody 3.0 my favorite mpeg-1 player is xine. Some say mplayer is better, but I haven't tried it myself(yet). I use avifile for avis, I don't think its included with debian 3.0, but you can compile it from avifile.sourceforge.net and grab the codecs there as well. nate -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
console messages flit by too fast
I can't believe this is still not solved. I boot the system. I see some ominous warnings. They scroll by so fast and are gone. E.g. something about mtab. Ok, cd /var/log; grep mtab * */* Nothing. You will answer "oh, mtab, don't worry about that". But the general problem of messages that appear at boot but go off the screen is not solved for me still. Am I really supposed to hit ^S^Q like back 30 years ago? What if I am not fast enough still? You will answer: that is the fault of whatever package author for also not logging his message to syslog. But that isn't helping me: what package? the name went by too fast. Isn't there something that I can turn on to capture all these, or are we too early in the startup? Am I supposed to boot my system thru some remote terminal like the certainly must do a Linux Labs so they can scroll back? But I only have 1 equipment and am not into learning something fancy. Perhaps all the stupid questions I post about why I can't enter the audio age could be solved if I didn't miss one of those ominous messages that go by too fast. I hit ALT CTRL F1 etc. but I don't suppose those `man console(4)` tty can be scrolled backwards. -- http://jidanni.org/ Taiwan(04)25854780 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mail server
On Sat, Jan 04, 2003 at 07:16:40PM +0100, Lukas Ruf wrote: | * Raymond Gree <[EMAIL PROTECTED]> [2003-01-04 19:11]: | | > actually I can directly receive email with exim (without using my | > internet provider mail server) now I would like to send email again | > without using my internet provider mail server | > | > my question (perhaps stupid) is it possible to do so? | | If your ISP does not do any port filtering, it's possible without any | further problems! Almost. Some sites will reject your connection just because you have a dynamic address. If you are running the 'eximconfig' script, the above description is an "Internet site". -D -- Microsoft DNS service terminates abnormally when it receives a response to a dns query that was never made. Fix information: run your DNS service on a different platform. -- bugtraq http://dman.ddts.net/~dman/ msg22395/pgp0.pgp Description: PGP signature
Re: /etc/resolv.conf keeps getting overwritten
On Sun, Jan 05, 2003 at 09:51:52AM +1100, David Gardner wrote: | Derrick 'dman' Hudson <[EMAIL PROTECTED]> wrote: | > | > A better solution is to edit /etc/dhclient.conf. Use one of | > append search foo.example bar.example | > prepend search foo.example bar.example | > depending on the effect you want. | | I agree, that is a much much better solution. *grin*. And one that's not | going to cause you any problems when there's a new package or whatever. | Sometimes though, there's a time and place to just hack everything to pieces | :) :-). Yeah, that script is so easy to hack up like that. In fact I did that myself before I learned of the config file. In my case one NIC was static, one was dynamic, and dns was local. -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) http://dman.ddts.net/~dman/ msg22394/pgp0.pgp Description: PGP signature
Re: KDE3 -- wich packages to download
> Its a problem with some of the packages changing boundaries I think. What > was the reason given for holding back the packages? It does not say. Only "The following packages have been kept back" There are 55 held back. I did not pay attention when it did some installing the first time around. > I _think_ this is caused by the non removal of some of the packages which > are no longer in the release. > I did it with a combination of aptitude and dpkg -r. I used aptitude to > try and understand what the problem was, and dpkg -r to fix it (sometimes > with --force-depends) Hmm..a little over my head. Should I try Synaptic like the other gentleman recommended? I don't have much time this week and would like to get this fixed. So if anyone can help me get KDE 3.1 installed I would appreciate it. To recap.all I have done is put http://ktown.kde.org/~nolden/kde/woody/i386 ./ into my sources list and did apt-get update and apt-get upgrade. There are 55 packages being held back and I don't know why. And my Kmail is all screwed up. If I click on anything it just closes. One thing I just noticeduname -a says I have i686. Linux 2.4.18-bf2.4 #1 . i686 unknown Is that a problem with i386 in my sources file? Thanks for any help out there. Andy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Will my fonts every look good?
On Fri, Jan 03, 2003 at 11:22:19PM -0800, Bill Moseley wrote: > I think I've spent too much time messing with my fonts, reading > TrueType, AA, and de-uglification HOWTOs, and messing things up with > msttcorefonts. > > Is it possible to get really nice looking fonts overall? It might just be me, but I don't really see any problem with the fonts in your screen shots with the exception of Abiword (fonts4.png). That I believe is problem of Abiword (I could be wrong). Otherwise it appears that your chief complaint may simply be that the fonts displayed are not the ones you want? -- Jamin W. Collins -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
avi, mpeg
What would be the best to see some avi or mpeg movies? Or converter from avi to mpeg? Using woody 3.0 Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IP firewalls
One can use ipfwadm (or ipchains) in addition to iptables with 2.4.kernels: CONFIG_IP_NF_COMPAT_IPFWADM This option places ipfwadm (with masquerading and redirection support) back into the kernel, using the new netfilter infrastructure. It is not recommended for new installations (see acket filtering'). With this enabled, you should be able to use the ipfwadm tool exactly as in 2.0 kernels. On Sat, Jan 04, 2003 at 02:09:11PM -0800, nate wrote: > Caleb Walker said: > > I am thinking about upgrading my firewall hardware soon and along with > > that I was thinking of installing Debian. It is running FreeBSD along > > with many other applications but my question is, can I use ipfw instead of > > iptables? I do not know how to use iptables or ipchains but I am very > > comfortable with ipfw. Thanks in advance. > > not that I know of, only ipchains and iptables .. no ipfw or ipf on linux. > There used to be an ipf a few years ago but that was back in the 2.0.x days. > I don't think there's ever been ipfw available for linux. > > my firewall is freebsd too, runs 2 NICs in bridged mode w/ipfw and my NIDS. > Behind that is my NAT box which runs linux 2.2.x and ipchains. > > nate > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Bob Nielsen, N7XY [EMAIL PROTECTED] Bainbridge Island, WA IOTA NA-065, USI WA-028S -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /etc/resolv.conf keeps getting overwritten
on Sat, 04 Jan 2003 05:19:39PM -0500, Derrick 'dman' Hudson insinuated: > On Sun, Jan 05, 2003 at 09:01:57AM +1100, David Gardner wrote: > | Nori Heikkinen <[EMAIL PROTECTED]> wrote: > | > | > | > i don't changed anything as root between relapses, so i can't figure > | > out what's causing this. any ideas? > > | If you're using dhclient, check out /etc/dhclient-script. There's a > | function make_resolv_conf() in there which overwrites /etc/resolv.conf > | whenever there's a dhcp update. You could probably just comment it out, or > | change this routine to add your custom search information. If you do > | disable it though, remember that if your ISP changes your DNS settings, they > | won't be reflected here. :) > > A better solution is to edit /etc/dhclient.conf. Use one of > append search foo.example bar.example > prepend search foo.example bar.example > depending on the effect you want. cool, much better. thanks, learning as i go, -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/ // \\ @ maenad.net /( )\ www.maenad.net ^`~'^ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Re: Chat servers
On Sat, Jan 04, 2003 at 12:30:35AM -0600, Nathan Poznick wrote: > Thus spake [EMAIL PROTECTED]: > > if liz has soggy trousers did she pee herself? > > > > Dean McEwan, If the drugs don't work, [sarcasm] take more...[/sarcasm]. > > Amazing, I'd told procmail to send all his linux-kernel garbage to > /dev/null, but who'd have thought I'd have to do the same for > debian-user? At least he uses a really cool MUA :-) -- Nathan Norman - Incanus Networking mailto:[EMAIL PROTECTED] A booming voice says, "Wrong, cretin!", and you notice that you have turned into a pile of dust. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
System won't boot
When attempting to boot my newly installed system, it gets as far as the following and then stops with a kernel panic. Is this repairable, and if so how. I am a relative newbie, so be as simple as possible. Any help is greatly appreciated. Thanks. These are the last 4 lines when booting: kmod : failed to exec /sbin/modprobe -s -k block-major-33 errno=2 VFS : cannot open root device "2105" or 21:05 Please append a correct "root=" boot option Kernel panic : VFS : Unable to mount root fs on 21:05 -Trey -- Trey Sizemore [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Soundblaster Live
On Sat, Jan 04, 2003 at 11:51:58PM +0100, Willem-Jan Meijer wrote: > I've got a SoundBlaster Live ! soundcard and he doesn't work here. > Probably it's quite easy to get it work and I searched google about it > but I can't find something usable. They talk about compiling but I use > debian for 2 months now and I don't understand it > > Does someone know how to fix this step by step? http://www.alsa-project.org/alsa-doc/doc-php/template.php3?company=Creative+Labs&card=Soundblaster+Live+Value&chip=EMU10K1&module=emu10k1 -- Jamin W. Collins -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /etc/resolv.conf keeps getting overwritten
On Sat, 2003-01-04 at 16:25, Nori Heikkinen wrote: > on Sun, 05 Jan 2003 09:01:57AM +1100, David Gardner insinuated: > > Nori Heikkinen <[EMAIL PROTECTED]> wrote: > > > > > i don't changed anything as root between relapses, so i can't figure > > > out what's causing this. any ideas? > > > > If you're using dhclient, check out /etc/dhclient-script. There's a > > function make_resolv_conf() in there which overwrites /etc/resolv.conf > > whenever there's a dhcp update. You could probably just comment it > > out, or change this routine to add your custom search information. If > > you do disable it though, remember that if your ISP changes your DNS > > settings, they won't be reflected here. :) > > great, i just modified the script to add my info in each time. that > should take care of it. thanks! Of course, if apt-get ever updates dhclient, the package may overwrite /etc/dhclient-script, so keep a seperate copy -- ++ | Ron Johnson, Jr. mailto:[EMAIL PROTECTED] | | Jefferson, LA USA http://members.cox.net/ron.l.johnson | || | "Basically, I got on the plane with a bomb. Basically, I | | tried to ignite it. Basically, yeah, I intended to damage | | the plane." | |RICHARD REID, who tried to blow up American Airlines| | Flight 63 | ++ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Soundblaster Live
This one time, at band camp, Willem-Jan Meijer said: > Hello, > > I don't get KDE3 working and my father is getting mad he can't handle this > computer so I left kde 2.2.2 installed, But thanks for the help, I shall try > again a.s.a.p. > > I've got a SoundBlaster Live ! soundcard and he doesn't work here. Probably > it's quite easy to get it work and I searched google about it but I can't > find something usable. They talk about compiling but I use debian for 2 > months now and I don't understand it > > Does someone know how to fix this step by step? > > Thanks for all the help > > Regards, > > Willem-Jan Meijer modprobe emu10k1? -- -- | Stephen Gran | Choose in marriage only a woman whom| | [EMAIL PROTECTED] | you would choose as a friend if she | | http://www.lobefin.net/~steve | were a man. -- Joubert| -- msg22384/pgp0.pgp Description: PGP signature
Re: Will my fonts ever look good?
On Sat, 4 Jan 2003, Stig Are M. Botterli wrote: > In article <[EMAIL PROTECTED]>, Bill Moseley >wrote: > > > > $ dpkg -l | grep font > > > > ii gsfonts-x110.16 Make Ghostscript fonts available to X11. > > This package is a real uglificator. Replace it with a dummy equiv. I removed it with no real difference, but I didn't replace it with anything. What package should I replace it with? Thanks, -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Soundblaster Live
On Sat, Jan 04, 2003 at 11:51:58PM +0100, Willem-Jan Meijer wrote: > I don't get KDE3 working and my father is getting mad he can't handle this > computer so I left kde 2.2.2 installed, But thanks for the help, I shall try > again a.s.a.p. > > I've got a SoundBlaster Live ! soundcard and he doesn't work here. Probably > it's quite easy to get it work and I searched google about it but I can't > find something usable. They talk about compiling but I use debian for 2 > months now and I don't understand it > > Does someone know how to fix this step by step? Have you tried "modprobe emu10k1"? (Loading the driver) -- Seneca [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: KDE3 -- wich packages to download
Hi yall & Andy, yep, it is not a good thing, when your debs fly into a mincer. For package managment, I love Synaptic. Give it a try. It is an apt front end. Now, to install Synaptic, type "apt-get install synaptic" at the command line and press Enter. Once apt has finished installing Synaptic, you can launch it by typing "synaptic" at the root user's command prompt (you can't run this program unless you are logged in as root). *HTH* * BFN* Greek Geek :-) "American soldiers in battle don't fight for what some Presdent says on T.V., they don't fight for mom, apple pie, the American flag... They fight for one and another." -- Lt. General Hal Moore. Andy wrote: After a long time my computer kde 2.2.2 is running on my computer. Now I want to upgrade to KDE 3. Can someone tell me wich packages I have to download and where they are downloadable? You might want to put this in your sources.list deb http://ktown.kde.org/~nolden/kde/woody/i386/ ./ Its up to date kde 3.1 debs for woody (although they work on sid - apart from kamera) Dammit. I just tried this on my workstation and it kept 55 packages back and did not upgrade completely. Now when I click on the reply button in Kmail the whole application quits. I was hoping this would be easy and painless. How do I get out of this mess? Move forward and try to get KDE 3.x in there or try to undo what I did already? Thanks, Andy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /etc/resolv.conf keeps getting overwritten
Derrick 'dman' Hudson <[EMAIL PROTECTED]> wrote: > > A better solution is to edit /etc/dhclient.conf. Use one of > append search foo.example bar.example > prepend search foo.example bar.example > depending on the effect you want. > > -D I agree, that is a much much better solution. *grin*. And one that's not going to cause you any problems when there's a new package or whatever. Sometimes though, there's a time and place to just hack everything to pieces :) David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]