FGss

From FreekiWiki
Revision as of 20:54, 23 April 2008 by Ryan52 (talk | contribs) (coders category)
Jump to navigation Jump to search

FGss (Free Geek Specifications Sheet) is an application that will end up in FGdb eventually. Its job is to print out a nicely formatted report showing the specifications of the system.

Current Status

Right now I have rewritten it to the point where it can be put into FGdb

Printme

Use this method if you can.

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

Known 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

Manually

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://rocky/reports/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.