Howto connect to shares on a win2k server
:newbie:
How do I connect to a share on my win2k server from my Linux box? This is the first non windows machine that I have ever had on my network so I am clueless how this works. Do I need a special protocol installed on my server? On a windows machine I can just UNC to the share from a run line. I am trying to accomplish basically the same thing. My w2k machine is basically just a file server. My linux machine is getting an IP from my DHCP server and I can get on the net, but I just dont understand how to talk to my windown domain. Then once I connect to the share, can I map it as a network drive like in windows? short & sweet description of my home network -Roadrunner cablemodem -SMC Barricade cable router with firewall, 4 port switch and also acts as my DHCP server -win2k server running in native mode -win98se workstation -win2k pro laptop -RH7.3 Linux machine |
Windows uses a protocol called SMB, and you'll need to use something called Samba. You should be able to simply go mount -t smbfs //something/somewhere /somewhere/on/your/local/filesystem.
Have a go. |
also if you need to use a password and username then use:
mount -t smbfs -o username=urusername,password=urpassword //servername/sharename /whereumount/onyourlinuxbox : ) |
This worked for me thank you!
How would I unmount the drive later? |
umount /whereu/mountedit
|
thank you
|
Thanks - You have no idea how much this helps
|
(maybe this should be a new thread, but...) how do you make that persistant? As in, how can you make that mounted as soon as you boot? I tried adding this to fstab:
//deimos/Martian /mnt/Martian/ smbfs username=foo,password=bar,uid=briank,gid=users 0 0 and this to mtab: //deimos/Martian /mnt/Martian smbfs 0 0 but it doesn't appear to work... am I missing something? |
this should be rather easy and i feel like a boob for missing it during the install, but i had samba up and running before but am having quite a time with it now. i think my problem lies with my redhat 7.3 box being named localhost. how would i fix that. i think that is the problem as both boxes ping each other and under "network places" i show my win 2k box and localhost. help?
|
aha. if you type "neat" at command line or (in redhat) choose network configuration in kde) then go to the DNS tab, there you will find the name of or what will be the name of your computer. i changed it and viola! win 2k is now, seeing it as the correct name and can log into it.
|
All times are GMT -5. The time now is 04:42 AM. |