Create hostname with static ip address for FSILG network contacts
How to create a static IP address and hostname for use on wired networks or wireless networks in FSILGs.
Solution
- Login to Athena. Go to http://athena.dialup.mit.edu or use a Secure Shell client to login. (ssh on Mac OS X and SecureCRT on Windows)
- Start moira:
athena% /usr/athena/bin/moira
(Note: At any time in creating or updating a host entry before the "operational comment", pressing CTRL-C will cancel the changes.)
- Type "4" for the Machine Menu in the moira interface. Screen should show:
1. (show) Get machine information. 2. (query) Lookup machines. 3. (owner) Lookup machines by owner. 4. (acctnumber) Lookup machines by account number. 5. (add) Add a new machine. 6. (update) Update machine information. 7. (delete) Delete this machine. 8. (cnames) Alias names for machines. 9. (mappings) Machine To Cluster Mappings Menu. r. (return) Return to previous menu. t. (toggle) Toggle logging on and off. q. (quit) Quit. Command:
- Add a new host:
Type 5 for Add Enter:
- It will ask you for a network. Find that information in the following KB article:
FSILG Building and Network Address Information* Network * Machine Hostname * Vendor - APPLE, DELL, LENOVO etc. * Model - PC, MACINTOSH, PRINTER,etc. * OS - WIN7, WIN8, MACOSX, LINUX, etc. * Location - (Leave Blank) * Contact - <username>@mit.edu * Billing Contact - (Leave Blank) * Billing Account Number - (Leave Blank) * Status - "1" Active (Should be the default) * Address - "unique" (Should be the default) * Owner Type - "USER" or "LIST" * Owner's Name - <username> or <listname> * Administrative Comment - (Leave Blank) * Operational Comment - (Leave Blank)
Machine Owner and contact are mandatory fields. Contact should be a valid email address. Machine owner can be a user or a list. Lists are appropriate for computers that are owned by a summer boarder without an MIT username, computers maintained by more than one person, or are owned by a group within the house or will be maintained for years, presumably after the original maintainer has left the house. - Get Hostname Information:
Type "1" for Show -OR- on Athena command prompt type: athena% stella <hostname>
Configure static IP address
Once the static IP address has been created, you'll need to configure the computer to use this address.
[archive:How do I configure my computer to use a static IP address?]