Volunteers needed for Linux project

Doc.Brown at rolls-royce.com Doc.Brown at rolls-royce.com
Wed Mar 18 12:49:54 CDT 2009


I sent him this script, and told him I could easily make a special Ubuntu
Live-CD with it included:

 

#!/bin/bash

# This script uses the command line progress bar,
http://clpbar.sourceforge.net

 

# Make sure user is root...

if [ $USER != "root" ]; then

  echo "You must be root, use: sudo $0"

  exit

fi

 

# Test ALL network cards...

for item in `/sbin/ifconfig -s | grep -v Iface | grep -v lo | awk '{print
$1}'`

do

  echo "Testing $item..."

  /usr/sbin/ethtool -t $item | grep result

done

 

# Erase ALL hard drives...

for drive in `fdisk -l | grep -v identifier | grep Disk | awk '{print $2}' |
tr ":" " "`

do

  size=`fdisk -l | grep -v identifier | grep Disk | grep $drive | awk
'{print $5}'`

  cnt=$(($size/1048576))

  echo "Erasing $drive ($cnt MB)..."

  dd if=/dev/urandom bs=1M count=$cnt | /usr/bin/bar -s $size > $drive

done

 

*** WARNING! DO NOT RUN THIS AS ROOT IF YOU DON'T WANT YOUR DISKS ERASED!

David (Doc) Brown 
Information Specialist 
EDS, an HP Company 
Rolls-Royce Account 
2001 S. Tibbs Ave. W2C 
Indianapolis, IN 46241 
Tel: +1 317 230-3623 
Fax: +1 317 230-6152 
Page: +1 317 230-3883 
E-mail:  <mailto:doc.brown at eds.com> doc.brown at eds.com 

We deliver on our commitments, 
so you can deliver on yours. 

   _____  

From: cinlug-bounces at lists.cinlug.org
[mailto:cinlug-bounces at lists.cinlug.org] On Behalf Of Patrick P
Sent: Wednesday, March 18, 2009 1:07 PM
To: Brown, David (Test Dept)
Subject: RE: Volunteers needed for Linux project

 

 This distro will handle the testing part fine.
http://sourceforge.net/projects/deb-ice/


> Date: Wed, 18 Mar 2009 10:45:41 -0400
> From: schultmc at cinlug.org
> To: announce at lists.cinlug.org
> Subject: Volunteers needed for Linux project
> CC: cinlug at lists.cinlug.org
> 
> Wings for West Africa [1] is seeking volunteers for a Linux project.
> They're looking for volunteers to create a Linux distribution CD and a
> brief step by step process. 
> 
> Their current process is:
> 
> 1. Receive a machine
> 2. See if it powers on and boots
> a. If so, see if the network card works
> b. If not and the machine does not have a hard drive (often a
> donated corporate machine), they install a hard drive, install
> Windows XP, and check out the machine
> 3. Reformat the hard drive. Once the machines get to Africa, a French
> language version of the OS is installed
> 
> 
> This is their most time consuming task.
> 
> They would like to:
> 
> 1. Have a Linux distribution on a bootable CD
> 2. Have a short written script so volunteers can execute the process
> (They can help write the script with some direction from Linux experts)
> 3. Validate the NIC
> 4. Reformat the hard drive
> 
> Michael Zierdt from Wings for West Africa has time available and says he
> can travel anywhere to support this. He has 3 donated PCs, mice,
> keyboards, and a CRT monitor for testing.
> 
> A flyer describing Wings for West Africa is available [2] although it is
> aimed at donation drives.
> 
> [1] http://www.wafwings.org/
> [2] http://www.cinlug.org/files/misc/Wings_for_West_Africa.pdf

   _____  

Hotmail(r) is up to 70% faster. Now good news travels really fast. Find out
more.
<http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009>


This email message and any attachments are for the sole use of the intended
recipients and may contain proprietary and/or confidential information which
may be privileged or otherwise protected from disclosure. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipients, please contact the sender by reply email and destroy
the original message and any copies of the message as well as any
attachments to the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cinlug.org/pipermail/cinlug/attachments/20090318/22d2cf81/attachment.htm>


More information about the cinlug mailing list