Difference between revisions of "Printme"

From FreekiWiki
Jump to navigation Jump to search
Line 28: Line 28:
  
 
Start by opening up the latest version of [http://wiki.freegeek.org/index.php/File:Printme.txt printme] in a new tab.
 
Start by opening up the latest version of [http://wiki.freegeek.org/index.php/File:Printme.txt printme] in a new tab.
Copy ''command+a''the entire contents of the printme then open Terminal.
+
Copy ''command+a'' the entire contents of the printme then open Terminal.
  
 
  In Terminal move the old printme to another name:
 
  In Terminal move the old printme to another name:
Line 36: Line 36:
 
  $sudo nano /usr/bin/printme
 
  $sudo nano /usr/bin/printme
  
  Once you have started a new printme file past by using ''command+v''
+
  Once you have started a new printme file past by using ''command+v''  
  
 
  Now change the permissions so that the file can be read:
 
  Now change the permissions so that the file can be read:

Revision as of 17:00, 24 March 2012

Printme is a utility that is used in the build program and in tech support to record various hardware features of the system, and the people who have worked on it, as well as the problems found.

Generating Printme report without a script

There are times when you need to generate a printme report, and do not have freegeek-extras installed e.g.:

  • systems built in MacBuild
  • system with an unreadable hard drive, but bootable from a live cd


You can still run the report by opening a terminal and entering the following:

lshw -xml >> printme.xml

This will run the lshw command, which will generate its output in XML format and use it to create a file called printme.xml in your current directory.

Once the XML file is created, use a web browser to connect to Free Geek's printme database (NOTE: the database is only accessible from Free Geek's internal network), fill out the relevant information, and upload the XML file. This should provide you with a printme report that can be printed.

Using this system, you can also create a printme.xml on an offsite box and then use a copy of that file to create a printme when you get back to FG.

Finding printme info on a broken machine

Provided the files still exist and you can boot from a liveCD, printme info is located in /var/lib/freegeek-extras/printme/

Mac Printme

From time to time a new version of printme gets created, because of the OS that Macland is using to test the Macs they can not update in the same manor as Build. These steps below will allow you to move the old printme and replace it with the new version allowing printme to run.

Start by opening up the latest version of printme in a new tab. Copy command+a the entire contents of the printme then open Terminal.

In Terminal move the old printme to another name:
$sudo mv /usr/bin/printme /usr/bin/printme.old
Now create a new printme file:
$sudo nano /usr/bin/printme
Once you have started a new printme file past by using command+v 
Now change the permissions so that the file can be read:
$sudo chmod +x /usr/bin/printme
Now you are ready to run printme again.
 This Document in progress JDT Mar 24 2012