LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-07-2003, 11:24 AM   #1
McAnic
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Rep: Reputation: 0
Question 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
 
Old 04-07-2003, 12:15 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
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.
 
Old 04-07-2003, 02:09 PM   #3
dubstar
LQ Newbie
 
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
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.
 
Old 04-17-2003, 05:15 AM   #4
McAnic
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Arrow 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.

Last edited by McAnic; 04-17-2003 at 05:16 AM.
 
Old 04-17-2003, 07:50 AM   #5
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Which sub-menu is it under on yours? I don't seem to see it on mine.
 
Old 04-17-2003, 08:56 PM   #6
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
type:


su

mkdir /mnt/windows

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

cd /mnt/windows

ls

:-)
 
Old 04-18-2003, 02:37 PM   #7
mr-banzai
LQ Newbie
 
Registered: Apr 2003
Distribution: RedHat 9.0, Mandrake 9.1
Posts: 4

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

Last edited by mr-banzai; 04-18-2003 at 02:41 PM.
 
Old 04-19-2003, 05:34 PM   #8
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
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.
 
Old 04-20-2003, 07:40 AM   #9
m00nd0g
Member
 
Registered: Mar 2003
Location: Leuven, Belgium
Distribution: Red Hat, Debian
Posts: 48

Rep: Reputation: 15
you can mount a samba share like this:

# mount -t smbfs -o username=yourwindowsusername,password=yourwindowspassword //machinename/Sharename /mountpoint
 
Old 04-25-2003, 09:47 PM   #10
KePSuX
Member
 
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59

Rep: Reputation: 15
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!
 
Old 10-09-2012, 07:48 AM   #11
swapnil_7
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
Smile 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 ..!!
 
Old 10-09-2012, 08:09 AM   #12
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
This thread is about as old as RH9 would have been
 
  


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
accessing windows share folders jhonny Amigo 2 03-16-2005 03:03 PM
Accessing Windows Dfs root share Help!!! Sabeer Linux - Networking 0 04-16-2004 07:48 AM
Accessing Windows Share using Nautilus laikos Linux - Networking 4 05-02-2003 02:08 AM
Accessing windows share from linux ? McAnic Linux - Networking 5 04-07-2003 12:16 PM
accessing windows share from linux zuessh Linux - Networking 2 06-22-2002 05:04 AM


All times are GMT -5. The time now is 11:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration