FAQ

FAQ

How to I create my [CADE/CoE/Engineering] website?

With a CADE account, you can create a personal web page/site hosted from your home directory and viewable at www.eng.utah.edu/~username.

To get started, log in to a CADE Linux, Mac OS or Windows machine (or access it remotely) and create a directory named public_html (or .public_html, either works fine) in your home directory (/home/username/). Place any site files (php, html, etc.) or any file you want accessible via your web page for download in that directory.

See the other FAQ’s on permissions and services for more details on those.

Permalink.

Is SolidWorks available for download for research or department computers?

SolidWorks 2017-18 is currently available for student and department installations. The version of SolidWorks available is tied to the academic calendar and new versions are typically made available to us during summer semester. After testing, we upgrade the labs in preparation for fall semester.

There are three editions of SolidWorks available and each is intended for a specific use:

The Student Engineering Kit is the full version that matches the version installed in our labs feature for feature, however its license allows it to be installed on student laptops or home computers and activates directly with SolidWorks over the internet. The activation is valid for 1 year, at which point you will need to install the new version for the new academic year to continue using SolidWorks. Most students will want to install this edition of SolidWorks.

The Education Edition is intended to be installed on College of Engineering department desktops. It requires access to CADE’s network license server in order to run. So, while it can be installed on home computers, doing so requires either an active connection to the Campus VPN, or a monthly license borrowing procedure in order for the licensing to work properly. This is typically NOT the edition you want if you are installing SolidWorks on a laptop or home computer.

*** THIS SOFTWARE IS ONLY PROVIDED TO STUDENTS IN THE COLLEGE OF ENGINEERING AT THE UNIVERSITY OF UTAH. ***

Installation instructions for all three editions can be obtained by accessing the Solidworks folder in CADE’s U.Box repository.
Log in with your CIS credentials (UNID & CIS/UMail password). If you’ve not created your U.Box account, do so first.

Note:  Solidworks is a MS Windows-only program and will NOT run on (Mac) OS X or Linux distros.  One could, however, use a Windows virtual machine or emulator to run it (VirtualBox, VMWare Player/Fusion, Parallels, CrossOver, VirtaulPC, etc.)

Permalink.

Which username/password should i use for [insert service name]?

We have evolved to where each user has one username and ONE password. We may refer to your CADE or CoE username and password. This is separate from your CIS/uNID and it’s password, but we may ask you to use those for authentication, such as when creating your account or changing your password.

Your CADE/CoE username is some combination of letters from your names (First, Middle(s), & Last) and generated by an algorithm. Once created, we don’t change them except in rare circumstances.

Your CADE/CoE account is use for:
• logging in to any Linux, MacOS, or Windows computer on our Domain (USERS\ or users.coe.utah.edu), including lab machines, Terminal Servers, VDI hosts, or other Virtual Machines.
• connecting/mounting a Network File Share with CIFS/SMB.
• WebPrint and any PaperCut printing services.
• logging in to your DreamSpark and MSDNAA accounts.
• mounting a Network File Share with NFS.

Note: Your CADE/CoE username and passwords are 100% separate and in addition to your CIS or other campus logins and accounts. Some departments may have labs or computers that require specific logins.

Permalink.

How do i share a folder or files with another user or group?

Once logged in to a linux machine, open a Terminal and you’ll issue a few commands. By default, you start in your home directory (/home/username) and it may appear with a prompt to the left of the cursor indicating that (a user’s ‘home’ may be represented by the ‘~’ char).
If you don’t have a directory to share, create one with something like:

[warthogs@lab1-23 ~]$ mkdir TeamSamba

The directory inherits the default permissions, in this case rwx (read-write-execute for the owner, your username; read-execute for group; read-execute for everyone/all users:
[warthogs@lab1-23 ~]$ ls -ld TeamSamba/
drwxr-xr-x 2 warthogs csugrad 4096 Oct 9 12:47 TeamSamba/

To verify the groupname for setting the directory permissions, find out which groups you’re a member of:
[warthogs@lab1-23 ~]$ groups
csugrad telerobotics mediashare src cs6090 cei manu

And assign one to the directory:
[warthogs@lab1-23 ~]$ chgrp telerobotics TeamSamba
[warthogs@lab1-23 ~]$ ls -ld TeamSamba/
drwxr-xr-x 2 warthogs telerobotics 4096 Oct 9 12:47 TeamSamba/

Finally, set the permissions so the group can write files, but no other users can see in the directory:
[warthogs@lab1-23 ~]$ chmod 2770 TeamSamba/
[warthogs@lab1-23 ~]$ ls -ld TeamSamba/
drwxrws— 2 warthogs telerobotics 4096 Oct 9 12:47 TeamSamba/

See ‘man chmod’ or ‘man chgrp’ for syntax details and more information.

Permalink.

Back-up of home directories

‘Home directories’ are anything within the share /home. We provide hourly, nightly and weekly snapshots (located at ~/.snapshots or via Windows property tab) and older snapshots are mounted on the Linux lab machines at /backup.

We provide 3 years (36 months) of /home backup.

Permalink.

Why are my simulations closing?

Comsol and Matlab simulations are limited to 8 hours of CPU time on the CADE lab1 and lab2 machines. We currently do not limit CUDA GPU simulations. Consider moving heavy parallel computations there.

Permalink.

How do I use GIT in CADE?

In CADE, any lab1 and lab2 machine can be used as a git repository.

1) A git repository can be created using the ‘git init MY_REPO’ command.
This will create and initialize a simple git repository called ‘MY_REPO’ in whatever directory you are currently in.

2) If this is going to be a shared git repository, it is highly recommended to initialize using the ‘- -bare’ flag.
Example: ‘git init –bare MY_REPO’
This will create and initialize a simple git repository that does not include a working copy.

3) By default, git uses simple UNIX permissions for file management. This means that you can share access to the git repository based on the group in which the files belong to.

4) The git repository can be checked out via SSH from any lab1 or lab2 machine.
Example: ‘git clone ssh://USERNAME@lab[1-2]-[1-40].eng.utah.edu/path/to/repo’

5) If using the bare flag (which is highly recommended), the owner of the git repository should still check out their own working copy, so as to not overwrite other peoples’ changes.

Permalink.

How do i set or change the default group on my account?

You must already be a member of said group to change to it as your primary GID.
Use the command ‘groups’ to see what groups you’re a member of, first in the list is primary.

[warthogs@lab1-23 ~]$ groups
csugrad mech_adm telerobotics mechoffice mechprof mediashare src cs6090 cei manu

To change your primary GID for your current session, run the command ‘newgrp’ followed by the name of the group:
[warthogs@lab1-23 ~]$ newgrp telerobotics
[warthogs@lab1-23 ~]$ groups
telerobotics csugrad mech_adm mechoffice mechprof mediashare src cs6090 cei man

If you want the change to persist, either add the command to your login script or contact us and request that we change your accounts primary GID.

Permalink.

Connecting to CoE via the Campus VPN

For remote access to any CADE/CoE IT services or systems, you need to use the Campus VPN (Virtual Private Network) with a registered uNID.

NOTE: If you are not associated with the College of Engineering, this is NOT FOR YOU.

1. To register your uNID, send an e-mail to support@coe.utah.edu and describe your need for Campus VPN access as a ‘student’, ‘staff’ or for ‘researcher/professor’, and provide your name and UNID.

2. While the WebVPN is available, most services/software require and we recommend you install the Cisco AnyConnect client, available from our Downloads page www.cade.utah.edu/downloads, OSL or via the WebVPN after sign-in.

3. After you receive a response that your UNID has been added, you must set the connection server as ‘vpnaccess.utah.edu’ and the Username format:
Students: u#######@student.coe.utah.edu
Staff: u#######@staff.coe.utah.edu
Researcher/Faculty: u#######@research.coe.utah.edu

Use your CIS password when connecting.

You will also need the Duo App on your smartphone as campus requires 2 Factor Authentication for VPN service. The Duo App will generate a code for you, which will essentially be a 2nd password, to complete your login to the VPN.

Further information and instructions for support can be found at https://uofu.service-now.com/cf/kb_view.do?sysparm_article=KB0000538

Permalink.

Backup for Departments and Research Groups

For all CoE Departments and Research Groups with a file share/shared drive space, we will be maintaining the following schedule for backups:

