[PLUG] Laptop as Server?

2009-10-26 Thread Tim Wescott
My #1 son and I are in mild disagreement. I've got an old Dell laptop (Latitude 26something) that I've put Xubuntu on and am re-purposing as a version control server (later internal web server for testing and probably Dirvish for, well, survival). (And yes, using a laptop as a server has a nu

Re: [PLUG] Is fdisk/sfdisk lying to me?

2009-10-26 Thread linux-yug
On Mon, 2009-10-26 at 21:31 -0700, William A Morita wrote: > Is "fdisk" or "sfdisk" lying to me? Or both? > > Below is the output of both "fdisk" and "sfdisk". Nobody makes sense. > > Both claim the different geometry (heads, sectors/track) and a differing > number of cylinders. > Yet both prett

[PLUG] Is fdisk/sfdisk lying to me?

2009-10-26 Thread William A Morita
Is "fdisk" or "sfdisk" lying to me? Or both? Below is the output of both "fdisk" and "sfdisk". Nobody makes sense. Both claim the different geometry (heads, sectors/track) and a differing number of cylinders. Yet both pretty much agree on the ending cylinder of sda1. With the number of heads dis

Re: [PLUG] Reinstall, yet save everything

2009-10-26 Thread John Jason Jordan
On Mon, 26 Oct 2009 19:30:18 -0700 Derek Loree dijo: > On Mon, 2009-10-26 at 18:06 -0700, John Jason Jordan wrote: > > [snip] > > > I note there is a net install. I don't completely trust my net > > connection. It's fast, but sometimes Comcast throws me a curve. I'd > > much rather download an

Re: [PLUG] shell scripting

2009-10-26 Thread linux-yug
On Mon, 2009-10-26 at 20:04 -0700, Patrick J. Timlick wrote: > This "disclaimer" seems silly in here, doesn't it? Can't we please not do > this? > I don't know about this one.. But, my prior office added the disclaimer on the way out.. I could not stop it.. Linux-yug.. > EMAIL DISCLAIME

Re: [PLUG] shell scripting

2009-10-26 Thread Patrick J. Timlick
This "disclaimer" seems silly in here, doesn't it? Can't we please not do this? EMAIL DISCLAIMER: > > This email and any attachments thereto may contain private, confidential, >> and > > privileged material for the sole use of the intended recipient. Any review, > > copying, or distribution of th

Re: [PLUG] Reinstall, yet save everything

2009-10-26 Thread Derek Loree
On Mon, 2009-10-26 at 18:06 -0700, John Jason Jordan wrote: [snip] > I note there is a net install. I don't completely trust my net > connection. It's fast, but sometimes Comcast throws me a curve. I'd > much rather download an ISO via torrent, even if it's several CDs or > DVDs. I'm in no rush.

Re: [PLUG] Reinstall, yet save everything

2009-10-26 Thread David Kaplan
John, You want cutting edge and stable. Stabler than Fedora? Try Arch Linux. http://bbs.archlinux.org/ http://distrowatch.com/table.php?distribution=arch I think you'll like it. Dave On Mon, Oct 26, 2009 at 6:16 PM, John Jason Jordan wrote: > On Mon, 26 Oct 2009 18:06:56 -0700 > John Jason

Re: [PLUG] Reinstall, yet save everything

2009-10-26 Thread John Jason Jordan
On Mon, 26 Oct 2009 18:06:56 -0700 John Jason Jordan dijo: > I note there is a net install. I don't completely trust my net > connection. It's fast, but sometimes Comcast throws me a curve. I'd > much rather download an ISO via torrent, even if it's several CDs or > DVDs. I'm in no rush. But I ca

Re: [PLUG] Reinstall, yet save everything

2009-10-26 Thread John Jason Jordan
On Sun, 25 Oct 2009 14:45:23 -0700 Michael Moore dijo: > > I am a bit concerned about what Rogan said about Debian. I do want > > something reasonably up to date on the tech curve, but the name > > "testing" is a turn-off. But then, it is just going to be a one-week > > experiment. > > The testi

Re: [PLUG] shell scripting

