Skip to content, skip to search, or skip to navigation

Astronomy Windows F.A.Q.

1. How do I map Astronomy server disks to my PC?

2. How do I add a departmental printer from my Windows computer?

3. Why is printing via Samba so slow from my XP machine?

4. How do I configure Exceed 2008 with my newer Windows machine?

5. How can I transfer files and connect to UCB servers from home?

i. Exceed

ii. Cygwin

iii. PuTTY

iv. WinSCP

bar


1. How do I map Astronomy server disks to my PC?
(11/18/05)

The server "irk" supports remote mounting of disks using a service called Samba

To use this service, you will have to contact central@astro for an account and password.

Once you have an account for the Samba service, you can mount a disk from irk in a number of ways.  Here are three:

i) From the Start menu, select "Run..."

   select run from start menu

A dialog box will appear.  In the "Open" field, type "\\irk.berkeley.edu\{disk_name}" where {disk_name} is the disk you wish to mount.  For example, this can be "a" or another disk mounted by irk, such as "celestial1".  Then click on "OK".

open

You will be prompted to authenticate using your Samba username and password:

samba login


ii) Open any Windows Explorer window, e.g. "My Computer".  In the address bar at the top, enter "\\irk.berkeley.edu\{disk_name}":

method 2

You will be prompted to authenticate using your Samba username and password (see above).

iii) Map a network drive.  Right-click on "My Computer" and select "Map Network Drive".  In the dialog box that appears, select an unused drive letter (usually E through Z).  In the "Folder" field, enter "\\irk.berkeley.edu\{disk_name}" where {disk_name} is the name of the disk on irk that you wish to mount.  Click "Finish" and you will be prompted to authenticate using your Samba username and password.
bar

2. How do I add a departmental printer to my Windows computer?
(04/11/06)

The samba server on irk also provides access to printers.  To use this method, you will need a samba account (contact central@astro to get one).

In Windows XP [and Windows 2000*]:

*W2K users must be logged into an account with the same username and password as their samba username and password

  • Start>Printers and Faxes [Start>Settings>Printers]
  • Add a Printer (left hand menu) [double-click "Add Printer"]
  • Select "A network printer..."
  • check "Connect to this printer"

    Name: \\irk.berkeley.edu\queue_name

    where queue_name is selected from the table below

Queue Printer Model Location
color HP Color LaserJet 3000dn HFA-B
color2 HP Color LaserJet CP4525dn HFA-C
p433 HP LaserJet 600 M602 HFA-D
p544 HP LaserJet 5200 HFA-C
p665 HP LaserJet 5200 HFA-B
colord HP Color LaserJet CP4525dn HFA-D
poster HP DesignJet Z5200 PS HFA B-19
  • At the prompt, enter your samba username and password [see * above]
  • click "Continue"  (Dialog box saying that the server will install a printer driver) [missing in W2K]
  • click "OK" (no driver found)
  • Install a driver from the list that corresponds to the printer model in the table above.  If given a choice, choose the "PS" type driver.