– Incremental snapshots kept for 23 hours, 6 nights and 1 week before recycling (located at FileShare:$PATH/.snapshots or via Windows property tab).
and
– Incremental nightly tape backups kept for 13 weeks before recycling.
and
– Full backups to tape run 4 times/year (each 13 weeks) and recycled each year.

Permalink.

What ports are open on the CADE Linux Machines?

The CADE Linux machines (lab1 and lab2) only allow incoming connections on ports 22 and 2100-2120.

This means that we allow incoming SSH connections (22), and allow students to host servers on 2100-2120.

Permalink.

Where can I download Matlab?

If you haven’t already done so, after reading the description and deciding which license applies to your situation, you’ll need to purchase Matlab from OSL here: http://software.utah.edu/news/mathworks.php (click the ‘Shop For Software’ button)

For students and single-machine installs, you should see the following link on your receipt or e-mail from software@utah.edu describing the process to download and install Matlab: Instructions for Single User Licenses

OSL also has a full FAQ page dedicated to the new campus license for MathWorks software: http://software.utah.edu/faq/license/mwc/

Permalink.

How do I create a CADE account?

To create a CADE account, click here and follow the prompted steps.

You do not need to register your UCard for access to the labs as anyone with a current UCard may enter the lab.

The username and password for this account is the same for ALL College of Engineering computer lab computers (Windows, Linux, and Apple labs).

If you forget your username and/or password, or wish to reset/sync your password, you can do so from the same User Tools Link. This link can also be found under Quick Links, CoE User Tools – Password Reset.

Permalink.

What is my disk quota?

8GB

Your quota refers to how much storage you have on our servers. This includes anything saved while working in the CADE Lab, the SD Mac Lab or any of the Windows labs.  The quota applies to anything within /home (ie, /home/username, as well as course directories, websites, SVN, etc.).  Most machines have a ‘scratch disk’, or free space, that does NOT apply towards your quota.  On the Linux machines, use /var/tmp (be sure to create a folder for yourself, to help you find your files later).

Permalink.

Where can I find ThinApps available from the CADE Lab?

We currently have ThinApps stored in the following share on our file server:

\\chips.eng.utah.edu\ThinApp  (if the connection to ‘chips’ fails, try ‘earth’ instead)

You can connect to this share by opening My Computer and entering the above share name in the address bar.  If prompted for credentials, use your CADE Lab username (USERS\<username>) and Windows password.

Once connected to the network share, navigate to the “bin” folder for the software package you want and run the “exe” file from that folder.  Alternatively you can copy the entire “bin” folder to your computer and run the ThinApp locally.

Permalink.

Computational Server

CADE no longer provides Computational Servers.

compute1.eng.utah.edu has been retired as of 10/4/2016 and files that where located under /scratch have been mounted on any lab1 or lab2 machine. The files are located at /research/scratch/{USERNAME}

/research/scratch works on auto mount. You will not see anything until moved into /research/scratch/{USERNAME}

If you need to run long computational jobs or higher-powered computing resources, we suggest getting an account with CHPC.

Permalink.

What are MSDNAA and DreamSpark?

MSDNAA stands for Microsoft Developer Network Academic Alliance. It is a program run by Microsoft through which they partner with universities and colleges to provide software to support education.

DreamSpark is the website used to distribute MSDNAA software and license keys to students, faculty, and staff.

The College of Engineering pays for an annual subscription to the MSDNAA program. As part of our subscription, students in the College of Engineering have access to select Microsoft software to aid them in their studies. This software is provided at no cost to the student since the College pays for the subscription. In order to access the software students need to login to the College’s DreamSpark website.

Permalink.

What software can I get for free?

In general, most Microsoft software is available through the MSDNAA program with one major exception, MS Office. The software available includes (but is not limited to) Windows, Visual Studio, Visio, Project, OneNote, XNA Game Studio and SQL Server. Office is available to all through the University’s Office of Software Licensing, software.utah.edu.

Permalink.

How do I get access to the free software?

As part of our subscription, Microsoft provides the College with a Dreamspark website. An account on this website allows College of Engineering students to download select Microsoft software and access license keys for that software, if required.

Permalink.

Who can have an account on the College of Engineering’s Dreamspark website?

Access to the College’s Dreamspark website is available to all students, faculty, and staff in the College of Engineering. This includes students from other disciplines who are enrolled in College of Engineering courses. If you have a CADE Lab account, then you should be able to login to the College’s DreamSpark website.

Permalink.

How do I register for a Dreamspark account?

There is no longer any need to register for an account. Simply go to our DreamSpark web site and login with your CADE username and password:

https://www.eng.utah.edu/dreamspark

Permalink.

Can I download MSDNAA software from an Apple computer?

No. The Dreamspark website requires you to run a “secure downloader” in order to actually download software from the website. That downloader will only run on a Windows computer. However, see this FAQ.

Permalink.

Can I access MSDNAA software without having to download it?

Yes. Much of the MSDNAA software available on the College’s Dreamspark website has already been downloaded and made available on the lab computers in the Engman Lab. To access the software, login to an Engman Lab computer, open “My Computer” and navigate to the “M:” drive. You can then copy the desired software from that location and then access any needed license keys through the Dreamspark website.

The software can also be accessed on other department Windows computers by navigating in Explorer to \\chips.eng.utah.edu\msdnaa.

Permalink.

Can I have more than one license for any particular MSDNAA software?

While this used to be allowed, a recent update (Spring 2012) to the Dreamspark website no longer allows users to have more than one license key for any given product.

Permalink.

What is my print quota in the labs?

The current printing quota for each user is 400 pages per semester in CADE, SD Mac, CS Undergrad and Engman/Teach Labs.  This will show as $40 in the PaperCut quota system (ie, $0.10/pg).  Quotas are reset at the start of each semester (actually, 01/05, 05/11 and 08/19). There is no charge for printing, however, when your 400 pages have been used up we will NOT add extra pages. You do, however, have the ability to use against the next semesters quota, an overdraft, of up to $10 (100 pgs), leaving you with a minimum of 300 pages the following semester.  There is no roll-over (we’re not T-Mobile), so the max per semester is $40/400 pgs.

You can check your quota in the following ways:

– In CADE, run the command lpquota in the terminal window. A java window opens, so if connecting remotely, be sure to use ‘ssh -Y’.

– In Engman got to Start > All Programs > Check My print Quota

– In the SD Mac Lab, open /Applications/PCClient.app

– From anywhere, open a web browser to https://winlic-b.eng.utah.edu:9192/user and login with your Windows lab credentials.

Permalink.

What is a ThinApp sandbox?

Most typical Windows applications save personalized settings for each user in the user’s profile.  Since the application packaged in a ThinApp never actually gets installed on your computer the ThinApp doesn’t store user settings in the same way as a normal application.  Instead, ThinApp uses what is called a sandbox.  The sandbox is a specific folder in your user profile, and each ThinApp you run saves its own settings in the sandbox.  The default location for the sandbox is “%APPDATA%\Thinstall\”.

Permalink.

How can I clear the sandbox for a specific ThinApp?

If something stops working for a specific ThinApp, you can typically clear the sandbox for that ThinApp and it should start working again.

Before clearing the sandbox make sure you are not currently running the ThinApp in question.  Next open My Computer and enter “%APPDATA%\Thinstall\” in the address bar.  You should see a separate directory here for each ThinApp you have run.  Simply delete the directory for the ThinApp that is having trouble and then restart the ThinApp.

Permalink.

How can I print multiple pages per sheet in Linux?

If you have a presentation document, a PDF file, or some other document you want to print multiple pages per sheet, you can use the ‘psnup’ command to do this. This is convenient if there is no option in an application’s printing dialog box to print multiple pages to one sheet.

WARNING: This does not work for all applications. This tutorial generally works for PDF files, typed documents/text files and presentations.

1. Save your document as a postscript (.ps) file. (For information on how to do this, please see the FAQ topic, “How do I print to a Postscript file?”)
2. In the terminal, change into the directory where your postscript file is saved.
3. The general format (syntax) of the ‘psnup’ command is as follows:

psnup -n inputfile.ps outputfile.ps
Where ‘n’ is the number of pages per sheet, ‘inputfile.ps’ is the postscript file you created in step 3, and ‘outputfile.ps’ will be the postscript file that ‘psnup’ creates with your ‘n’ number of pages per sheet.

An example for printing four pages of a to one sheet would be:

