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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-07-2003, 12:24 PM
|
#1
|
LQ Newbie
Registered: Apr 2003
Posts: 4
Rep:
|
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
|
|
|
04-07-2003, 01:15 PM
|
#2
|
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142
Rep:
|
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.
|
|
|
04-07-2003, 03:09 PM
|
#3
|
LQ Newbie
Registered: Apr 2003
Posts: 1
Rep:
|
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.
|
|
|
04-17-2003, 06:15 AM
|
#4
|
LQ Newbie
Registered: Apr 2003
Posts: 4
Original Poster
Rep:
|
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 06:16 AM.
|
|
|
04-17-2003, 08:50 AM
|
#5
|
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142
Rep:
|
Which sub-menu is it under on yours? I don't seem to see it on mine.
|
|
|
04-17-2003, 09:56 PM
|
#6
|
Senior Member
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Rep:
|
type:
su
mkdir /mnt/windows
mount -t vfat /dev/hda1 /mnt/windows
cd /mnt/windows
ls
:-)
|
|
|
04-18-2003, 03:37 PM
|
#7
|
LQ Newbie
Registered: Apr 2003
Distribution: RedHat 9.0, Mandrake 9.1
Posts: 4
Rep:
|
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 03:41 PM.
|
|
|
04-19-2003, 06:34 PM
|
#8
|
Senior Member
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Rep:
|
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.
|
|
|
04-20-2003, 08:40 AM
|
#9
|
Member
Registered: Mar 2003
Location: Leuven, Belgium
Distribution: Red Hat, Debian
Posts: 48
Rep:
|
you can mount a samba share like this:
# mount -t smbfs -o username=yourwindowsusername,password=yourwindowspassword //machinename/Sharename /mountpoint
|
|
|
04-25-2003, 10:47 PM
|
#10
|
Member
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59
Rep:
|
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!
|
|
|
10-09-2012, 08:48 AM
|
#11
|
LQ Newbie
Registered: Oct 2012
Posts: 1
Rep: 
|
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 ..!!
|
|
|
10-09-2012, 09:09 AM
|
#12
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797
|
This thread is about as old as RH9 would have been 
|
|
|
All times are GMT -5. The time now is 08:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|