Preseed not pulling in file from network with wget

2012-03-26 Thread Todd A. Jacobs
I've got the following snippet in a Debian preseed.cfg file: d-i preseed/late_command string \ in-target mkdir --mode=700 /home/vagrant/.ssh; \ in-target chown vagrant:vagrant /home/vagrant/.ssh; \ in-target wget --no-check-certificate --output-document=/home/vagrant/.ssh/authorized_keys https://r

Possible to create more than one preseed/late command?

2012-03-20 Thread Todd A. Jacobs
I'm doing a customized Squeeze install, and have a lot of problems with the d-i preseed/late_command. For starters, it seems like you can only have one of these in your preseed.cfg; is that true? Or is it only true if one is using "in-target" as well in the late_command? Mostly, I'm trying to do a

Problems running antiword as an xinetd service

2011-04-10 Thread Todd A. Jacobs
I'm unable to get antiword to process standard input over a network connection using xinetd. I've got the following in /etc/xinetd.d: service antiword { disable = no type= UNLISTED flags += IPv4 socket_type = stream protocol

Re: Free PDF viewer that can search for text across line-breaks?

2011-04-09 Thread Todd A. Jacobs
On Sat, Apr 9, 2011 at 4:20 AM, Arthur Marsh wrote: > Is there any Free PDF viewer in Debian that works outside of GNOME/KDE that > can both search for text across line breaks and allows copying of text from > the PDF document to the clip-board? > Install pdfgrep and xclip. You can then do someth

Re: Tell firefox to quit from a shell script

2011-04-09 Thread Todd A. Jacobs
On Sat, Apr 9, 2011 at 12:06 PM, Tyler Smith wrote: > alias shib='pkill firefox ; sudo hibernate' > The executable you need to kill is "firefox-bin" and not just "firefox." Give that a try instead.

Laptop: Asus 673SW

2011-03-30 Thread Todd A. Jacobs
I recently bought an Asus with an Intel HM65 Express chipset that is supposed to be driving an SDHC card slot. However, the card slot doesn't show up in the output of lsusb or lspic. I'm tempted to consider this a hardware failure, but wanted to make sure I wasn't missing a bet as far as getting th

Squeeze installer and partition alignment

2011-03-23 Thread Todd A. Jacobs
Does anyone know if the guided partitioning in Squeeze aligns partitions, and if so to what boundaries? A quick scan of the archives doesn't turn up anything conclusive. I'm not sure if realigning partition boundaries for an encrypted lvm would be any harder (or potentially dangerous for the data)

Re: Format ext3 hard drives

2011-03-22 Thread Todd A. Jacobs
On Tue, Mar 22, 2011 at 6:49 PM, Dan wrote: > I didn't know that the inodes would take so much space. > Ext4 would be a better option? > I chose Ext3 because it is older and it should be more stable > therefore better for a server. Moreover I am going to use ecryptfs on > top of that, and I do not

Re: Signature debian CDs

2011-03-22 Thread Todd A. Jacobs
> I read the previous thread. I am looking at the GPG scheme to > understand it better. Basically, the idea is that you are confirming that the key used to sign the md5sums is a valid *and* trustworthy key--the two are not synonymous. This is a bootstrapping problem, especially for non-Debian user

Re: Ecryptfs vs encfs

2011-03-21 Thread Todd A. Jacobs
On Mon, Mar 21, 2011 at 8:09 PM, Dan wrote: > I would like to encrypt some folders in the home directory of the > users in a server. I have seen that there are 2 choices ecryptfs and > encfs. They seem to be very similar. Which one do you think that it is > better? One isn't better than the other

Re: Best network filesystem for a bleeding edge, pure linux environment?

2011-03-17 Thread Todd A. Jacobs
On Thu, Mar 17, 2011 at 12:08 PM, Celejar wrote: > I want to set up a network filesystem to share files between several > linux systems (Debian & OpenWrt).  Judging from what I see on the list Do you actually need all the features of a typical shared filesystem? If not, you might look at sshfs,

Canonical source for the new CD signing key's fingerprint?

2011-03-16 Thread Todd A. Jacobs
I've recently downloaded the net installation image for Squeeze, but am really uncomfortable with the fact that I can't establish a firm trust path to the CD signing key. Is there a canonical place to get the fingerprint of this key, so that at least one can have some confidence that the key one is

Showing recommended packages from cli

2010-06-21 Thread Todd A. Jacobs
Is there some functionality in apt-cache or aptitude for displaying recommended files, other than having to visually parse the output of "apt-cache show"? Basically, I'd just like to get a list of recommended packages from a list of installed or prospective packages without having to use the aptit

Re: Encrypted /tmp fails after recent kernel upgrade

2010-06-01 Thread Todd A. Jacobs
On Sat, May 29, 2010 at 09:31:28AM +, Sebastian Ramacher wrote: > No, seems to be a problem with recent upgrade of e2fsprogs to > 1.41.12-1. Before upgrading e2fsprogs yesterday everything worked fine > for me. No, it's some other package. I remember seeing a message saying that some boot uti

Re: How do I fsck and XFS file system in "Squeeze"

2010-05-31 Thread Todd A. Jacobs
On Fri, May 21, 2010 at 07:19:13PM -0500, Mark Allums wrote: > Really? Well, I expect XFS has a substitute. If not, it should. No, it doesn't. XFS will handle journaling issues at boot automagically, but a real fsck requires a bit of manual intervention. I just went through this today, and this

Force reinstall of /etc files without purge/install cycle?

2010-05-30 Thread Todd A. Jacobs
I can't find an option within aptitude to force a reinstall of /etc files. I know that aptitude will not overwrite them by default, but isn't there a way to force a package's conf files back to a pristine state? The purge/install cycle isn't always an option, since in many cases it will want to un

Encrypted /tmp fails after recent kernel upgrade

2010-05-28 Thread Todd A. Jacobs
After a recent kernel upgrade to 2.6.32-5-amd64, I now get the following when trying to mount an encrypted /tmp with dev/mapper: $ sudo mount /tmp mount: wrong fs type, bad option, bad superblock on /dev/mapper/tmp, missing codepage or helper program, or other error I

Tiny terminal text after kernel update

2010-05-23 Thread Todd A. Jacobs
After a recent kernel update, my linux terminal is now displaying teeny-tiny text. How do I set the default terminal back to 80x25? -- "Oh, look: rocks!" -- Doctor Who, "Destiny of the Daleks" -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscr

grub savedefault?

2010-05-23 Thread Todd A. Jacobs
When one has multiple kernels installed, where is one supposed to configure the option to always boot the last-selected kernel? I can't make sense of all the automatic over-writing that the grub scripts are doing on Debian, and the /etc/default/grub file doesn't have an example of what the scripts

[solved] Missing pages in new farm wiki

2010-03-07 Thread Todd A. Jacobs
On Sun, Mar 07, 2010 at 01:20:43PM -0800, Todd A. Jacobs wrote: > However, when I log in as WikiAdmin, I don't seem to *be* superuser. > I don't see the SystemAdmin link on the nav bar, even though I've got: Turns out the new version of moinmoin doesn't set up certain p

Missing pages in new farm wiki

2010-03-07 Thread Todd A. Jacobs
I have a working wiki, and today I added a second instance. I updated /etc/moin/farmconfig.py and added a new domain instance with a superuser. However, when I log in as WikiAdmin, I don't seem to *be* superuser. I don't see the SystemAdmin link on the nav bar, even though I've got: superuser

modsecurity and moin-moin

2010-03-07 Thread Todd A. Jacobs
I'm having a problem with modsecurity and moin-moin. The following rule is preventing wiki pages with the word '/etc' from posting. I'd like to find a way to disable this rule for just the wiki (e.g. not for the whole site) but am not sure how to do that in a granular way. It seems like a generall

Re: Scaling governor via sysctl?

2010-01-30 Thread Todd A. Jacobs
On Fri, Jan 29, 2010 at 02:26:40PM -0800, Carl Johnson wrote: > If you have the cpufrequtils package installed, then just edit > /etc/defaults/cpufrequtils to specify which you want at boot. The /etc/defaults/cpufrequtils file over-rides the value (if any) in /etc/sysfs.conf, but I think it's imp

Re: Scaling governor via sysctl?

2010-01-30 Thread Todd A. Jacobs
On Thu, Jan 28, 2010 at 10:19:27PM +0100, Tilo Schwarz wrote: > I use sysfs.conf: Thanks. I knew about sysctl.conf, but not sysfs.conf. I appreciate you pointing that out! -- "Oh, look: rocks!" -- Doctor Who, "Destiny of the Daleks" -- To UNSUBSCRIBE, email to debian-user-requ...@lis

Re: Advanced fsck?

2010-01-29 Thread Todd A. Jacobs
On Sat, Jan 30, 2010 at 05:03:53AM +, hadi motamedi wrote: > /dev/hda3 #fsck.ext3 -c /dev/hda3 But it is returning as "Running > e2fsck on a mounted filesystem may cause servere damage" . Can I > continue this way ? Thank you You have to run fsck on an unmounted system. If your root partition

Re: Advanced fsck?

2010-01-28 Thread Todd A. Jacobs
On Thu, Jan 28, 2010 at 04:57:53AM +, hadi motamedi wrote: > #fsck -s /dev/hda3 > But after rebooting the server it will come back again at the similar Did you actually repair the filesystem? You need to either do so manually, or give the -a flag to automatically repair the volume. Of course

Re: Scaling governor via sysctl?

2010-01-27 Thread Todd A. Jacobs
On Wed, Jan 27, 2010 at 08:42:13PM -0800, Todd A. Jacobs wrote: > I get nothing. Why can I write to a value in sysfs that can't be > accessed with sysctl? And more importantly, how am I supposed to do this > at boot without sysctl.conf? Two quick answers, but a remaining questio

Scaling governor via sysctl?

2010-01-27 Thread Todd A. Jacobs
I'd like to set my scaling governor in /etc/sysctl.conf, rather than by echoing a value to: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor However, I'm not finding a key for it via the sysctl utility. When I run: sysctl -a | fgrep -i cpu I get nothing. Why can I write to a value

Re: crontab permissions problem on /var/spool/cron/crontabs/*

2010-01-24 Thread Todd A. Jacobs
On Sun, Jan 24, 2010 at 01:00:13PM +, Anthony Campbell wrote: > /var/spool/cron/crontabs/ac: Permission denied The crontabs directory should be owned by root:crontab, not root:root. > I don't have any such file in /tmp. Nor should you. /usr/bin/crontab works like sudoedit, and uses temp fi

Re: Monitoring Memory Utilization

2010-01-24 Thread Todd A. Jacobs
On Sun, Jan 24, 2010 at 06:25:44AM -0500, Roman Gelfand wrote: > Is there a tool, background process, in linux to monitor memory > utilization over a period of time? /usr/bin/sar from the sysstat package. -- "Oh, look: rocks!" -- Doctor Who, "Destiny of the Daleks" -- To UNSUBSCRIBE,

Re: Memory

2010-01-24 Thread Todd A. Jacobs
On Sat, Jan 23, 2010 at 11:37:41PM -0800, Freeman wrote: > Writes to a swap file on your drive. Or a swap file on your ram drive > in memory if you have one. :) There are probably some edge cases where a swap file on a RAM drive is valid, but I can't think of any that don't involve misbehaving ap

Re: Memory

2010-01-23 Thread Todd A. Jacobs
On Sat, Jan 23, 2010 at 11:10:51PM -0500, Roman Gelfand wrote: > What happens when debian is out of memory? Does it freeze? Is there > any trace of memory glut in log files? It depends. In general, you will either see disk thrashing as swap is constantly accessed, or the oom-killer will start t

grub-probe on 4TB disk = painful

2010-01-22 Thread Todd A. Jacobs
I've been having problems with 64-bit Lenny/Sid during kernel upgrades, where grub-probe will take huge amount of CPU and a very long time to complete--and apparently goes through the process numerous times in a row during the upgrade process. Part of the problem appears to be that grub-pc (grub2)

Re: ext2/3 vs xfs for maildir

2010-01-22 Thread Todd A. Jacobs
On Fri, Jan 01, 2010 at 09:51:23AM -0600, Stan Hoeppner wrote: > Which filesystem is more appropriate for maildir use on a > Postfix/Dovecot system, ext2/3 or xfs? This maildir will be storing > mulitple mail folders and files, some folders containing over 10,000 > email files. I'd recommend XFS

Re: Strange work of eth0.

2010-01-22 Thread Todd A. Jacobs
On Tue, Jan 19, 2010 at 12:41:08AM +0700, Sthu Deus wrote: > $ sudo /sbin/ifdown eth0 > SIOCDELRT: No such process This generally happens when ifupdown wasn't called to enable the interface. So, if you configured the interface manually, you might get that sort of error because ifdown doesn't thin

Re: elinks to be REMOVED from squeeze?

2010-01-22 Thread Todd A. Jacobs
On Thu, Jan 21, 2010 at 01:21:24PM +, Jeffrey Cao wrote: > sure elinks has not been updated for a long time. So, what is changed > to make elinks depends on libtre5? I don't know about this particular case, but in general, one of two things probably happened: - The upstream author change

Re: How Does One force Use of DSA Keys under Linux?

2010-01-22 Thread Todd A. Jacobs
On Fri, Jan 22, 2010 at 11:31:46AM -0600, Martin McCormick wrote: > Is there a way in Linux to make ssh get the type DSA host keys? I > presently see the following message when adding a new host to This is actually a good question, and one to which I couldn't find an easy answer. As far as I can

Bonding virtual wireless interfaces?

2010-01-22 Thread Todd A. Jacobs
I have a network that caps each MAC address at 384K at the wireless access point, and was wondering if it's technically feasible to increase throughput by adding additional virtual interfaces. My thought is that if I have wlan0, I could add a second interface at wlan0:1 to get a second MAC/IP addr

Re: ssh closed by peer

2009-12-01 Thread Todd A. Jacobs
On Tue, Dec 01, 2009 at 11:50:21AM +0100, abdelkader belahcene wrote: > Hi, I connected to my ssh server running ubuntu 9.10, from a machine > running mintLinux (ubuntu based) , a few second after, connexion > dropped with the message : read from socket failed, : Connexion reset > by peer, That

KDE4 print configuration utility for lpoptions?

2009-11-21 Thread Todd A. Jacobs
kde3 used to have a printer config utility that let me create various pseudo-printers, but I can't find an equivalent in kde4. Since I have Gnome installed on th system too, I have a bunch of "printer manager" icons, but they all seem to be for the GNOME interface to cups, which doesn't have this f

Problems with insserv during upgrade

2009-11-19 Thread Todd A. Jacobs
I'm unable to complete a recent install, and am unsure if my system is in a (re)bootable state. I have the following errors: $ sudo aptitude install -f Reading package lists... Done Building dependency tree Reading state information.

Re: Giving a user root priveleges?

2009-11-17 Thread Todd A. Jacobs
On Tue, Nov 17, 2009 at 02:03:26PM -0500, Zachary Uram wrote: > [sudo] password for zu22: Sorry, try again. [sudo] password for zu22: > sudo: pam_authenticate: Conversation error Looks like a PAM problem. If you've previously installed debsums, I'd suggest the following: debsums libpam-modul

Re: java / iceweasel

2009-11-16 Thread Todd A. Jacobs
On Sun, Nov 15, 2009 at 11:09:31PM +0100, Roy Stuivenberg wrote: > After spending a whole evening trying to get java to work with > iceweasel .. I gave up on the Sun packages, too. The icedtea plugin works for me, though, and is reasonably compatible with most Java applets--not all,but most. --

Re: Inquiry:How to disable my Debian server firewall ?

2009-11-14 Thread Todd A. Jacobs
On Sat, Nov 14, 2009 at 07:50:29AM +, hadi motamedi wrote: > Dear All Can you please do me favor and let me know how can I disable > my Debian server firewall ? As I know , on the Linux server , I can There is no firewall by default, so you must have installed something. Grep through /etc/ini

Re: Debian PCI Question

2009-11-13 Thread Todd A. Jacobs
On Fri, Nov 13, 2009 at 10:59:34AM -0500, Matt McCants wrote: > Does anyone here have PCI audits being done on their Debian boxes? The I conduct (and remediate) PCI audits all the time. Your problem seems political, not technical. PCI requires that systems be patched, not that they are the latest

sun-java6-plugin on amd64

2009-11-11 Thread Todd A. Jacobs
I can't seem to get the Java6 plugin working on my 64-bit testing/unstable system. I have the following installed: sun-java6-bin install sun-java6-jre install sun-java6-plugininstall Th

Re: what exactly is resident set size in /etc/security/limit.conf and ulimit -m?

2009-11-11 Thread Todd A. Jacobs
On Wed, Nov 11, 2009 at 12:14:43PM +0800, Zhang Weiwu wrote: > Having read the manual and examples on the Internet, still confused. As far as I understand it, ulimit is per process. RSS only addresses how much of the process is resident in RAM, and some googling suggests that it may not actually

Re: port forwarding without using ssh

2009-11-11 Thread Todd A. Jacobs
On Wed, Nov 11, 2009 at 10:36:20AM +0800, Zhang Weiwu wrote: > The problem of this solution is security. I do not want to grant shell > access of local_server to remote_server. What would you recommend me > to do in this case? I could try to limit access of the account used by > remote server ssh

Local vs. relayed mail

2009-11-10 Thread Todd A. Jacobs
I'm currrently using Postfix on a pair of machines, one of which is a smarthost for the other. If I do something like this on the internal machines: mail -s Test nospam < /dev/null Then the mail is delivered locally, rather than through the smarthost. If I manually append the domain, though:

Re: does ntfs support acl?

2009-11-10 Thread Todd A. Jacobs
On Tue, Nov 10, 2009 at 05:38:38PM +0100, Jesus arteche wrote: > I'm trying to build a fileserver where I need to give permisses to > directories and subdirectories...I couldn't get it by samba (cause I need to See this howto: http://www.cyberciti.biz/tips/how-do-i-set-permissions-to-samba-

Replacement for firestarter?

2009-11-10 Thread Todd A. Jacobs
I really like using firestarter, as the realtime traffic logs and allow/deny interface are exceedingly useful to me. However, I know that it's been dead upstream for a long time, and I was hoping someone knew of a well-maintained replacement. I'm not really looking for a static firewall builder (e

Re: Inquiry:How to check for IP conflict on my Debian server?

2009-11-10 Thread Todd A. Jacobs
On Tue, Nov 10, 2009 at 11:37:57AM +, hadi motamedi wrote: > Sorry . But my Debian server is not on the same subnet with the remote > Intranet , I mean my Debian server is @192.168.0.2 and the remote If they are on different subnets, then it shouldn't matter. This isn't really a Debian questi

Re: Log rotation time?

2009-11-10 Thread Todd A. Jacobs
On Mon, Nov 09, 2009 at 11:30:28PM -0500, vr wrote: > Is doing it at the stroke of midnight an unwise practice? Well, on a home system it doesn't matter much. For production use, though, you generally want to avoid CPU or I/O spikes, and running a ton of stuff at the same time would be a Bad Thin

Re: No sound in kde4

2009-11-09 Thread Todd A. Jacobs
On Mon, Nov 09, 2009 at 11:48:44AM -0800, Todd A. Jacobs wrote: > I seem to have lost sound in kde4 after a recent update. Phonon is > installed, but I can't select the multimedia configuration icon in > System Settings. Alsa looks like the card is detected as HDA Intel, > and th

No sound in kde4

2009-11-09 Thread Todd A. Jacobs
I seem to have lost sound in kde4 after a recent update. Phonon is installed, but I can't select the multimedia configuration icon in System Settings. Alsa looks like the card is detected as HDA Intel, and the volumes are all where they are supposed to be. How can I debug this? -- "Oh, look: roc

fstab options for swap documented where?

2009-11-09 Thread Todd A. Jacobs
I'm trying to find documentation for the mount options for swap, but am turning up nothing in the man pages for fstab, swapon, or mount. Where are the options documented? -- "Oh, look: rocks!" -- Doctor Who, "Destiny of the Daleks" -- To UNSUBSCRIBE, email to debian-user-requ...@lists.

Re: Permissions for /dev/fuse changing at boot

2009-11-07 Thread Todd A. Jacobs
On Fri, Nov 06, 2009 at 08:49:45PM -0500, Rob Owens wrote: > My Lenny system has this in /etc/udev/rules.d/91-permissions.rules > KERNEL=="fuse", GROUP="fuse" $ less /etc/udev/rules.d/91-permissions.rules /etc/udev/rules.d/91-permissions.rules: No such file or directory What package does

Permissions for /dev/fuse changing at boot

2009-11-05 Thread Todd A. Jacobs
Every time my system reboots, ownership of /dev/fuse is changed from root.fuse to root.root. How can I make the changes permanent, so that users in the fuse group have access to the device across reboots? -- "Oh, look: rocks!" -- Doctor Who, "Destiny of the Daleks" -- To UNSUBSCRIBE, e

Rate-limiting based on packets per second?

2009-11-05 Thread Todd A. Jacobs
I've read the iptables man page, but I'm not really sure I understand how to rate-limit packets per second globally. What I'm trying to do is create a rule that would limit my overall inbound flows to <=200 packets per second- I don't care about the size, I just want to limit the number of packets.

Re: Restricting Internet Access

2009-10-27 Thread Todd A. Jacobs
On Tue, Oct 27, 2009 at 09:52:42PM +0200, David Baron wrote: > Iptables is "configured" at boot time, but this is not where it gets I don't think iptables is really your answer, by itself. What you're really trying to do most likely requires you to set up an authenticating proxy server on a separ

Re: how to tell webalizer where webalizer.conf is?

2009-10-27 Thread Todd A. Jacobs
On Fri, Oct 16, 2009 at 09:26:20AM -0400, Robert P. J. Day wrote: > is that a reasonable thing to do? because it would certainly break > the webalizer cron script, which looks in the /etc location by > default. is there a webalizer-approved way to have it start off > with a different loc

xorg + nvidia cursor color?

2009-10-27 Thread Todd A. Jacobs
I am currently having a problem with my X server displaying the cursor as shaded black, which is rather hard to see. This happens as soon as the gdm chooser is up, so I don't think it's a KDE4 issue. Is there a setting in xorg.conf or elsewhere that will give me the standard white cursor? -- "O

Re: OpenSSHD Server

2009-10-16 Thread Todd A. Jacobs
On Wed, Sep 30, 2009 at 11:29:29PM -0400, Roman Gelfand wrote: > Everytime I am connecting to my server via ssh, memory utilizaiton > appears to be increasing. Is there memory leak issues with sshd or, > perhaps, there is a maintenance that needs to be performed? or just Concurrent connections w

Re: Setting Default Group Permissions In Folders

2009-10-16 Thread Todd A. Jacobs
On Wed, Oct 07, 2009 at 05:47:40PM -0500, Austin Brkich wrote: > group www-user however I am unable to automatically set the > permissions to 664 and there defaulting to 644. I know this is do to If you don't want to adjust the default umask or change the file modes directly, you'll have to set

Re: php cgi

2009-10-16 Thread Todd A. Jacobs
On Sun, Oct 11, 2009 at 11:42:41AM +0530, Didar Hossain wrote: > *There is something called `webmin' though I would not recommend it to > most people. It is a Perl application. I don't really like webmin, and a lot of the modules (especially the ssh module) seem out of date, but it seems like the

Re: Computer overheating

2009-10-16 Thread Todd A. Jacobs
On Thu, Oct 15, 2009 at 06:47:56AM +, marc wrote: > Probably the Nvida; at least, its driver. I have a similar problem on > my laptop. I have to be careful with flash and playing some videos You might try the latest nvidia driver, and see if that helps. For example: sudo m-a update; sudo

Re: What does the auto parameter ?

2009-10-16 Thread Todd A. Jacobs
On Fri, Oct 16, 2009 at 09:32:17AM +0200, Frank Bonnet wrote: > What is exactly the purpose of the "auto" statement in > /etc/network/interfaces file ? Interfaces in auto stanzas are automatically brought up at boot time. See "man interfaces" for more info. -- "Oh, look: rocks!" -- Doct

Sound device missing in gnome

2009-10-04 Thread Todd A. Jacobs
I have the following driver loaded: snd_hda_intel but pulseaudio is only giving me the dummy device. I'm not even being given the choice to select the onboard audio. Since everything "just worked" before, I have no idea what's changed since my last upgrade with testing/unstable. How can I ge

dpkg sees packages that don't exist

2009-09-02 Thread Todd A. Jacobs
I have the following output from dpkg: $ dpkg --get-selections ia32-cross\* ia32-crossover-games-demo install ia32-crossover-gamesdemodeinstall ia32-crossover-pro install ia32-crossover-standard

Re: Entropy (was Re: how to generate random negative numbers)

2009-08-13 Thread Todd A. Jacobs
On Wed, Aug 12, 2009 at 04:27:09PM -0500, Ron Johnson wrote: > Does this burn through entropy faster than other methods? Probably, although since $RANDOM accesses /dev/urandom instead of /dev/random , your available entropy remains undefined in any case. As for the numerical distribution of your

Re: A Laptop where all hardware is perfectly supported

2009-08-03 Thread Todd A. Jacobs
On Sun, Aug 02, 2009 at 06:34:49PM -0700, fred basset wrote: > I'll soon be able to spec. a new laptop for my new job. Can anyone > recommend any systems that can run the latest Debian and support all > the hardware out of the box? I prefer IBM and Dell laptops myself. It > would be great to hea

Re: [SOLVED] Lenny on an Asus eee pc 900A 4 GB SSD

2009-07-20 Thread Todd A. Jacobs
On Fri, Jul 17, 2009 at 04:24:52PM -0700, Mark wrote: > FYI, for anyone looking at this in the future, eeebuntu is a > derivative of ubuntu designed specifically for the eee pc line. I > installed via usb flash drive in 20 mins using the .iso and > unetbootin, with not one single tweak needed. ~

Re: welches Paket?

2009-07-17 Thread Todd A. Jacobs
On Fri, Jul 17, 2009 at 02:44:17PM +0200, bb wrote: > I found bugs in the header files event.h and evhttp.h. Which packeges > do that belong to? I tried to report, but got a spam denial. On my system: $ dpkg -S /usr/src/linux-headers-2.6.26-2-amd64/include/config/acpi/proc/event.h linu

Re: sha1summ of complete directory?

2009-07-15 Thread Todd A. Jacobs
On Mon, Jul 06, 2009 at 07:30:19PM -0500, Ron Johnson wrote: > How would one go about computing a *single* hash value for a complete > directory tree? You might want to look at how git does this. As I understand it, git stores hashes of trees, so the implementation may help you. -- "Oh, look: r

Re: ext4 - 52.2% non-contiguous

2009-07-15 Thread Todd A. Jacobs
On Fri, Jul 10, 2009 at 02:29:10PM +0900, Miles Bader wrote: > Actually shouldn't ext4 do _better_ (than ext3 etc) in such a case, > since it does allocate-on-write, allowing it to allocate contiguous > storage despite the user writes being small? Depends. If an application doesn't pre-allocate s

Re: The Debian way for ondemand cpufreq governor

2009-07-15 Thread Todd A. Jacobs
On Sat, Jul 11, 2009 at 04:46:42PM +, T o n g wrote: > What's the Debian way to enable ondemand cpufreq governor by default > (installing as minimum packages as possible)? If you are running some sort of userland daemon (e.g. laptop-mode) to manage power, you'll probably have a setting to cha

Re: ext4 - 52.2% non-contiguous

2009-07-09 Thread Todd A. Jacobs
On Mon, Jul 06, 2009 at 06:49:09PM -0400, Daryl Styrk wrote: > After initially building the filesystem I ran fsck which showed > something like 0.7% if I remember correctly. I then copied about 60GB > from an ext3 via rsync after which the fragmentation showed up. by default, rsync copies a fi

Blog farming with pyblosxom and apache2?

2009-07-09 Thread Todd A. Jacobs
I'm having some trouble figuring out how to get multiple pyblosxom instances working on the same server. I thought I could do it like so: ServerName foo.example.com ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ DocumentRoot /var/www/foo RewriteEngine

Re: How to creat private PGP key ?

2009-07-05 Thread Todd A. Jacobs
On Sun, Jul 05, 2009 at 11:31:17AM +0430, a dehqan wrote: > I'll be thankfull if you guide ; How to creat private PGP key in > debian 5 ? with which software ? If you have KDE installed, the KGPG tool makes creating and managing key pairs very easy. The gnome equivalents aren't quite as polished.

Compare default permissions?

2009-07-02 Thread Todd A. Jacobs
Is there a way to compare a running Debian system against the default directory and file permissions created by the netinstaller or the Debian packages themselves? In other words, I'm not interested in file integrity or digital signatures for this particular purpose, just "has anyone accidentally

Re: how can i limit system resources for a particular process?

2009-07-02 Thread Todd A. Jacobs
On Thu, Jul 02, 2009 at 04:26:14PM +0200, Jordi Moles Blanco wrote: > I would like to run dd and let it use, for example, only 10% of the > CPU time or 30% of the total amount of memory. Is that possible? I'm > not looking for a "general" process limit for the whole system, only > for a partic

Re: Lenny hangs on "Activating Swap"

2009-07-02 Thread Todd A. Jacobs
On Wed, Jul 01, 2009 at 07:09:52PM -0700, Mark Marcacci wrote: > The subject line says it all. Just did a clean install of Lenny > 5.0.2,had had several successful reboots and shutdowns and then I don't know why you're having a problem, but I'd suggest the following: - boot into runlevel 1

Re: Number of working days in given month

2009-07-01 Thread Todd A. Jacobs
On Wed, Jul 01, 2009 at 09:27:49AM +0200, Rob Gom wrote: > Hi there, do you know any command line tool which would be able to > display number of working days in given month in given country? I have The shell is your friend. If your needs are simple, this will do: cal | FIELDWIDTHS=2 aw

debian-user@lists.debian.org

2009-07-01 Thread Todd A. Jacobs
As a more accessible example, try running the following cron entry: * * * * /tmp/crontest.sh with the following script: #!/bin/bash echo "shell: $SHELL" echo echo "Testing /dev/stderr: " echo foo > /dev/stderr echo echo "Testing >&2: " echo bar >&2 and you'l

debian-user@lists.debian.org

2009-07-01 Thread Todd A. Jacobs
I noticed that a bash script of mine was causing permission errors under cron, so I had to change it like so: --- boxmail.sh 2009/06/30 09:01:46 1.10 +++ boxmail.sh 2009/07/01 08:01:51 @@ -167,7 +167,7 @@ # Echo message to standard error. function stderr { -ech

Re: Apache2, PHP, and tinyurl

2009-06-28 Thread Todd A. Jacobs
On Sat, Jun 27, 2009 at 08:59:45AM -0400, Napoleon wrote: > Neither. The webserver is attempting to do exactly what it was told > to do. But whomever created the tinyurl did it incorrectly. This > one works: > http://tinyurl.com/oovcqy Hmmm. Thanks. I used the TinyUrl Creator plugin for Fire

Apache2, PHP, and tinyurl

2009-06-27 Thread Todd A. Jacobs
I found a problem in my apache logs with attempts to view a php script on my server. The problem appears to be related to URL decoding, as the page itself is valid. Apache2 says: [Sat Jun 27 04:54:07 2009] [error] File does not exist: /srv/web/scripting/showscript.php?script=internet_outtage

GNOME sftp mount: file doesn't exist

2009-06-26 Thread Todd A. Jacobs
If I attempt to mount an SSH share in GNOME on Squeeze, I get a non-helpful pop-up that says: Error: file doesn't exist GNOME will then mount the remote system at the root directory, but will not allow me to bookmark any directories on the system (e.g. /tmp or a home directory). What does th

pgp passphrase caching in gnome

2009-06-26 Thread Todd A. Jacobs
I'm running Squeeze, and when I go to System->Preferences->Encryption and Keyrings->PGP Passphrases it tells me that there is no running agent. However, I'm also running keychain, and GPG-AGENT-INFO is certainly populated when running an xterm. How can I get GPG to see the agent from inside the GN

Re: Uptimes - any guidance?

2009-06-26 Thread Todd A. Jacobs
On Fri, Jun 26, 2009 at 08:30:01PM +0100, AG wrote: > I'm running Squeeze on a desktop and so far have an uptime of some > 11d. I am just curious whether or not there is any guidance/ advice > on how long uptimes should be allowed to be run, or whether it is > wise to shut down and reboot? Up

Re: GNU Screen draws artifacts with Vim

2009-06-25 Thread Todd A. Jacobs
On Thu, Jun 25, 2009 at 12:01:09PM -0700, Amit Uttamchandani wrote: > I use screen extensively with Vim. Recently I tried a new color scheme > that has a grey background. When scrolling using the keyboard...black > artifacts are left behind where the cursor position was. My terminal > background i

Re: fail2ban block my internet connection

2009-06-24 Thread Todd A. Jacobs
On Mon, Jun 22, 2009 at 03:13:28PM +, rabie chami wrote: > salvation to everyone I have a problem when I run fail2ban everything > works except I have a problem on the internet connection because I > have no connection, I think the problem is when fail2ban block ip > addresses they do on my ro

Re: Can postfix misconfiguration lead to OS breakage?

2009-06-23 Thread Todd A. Jacobs
On Tue, Jun 23, 2009 at 01:33:17AM +0700, Sthu Deus wrote: > Is there a possible misconfiguration on postfix that can lead to an OS > breakage up to root privileges? You can probably screw up any service if you try hard enough. Postfix is relatively secure, at least when compared to sendmail. As

Re: lp/lpr can't print from cups client

2009-06-23 Thread Todd A. Jacobs
On Mon, Jun 22, 2009 at 02:52:26PM -0400, John wrote: > Following Ben Finney's finding under Bug #530027, I downgraded > everything cups to 1.3.8-1lenny5. That in turn required a frightening I'm pretty sure it's a regression or incompatibility. So, I've gone ahead and filed a bug against the pack

pings being dropped

2009-06-23 Thread Todd A. Jacobs
I've noticed that if I use "ping -A" that the kernel starts discarding packets after the first few, only registering every 5th ping. I'm pretty sure this is a flood control measure, but it's interfering with measuring my cable modem for drops, so I'd like to disable this "feature." Is there a sysc

Re: any substitute for x window system?

2009-06-22 Thread Todd A. Jacobs
On Mon, Jun 22, 2009 at 11:58:22AM +0800, ?...@k4 wrote: > I'm looking for a pure c/c++ programmed desktop manager, while the > xorg is depandent on perl, so i do not like it, is there any graphics > system which depands only on c/c++ to replace x window system? thanks Perl is now included in the

Re: java

2009-06-22 Thread Todd A. Jacobs
On Mon, Jun 22, 2009 at 08:50:36AM +0100, thveillon.debian wrote: > I don't remember if I had to update the alternatives manually, I don't > think so. > [...] > update-alternatives --config iceweasel-javaplugin.so That's what I'm saying: there's no option for it. $ sudo update-alternatives -

Re: java

2009-06-21 Thread Todd A. Jacobs
On Sun, Jun 21, 2009 at 05:36:15PM +0100, thveillon.debian wrote: > sun-java is now fully 64 bit, including the plugin, starting with 6-12 > maybe, or even one release earlier. But the icedtea one runs just as > well on my machine, it's just seen as an older version by some > websites and Sun java

Re: java

2009-06-21 Thread Todd A. Jacobs
On Sun, Jun 21, 2009 at 02:16:10PM +0200, Jan Willem Stumpel wrote: > I just want to install a Java runtime environment which will allow me > to see Java applets in action. It seems I have the choice of (at If you're running 64-bit, your choice of plugin is rather restricted. On my system, I use

Re: lp/lpr can't print from cups client

2009-06-21 Thread Todd A. Jacobs
I'm not getting any logs from the local cups-client, but the remote server is logging the following when I attempt to print (see previous post): 192.168.101.103 - - [21/Jun/2009:02:20:49 -0700] "POST / HTTP/1.1" 400 0 - - 192.168.101.103 - - [21/Jun/2009:02:20:49 -0700] "POST /printers/hpo

  1   2   3   4   >