psnup -4 file.ps print.ps

4. After you typed the ‘psnup’ command in the format described above, you now have a PostScript file with four pages per sheet. Next you will want to print the ‘.ps’ file that ‘psnup’ created. Type the following command in the terminal:

lpr print.ps

This will send ‘print.ps’ to the printer to be printed.

5. If you would like to read more about the ‘psnup’ command, open a terminal and type:
man psnup

This will open up the manual/user’s guide for psnup.

Permalink.

Can I print to the CADE/Engman/SD Mac Lab printers from my laptop?

Yes, limitedly – Only Microsoft Office documents and PDF documents can be printed with this system. The upload page has the detail on which formats are acceptable. If you wish to print a document from another program, it must first be converted to PDF by using Adobe Acrobat, ps2pdf, Preview (Mac OS X, or use the ‘Save as PDF…’ from the Print dialog window from any application), CutePDF (Windows only), etc..
(Download CutePDF Writer for free at http://www.cutepdf.com/ )

Open a web browser to https://winlic-b.eng.utah.edu:9192/user
(The cert needs to be accepted, if not done so before.)

Login is your Windows lab username and password

1. Select “Web Print” link on the left side of the screen.
2. Select the printer to use and click “next”.
3. Select the number of copies of the document you plan to print and click “next”.
4. Upload the document by clicking “browse” and then “next”.
5. The final page will allow you to track the status of the print job.

Permalink.

What e-mail servers does CADE provide?

***CADE is currently in the process of phasing out ALL email services***

CADE offers the following severs for accessing email:

POP:
pop.eng.utah.edu

IMAP:
imap.eng.utah.edu

Outgoing mail (SMTP):
mailgate.eng.utah.edu
mail.eng.utah.edu (for on-campus use ONLY)

Each of these servers can be used with the secure (ssl) option in your email client.

We used to ofter a Sympa Listserve, for creating and maintaining mailing lists, but now direct you to the Campus Sympa for such purposes.  See their site for more information and details on requesting a list: https://uofu.service-now.com/cf/kb_view.do?sysparm_article=KB0000547 or https://www.lists.utah.edu/

Permalink.

What is the process for unsubscribing from a Sympa mailing list?

To unsubscribe from a list, do as follows:
1. From the address with which you subscribed to the list, send a message to sympa@list.eng.utah.edu.
2. In the subject line of your email, type in: unsubscribe nameofthelist (replace ‘nameofthelist‘ by the name of the list you want to unsubscribe from).
3. Leave the message body blank. To save some time, you can also send several commands in a single message. To do that, follow the instructions available in the ‘How the mailing list service works’ section.

You can also unsubscribe through the mailing list web interface (you will need to repeat the operation for each list you want to unsubscribe from):
1. Go to the list environment homepage and log on with your e-mail address as the username.
2. Go to the information page of the list you want to unsubscribe from.
3. In the left menu, click on the ‘Unsubscribe’ link.

Further list information is available at https://sympa.eng.utah.edu/sympa/help

NOTICE: We will be retiring the server that runs Sympa at the end of June, 2017. Please consider moving all mailing lists to other services, such as https://www.lists.utah.edu/.

Permalink.

How do I forward my email?

To arrange to have any e-mail that you receive on your CADE Lab account forwarded to a different address, do the following from any CADE Lab computer:
1.  Choose the address to which you would like your e-mail forwarded. Let’s suppose it is fred@hotmail.com
2.  Issue the following two commands from a Unix shell window:
cd
echo “fred@hotmail.com”  >  .forward

(The first command directs you to your home directory; the second creates a file named .forward that contains your forwarding address.)

Alternatively, you can set it using our Webmail.   Login and click the ‘Settings’ button at the upper right.  Click the ‘Vacation’ tab and fill in the ‘Forwarding’ box at the bottom.  Be sure to click ‘Save’ when you have finished.

Permalink.

Why doesn’t my .forward file work?

The mail server that we currently use is somewhat paranoid about security. If the permissions on any part of the directory in which your ~/.forward exists is group (or world!) writable, it ignores it.

You can check this with the commands:

test1@lab1-31 ~> pwd
/home/test1
test1@lab1-31 ~> ls -ld .
drwxrwxr-x 37 test1 guest 24576 Jan 12 15:39 ./
^ this is the problem.

Change to non-group writable with the command:

test1@lab1-31 ~> chmod g-w .
test1@lab1-31 ~> ls -ld .
drwxr-xr-x 37 test1 guest 24576 Jan 12 15:39 ./

and send yourself some mail to test it.

Permalink.

How do I access CADE’s webmail?

The CADE webmail system can be reached at https://webmail.eng.utah.edu

If you forget or don’t have that bookmarked, it’s under Quick Links at www.cade.utah.edu.

Permalink.

What is my CADE/CoE e-mail address?

This answer could be made somewhat complicated, but the easy answer is:
username@eng.utah.edu

For instance if your username at the CADE is:  bclinton

and your department is Mechanical Engineering, you email address could also be:
bclinton@mech.utah.edu

This is separate from your UMail account (UNID@utah.edu, or whatever alias you set via UNID-Tools).  Some departments are set to use UMail for their @dept.utah.edu address.  Inquire within.

Permalink.

Can I get account information for my students at the beginning of the semester?

Yes. We will have class lists for all registered students ready by the first day of classes. If you would like handout slips to give to your students we will be happy to provide them. Please call (1.801.581.7551) or send us an e-mail ahead of time with the class you are holding, or particular sections.

We generate new accounts from class roles and those accounts can reset their own password via our handy web-tool, or the kiosk machines in WEB 210 and 224.

Permalink.

How do I subscribe users to my mailing list (and other basic list functions)?

NOTICE: We will be retiring the server that runs Sympa at the end of June, 2017. Please consider moving all mailing lists to other services, such as https://www.lists.utah.edu/.

– – – – – – – – – – – – – – – – – – – –
The help system within Sympa is rather extensive and very helpful. From the sympa home page, click the Help tab at the top of the page. From there, you can enter the different sections- most helpful being the User Guide and the Administrator Guide.

Second on the list of the User Guide is “Subscribing to mailing lists”, which list the options. You can tell students to send you (a professor, TA, or other owner/moderator of the list) to add them, or they can send a ‘subscribe’ message to the list.

There is also a User FAQ page that will answer many basic questions, and a good place for students unfamiliar with the lists to start- direct them to: Sympa

Once your mailing list has been created (see https://sympa.eng.utah.edu/sympa/help/introduction), you can log in to the sympa site to administer the list. As a list owner, and often as a moderator, you can add/change/delete users.

Optionally, we can set up the list to auto-populate from the list of registered students in the class  with their University-registered e-mail account (ie, UMail, or what they’ve set in CIS as their default).
As always, if you can’t find your answer in the Help section, then let the Opers know.

Permalink.

How do I set up a class webpage?

You can put your site files in either a public_html or .public_html directory within the home directory of the class account. You must make sure you have the correct permissions set:

[/home/ece3300]# ls -ld
drwxrwsr-x 14 ece3300 ece3300 4096 Dec 16 2011 public_html

[Note- the public_html permissions are set to 2775, in this example.]

If you are going to have a TA run the site for you, ensure that the directory and files are also group writable and that the TA is in the group for that class (see the FAQ on creating classes and groups).

Permalink.

How do I set up a class account or group?

If you need a class account for a course you are teaching (to host website files, handin, etc.) we will be happy to create one for you or give you access to an existing one.  Please send a request via opers@eng.utah.edu.

The class will also have a group associated with it. This will allow you to select who has read/write privileges on the class files (such as TA’s).  You can modify users in the group by using the groupmodify command on any of the CADE lab machines, or via our web tool.

Permalink.

How do I go about reserving one of the labs?

We have a lab reservation form available on the CADE homepage.  To see what’s reserved already go to the overview page at https://www.eng.utah.edu/reservation/index.php?show_lab=show_all

You can reserve Lab’s 1 and 2 in the CADE Lab (Linux), the Lab 3 – 6 in CADE, Engman and CS Undergrad Labs (Windows 7) and Lab 8 in the SD Mac Lab (OS X).  See the reservation form for up to date details on each lab space, and the maps for where they’re located.

Permalink.

How do I use the handin system for my class?

In the class folder (/home/ece2500, for example) create a directory named handin and set the correct permissions (if the folder already exists you can skip this part):

mkdir handin

chmod 770 handin

chmod g+s handin

chgrp groupname handin
(groupname is typcially the course number, same as the home directory)

Now you need to add a users.deny file to this directory to allow students to handin assignments:

cd handin

touch users.deny

chmod 644 users.deny

chgrp groupname users.deny

Now you need to create directories for each assignment. This is the same process as creating the handin directory:

mkdir hw1 (call this whatever you want)

chmod 770 hw1

chmod g+s hw1

chgrp groupname hw1

You will need to put another users.deny file in this folder to make it writable:

cd hw1

touch users.deny

chmod 644 users.deny

chgrp groupname users.deny

To lock the directory after the homework deadline simply remove the users.deny file from the homework folder:

cd handin/hw1

rm users.deny

Students can now hand in their assignments using the online form:

https://webhandin.eng.utah.edu/

or using the command line on the Linux machines:

handin class# hw# /path/to/local-file

Permalink.

What is ‘handin’ and how do i use it to turn in my assignment?

‘handin’ is a utility for turning in assignments to a course directory (/home/’course#’/handin/’Assignment’/username). Once turned in, the course professor/instructor or TAs can access the files, but neither you nor other students can see them. Running ‘handin’ will replace same-named files with each successive run.

One can now hand in their assignments using the online form:

https://webhandin.eng.utah.edu/

or using the command line on the Linux machines:

handin class# Assignment# /path/to/local-file

Permalink.

Which machines can I access remotely?

You can access any of the machines within the CADE Lab (Linux) with ssh, VNC, NoMachine, etc., and the SD Mac Lab (Apple OS X) with ssh. For ssh, from a terminal window, use ‘ssh -Y username@machine.eng.utah.edu’, where username is your CADE login. The naming convention for machine is:

CADE
lab1-X (where X is any number from 1-40)
lab2-Y (where Y is any number from 1-35)

SD Mac Lab
lab8-Z (where Z is any number between 1-32)
Please note that remote access to the Apple’s is with ssh only (no VNC, NoMachine or other GUI connections).  Marriott Library does offer full GUI remote access to Mac Terminal Servers – see these instructions.

If you are using a Windows system to access these machines remotely, please use Window PowerShell, putty or see our FAQ’s on CADE Lab Remote Access.

Windows Machines:
You can not access the Engman Lab machines directly but you may access our Windows TerminalServers(animal.eng.utah.edu) for remote access to some Windows software or the VMware VDI pools for a lab-machine setup.

Please see the Windows FAQ’s for more information on how to connect to the Windows system.

Permalink.

How do I fix a corrupted Windows profile?

Fixing your Windows Profile is not difficult, but requires that you follow several specific steps.  Doing so involves verifying that you are currently under your disk quota, renaming your current Windows Profile and then allowing Windows to generate a new Profile when logging in. Also, you can’t fix your Profile while you are logged in to any Windows lab computers, so you must log out of any Windows computers before proceeding with the following steps.

Step 1 – Login to a CADE Lab (WEB 224) Linux computer (physically/locally or remotely).

Step 2 – Check your disk quota by running the command ‘quota’ in a terminal window.  Verify that your current ‘quota’ usage is below your quota ‘limit’.  Skipping this step may cause further Profile problems and require you to repeat all of these steps.  If you are over your quota, you will need to remove old/unneeded files to get back below your quota ‘limit’.

Step 3 – Rename your current Windows Profile by running the following commands:

‘cd ~’

‘mv .win_profile.V2 OLD.win_profile.V2’

Note, you may need to repeat this step for other profiles, similarly named (ie, .win_profile.V5, etc.)

Step 4 – You can now logout of the CADE Lab Linux computer.

Step 5 – Log back in to a Windows lab computer.  If you completed the previous steps correctly Windows will generate a new Profile for you when logging back in.

Step 6 (optional) – If you notice any files are missing from My Documents or your Desktop, you can recover them by opening My Computer, navigating to X:\OLD.win_profile.V2\Desktop (or Documents) and then copying any files to your new Desktop or My Documents folders.

Step 7 (optional) – If you are sure you do not need any files from your old Profile you can delete the folder X:\OLD.win_profile.V2\ to save disk space.

Permalink.

What web services does CADE offer?

We offer basic services such as: php, perl, cgi and html.

For more information on what these services are, read the following:

php info
perl info
cgi info
html info

We allow CGI (filenames should end in .cgi), allow Server Side Includes (filenames should end in .shtml) and allow PHP (filenames should end in .php).

For services beyond these, please contact us.

Permalink.

How can I get wireless access in the labs?

Wireless access is now controlled campus-wide by NetCom, a division of UIT.  You can log onto their networks by following the instructions on their website, http://www.it.utah.edu/services/connected/wireless/index.html.

Permalink.

What permissions should I set my web pages to?

All of your web pages must be world readable. Run ‘chmod 644 *.html’ inside your .public_html directory or run ‘chmod -R 644 ~/.public_html/*.html’.

Permalink.

How do I log into a CADE machine if I get a warning message saying ‘Host Key Verification Failed’?

Likely, the message you recieved looks like this:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is(…).
Please contact your system administrator.
Add correct host key in /home/username/.ssh/known_hosts to get rid of this message.
Offending key in /home/username/.ssh/known_hosts:xx
RSA host key for lab-machine has changed and you have requested strict checking.
Host key verification failed.
You can completely delete the existing ‘known_hosts‘ file in your .ssh directory to avoid this message and log in, or as the message states, remove the offending line. The ‘known_hosts’ file will be repopulated, and a machine entry will be added each time you log in to a different machine.

rm ~/.ssh/known_hosts

You can add the correct host key containing entries of all the CADE lab machines from a file on our website, available here.

Permalink.

How do I run GUI/X applications remotely with ssh?

If you are having problems running X applications (or GUI driven, java, etc.) remotely then most likely you need to use the -Y option instead of the -X/-x (i.e. ssh -Yl lab2-4.eng.utah.edu)

This is caused by a new change in any Openssh version newer than 3.7.1

For more information, including other options for running graphical applications consult the SSH or Remote Access FAQ pages.

Permalink.

How do I use ssh for remote access?

If you use Mac OS X or some flavor of Linux, you already have the means to ssh in. Please see the SSH FAQ listings.

To ssh to the Linux machines with Windows (7, Vista or XP) we recommend installing an ssh client such as putty, a free download.  This will only provide command line access.  You can also try Cygwin which is available free online.  CygwinX provides an xserver, allowing you to open X windows (GUIs, java, etc.), but see the next paragraph for the best option.

The recommended way to connect to our Linux machines is NoMachine.  This provides a full GUI login, as though you were logging in to the machine in the lab.

See also which machines you can connect to here.

Permalink.

What is SSH?

Secure Shell (SSH), sometimes known as Secure Socket Shell, is a UNIX-based command interface and protocol for securely getting access to a remote computer. It is widely used by network administrators to control desktop machines and other kinds of servers remotely.

SSH is actually a suite of three utilities – slogin, ssh, and scp – that are secure versions of the earlier UNIX utilities, rlogin, rsh, and rcp. SSH commands are encrypted and secure in several ways. Both ends of the client/server connection are authenticated using a digital certificate, and passwords are protected by being encrypted. SSH uses RSA public key cryptography for both connection and authentication. Encryption algorithms include Blowfish, DES, and RSA.

If you have Mac OS X or use Linux then you already have the tools you need to remotely log in. Please see the FAQ on “Which CADE machines can I log into” for information on the correct syntax.

For those of you who use Windows and want to be able to use SSH to remotely log in you will need to install and xserver client. We recommend using Windows PowerShell or PuTTY.  There are clients available for Windows like CygwinSecureFX, XMing and SSH for Windows.

Permalink.

How do I get a GUI or desktop environment remotely for the Linux machines?

By using NoMachine.

All CADE Lab Linux machines are running NX Server. This allows you to open a desktop connection similar to VNC without the need to start a separate VNC server session. To connect you will need to install the NoMachine client on your local machine. Clients are available for Windows, OS X, and Linux.

The configuration for remotely connecting to CADE using NoMachine can be found here.

What remote machine or what’s the full name to connect to?  See this page.

Permalink.

CADE Lab Remote Access

All lab1 and lab2 machines are running NX Server. This allows you to open a desktop connection similar to VNC without the need to start a separate vnc server session. To connect you will need to install the NX client on your local machine. The downloads are available from the NoMachine website. Clients are available for Windows, OS X, Linux and Solaris.

1. Configure the remote connection by clicking the Add a Computer button at the top of the page.
Screen Shot 2014-01-29 at 10.13.09 AM

2. Name the connection, change the protocol to SSH, and add the hostname of the computer to connect to. (Make sure the port is set to 22)
Screen Shot 2014-01-29 at 10.13.38 AM

3. Click the Advanced button on the lower left, and change the login to Use the NoMachine Login.
Screen Shot 2014-01-29 at 10.14.28 AM

4. Enter you CADE lab username and password at the authentication prompt.
Screen Shot 2014-01-29 at 10.15.11 AM

5. Click Create a New Virtual Desktop and choose the desktop enviornment for the remote session.
Screen Shot 2014-01-29 at 10.15.42 AM

More, in-depth, instructions can be found in the NoMachine Support page.

What remote machine or what’s the full name to connect to?  See this page.

Permalink.

How do I view MS Office files in CADE/on Linux?

Use LibreOffice.

If the file doesn’t open immediately, right click on the file and choose “Open with…” If LibreOffice isn’t in the list, click ‘Other Application’ at the bottom and choose the right program.

You can also run LibreOffice from the ‘Applications’ menu (click on ‘Office’ and open the appropriate program), and from a Terminal, using the command: libreoffice.

Permalink.

Can we access the Engman Lab Windows machines remotely? (How can I access the Window Terminal Server animal.eng.utah.edu?)

Nope.

But, CADE is happy to provide access to our Windows Terminal servers, animal.eng.utah.edu. These servers allow users to remotely access and run windows software, though not all software on the lab machines is available to run there. To connect to the Terminal servers you will need to use one of the following:

a.) Open a web-browser to https://coesec.eng.utah.edu, download and install the VMware Horizon client and add the ‘connection server’ coesec.eng.utah.edu, or
b.) From the same web page, choose the HTML Access and connect through your web-browser.
c.) Run Microsoft Remote Desktop and connect to animal.eng.utah.edu.

Please choose “USERS” from the Domain list and login with your CADE username/pw for a desktop.

For further information and other options for running Windows software remotely, see http://www.cade.utah.edu/remote-desktop-access/

Permalink.

How can I fix/get below my quota?

If you receive an e-mail telling you that you are over your quota or are having problems running software and get out-of-disk-space errors, you will need to delete some files from your home directory. To do this you will need to log into a machine in the CADE Lab via a virtual terminal. To do this hold down ctrl+alt and hit f4 at the login screen. You will then be dropped into a virtual terminal where you can log in with your regular name and password.

You can try and log in using the normal graphical, however this will be a very slow process.

Once you have logged in run the following command:

du -ka | sort -n

This will list all of the files you have within your home by size (in ascending order). You can deleted any files or directories that you no longer need:

rm filename to remove files

rm -rf directoryname to remove for directories – be aware- all files and subdirectories also removed.

Once you have deleted all the files you no longer need run the quota command:

quota

If you are still over you will need to delete more files. If this is not possible, please come to the Help Desk and we can discuss your situation.

If after deleting your files you find that the results of the sort command and the quota command are different (ie: the sort command says that you are under quota within your home but quota still says it is over) then it is possible that you have files elsewhere under /home.

This can happen if you have been part of any groups or teams that requires you to place files outside of your own home directory but within /home. If this happens please come to the Help Desk and we will be happy to run a search for you to locate the offending files.

Permalink.

May I get an increase to my disk quota?

Quota’s are set equally for all users based on what space we have available on our servers and what seems generally appropriate.  However, we will review increase requests on a case by case basis. Please come to the CADE Network Operators office (middle office, wEB 224b) and we will be happy to discuss your needs.  We will assume you’ve tried removing what you can, as explained here.

Permalink.

Can I get pages added to my print quota?

Not very likely.  Your student fees help cover the cost of printing, including, but not limited to paper, toner, the printers themselves and the wear & tear on the rollers.  In this day and age, you should consider why you need to print more than that and find alternative ways of handling your documents, beside paper.

For general info on your print quota, see this FAQ.

Permalink.

What’s the command to check my disk quota?

Running ‘quota’ in a Terminal/command window in CADE will show you your usage and limit.

If you’d like to see whats taking up all that room, run ‘du -kx ~ | sort -n’.

Permalink.

Where do I find the MAC/Hardware Ethernet Address of my machine (for the COE Network Request form)?

The answer depends on what Operating System the machine is running.

On UNIX-based systems (all flavors of Linux, Mac OS X, Solaris, FreeBSD, etc…), you can either use a Terminal/X11 window and issue the command ‘ifconfig’ and the MAC follows ‘ether’ under the en0, en1 or en2 heading – typically, en0 is for Ethernet, en1 is for WiFi/Wireless, so choose the proper section.

Image 1 – Mac OS X ‘ifconfig’

On Mac OS X, the other option is to open System Preferences (under the ‘Apple’ menu) and open the ‘Network’ pane.  Choose your ‘Ethernet’ connection on the list in the left column, then click the ‘Advanced…’ button, then the ‘Hardware’ tab and provide the ‘MAC Address’.  This second method can also help you verify you’ve got the right one from the first.

Image 2 – Mac OS X System Preferences – Network – Advanced – Ethernet

On Windows Vista or 7, open a Command Prompt by going to the Start menu and clicking ‘Run…’, then enter ‘cmd’ as the command to open and press enter.  At the command prompt ‘>’, enter ‘getmac /v’ then press enter. The MAC address for your network connection will be listed in the Physical Address column. You may see more than one network device listed (as shown below).  The Connection Name for your ethernet connection will typically start with “Local Area Connection” and the Network Adapter column will typically *not* include “VPN”, “Virtual”, etc…

Windows 'getmac' command

Image 3 – Windows ‘getmac’ command

Permalink.

What permissions should I set my .public_html Directory to?

Your .public_html directory must be world readable. Run ‘chmod 755 ~/.public_html’ to achive this.

Note:  If you set up your site in public_html, instead of .public_html (notice the ‘ . ‘), change the command above accordingly.

Permalink.

What if I need to write with a CGI script?

In general, our WWW server doesn’t allow writing by the WWW server.

As long as the permissions on the script are 555 and it ends in .cgi, CGI scripts will run in all user home directories.

Permalink.

Can I use files created for tomcat in my site?

CADE offers a public tomcat server. Please send an email to opers@eng.utah.edu and we will gladly set it up for you.

Please note that the files will not work from within your public_html directory.

Permalink.

Does the CADE allow CGI scripts?

As long as the permissions on the script are 555 and it ends in .cgi, CGI scripts will run in all user home directories.

Permalink.

How do I lock files in my public_html directory?

The best way of doing this is to use a combination of a .htaccess file and a .htpasswd in the directory you would like to lock.

An easy way to generate these 2 files can be found here.

An example .htaccess file:

********Start***********
AuthName “Restricted Stuff”
AuthType Basic
AuthUserFile /home/YOUR_USERNAME/Path to .htpasswd file

require valid-user
********End***********
An example .htpasswd file:

************START**************

username:jdui43JIIO

************END*************
Note that you shouldn’t have the .htpasswd file in a web accessible folder.

Once you have made both files you need to change the permissions using:

chmod 655 .htaccess .htpasswd

Permalink.

What is my web address?

Your web address is: http://www.eng.utah.edu/~username/ where username is your CADE login name.

Permalink.

How do I run Cadence Simulations in /var/tmp/ to save my disk quota?

If you are running out of space when simulating your project or intend to run something large, please put the simulation directory under /var/tmp/.

To do so, in the Analog enviroment Window, you need to select Setup… :: Simulator/Directory/Host, then choose the spectreS simulator, and set the project directory as /var/tmp/USERNAME/  (where ‘USERNAME’ is your username- this is just for identifying your own simulation and not overpopulating or overwriting others files in /var/tmp). Remember to make copies of important input signal files and the spectreFinal in your home directory, because whatever in the ‘/var/tmp’ dir could be deleted when the machine is rebooted or during system maintenance.

Permalink.

I’m getting errors about Fluent/Gambit lock files, what can I do?

Both Gambit and Fluent create lock files with the extension .lok. To find and remove your lock files run the following in a Terminal:
‘find ~/ -name “*.lok” -exec rm {} \;’

Permalink.

Why can’t I seem to print out of Matlab?

Many times when trying to print a graph or a chart in Matlab, the paper size needs to be changed to ‘Standard’ or 8 1/2 x 11.

Permalink.

How do I set up L-Edit in CADE?

If you use the default tcsh shell you should be all set (run ‘usermodify’ to verify).  To use L-Edit with a shell other than tcsh you need to add some variables to your shell’s .rc file (for bash: ~/.bashrc or zsh: ~/.zshrc).  Using your favorite text editor (vim, gedit or even emacs), open up the file and add the following:

For bash and zsh:

export TANNER_PATH=”/usr/local/apps/tanner_tools/tanner”
export PATH=”$:/usr/local/apps/tanner_tools/tanner/bin”
export TANNERHOST=155.98.108.4

Users of tcsh should not have to make any changes. However, if you do encounter problems, try adding the following to your ~/.tcshrc file:

setenv TANNER_PATH /usr/local/apps/tanner_tools/tanner
setenv TANNERHOST 155.98.108.4

also add the following to your PATH:

/usr/local/apps/tanner_tools/tanner/bin

Permalink.

Can you explain how to remove Cadence lock files?

Cadence locks files so that files are not edited by two independent copies of Cadence. However, sometimes lock files are not correctly removed. In this case you may get a message like “Couldn’t get a write lock for…”. If you are sure that your files are not opened on another computer using Cadence you can use the command:
find ~/ -name “*.cdslck” -exec rm {} \;
to find and remove the offending lock files.

Permalink.

What software is available in the Labs?

Software on any given lab machine (or compute or Terminal server, virtual machine, etc.) may be different based on the OS or the intended purpose of the lab.  Not all software runs on all OS’s, and not all labs need the same software.

We update versions of the software from time to time, and may add or remove software based upon a licensing issue, compatibility with other software or hardware, a request from a professor, etc.

For these, and other reasons, we have found keeping an updated list of all lab software too cumbersome and counter-productive.  If you have a question about a particular software or package availability, check the machine you’re using, connect remotely, or contact us.

Permalink.

How do I remove ANSYS lock files?

To protect against data loss, the ANSYS program employs a file-locking mechanism. File locking helps to prevent you or another user from inadvertently opening a new job with the same name and in the same working directory as a currently running job.

When you open a job (jobname) from a given working directory, ANSYS creates a corresponding lock file called jobname.lock in that directory.  The lock file exists for as long as your job is running.  If you or someone else attempts to open another job of the same name (and in the same directory) as your currently running job, ANSYS detects the existence of the lock file and does not open the new job.  In interactive mode, ANSYS displays a dialog indicating that the file is locked, offering the option to override the lock.  In batch mode, the program exits, leaving the lock file intact.

To find and remove Ansys lock files, run
find ~/ -name “*.lock” -exec rm {} \;

ANSYS creates and checks for lock files by default.  If you prefer to disable the file-lock feature, specify the ANSYS_LOCK=OFF environment variable in your config60.ans file.

Permalink.

What do I use to open a ‘txt’ file?

A txt file is a text file and can be viewed using any text editor: vim, emacs, pico, nano, etc. from the Linux machines.  These also work on the Mac’s, as does TextEditor.app.  On Windows, try the Notepad.

There are also handfuls of document editors that run as GUI’s:  TextEditor.app, MS Word, OpenOffice.org – Writer, etc.

Permalink.

How can I made a .tar.gz file for faster transfer/downloading?

tar zcvf directory_name.tar.gz directory_name

Permalink.

How do I … in (enter favorite programming langauge)?

Although we here at the CADE might know the answer to your question off the top of our head, most likely you are doing homework.  Try: looking in your book(s), contacting your TA, your class website, asking a classmate or your favorite search engine.

Permalink.

How do I open a tar.gz file?

Run ‘tar zxvf filename.tar.gz’ to open the file. For more information run ‘man tar’.

Permalink.

How do I … while using (enter favorite program)?

Due to the large number of programs (387 at last count) and features they offer, it would take more time than we are willing to put into it to list everything. Many programs have: pulldown Help menus, man pages (‘man pine’ would give you the man page on pine) and very helpfull websites.

If your question can still not be answered or the answer you found does not work, don’t hesitate to ask us.

We will add links below to software tutorials and usage as we find/get a chance to make them.

Matlab:  http://www.che.utah.edu/~sutherland/wiki/index.php/Main_Page

Interfacing ANSYS and LS-DYNA (OLD!!):  http://www.me.unlv.edu/~mbt/Impact_Characteristics/Interfacing%20ANSYS%20and%20LS-DYNA%20.htm

Permalink.

I have made an executable but when I run it I get error: filename: Command not found

The directory that the executable is in, is not in your path.  You may run the executable by placing ./ in front of the executable name.  See this to add the directory to your PATH environment variable.

Permalink.

How do I open a .zip file on the CADE Lab machines?

Run ‘unzip filename.zip’ to open the file. For more information run ‘man unzip’

Permalink.

Where can I add something to my PATH?

There are two ways to do this. In a shell you may type ‘setenv PATH ~/bin:$PATH’. This would add the directory ~/bin to your path.

The other way is to add the path to your .tcshrc (or other shell’s rc file).  Open your .tcshrc in your favorite text editor (ie, vim .tcshrc) and add this line:

setenv PATH $:~/bin

Again, this will create a path to your bin directory inside your home directory.  Also, when using this method, the variable will not become active untill you open up a new shell or run ‘source .tcshrc’.

bash/zsh

To add to the PATH environment variable temporarily in bash or zsh, you may type “export PATH=<newpath>:PATH” where <newpath> is the path you want to add.

To change your PATH permanently in bash or zsh, add the path to your .bashrc or .zshrc. Open .bashrc or .zshrc in your favorite text editor (ie, nano .zshrc) and add this line:

PATH=<newpath>:$PATH

Where <newpath> is the path you want to add.

Permalink.

Do you have a list of common UNIX commands?

Here is a brief list of simple Unix commands that will help you move around the file system, examine files, copy or delete files.  For help with any command, e.g. the ‘ls’ command, type ‘man ls’ in your xterm window.

FILE OPERATIONS:

ls list files
cp copy files: cp /path/name newname
mv move or rename files: mv name newname
rm remove (i.e. delete) files: rm name
chmod change mode of file permissions: chmod xxx name
cat scroll file contents: cat name
more page file contents (spacebar to continue): more name
less better pager than more? (q to quit): less name
view view file contents (:q to quit): view name
vi visual text editor (:wq to save and quit): vi name
pico pico text editor (Ctrl-X to quit): pico name

DIRECTORY OPERATIONS:

mkdir make (create) new directory: mkdir Name
cd change directory: cd /path/name
cd change to your home directory: cd
rmdir remove directory (if empty): rmdir Name
pwd print working directory (show directory name)
quota check disk space quota: quota

SYSTEM OPERATIONS:

du show disk usage
ps list your processes
kill kill a process: kill ###
passwd change your password
remote_passwd change your remote password
date show date and time
w who is doing what on the system
who who is connected to the system
cal display a calendar
ping ping another computer (is it alive?)
finger get information on users
exit exit, or logout, from the system

Most commands have options, which are described in the online man pages.

Permalink.

What’s an ‘alias’ and how do i create one?

An alias is a pseudonym or shorthand for a command or series of commands.  There are at least two ways to create an alias in Unix.  If you’d just like an alias to exist for the duration of your session, in a shell type: ‘alias p pine’.  That will create an alias ‘p’ for the mail program pine. Everytime during your current session, when you press ‘p’ followed by enter in a shell, pine will be executed.  Keep in mind that once you logout, you will lose this alias.

If you’d like your alias to be there evertime you used a CADE machine, what you have to do is open up your .tcshrc in you favorite text editor (ie, vim .tcshrc) and add your alias at the bottom of the file. For example, to add an alias ‘p’ for pine, add this line:

alias p “pine”

Note that the quotes around pine are not necessary but it allows you to read the aliases in your .tcshrc easily.  Also, when using this method, the alias will not become active untill you open up a new shell or run ‘source .tcshrc’.

Permalink.

What is sftp (as opposed to ‘ftp’)?

SFTP (Secure FTP) provides a secure way to tranfer files to and from /home directories in CADE.  SFTP is alot like regular FTP except that all of its traffic in encrypted.  To use SFTP, open a Terminal/X11/xterm on your machine, or simply get an SFTP client and connect to any of the lab workstations.  There are clients available for Windows like PuTTY SFTP, FileZillaSecureFXSSH for Windows or WinSCP.  If you need help in setting up a client, please read the tutorials:
Installing WinSCP (Windows only).
Using WinSCP(Windows only)

For Mac OS X users wishing a GUI client, try the built-in clientFUGU, FileZilla or Cyberduck.

To make the CADE Lab more secure, we request that everyone use SFTP instead of FTP.

Permalink.

How do I connect with sftp?

We recommend that you use any sftp client, for security reasons. For client options, see this FTP FAQ.

Permalink.

How can I mount a network shared drive to my computer?

If you are off campus, you must first establish a connection to the Campus VPN.

On campus or from the VPN, you can mount a network share/network drive by following the instructions below for your Operating System (OS).  
Note:  In the descriptions below, replace ‘sharename’ with the share you wish to connect to. To connect to your home directory, you can replace ‘earth.coe.utah.edu’ with ‘chips.eng.utah.edu’ and ‘sharename’ with ‘home/username’ (or home\username, on Windows).

For Windows users-  open a Windows Explorer window and choose the menu ‘Tools’ :: ‘Map Network Drive.’  In the window that opens, choose a drive letter not in use, and for folder, enter the server and share name as follows:  \\earth.coe.utah.edu\sharename  (remember, where ‘sharename’ = ‘share-you-want-to-mount’). Click the ‘Reconnect at logon’ if that’s your preference, but you must check the ‘Connect using different credentials’ box.  Click ‘Finish’ and enter your Username as USERS\username and your Windows password.

For Mac OS X users- in the Finder, select the menu ‘Go’ :: ‘Connect to Server…’ (or cmd-K).  For the Server Address, enter smb://earth.coe.utah.edu/sharename and click the ‘Connect’ button.  In the user window that appears, ensure ‘Registered User’ is selected and in the Name field enter your Windows username and password and click ‘Connect’.

Permalink.

What is a ThinApp?

VMware ThinApp is an application virtualization solution.  A ThinApp is an application that has been packaged into a self-contained windows executable file which can be run from any Windows computer without the need to install the application on that computer.  This means the ThinApp can be run from virtually any filesystem, whether it is a local hard drive, a network share, or a USB flash drive and no installation is required.

There are a few limitations.  First, not all software is able to be packaged into a ThinApp for various reasons.  Second, any software that utilizes a network license will still require access to our license server either through our local network or via Campus VPN connection.  Third, there are sometimes compatibility issues with a ThinApp and a particular version of Windows, so, for example, while a certain ThinApp may run fine on Windows 7 it may have problems running on Windows 10, or vice versa.

Permalink.

Can I use my iOS/Android/Windows mobile device to connect to the labs?

Probably, but it depends on what you’re trying to run.

For a windows desktop, see Remote Desktop Access

SSH and VNC clients exist, and you should be able to connect as from any other computer, but see the Remote Access FAQ’s for details.

There are apps, such as Matlab Mobile that can connect to our license server through your CADE account, but many lab resources will require that you be on the Campus VPN, first.

Once on the VPN, you can connect to the Windows Terminal Server, animal.eng.utah.edu with an RDP/RDC client.

Or use an HTML5 connection to animal.eng.utah.edu. Just a web browser is required. HTML5 Desktop use the “Login as Guest” button then click the link to animal.eng.utah.edu. You will be presented with a login screen where you should input your CADE username and password.

Permalink.

What software licenses does CADE maintain?

What Matlab Toolboxes are available for students/research to use?  What features are licensed for use in Comsol?  Do we have a license for Fluent/Gambit?

Answers to these and more can be found on the license status page here:  http://www.eng.utah.edu/watch/index.php

Permalink.

Where can I get my login information, my username and password?

Whether you need to create a new account or your account already exists and you need to reset your password, try the User Tools page.

We take the security of our users very seriously and as such we will not send login information via e-mail or give it out over the phone.  If you already tried creating your account or resetting the password via the User Tools page and are having problems, please come to either the CADE (WEB L224) or Engman (WEB L210) Help Desks anytime during the week, between 8:30 am and 5:30 pm.

Please remember to bring a form of official picture ID, preferably your UCard (We will also accept drivers licences, passports, immigration cards, CPF and CFP’s, but you must know your UNID).

Permalink.

What if I received an e-mail to send you my username and password?

That is likely an e-mail Phishing Scam

We regularly receive alerts from users about emails that are requesting their webmail username and password. Luckily, most people realize these are scams and ignore them.  However, we would just like the reinforce the importance of not clicking on anything you believe to be dubious.

CADE will NEVER ask you for your password information.

If you receive one of these e-mails, please mark it ask SPAM/Junk or ignore it and delete it.  If you clicked a link in one or provided any login information in response, please let us know so we can help you change your passwords and protect your account.

Permalink.

Ignoring that NX is better, how do I set up XMing for remote access?

The ssh access available on lab machines can forward X connections for running GUI applications remotely. X-forwarding is handled natively under Linux and MacOSX, but Windows users must install a 3rd party program in order to use it. One such program is XMing. We think NX/NoMachine is the best option, but

Using XMing is relatively easy.

  • Download and install a copy of XMing from their website
  • Start XMing Launch
  • When asked to choose a session type, select ‘Start a program’
  • Type the hostname of a lab machine (such as lab2-28.eng.utah.edu) into the “Connect to computer” field, enter your CADE username and password
  • Save the configuration for later use
  • Connect

Permalink.

What do I do to get my UCard to work in the lab card swipes?

The door swipes for the CADE and Engman labs are now handled by campus authentication. There is no need for you to update your card number since it is automatically pulled from campus LDAP. If you get a new UCARD, it can take up to 48 hours for you to gain access to the labs.

Permalink.

I deleted a file I want back – Do you have backups or snapshots available?

Snapshots/Backups

Snapshots of users’ home directories are taken every hour. You can access up to 23 hourly, 6 nightly, and 52 weekly snapshots of your entire home directory in the ~/.snapshot directory. Alternatively, from any subdirectory, you can go directly to .snapshot, then the timed directory you prefer.

Note: Older backups (beyond the first weekly) are available in /backup/username/.snapshot. They are moved to a different drive space to ensure their availability.

Restoring an older version of a file is as easy as copying it from a location in .snapshot to your home directory proper. You can do this graphically (with Nautilus, for example) or with the cp command.  ‘.snapshot’ is hidden (notice the preceding ‘ . ‘).  Try:  cd ~/.snapshot  from a Terminal.

Many of the hosted network shares (for departments and research groups) are also snapshotted. As above, cd to the .snapshot directory.

Permalink.

Can I get a student version of SolidWorks for my home computer/laptop?

SolidWorks 2017-18 is currently available for student and department installations. The version of SolidWorks available is tied to the academic calendar and new versions are typically made available to us during summer semester. After testing, we upgrade the labs in preparation for fall semester.

There are three editions of SolidWorks available and each is intended for a specific use:

The Student Engineering Kit is the full version that matches the version installed in our labs feature for feature, however its license allows it to be installed on student laptops or home computers and activates directly with SolidWorks over the internet. The activation is valid for 1 year, at which point you will need to install the new version for the new academic year to continue using SolidWorks. Most students will want to install this edition of SolidWorks.

The Education Edition is intended to be installed on College of Engineering department desktops. It requires access to CADE’s network license server in order to run. So, while it can be installed on home computers, doing so requires either an active connection to CADE’s VPN, or a monthly license borrowing procedure in order for the licensing to work properly. This is typically NOT the edition you want if you are installing SolidWorks on a laptop or home computer.

*** THIS SOFTWARE IS ONLY PROVIDED TO STUDENTS IN THE COLLEGE OF ENGINEERING AT THE UNIVERSITY OF UTAH. ***

Installation instructions for all three editions can be obtained by accessing the Solidworks folder in CADE’s U.Box repository.
Log in with your CIS credentials (UNID & CIS/UMail password). If you’ve not created your U.Box account, do so first.

Note:  Solidworks is a MS Windows-only program and will NOT run on (Mac) OS X or Linux distros.  One could, however, use a Windows virtual machine or emulator to run it (VirtualBox, VMWare Player/Fusion, Parallels, CrossOver, VirtaulPC, etc.)

Permalink.

How do I log in to the Mac’s from home?

Other than with ssh, we don’t allow remote access to the SD Mac Lab (WEB 124) machines.  See the FAQ on that, if that works for you.

If you would like to remotely access a Mac, however, the Marriott Library now offers a bank of Mac Terminal Servers all Faculty, Students and Staff may access.  They may not have some of the applications installed in our Mac Lab.  See their instructions here.

Permalink.

How can we get a group for sharing files for our project?

We would be happy to create a group for you – unfortunately, we can’t allow users to create their own. Send an e-mail to opers@eng.utah.edu with the following information:
– The group-owners UNID or CADE username
– The preferred name for the group (please keep it short, and we will likely concatenate for ease; you can use ‘groupsearch’ to see if it exists already).
– Optional: the UNID’s or CADE usernames of the other team members. The owner can modify the member list later at-will via command-line (groupmodify) or web-page (www.cade.utah.edu/groupmod).

Once we reply with the details, the group owner may use the command ‘groupmodify’ to edit the member list.
Somewhere in your home directory, create a directory and assign the group privileges using chgrp and chmod. See the man pages if you need more details.

NOTE: We also offer an SVN Repository service if multiple users could be modifying files at the same time.

Permalink.

How do I add the list of CADE Lab machines and compute servers to my list of ‘known_hosts’?

Download the known_hosts file from the ssh directory and place it in the appropriate directory or add the necessary lines to your existing file. Some software may require the list to be in a specific format or that the file be renamed.
www.cade.utah.edu/downloads

Permalink.

How does one fix a “Firefox is already running” error on a Linux machine?

When logged in to a Linux lab machine or compute server, you may get the following error when opening Firefox:
“Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.”

This may occur even though no evidence of Firefox running can be found.
To remedy this, open a Terminal and run the command: foxlock

It’s a script we wrote that will remove the necessary files from your .mozilla folder and allow you to open Firefox once again.

Permalink.

Can I run MATLAB Mobile on my iOS or Android device?

Indeed – simply download and install the appropriate mobile device application and then execute the commands in the Matlab application (R2012a+), from a lab machine, or any machine with a licensed copy of Matlab.

You will need MATLAB Connector (available from MathWorks, http://www.mathworks.com/mobile/) on your machine/device. Upon running the install_connector command, you’ll be prompted to accept the license agreement, and then receive an error message you can safely ignore:
Error using install_connector>doinstall (line 100)

Error: You do not have write permission to the MATLAB Installation folder
(/usr/local/apps/matlab/matlab14b).
The MATLAB Connector Installer cannot proceed.

Error in install_connector (line 54)
doinstall

Run the ‘connector on’ command and continue as normal.

See Matlab’s site for full instructions and more information, including a link to download the mobile app.

Permalink.

What are the operating hours of the computing labs?

The student computing labs we support are generally open 24 hours a day, 365 days a year.

Some labs, or portions thereof, are reserved for classes and should not be used by those not in the specific course during that time.

On occasion, we experience outages to network, server equipment, or even power. In the unlikely event, we make every effort to restore service as quickly as possible for all users, and will post status as soon as possible. We also reserve the right to withhold access to specific labs or services due to planned outages for upgrades, maintenance, and the like.

Be sure to subscribe to announcement method that works best for you.

Permalink.

Can I change my default shell from ‘tcsh’?

Yes, login to the CoE User Tools page, click the ‘Account Settings’ link. There, you can change your ‘Linux Login Shell’ to point to another in /bin (ie, csh, bash, zsh, …).

Permalink.

Lost and Found

Lost something? Hoping it was turned in?

There are Lost & Found boxes at the Help Desks in CADE and the Engman Labs.

If it didn’t get turned in to us, you might check with the CoE Dean’s Office lost and found (WEB 1650) in case the custodians found it and turned it in there.

Otherwise, send an e-mail to support@coe.utah.edu and let us know what was lost and we’ll let you know if we’ve seen it.

Permalink.

What if I am locked out of my account?

Perhaps you have entered your password incorrectly too many times logging in to one of our Windows machines or ActiveDirectory controlled services (Lab, animal.eng, mounting network shares, etc.) or are getting the following error:

“The referenced account is currently locked out and may not be logged on to.”

We can unlock your account but it’s only secure if you come ask us in person. It’s difficult to verify identity through e-mail, phone, etc. You may, however, remove the lock by syncing or resetting your password via the CoE User Tools page available in the right column of our home page.

If this does not work for your situation, stop in to see the Help Desk in WEB 210 or 224 or e-mail support@coe.utah.edu.

Permalink.

May I access my campus desktop machine remotely?

The short answer: yes.

The longer version: If the machine has a static IP address, try connecting to that remotely. The machine must be set up to allow remote access (via ssh, screen sharing/vnc, remote desktop, etc.), but if you don’t have administrator privileges on this machine, we may need to enable remote access for you (see below). We may also need to allow such a connection on the proper ports through the CoE firewall. You may be able to buy Provigil on the Campus VPN.

Connecting to a Windows machine:
– Try using MS’s Remote Desktop Assistant to configure your machine for remote access.
– On the computer you would like to connect TO, in Windows Explorer, right click on ‘Computer’, select ‘Properties’, then select ‘Remote Settings’ from the menu on the right.
– Select your user and ensure it has permission to RDC to the computer, and verify a password is set (RDC will not enable unless the user has a password, it cannot be blank).
– Get the machines IP address- open a command prompt (type “cmd” in Search and it will open) and type “ipconfig” (no ” “‘s) and it will list your IP (use the one in the form of 155.98.X.X, the wired ethernet address)
– On the computer you wish to connect FROM, open your RDC client, put in the IP address, login as the user with remote privileges and you should be connected to the current running session.

Connecting to a Mac:
– On the computer you would like to connect TO, open ‘System Preferences’ and the ‘Sharing’ pane.
– Check the ‘Screen Sharing’ or ‘Remote Management’ for general VNC access, ‘Remote Login’ for ssh access, other available as needed. Ensure you have added your user for the access level on the right.
– Get the machines IP address- click ‘Show All’/reopen System Preferences and click on ‘Network’, and find the Ethernet device in the left column, IP address will show on the right in the form 155.98.X.X.
– On the computer you wish to connect FROM, open Screen Sharing in the Finder via the ‘Go’ :: ‘Connect to Server…’. Enter the address as vnc://155.98.X.X

If you can’t get through or need help getting the machine set for remote access, send the IP and your request, plus any errors or issues you have to support@coe.utah.edu and we’ll help get you connected.

Permalink.

How can I create a mailing list to send to a group of people?

Rather than creating and maintaining a list of e-mail addresses for a group you mail frequently, use a mailing list service to create the list and allow users to maintain which e-mail address messages are sent to.

We used to offer a Sympa Listserve for just this purpose, but we now must point you to the UIT Sympa or Exchange mailing lists: https://uofu.service-now.com/cf/kb_view.do?sysparm_article=KB0000547 and https://www.lists.utah.edu/

Sympa or Exchange? https://uofu.service-now.com/cf/kb_view.do?sysparm_article=KB0001129

We will continue to support existing lists via our Sympa server until they can be merged to UITs servers by June 30, 2017.
See https://sympa.eng.utah.edu/sympa. You should log in with the e-mail address you’ll be using to manage the list as your username. Use the Help tab for instructions, but creating a list is easy on the ‘Create List’ tab. Log back in once created to manage how messages are sent, who can see the archives, etc.

Permalink.

Can I get a MySQL database?

Yes, we have MySQL (mysql.eng.utah.edu) available for student use.

To request a database, send an e-mail to opers@eng.utah.edu and let us know you need one. We will create it and likely place a file in your home directory with the database name and your login credentials.

The databases are only accessible directly from the Linux machines in CADE (‘mysql -u username -h mysql -p’), although if there is a need, we can open them up to the Windows machines. If you place website files in your .public_html directory, you can make calls to the db, and thus access it from anywhere via www.eng.utah.edu/~username.

Permalink.

Chrome won’t start on Windows machines, what can i do?

We’re aware of a bug with Google Chrome on our Windows OS lab machines and there’s a simple script to fix the issue for you.

Open Explorer, navigate to ‘C:\support’ and double click the “Fix – Google Chrome Won’t Start.cmd” script.

As always, let us know if any issues or if this doesn’t resolve the problem for you, support@coe.utah.edu.

Permalink.