Difference between revisions of "Client Recipe"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
 
Line 13: Line 13:
 
# Under the general network configuration "DNS" tab, put the appropriate IPs of einstein and roentgen for primary and secondary DNS (local for farm as the primary connection, unh for unh as the primary connection)
 
# Under the general network configuration "DNS" tab, put the appropriate IPs of einstein and roentgen for primary and secondary DNS (local for farm as the primary connection, unh for unh as the primary connection)
 
# Save the changes made with system-config-network
 
# Save the changes made with system-config-network
# Open /etc/sysconfig/network-scripts/ifcfg-unh in a text editor
+
# If a virtual device was added:
# Add the line <code>VLAN=yes</code>, and save
+
## Open /etc/sysconfig/network-scripts/ifcfg-unh in a text editor
 +
## Add the line <code>VLAN=yes</code>, and save
 
# Run gtk-authconfig
 
# Run gtk-authconfig
 
# Check "Enable LDAP Support" under the "User Information" and "Authentication" tabs
 
# Check "Enable LDAP Support" under the "User Information" and "Authentication" tabs

Revision as of 19:31, 17 July 2007

A simple n-step process to set up a client lickety-split:

  1. Install Fedora in the typical fashion, skipping the steps for creating a default user and network authentication
  2. Log in as root
  3. Run system-config-network
  4. If there isn't one already, add an ethernet device on eth0. If this client is not in the server room (and therefore not going to use a VLAN), skip to the next full step
    1. Choose to statically set the IP address to an available local number (10.0.0.*)
    2. Give the device the alias "farm".
    3. Run vconfig add eth0 2 to create a virtual device "eth0.2"
    4. Use system-config-network to add an ethernet device to eth0.2
  5. Alias it "unh"
  6. Choose to statically set the IP address to whatever was registered for the client
  7. Set the gateway to 132.177.88.1
  8. Under the general network configuration "DNS" tab, put the appropriate IPs of einstein and roentgen for primary and secondary DNS (local for farm as the primary connection, unh for unh as the primary connection)
  9. Save the changes made with system-config-network
  10. If a virtual device was added:
    1. Open /etc/sysconfig/network-scripts/ifcfg-unh in a text editor
    2. Add the line VLAN=yes, and save
  11. Run gtk-authconfig
  12. Check "Enable LDAP Support" under the "User Information" and "Authentication" tabs
  13. Click "Configure LDAP..."
  14. The base DN is dc=physics,dc=unh,dc=edu and the server is einstein.unh.edu.
  15. "Download CA Certificate" doesn't ever seem to work, so get "unh_physics_ca.crt" from einstein and put it in /etc/openldap/cacerts" (hint: scp).
  16. Click OK in LDAP Settings.
  17. Click OK in authconfig
  18. Copy the appropriate content into the Autofs Configuration Files
  19. Reboot