Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Darrell May on January 30, 2001, 03:21:19 AM
-
Came across a reference to mounting Windows shares on a Linux box. The example I found didn't work but after some mucking about I found the correct syntax that works with e-smith 4.1B4 at least. I know all you Linux gurus know this but for us few 'newbies' out there, I thought I'd share :) This looks like a great way for accessing a Windows machine via an e-smith-server console session.
In this example the Windows computer is an NT4 workstation named 'station1'. Obviously substitute whatever username/password/servername/mount-point works for you.
Step 1 - create the mount point:
mkdir /mnt/station1
Step 2 - connect the mountpoint to the Windows share:
mount -t smbfs -o username=administrator,password=administrators-password //station1/c$ /mnt/station1
(Note the above is all one line)
Step 3 - access the mount point
cd /mnt/station1
Regards,
Darrell
-
As a Windows user of 15 years, I have bought and read numerous books on Linux. I have also installed a number of Linux versions.
Recently a book was published that made all my other Linux books obsolete, as it answered (WITH EXAMPLES) in one book everything I neede to know about Linux.
I suggest that any Windows to Linux users buy this book:
Linux for Windows NT/2000 administrators - The secret decoder ring.
Authors: Mark Minasi, Dan York and Graig Hunt.
ISBN: 0-7821-2730-4.
I would suggest that the support people at e-smith (and all other Linux distributions) would save an immense amount of time referring this book - it answers nearly all the questions that have been posted on these ( and other) phorums.
And no, I have no vested interest in the autors, or the book.