Re: ssh

2012-02-16 Thread Dale Farnsworth
That's a problem on DOS or windows, but in Unix/Linux, the output is piped into the input of the next command one small piece at a time. -Dale I think the problem with using a pipe is that it puts te results of the first command into the input of the second command. My problem is that I don't

Re: backup entire system

2012-01-03 Thread Dale Farnsworth
reiser4 obsolescent and it has never had the reliability of ext3/4. On the other hand, ext4 is a mainstream, well-supported FS. Dale Farnsworth --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe

Re: keyboard stopped working

2011-12-24 Thread Dale Farnsworth
It sounds to me like you had a stuck key. The bios beeps if you keep pressing a key after the keyboard input buffer is full. Keyboard autorepeat causes continual beeping when a key becomes stuck in the down position. I think you have a dirty keyboard, causing one or more keys to stick from time

Re: New UPS

2011-12-21 Thread Dale Farnsworth
Have you tried googling the therms Tripp lite G1010USB ubuntu. From the results, it looks like it is supported and there are utilities for you to determine status. Disclaimer: I have no personal experience with this. -Dale Yep, that is my experience as well. Back in the day, one needed to

Re: panic

2011-11-26 Thread Dale Farnsworth
The kernel version is 3.0.0, and the 13th Ubuntu revision of that kernel. -Dale don't think it told me what kernel it is running! bmike1@mikes-laptop:~$ uname -a Linux mikes-laptop 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:25:36 UTC 2011 i686 athlon i386 GNU/Linux bmike1@mikes-laptop:~$

Re: Centurylink Modem

2011-11-16 Thread Dale Farnsworth
Same here. I use a D-Link DSL-2540B for DSL and then a separate wireless router, currently an early WRT54GS running openwrt. -Dale Honestly. Ian a big fan of separateing modem from firewall and wireless. At home I have my modem. Then I have a smoothwall firewall. And the I have a wireless

Re: netmask in a script

2011-10-27 Thread Dale Farnsworth
Larry wrote: I would like to apply a netmask to an arbitrary IP in a bash/dash script (e.g. apply 255.255.255.0 to 173.10.3.155 to get 173.10.3.0). Is there any easy way to do that without taking the IP apart, doing 4 operations and reassembling the results? I know you said without

Re: OT: Weirdness With WiFi Access Point

2011-09-21 Thread Dale Farnsworth
My Android WiFi analyzer only shows three channels - the two in my house (channels 3, 11) and a linksys next door (channel 1). The linksys next door has a max signal strength of around -90 dbm on a good day. I will try switching my DL-524 to channel 5 to see if there is any change. BTW, both

Re: batch job

2011-08-05 Thread Dale Farnsworth
I have finished doing the work but did it manually. For future reference, I'd like to re-learn what I forgot from 20+ years ago about how to do this the easy way. Basically, I had a directory full of files that I wanted to process all the same way and rename them in the process. What I

Re: Google+

2011-07-01 Thread Dale Farnsworth
It looks like no invitation is needed. Just go to plus.google.com. If you're lucky, you can sign up; if not, leave you email to request a notification. It took me a half dozen tries before I got lucky. :) -Dale So the latest story is the loophole is not closed just google is limiting to X

Re: Linux sys vars?

2011-05-12 Thread Dale Farnsworth
Hi, I keep seeing a reference to what looks like two pre-populated variables in shell scripts.  Actually this one is in a crontab. Something like this :  /home/user-name/directory-name/scriptname.php /dev/null 21 What is the number 1 and 2?  Is there others? Unix and copycats, like

Re: DNS Name Servers.

2011-04-29 Thread Dale Farnsworth
Keith wrote: Hi, I have an old lap top on which I have installed CentOS 5.6 and Qmail Toaster.  I can send and receive email just fine.  Qmail Toaster is working just fine. Now I want to configure Bind.  Currently I am using my registrar's DNS.  I would like to run my own for the

Re: Security-related question

2011-02-22 Thread Dale Farnsworth
Jason wrote: On 02/22/2011 09:06 AM, Jim March wrote: One other thing: on top of the Windows guest issue, I've got *something* in Linux that's also hitting the wire a lot. Is there something similar to top that tracks Linux processes by network traffic impact? I'd like to eliminate

Re: Opening, blocking and changing ports on RedHat

2011-01-04 Thread Dale Farnsworth
Eric 'shubes' wrote: On 01/04/2011 12:52 PM, keith smith wrote: Here is a twist. I set my SSHD to port 2200 but did not change /etc/services, which lists ici on port 2200 for both tcp and udp. I am able to shell in using port 2200. Why no conflict? Keith Smith I don't know if

Re: rsync help the gramma

2010-12-09 Thread Dale Farnsworth
Bryan wrote: This is true - if you change the destination folder you do copy everything because rsync does not know you copied anything before. This is true in the general case. However, you can tell rsync about the files you copied before with the --compare-dest, --copy-dest, or --link-dest

Removing a file whose name starts with '-', was Re: How to command line rotate an image?

2010-11-12 Thread Dale Farnsworth
I don't know who to rotate the image, but to delete your file you need to use the inode. This is off the top of my head so if the synax is wrong you can just google it. ls -il -rotate90 find . -inum 123456 -exec rm -i {} \; The above suggestion doesn't work because the ls command fails.

Re: using echo 'text' file (to add to last line of several documents)

2010-10-27 Thread Dale Farnsworth
On 10/27/2010 01:02 PM, Matt Graham wrote: From: Eric Shuberte...@shubes.net On 10/27/2010 12:30 PM, Matt Graham wrote: alias ..='cd ..' alias ...='cd ../..' and I don't believe you can write a script named .. without a lot of fooling around What happens though when you

Re: OT: WiFi hardware question

2010-10-26 Thread Dale Farnsworth
Okay, this one seems like a no-brainer question to me but I haven't dealt with one before. A wireless access point like this one: http://www.newegg.com/Product/Product.aspx?Item=N82E16833180035 should get better reception with that antenna than one of those little stubby USB adapters like

Re: perl or sed s/// problem

2010-08-05 Thread Dale Farnsworth
Sed seems to have the same problem. Anyone have any ideas on how I can get this to work? And yes, unfortunately, I need to use the variables. Try something like $ sed -e s|$line|$newline| file Yes, this is a common solution to this problem. I've often seen, and have occasionally

Re: Running Tar from a Shell Script.