In Windows 7 Home Premium:

  1. Go to "Start," type "regedit.exe" and run it, clicking "yes" when prompted
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  3. Right click to add a DWORD registry value in Lsa named "LmCompatibilityLevel," and set the value to 2
  4. Go to "Start" again, type "cmd.exe" and run it
  5. In the command prompt, type "start \\irk.berkeley.edu\[printer_queue_name]" and enter. If you receive a "Network not found" error, you may have to connect to AirBears through an ethernet switch (ask Bill for more information).
  6.  You may be asked to choose a driver. In that case, select the driver that corresponds with your printer model and click "Ok". If the model does not appear in the list, you can download it from the HP website
  7. When prompted, enter your Samba username and password (if you don't have one, ask Bill for an account)
  8. Go to "Start" and type "Add a printer" to add a network, wireless or Bluetooth printer. Select "the printer I want isn't listed"
  9. Click on "Select a shared printer by name" and type in your printer name "\\irk.berkeley.edu\queue_name"
  10. If you are asked to select a driver again, do so
  11. Name your printer or just give it the default name, and click next. At this point, you should be able to successfully print a test page

In Windows 7 Professional/Ultimate:
  1. Go to "Start," then type and run "secpol.msc"
  2. Go to "Local Policies" -> "Security Options" -> "Network Security: LAN Manager authentication level"
  3. Change to "LM and NTLM - use NTLMV2 session security if negotiated"
  4. Press OK
  5. Follow the instructions for Windows 7 Home Premium, beginning from step 4.
Source: http://yonitg.com/solution-for-windows-7-samba-connection-problem/



To enable duplex printing:

  • Start>Printers and Faxes [Start>Settings>Printers]
  • Right-click on the icon for the printer and select "Properties"
  • Select the "Device Settings" tab
  • Scroll down to "Installable Options" and click on the link next to "Duplex Unit" and select "Installed"

bar

3. Why is printing via Samba so slow from my XP machine?
(04/24/07)

You may be experiencing a bug in the XP samba client software.  Here is a workaround (thanks to Joeri for finding it):

Procedure:
1. Edit the registry observing usual caution.  (Run regedit.exe -- see this article for more details)
2. Locate the key HKEY_CURRENT_USER\Printers\DevModePerUser
3. Remove all VALUES for Network printers of the form:
    \<print_server_name ><printer_queue_name>
4. Locate the key HKEY_CURRENT_USER\Printers\DevModes2
5. Remove all VALUES for Network printers of the form:
    \print_server_name><printer_queue_name>

bar

4. How do I configure Exceed 2008 with my newer Windows machine?
(01/12/10)

Visit http://software-central.berkeley.edu/ and get Exceed AND the Connectivity Secure Shell add on (two separate installs after download).

  • Open Hummingbird Connectivity folder
  • Start Exceed Connection Manager

  • I. Edit Xconfig
  • Select the default Xconfig in the left hand menu and either:
    • Add a new xcfg file or
    • select Exceed.xcfg and right click and select Modify
  • In the Xconfig panel:
  • Select Security

  • Under Host Access Control List, check File (xhost.txt)
  • Edit the file and add hostnames of machines on which you wish to run X applications, e.g. lupus.berkeley.edu
  • Save the file and exit the file editor
  • In the Xconfig panel, Validate and Apply Changes
  • Exit Xconfig panel

    II. Create XStart file and Tunnel
  • In Exceed Connection Manager:
  • Select Xstart>Default
  • Add new; this opens an Xstart panel

  • Startup Method: Secure Shell
  • Host: hostname (e.g. lupus.berkeley.edu)
  • User ID: username
  • Command: /usr/bin/xterm
  • Next to Startup Method, select Settings...
  • In the Xstart Settings panel, Select the Security tab

  • Under Secure Shell, check Create Shell
  • Under Secure Shell, Click Properties
  • In the Secure Shell Configuration panel, create a new Profile

  • Clicking on the "new" icon gives a New Tunnel panel:

  • Enter:
    Tunnel Name
    Host name, e.g., lupus.berkeley.edu
    User Name
    TCP port 22
  • Click Properties...


  • In the Properties panel, select Security and check Keyboard Interactive



  • In the Properties panel, select Port Forwarding and check "Enable X11 port forwarding"
  • Click OK
  • Back in the New Tunnel panel, click OK
  • In the Secure Shell Configuration panel, Type a name for the tunnel profile
  • Click OK and save the profile
  • In the Xstart Settings panel, click OK
  • In the Xstart panel, save settings and close panel

    III. Put the Xstart file in an Xsession
  • In Exceed Connection Manager:
  • Select Xsession>Default

  • In the Xsession panel, add the Xstart file created in step II.
  • Click on the Options button (hand pointing to rectangle icon) for the Xsession

  • In the Xsession Options panel:
  • Check "Run Exceed X Server"
  • For the Xconfig file, enter the name of the xcfg file created in step I.
  • Click OK
  • Save the Xsession
  • Create more Xsessions as you like, each with an associated Xstart and Xconfig. bar

  • 5. How can I transfer files and connect to UCB servers from home?

    i. Exceed

    Exceed allows you to run X11 apps on Windows and sets up a UNIX environment. Refer to the section above for download instructions.


    ii. Cygwin

    An alternative to Exceed is Cygwin, which also simulates a UNIX environment. To download or update it, go to http://cygwin.com/install.html. For a minimal working enironment, choose "next" for all options. If you would like to customize your download, you may refer to http://cygwin.com/cygwin-ug-net/setup-net.html for more information.


    iii. PuTTY


    PuTTY is a SSH program that can connect you to a UNIX terminal on your UCB server. To download PuTTY, go to http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html and select "putty.exe." Once installation is complete, you may use PuTTY to connect to your server. Note: If you want to run XWindow commands such as xemacs, you must configure PuTTY to allow X11 forwarding, and install and run XMing:

    Using PuTTY:     
    1. Open Putty on your computer. You should be in the "session" tab. Then, type your login (i.e. guest@lupus.berkeley.edu) into "host name (or IP address)."

    2. To save the session, enter a name into "Saved Sessions," and click "Save."

    3. Click "Open," then enter your password to access the terminal.

    Enabling X11 forwarding:
    1. Assuming that you have already set up your PuTTY access (above), open PuTTY.

    2. Open the "SSH" tab, then go to the "X11" submenu. Check "Enable X11 Forwarding." 

    3. Save your session. To use XWindows commands, you must enable XMing by starting XLaunch before or during your PuTTY session.
    Source: UCB EECS FAQS

    iv. WinSCP


    If you only want to access files from your server, WinSCP is a free SFTP/SCP/FTPS/FTP program with a graphical interface that can allow quick, simple file transfer between your home PC and Berkeley account. You may download WinSCP from http://winscp.net/download/winscp438setup-sponsored.exe.

    Configuring your WinSCP settings:
    1. Open WinSCP.

    2. Enter your host name (i.e. lupus.berkeley.edu), user name (i.e. guest), and password. 

    3. Click "Save." When prompted to confirm save, do not save your password as it may cause security issues.

    4. Select your session and click "login." A window with your files should appear, and you will be able to log into this session in the future without entering your host and user name.