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?
![]()
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..."

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".

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


You will be prompted to authenticate using your Samba username and password (see above).
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 4015 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:
- Go to "Start," type "regedit.exe" and run it, clicking "yes" when prompted
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
- Right click to add a DWORD registry value in Lsa named
"LmCompatibilityLevel," and set the value to 2
- Go to "Start" again, type "cmd.exe" and run it
- 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).
- 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
- When prompted, enter your Samba username and password (if you don't have one, ask Bill for an account)
- Go to "Start" and type "Add a printer" to add a network, wireless
or Bluetooth printer. Select "the printer I want isn't listed"
- Click on "Select a shared printer by name" and type in your printer name "\\irk.berkeley.edu\queue_name"
- If you are asked to select a driver again, do so
- 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:
- Go to "Start," then type and run "secpol.msc"
- Go to "Local Policies" -> "Security Options" -> "Network Security: LAN Manager authentication level"
- Change to "LM and NTLM - use NTLMV2 session security if
negotiated"
- Press OK
- Follow the instructions for Windows 7 Home Premium, beginning from step 4.
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"
![]()
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>
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).
I. Edit Xconfig
- Add a new xcfg file or
- select Exceed.xcfg and right click and select Modify
II. Create XStart file and Tunnel
Tunnel Name
Host name, e.g., lupus.berkeley.edu
User Name
TCP port 22
III. Put the Xstart file in an Xsession
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:
- 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)."
- To save the session, enter a name into "Saved Sessions," and
click "Save."
- Click "Open," then enter your password to access the terminal.
- Assuming that you have already set up your PuTTY access (above),
open PuTTY.
- Open the "SSH" tab, then go to the "X11" submenu. Check "Enable X11 Forwarding."
- Save your session. To use
XWindows commands, you must enable XMing by starting XLaunch before or
during your PuTTY session.
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:
- Open WinSCP.
- Enter your host name (i.e. lupus.berkeley.edu), user name (i.e. guest), and password.
- Click "Save." When prompted to confirm save, do
not save your password as it may cause security issues.
- 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.