2010-07-27 Thread Dale Farnsworth
If I run tar -czf /backups/my-backup-$(date +%Y%m%d).tgz /work/dev/ from the command line, less the quotes, it runs just fine with the exception of the one message that says tar: Removing leading `/' from member names, which I am not sure exactly what that means. If filenames are stored in a

Re: Perl subroutines

2010-07-09 Thread Dale Farnsworth
I'm working on a perl script, and I have a lot more experience in ruby than I do in perl. As far as I can tell there is no way to explicitly define arguments for a subroutine in perl, for example sub addNums(number1, number2) { sum = number1 + number2; return sum; } rather than

Re: What syntax for global 'chown' fix?

2010-06-08 Thread Dale Farnsworth
Joe wrote: While the example commands below work to change permission for either a complete system or for a complete directory and all sub-directories, what would the syntax be for a similar command to 'chown' (change the owner) globally or for a designated directory and and the files and

Re: 64bit computer?

2010-05-11 Thread Dale Farnsworth
In article 4be8edc8.9030...@cox.net you write: I would like to hear what every one thinks about 64 bit computers. What makes a 64bit computer? Is it just the OS and or does a 64bit computer need a specific kind of motherboard and cpu? Any thing else I have left out? I am assuming that

Re: Any C++ poets around? What da'ya think?

2010-05-07 Thread Dale Farnsworth
kitepilot wrote: [ some code showing that null pointer dereference on Linux results in a seg fault, while it just returns 0 on AIX.] Yes, that is indeed the way it works. On the PDP-11, where much of the early (not earliest) UNIX code was written, there was no hardware support for separate

Re: why does FF take up the entire desktop?

2010-02-08 Thread Dale Farnsworth
Whenever I maximize Firefox in Ubuntu, it takes up my whole desktop. Its really irritating because I have to press Alt-F9 to minimize it, as the window controls are gone (it super maximizes it, the header on the window is not visible nor is the other Gnome desktop controls). Any ideas on

Re: Kernel Versions

2010-01-18 Thread Dale Farnsworth
I recently hit the kernel.org website looking to see what the latest stable kernel version number is, and I noticed they have listed 5 stable kernels 1. 2.6.32.3 2. 2.6.31.11 3. 2.6.30.10 4. 2.6.27.43 5. 2.4.37.7 I won't comment on 2.4 because I don't do development there. The current

Re: Is there a faster/better way to ftp?

2010-01-06 Thread Dale Farnsworth
Man, people still using FTP? Are you aware of the FTP vulnerabilities? Do you use email? Are you aware of email vulnerabilities? Do you use the web? Are you aware of the vulnerabilities? FTP is no more vulnerable than other protocols. -Dale

Re: Dell Laptop Recommendation

2009-11-07 Thread Dale Farnsworth
My Dell Latitude just died...a subject for a different post. I just received an advertisement from Dell for a Studio 1555 on sale for $699 (Windows 7). The Dell sales rep said it is also Linux compatible. I want to install Debian testing on it. It has a dual core 64 bit processor. I have

Re: An Ext4 question...

2009-08-09 Thread Dale Farnsworth
Does anybody know what happens when you stash a huge number of tiny files in Ext4? Does it store them efficiently the way ReiserFS does? No. Neither ext3 nor ext4 efficiently stores sub-block sized files. The minimum files size granularity is the block size. The internal fragmentation can

Re: An Ext4 question...

2009-08-09 Thread Dale Farnsworth
opinion, BTRFS development has now surpassed it. BTRFS hasn't yet reached the level where I can trust it as much as ext3/ext4, but I have high hopes for it. For more info, see http://lwn.net/Articles/342892/. -Dale -mb On Sun, 2009-08-09 at 11:47 -0700, Dale Farnsworth wrote: Does

Re: Scripting help

2009-08-03 Thread Dale Farnsworth
Same result with and without the -1 :( I believe it is a L (but lowercase) not a 1 It should be the number 1, meaning list one file per line. -Dale --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe,

Re: Google Chrome OS on Linux

2009-07-10 Thread Dale Farnsworth
I couldn't resist jumping into this religious discussion. Disclaimer: I think the world would be better with more Free Software and more Open Source Software. However, I use windows when it's useful. I also think that it's likely that Google is doing evil, although they likely don't see it as

Re: Epic Epoch Time Party Time

2009-02-10 Thread Dale Farnsworth
Tuna wrote: I'm sure you are all aware of the UNIX epoch, and how it will be 1234567890 on the night of Friday the 13th, 23:31:30. I suggest that we have a PLUG party on this night to go down in history. We will all watch the clocks on our laptops (we'll sync times of course) until that one

Re: Anybody experienced with Sidux?

2009-01-08 Thread Dale Farnsworth
Jim wrote: On Thu, Jan 8, 2009 at 8:27 AM, Ben Browning b...@bensbrowning.com wrote: You can have both repos but it won't do you much good as anything that has changed in Sid will get overwritten and anything that hasn't changed since Stable will be the same version in both places. Sure,

Re: Anybody experienced with Sidux?

2009-01-08 Thread Dale Farnsworth
Jim wrote: On Thu, Jan 8, 2009 at 3:20 PM, Dale Farnsworth d...@farnsworth.org wrote: I'd recommend that you use testing, unless you have a specific reason for using unstable (sid). With testing, there is less churn and less likelihood of packages needing manual fixups or not installing

Re: Linux Administration - Users in (any) database howto/why...

2009-01-01 Thread Dale Farnsworth
Enrique wrote: OK, I've reached that (long postponed) point of my life where I *HAVE* to ditch /etc/passwd and /etc/group in favor of storing my users in a database. Any database... [...] Furthermore, I want to login with my trusted /etc/passwd - /etc/group combination when I SSH into

Re: OT: Pre-Paid Cell Phones

2008-11-29 Thread Dale Farnsworth
Nathan wrote: I am looking for a pre-paid cell phone rather than another contract. The three available in my area are Tracfone Net10 Verizon InPulse Have any of you used any of these, what is your opinion of it? Please only these as that is all that is available in my area. I

Re: Suse 9, [kacpid] and display of ps

2008-10-22 Thread Dale Farnsworth
In article [EMAIL PROTECTED] you write: if it shows up in a PS then its running ;-) however kacpid is just the type of acpi daemon k probably the KDE implementation of it if took a guess. In this case, the k stands for kernel. It's the kernel ACPI daemon. -Dale On Wed, Oct 22, 2008 at

Re: ****Changing the Time Zone

2008-09-17 Thread Dale Farnsworth
Really? So why when I am logged in as user1 and I run date -u and request the time I get UTC, but when I then su - and ask for the time I get MST and if I date -u as root and login as user2 I still get MST and on reboot everything is back as MST? I can literally use date to set a different

Re: ****Changing the Time Zone

2008-09-16 Thread Dale Farnsworth
The date command only changes the time for the user, I was hoping for a global alteration. ?? The date command sets the system time. No per-user time is maintained in Unix/Linux. -Dale --- PLUG-discuss mailing list -

Re: Virtual Dedicated Server has not /dev/net - ProblemwithOpenVPNdev/net/tun

2008-08-05 Thread Dale Farnsworth
Bryan wrote: This is a sad statement... Or a really good one... I have never had to install a Linux diver in my entire Linux life. The if_tun.h file was It just means that you've been using Linux distributions which automatically installed the drivers for you. That's what most desktop

Re: Wine and serial programming

2008-08-04 Thread Dale Farnsworth
Ed wrote: I don't have 'doze! And am not a serious linux guru. What my question is is the recent wine or just straight linux distro able to take a preloaded WINDOWS file in C-language (link to follow) and shove it down a serial port to 're-program' a atmel avr butterfly device? The orginal

Re: Xorg slow down rquires a kill

2008-04-24 Thread Dale Farnsworth
Michael wrote: I've noticed that after about 2-3 weeks of not shutting off my computer that things grind to a halt and that I need to kill Xorg. Is there anything I can do or is it just my old k6 processor and I'll have to live with it? Most likely it's firefox that is growing and using up

Re: Sendmail configuration

2008-03-20 Thread Dale Farnsworth
If you don't have valid forward and reverse DNS for the IP you're sending from, a fair number of places will give you a 500-series error. There are good reasons for doing that, since mail from a place that has invalid DNS is much more likely to be spam. Get a domain name of some type; go

Re: Qwest PPPoA passing with PPPoE - Can not get an address

2008-02-14 Thread Dale Farnsworth
On Thu, Feb 14, 2008 at 12:04:19PM -0700, Eric Shubes wrote: Dale Farnsworth wrote: [snip] I tried to do this about 18 months ago when I got qwest dsl, and gave up. If you solved it, please share the solution with us (or at least with me. :)) Thanks, -Dale I have an actiontec DSL

Re: A new wrinkle in the Howell case

2008-01-14 Thread Dale Farnsworth
Chris wrote: I'll make a real effort not to respond to stuff I find provocative. Bless you. -Dale --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings:

Re: Broadband / DSL recommendations?

2007-11-29 Thread Dale Farnsworth
Micah DesJardins wrote: I don't need an ISP for email, hosting or any other service other than the connection itself. It looks like FastQ will cost me more than the data only option from Qwest. What's the benefit that I'm missing on going with FastQ over Qwest if they're using the same line?

Re: Broadband / DSL recommendations?

2007-11-29 Thread Dale Farnsworth
Keith Smith wrote: If you have business DSL with Qwest you can get IP's also. Why would you want to though. They want too much money. If you are really serious about your server it should be co-located. True. For me, it's a hobby, so I do it on the cheap. For about $50/month, the family

Re: ****Re: ****Re: ****Re: ****What's up with 64 bit Linux

2007-11-26 Thread Dale Farnsworth
The biggest issue is that all your pointers are twice as big. The next issue is that while it was possible to never use int and always use something like int32 and define that to be int in a header file, I've only seen one place where everybody coded this way consistently. So as a practical

Re: Defining PC categories -- was Walmart PC's are gone

2007-11-16 Thread Dale Farnsworth
Keith Smith wrote: Do you mean free utilities on top of their OS to increase sales and to kill off businesses in vertical markets? Such as adding networking to the OS where to network prior one would buy a third party product. I'm pretty sure JT means that Microsoft will give away windows

Re: Defining PC categories -- was Walmart PC's are gone

2007-11-16 Thread Dale Farnsworth
,135463-pg,1/article.html -Dale Dale Farnsworth [EMAIL PROTECTED] wrote: Keith Smith wrote: Do you mean free utilities on top of their OS to increase sales and to kill off businesses in vertical markets? Such as adding networking to the OS where to network prior one would buy a third

Re: OT: how to set up a newsletter mailing list

2007-11-12 Thread Dale Farnsworth
Joe wrote: What is the best way to set up a newsletter mailing list so I can send the same email message once a month to all of the email addresses (about 100) in my mailing list without using Cc: or Bcc:? This would *not* be spam as these are email addresses of my own clients.

Re: Tar archive problems.

2007-10-28 Thread Dale Farnsworth
Nathan wrote: I have a set of files that are lists of files in my filesystem. I run backups against these scripts doing something like this... #!/bin/bash copy_contents() { (tar -cpf - $i | tar -f - -xpC /tmp/filearchive.1) } while read i ; do if ! [ -d $i -a -e $i ]; then

Re: the old spaces in file names thingy in shell scripts

2007-10-10 Thread Dale Farnsworth
In article [EMAIL PROTECTED] you write: My script breaks if the file names have spaces... #!/bin/sh # BASE=/home/storage/users/craig/Desktop/dw IN=in OUT=out for f in *.flv; do ffmpeg -i $f `basename $f.mp4 .flv`; done I don't think the above basename args do what you want. mv *flv