FGss

From FreekiWiki
Jump to navigation Jump to search

FGss (Free Geek Specifications Sheet) is the old name of a project that is now a component of FGdb. Its jobs are to print out a nicely formatted report showing the specifications of the system, and to store as much information about the hardware as feasible for later retrieval.

Printme

Use this method if you can.

  • Open a terminal and type printme.
  • Answer the questions it asks
  • When firefox pops up, print it

Bugs

oops!

Incompatible versions of printme

I made another new version of printme/fgss. This one will not tell you you need to update, but will give errors instead. The errors probably won't even make sense.

./scripts/printme:161:in `get_id_and_stuff':
undefined method `each' for nil:NilClass (NoMethodError)

To get the new version, go to "System=>Administration=>Update Manager". Click "Check" and then click "Install Updates". This new version will give you nicer errors, and the next time theres a new version it will nicely tell you that you need to install updates and tell you how.

--Ryan52

Other bugs

If something goes wrong or if you have suggestions, send it to the build teachers email list.

How to do this manually (without printme)

These instructions assume you are physically at Free Geek. The URL mentioned is not accessible from outside.

Here are instructions for using the application without printme (If there is bad xml that has to be fixed or something):

  • Start out as the user "oem" in the home directory. Open up a command line and execute the lshw command this way:
sudo lshw -xml > dump.xml
  • That should create a file called /home/oem/dump.xml. You will need to upload the file to the server and answer a few questions.
  • Make sure you are hooked up to the network.
  • Make sure you are hooked up to the printer.
  • Start your browser and go to this URL:
http://data/spec_sheets/new
  • Fill out the form
    • Use your ID number (the one you use to report hours at the front desk).
    • If you are builder, select build.
      • (Build is selected by default. If you are doing quality control, select quality control instead.)
    • Enter any notes you would want the recipient of this computer to see.
    • Optionally, enter an old ID number (if there is one)
    • Using the browse button find the /home/oem/dump.xml file, and click on the open button to select it.
    • Click on submit (and wait a little bit). You should eventually see the report.
  • Print the report.