LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-29-2002, 08:44 PM   #1
ScreeminChikin
Member
 
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Rep: Reputation: 30
Howto connect to shares on a win2k server




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
 
Old 08-29-2002, 08:54 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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.
 
Old 08-29-2002, 09:05 PM   #3
sonikntails
Member
 
Registered: Apr 2002
Distribution: Gentoo Linux Baby!!!!
Posts: 32

Rep: Reputation: 15
also if you need to use a password and username then use:

mount -t smbfs -o username=urusername,password=urpassword //servername/sharename /whereumount/onyourlinuxbox


: )
 
Old 08-31-2002, 03:32 PM   #4
Tezdread
Member
 
Registered: Aug 2002
Location: England
Distribution: SuSE 8.1
Posts: 84

Rep: Reputation: 15
This worked for me thank you!
How would I unmount the drive later?
 
Old 09-01-2002, 12:58 PM   #5
sonikntails
Member
 
Registered: Apr 2002
Distribution: Gentoo Linux Baby!!!!
Posts: 32

Rep: Reputation: 15
umount /whereu/mountedit
 
Old 09-01-2002, 03:49 PM   #6
Tezdread
Member
 
Registered: Aug 2002
Location: England
Distribution: SuSE 8.1
Posts: 84

Rep: Reputation: 15
thank you
 
Old 10-08-2002, 09:48 AM   #7
Zoid
LQ Newbie
 
Registered: Oct 2002
Location: South Africa
Posts: 1

Rep: Reputation: 0
Talking

Thanks - You have no idea how much this helps
 
Old 10-09-2002, 02:11 PM   #8
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
(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?
 
Old 10-10-2002, 05:31 PM   #9
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Rep: Reputation: 15
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?
 
Old 10-10-2002, 08:54 PM   #10
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot connect to Samba server from Win2k client buddhahat Linux - Networking 11 06-20-2005 03:01 PM
Samba:Unable to connect shares from win2k client vikram_cvk Linux - Software 8 03-22-2004 12:14 AM
Samba:Unable to connect shares from win2k client vikram_cvk Linux - Software 0 01-13-2004 06:03 AM
Cannot connect to my Win2K server jhansman Linux - Networking 1 08-29-2003 05:07 PM
Can not connect to Kazaa from Local (Win2K) PC via Linux Server hereiam Linux - General 1 03-25-2003 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration