LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-05-2002, 06:16 PM   #1
KePSuX
Member
 
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59

Rep: Reputation: 15
Talking Reading/Writting to Win Xp Pro Shares Via Redhat 8.0


Hi, i'm running Redhat 8.0 and looking for the best way to read and write from shares on a windows xp pro machine. There is no domain involved, just a simple username/password setup on the XP box. What is the best way to do this, or does anyone have any links to good documentation on this? Thanks alot.
 
Old 12-05-2002, 09:37 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Samba - smbmount

Cheers,
Tink
 
Old 12-06-2002, 09:49 PM   #3
KePSuX
Member
 
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
rad, this looks like its shooting me in the right direction. Am I assuming I have to install samba to get this command? Are there different packages of Samba to install? Does the windows XP machine need any aditional software added to it? Thanks alot.
 
Old 12-08-2002, 01:34 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You'll need sambainstalled :)

Choose a recent RPM for your distro, or the
source tarball from samba.org ...

Windows (any version greater 3.11) speaks
TCP/Beui as a native tongue, so you don't
need additional software there ...

Because of different key-handling (secutiry,
password encryption) you'll need to modify
the registry (apparently, or at least that's what
I understood from one of the threads in
networking - I don't use the evil thing ;})

http://linuxgod.windowsxp.nu/Samba.php

HIH ...


Cheers,
Tink
 
Old 12-09-2002, 10:50 AM   #5
KePSuX
Member
 
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
ok, i got samba installed, its working...half way. THe windows box sees the linux box, and can read/write to the shared directory i specified. I cant get the linux box to mount to the widows share. When i try to use the smbmount or smbmnt commands it says "-bash: smbmount: command not found" so im assuming they did not install?

when i use the mount -t smbfs //share/name /mount/point its giving me a:

mount: wrong fs type, bad option, bad superblock on //192.168.1.2/audio,
or too many mounted file systems

error. any ideas? I know im just goofing something silly up here. Thanks alot!
 
Old 12-09-2002, 01:05 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
My wild guess is that you are trying to run
smbmount as a normal user? Unfortunately
the location of smbmount varies with distros ...

try "locate smbmount" and check whether
the command is in your searchpath.

Also, check whether you have smb support
compiled into your kernel, either as a module
or "hard-wired" :)

HIH

Cheers,
Tink
 
Old 12-09-2002, 10:27 PM   #7
KePSuX
Member
 
Registered: Nov 2002
Location: Fredericksburg Va
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
as for the user idea, when mounting file systems, do i need to be logged in as root? If i do, how would i go about configuring the mount to become present when anyone logged in, or give all users the ability to establish the mount?

how do i find out if its included with my kernel? Is there a command that will show me, or do i need to check my kernel version against some sort of documentation?

when i run a search for smbmount or smbmnt it comes up with nothing. In X, and at the terminal.

thanks again.
 
Old 12-11-2002, 12:24 PM   #8
Penguin Dropout
LQ Newbie
 
Registered: Dec 2002
Posts: 21

Rep: Reputation: 15
first off, if u read the man page on the smbmount, it gives the option to include a username and password with -o option. Unless u set up windows XP to allow guests, us should have to enter a valid username from your XP box. In terms of allowing users to mount the files system, u would need to add it to /etc/fstab, with the option user. I would suggest reading the man pages on mount, and on fstab, and smbmount. with these three tools u will be able to set this up. I am also using redhat 8.0 and I found that smbmount was installed as part of the base install, so I think it should be there. I just got this working about 2 days ago with a win2k box, so I am thinking it can't be much different, and oh btw I'm in VA beach
 
Old 12-11-2002, 12:32 PM   #9
granny
Member
 
Registered: Nov 2002
Distribution: RH
Posts: 141

Rep: Reputation: 15
Hey KepSux, I'm with you in the n00b boat, but I would ask if the SMB client is installed? Not sure if this is needed to mount from a linux box to a windows box, maybe one of the other posters could verify whether or not this is true.
 
  


Reply



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
permanent mount of win shares DJOtaku Linux - General 3 01-31-2005 11:52 PM
Mac, Linux and Win File Shares over LAN Strixy Linux - Networking 4 04-26-2004 10:11 PM
Samba shares on Win XP disappear regorbro Linux - Software 4 02-23-2004 06:45 AM
Samba access WIN XP shares from linux box rmanocha Linux - Software 8 10-24-2003 08:28 AM
Setting up Samba with SuSe 8.1 and Win 2K/Win XP Pro crstine Linux - Networking 1 12-11-2002 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 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