2009-10-26 Thread Roderick A. Anderson
Lemseffer. Tahar (MSA) wrote: > Example as follow: > > LIST = 'ypcat hosts|| sort | awk '{print $2}'' > for Devices in $LIST I suggest you modify the two lines above to this one so you're not running into the interesting side effects of bash variable assignments and confusion of apostrophes &

Re: [PLUG] shell scripting

2009-10-26 Thread Robert Citek
Can you post the output from the script rather than your description of the output? That is, can you wrap your script in this and run it: true && ( set -x # insert your script here ) >& output.txt and post the contents of output.txt. Here's what I mean: true && ( set -x LIST = 'ypcat hosts|| s

Re: [PLUG] shell scripting

2009-10-26 Thread Lemseffer. Tahar (MSA)
Yes I have run it manually? The results: If the community name is incorrect I get: Timeout: no response from Device### If the community name is true I get: Error count :value That is what I want to implement Thanks -Original Message- From: plug-boun...@lists.pdxlinux.org [mailto:plug-bou

Re: [PLUG] shell scripting

2009-10-26 Thread Robert Citek
Maybe the shell script isn't the issue. Have you tried running the snmpget command manually? Regards, - Robert On Mon, Oct 26, 2009 at 1:27 PM, Lemseffer. Tahar (MSA) wrote: > Great > But I want to be able to get an intrusion some how someone is trying to > get into the device1 __

Re: [PLUG] shell scripting

2009-10-26 Thread Lemseffer. Tahar (MSA)
Example as follow: LIST = 'ypcat hosts|| sort | awk '{print $2}'' for Devices in $LIST do Value=`snmpget -v1 -c privator $Devices snmpInBadCommunityNames.O |awk '{print $4}' ` "check for intrusion on all devices, if there is none should return a zero" Thanks again T -Original Message--

Re: [PLUG] shell scripting

2009-10-26 Thread Lemseffer. Tahar (MSA)
Great But I want to be able to get an intrusion some how someone is trying to get into the device1 Regards, T -Original Message- From: plug-boun...@lists.pdxlinux.org [mailto:plug-boun...@lists.pdxlinux.org] On Behalf Of Robert Citek Sent: Monday, October 26, 2009 10:23 AM To: Genera

Re: [PLUG] shell scripting

2009-10-26 Thread Robert Citek
On Mon, Oct 26, 2009 at 1:09 PM, Lemseffer. Tahar (MSA) wrote: > Thank you Robert, > > The code will output the list of my hosts file. That's what it should do. I suspect it may not. For example, here's what I get when I run it from the command line: $ LIST = 'ypcat hosts|| sort | awk '{print

Re: [PLUG] shell scripting

2009-10-26 Thread Lemseffer. Tahar (MSA)
Thank you Robert, The code will output the list of my hosts file. I want to be able to keep track on all my devices using snmp, check if there is an intrusion also, Thanks -Original Message- From: plug-boun...@lists.pdxlinux.org [mailto:plug-boun...@lists.pdxlinux.org] On Behalf Of Robe

Re: [PLUG] shell scripting

2009-10-26 Thread Robert Citek
Try running this variation of the script: LIST = 'ypcat hosts|| sort | awk '{print $2}'' for Devices in $LIST ; do echo $Devices done > output.txt Post the contents of output.txt I suspect the error is in using single quotes instead of backtics and possibly using an OR (||) instead of a pipe.

Re: [PLUG] shell scripting

2009-10-26 Thread Lemseffer. Tahar (MSA)
Good morning All, I want to keep track on all my devices using snmp. Any intrusion on the devices. Any ideas? thanks -Original Message- From: plug-boun...@lists.pdxlinux.org [mailto:plug-boun...@lists.pdxlinux.org] On Behalf Of Joe Pruett Sent: Wednesday, October 21, 2009 3:01 PM To: Gene

Re: [PLUG] Dansguardian and downloading...

2009-10-26 Thread m0gely
Michael Robinson wrote: > I'm wondering if anyone has set up the 2.8.0 version so that they > can download files? The default doesn't allow this. 2.8.0 is ancient and unsupported. 2.10.1.1 is the current stable. DG is setup by default to be content secure in a K-12 environment, so it's pretty t