Unix-to-PC connectivity


Note for XP users: You must map a drive before being able to print with Windows XP

(This may be resolved in the future).

Drives don't connect?... When a user logs in it says network drives can't automatically be connected (since plaintextpasswords are used). Users do not have to manually connect them, rather just open explorer, click on one of the drives (probably has a red X on it), and it will then prompt for the password and connect. This may be resolved in the future.


Contact Dan Kirkpatrick if you need further help.


What is SAMBA?

SAMBA is software that runs on the main Unix server that allows other systems (Windows, Macintosh) to use the printers and disks on unix.

SAMBA is an easy and painless way to bring services within the department, to improve service, expand disk space, use more available network printers, and all at a cost savings.  You will mount your unix home directory as a drive letter, giving you access to the same files as on unix, and these files will be backed up nightly.  (Be careful, there is not an endless archive of backups, only weekly backups from the last month and sparse semi-nightly backups are able to be retreived.)
 


Step 1: login and encrypted passwords

If you are not running Windows 2000 or XP, you MUST log into windows with your physics username and password.  If you never get a login prompt, go to Shut-Down, and select login as a different user.

(Windows 95 users can skip to step 2)
If you are using anything newer than Windows 95, by default, they use password encryption, which Samba does not recognize since Microsoft keeps the encryption a trade secret and won't reveal the encryption scheme to any third party vendors.

Simply turn off password encryption by opening the file that matches your Operating system (open, or save locally and run)

Windows XP: WinXP_PlainPassword.reg
Windows 2000: Win2000_PlainPassword.reg
Windows 98: unencrypt_win98.reg
Windows NT4: NT4_PlainPassword.reg
 

You will have to reboot for the changes to take affect.

Windows 98 doesn't seem to keep the changes to the registry by just running the registry file,
so it may have to be added manually through Run->Regedit, follow the path down HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP
Then add a new dword value and name it "EnablePlainTextPassword"
Once that is created, right click on it and change the value to "1"

Now you will need to restart windows.
 


Step 2: mounting network drive

Start explorer by right clicking on "My Computer" and select "Explore"
Under the tools menu, select "Map Network Drive"
Change drive to "P:"
In the Path window, type  \\Physics\<username>    (where <username> is your unix username)
and checkmark the "Reconnect at logon"

Barely a problem with Windows 2000 or XP, but if other and/or if your system isn't recognizing Physics as being in the local domain, try \\physics.syr.edu\<username>
You should be able to fix this by adding phy.syr.edu to your domain search under Control Panel->Networking
 


Step 3: Adding network printers

Adding new printers:

If you do not already have a printer setup, here's how to add it:
You will need your Windows 95 install disks or cdrom, or special printer driver disks for this step.

Click on the Windows "Start" menu, then select Settings->Printers
You should now have a window open with all of your defined printers.
Click on Add a Printer
Select Network Printer
Type in the "Network Path or queue name" from the list of   Network Printers page
 

Available printers:

For full and updated list, including drivers:
See Network Printers page
 
Printer port: Printer description:
\\physics\201hp5m HP Laserjet 5m in 201 (raw/postscript)
\\physics\205hp5si HP Laserjet 5si in 205 (copyroom)
\\physics\201hpcolor HP Color Laserjet 4500 in 201
\\physics\306hp5si HP Laserjet 5si in 306 cluster room



Step 4:

Congratulations and thank you!
You're done!  and using the Physics server for your data storage and printer access!



Troubleshooting:
 

How to find your network connection information:
Windows 95/98:
go to the start menu->run and type winipcfg

Windows 2000:
go to a command prompt and run ipconfig /f

Windows XP:
Click on Start->Control Panel->Network Connections->Local Area Connection, then once the status window opens, click on the Support tab.
OR go to a command prompt and run ipconfig /f

 
 

Typical Error messages:

Not supported:
If you get some type of message saying not supported, check your Control Panel-> Network
Client for Microsoft Networks must be installed

Not Authorized:
If you get a message saying you are not authorized to connect, did you implement the registry patch and reboot? If you did and you are trying to connect outside the Physics Building, we don't offer any connections outside the physics subnets for security reasons.  The university blocks all Windows networking. If you have a specific need, please contact me and we'll discuss it.

Other things to check:
Make sure under Control Panel->Network, that you have "Client for Microsoft Windows" in the list of components.
Also under this menu, select the TCP/IP for your network card and make sure it has "Client for Microsoft Networks" checked under Bindings, and that DNS is enabled with the DNS servers 128.230.12.5 and 128.230.1.49, and that your gateway is correct for your domain.

X is not accessable, may not have permissions, cannot find network path, or Microsoft Windows Network: The local device name is already in use
Make sure under WINS that NetBIOS is NOT disabled (Default or Enabled should both work)
If you changed any of the defaults (especially in XP), check them... Control Panel->Network Connections->Double click on the network connection->Properties->Select Internet Protocol (TCP/IP)->Properties->Advanced.



Older Windows 95 & 98 troubleshooting:

Cannot find share:
If you try to connect and it says cannot find share,
make sure you have enabled plain text passwords with the registration entry above (not necessary for Windows95), and are logged into windows as the same username as you use for physics (aka suhep).

If you don't usually use a username, try "Shutdown, close all programs and log in as different user" to set the username.

[ If you have a reason you must be logged in as something other than your physics username, let me know and I can make an alias (ie: logged in through windows as USERA to use summon, but suhep username is USERB, I can set an alias for Samba to recognize USERA as an equivalent to USERB) ]

If it still cannot find the service, try substituting physics.syr.edu or 128.230.72.2 for physics (ex: \\physics.syr.edu\201hp5m)
If this solves the problem, simply add  "128.230.72.2    physics"  to your  c:\windows\lmhosts.sam and c:\windows\hosts.sam file.

If it still cannot find the service, check your TCP/IP settings (by going into network control panel).

If it's a desktop machine, you can force the DNS settings:
DNS should be enabled, with your machine name, domain=phy.syr.edu
DNS Search servers should be 128.230.12.5 and 128.230.1.49
Gateway should be 128.230.72.1
Domain search with phy.syr.edu and syr.edu

If it's a laptop that you don't want to force the DNS settings (since it may not work correctly in other locations, like home/roadrunner):
check that the machine name is registered with a primary name in the domain phy.syr.edu [lookup your hostname by ip address or name].
If not specified, hostmaster usually registers with syru72-###.syr.edu.   If correct, that page should show primary name: machinename.phy instead of machiname (without the .phy)
This may be another part of the problem.  I can help with this check/change if needed, or you can email hostmaster@syr.edu and ask the primary name to be <PICK A NAME>.phy.syr.edu
 



Disclaimer:
I don't guarantee these pages to be accurate or complete, although I did try to make them that way.  If you notice an error, or something that could help people better, please let me know.


Back to help pages

Email: dkirk@phy.syr.edu
Personal Email: kirkpatrick@geocities.com
Personal Web Page: http://www.geocities.com/Heartland/6540


Disclaimer:
I don't guarantee these pages to be 100% accurate or complete, although I did try to make them that way.
If you notice an error, or something that could help people better, please let me know.

Physics Help Pages Maintained by Dan Kirkpatrick
Last updated [an error occurred while processing this directive]