LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   accessing a windows share from redhat 9 (https://www.linuxquestions.org/questions/linux-newbie-8/accessing-a-windows-share-from-redhat-9-a-53852/)

McAnic 04-07-2003 11:24 AM

accessing a windows share from redhat 9
 
Hi,

I'm new to Linux. I installed RedHat 9.0, got my nic working, internet works via a win2k server machine running M$ Internet Connection Sharing, it works fine :) Now this win2k server machine is also my file storage pc with a big hdd, and the folder all my mp3 files and movies are in is shared on that machine.

What is the easiest way to access this windows shared folder?? Do I need to d/l & install samba or does RH9.0 has standard solutions for this? Any help would be VERY welcome!

Greetz McAnic

ranger_nemo 04-07-2003 12:15 PM

If you aren't connecting to your Linux box from a Windows box, then you don't need the full Samba install. All you need to access a Windows box from Linux is the samba-client and prob'ly samba-common packages. There won't be any configuring involved.

To make it easier, you can then install LinNeighborhood to easily browse a Windows network.

dubstar 04-07-2003 02:09 PM

RedHat 9.0 should come with the ability to do that right out of the box, just click on the redhat button and select Network Servers - worked fine on mine.

McAnic 04-17-2003 05:15 AM

Mount network drive
 
Hi I found out - just clich the Redhat button and select Network Servers. Then it automatically shows the workgroup you are in and you can easily select the computer you want to connect to.

I selected my windows 2003 server :) and it asked for my username & password - first I made a mistake entering my password - after that it kept refusing me and said I had no access. When I rebooted it asked for my username & password again, now I made no mistake and it went *perfect*!

Now, how can I mount this network drive??? Is this possible? Or do I need samba or linneighborhood for this under Redhat 9.0?
I want the network drive to be mounted when I boot linux.

ranger_nemo 04-17-2003 07:50 AM

Which sub-menu is it under on yours? I don't seem to see it on mine.

macewan 04-17-2003 08:56 PM

type:


su

mkdir /mnt/windows

mount -t vfat /dev/hda1 /mnt/windows

cd /mnt/windows

ls

:-)

mr-banzai 04-18-2003 02:37 PM

Actually, that previous post won't work, I believe. Since you're wanting to mount a samba drive, you might have to use smbmount, or mount it using mount -t smbfs -- if someone has experience here, feel free to extend my comment. I just know that mount -t vfat /dev/hda1 /mnt/windows will mount the first *local* harddrive, which isn't what we need to do.
--------------------------------------------------------------------
By the way, if you use mount -t smbfs '//hostname/sharedrivename' /mnt/windows (assuming you created /mnt/windows), that should work. Just sub in the Windows computer's host name and the name of the share drive.

macewan 04-19-2003 05:34 PM

sorry - it was meant as a way to access a partition on the same drive as linux. i didn't read the question right. my apologies if i my information caused any wasted time.

m00nd0g 04-20-2003 07:40 AM

you can mount a samba share like this:

# mount -t smbfs -o username=yourwindowsusername,password=yourwindowspassword //machinename/Sharename /mountpoint

KePSuX 04-25-2003 09:47 PM

I have been using the Network Servers option in redhat 9 also, but have trouble with it finding my network 100% of the time. Half the time it is opened it just sits there rather than bringing up a list of avaliable machines, although they are present on the network. Anyone have any idea what would cause this intermitent issue? Thanks!

swapnil_7 10-09-2012 07:48 AM

share your folder on windows and mount it on linux
 
Use this command

#mount -t cifs -o username=user,password=password //Windows_system_ip/folder /dir_on_linux_where_u_want_2_mount

try it ..!!

Wim Sturkenboom 10-09-2012 08:09 AM

This thread is about as old as RH9 would have been :D


All times are GMT -5. The time now is 07:27 PM.