 |
|
 |
|
|
 |
mounting a windows network share on fedora fc2 |
 |
 |
|
|
07-09-04 04:58 PM
I have a workgroup of "home" and a computer called "THEBOX" with a share
of "My Music". I can browse to it from my X desktop but I get error
messages when I use the command line:
mount -t user=XXXX,password=XXXX //THEBOX/My Music /audio
What do I need to do differently?
Thanks,
Chris
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: mounting a windows network share on fedora fc2 |
 |
 |
|
|
07-09-04 04:58 PM
On Wed, 07 Jul 2004 19:40:29 +0000 Chris Tenney wrote:
> I have a workgroup of "home" and a computer called "THEBOX" with a share
> of "My Music". I can browse to it from my X desktop but I get error
> messages when I use the command line:
> mount -t user=XXXX,password=XXXX //THEBOX/My Music /audio
>
> What do I need to do differently?
man mount -> to see what "-t" meants and that it need a value
Too notice the space in "My Music".
> Chris
Alexander
--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: mounting a windows network share on fedora fc2 |
 |
 |
|
|
07-09-04 04:58 PM
"Alexander Dalloz" <alexander.dalloz@uni-bielefeld.de> wrote in message
news:pan.2004.07.07.20.43.52.855715@uni-bielefeld.de...
> On Wed, 07 Jul 2004 19:40:29 +0000 Chris Tenney wrote:
>
>
>
> man mount -> to see what "-t" meants and that it need a value
>
> Too notice the space in "My Music".
>
>
> Alexander
>
>
> --
> Alexander Dalloz | Enger, Germany
> PGP key valid: made 13.07.1999
> PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
>
the command line should read
mount -t smbfs //THEBOX/My Music /audio -o user=XXXX,password=XXXX
But, 1 question, how does Linux handle spaces in names like "My Music"? Do
I type it as shown, or do I do something else?
Thanks,
Chris
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: mounting a windows network share on fedora fc2 |
 |
 |
|
|
07-09-04 04:58 PM
"Chris Tenney" <tenneyc@earthlink.net> writes:
>the command line should read
>mount -t smbfs //THEBOX/My Music /audio -o user=XXXX,password=XXXX
>
>But, 1 question, how does Linux handle spaces in names like "My Music"? Do
>I type it as shown, or do I do something else?
You do something else.
Oh, you actually want to know what? Why not ask?
Surround the argument in which blanks are significant with
quotation marks.
mount -t smbfs "//THEBOX/My Musix" /audio -o ...
Do ensure you mkdir /audio first.
scott
>
>Thanks,
>
>Chris
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: mounting a windows network share on fedora fc2 |
 |
 |
|
|
07-09-04 04:58 PM
On Wed, 07 Jul 2004 22:08:08 +0000 Chris Tenney wrote:
> the command line should read
> mount -t smbfs //THEBOX/My Music /audio -o user=XXXX,password=XXXX
Great, you helped yourself. Isn't that a good feeling? ;)
> But, 1 question, how does Linux handle spaces in names like "My Music"? D
o
> I type it as shown, or do I do something else?
In general I would avoid using directory names with spaces, either under
*NIX or Windows[tm]. Some too avoid spaces in files names too. You don't
really need white spaced names.
To cover your actual situation you would need to modify the mount command
line by putting the UNC name - which is the Windows[tm] share - into "".
> Chris
Alexander
--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: mounting a windows network share on fedora fc2 |
 |
 |
|
|
07-09-04 04:58 PM
On Wed, 07 Jul 2004 22:19:01 +0000, Scott Lurndal wrote:
[vbcol=seagreen]
> "Chris Tenney" <tenneyc@earthlink.net> writes:
>
>
> You do something else.
>
>
>
>
>
>
>
>
>
> Oh, you actually want to know what? Why not ask?
>
> Surround the argument in which blanks are significant with quotation
> marks.
>
> mount -t smbfs "//THEBOX/My Musix" /audio -o ...
>
> Do ensure you mkdir /audio first.
>
> scott
I got it:
mount -t smbfs //thebox/my\ music /audio -o username=XXX,password=XXXX
Now, how do I place this im /etc/fstab to mount on boot. I placed the
above line there and it gave me an error?
Thanks,
Chris
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: mounting a windows network share on fedora fc2 |
 |
 |
|
|
07-09-04 04:58 PM
On Thu, 08 Jul 2004 20:59:11 +0000 Chris Tenney wrote:
> I got it:
>
> mount -t smbfs //thebox/my\ music /audio -o username=XXX,password=XXXX
>
> Now, how do I place this im /etc/fstab to mount on boot. I placed the
> above line there and it gave me an error?
man fstab
The /etc/fstab entries have a specific format.
> Chris
Alexander
--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: mounting a windows network share on fedora fc2 |
 |
 |
|
|
09-18-05 07:49 AM
Chris Tenney wrote:
> I have a workgroup of "home" and a computer called "THEBOX" with a share
> of "My Music". I can browse to it from my X desktop but I get error
> messages when I use the command line:
>
>
> mount -t user=XXXX,password=XXXX //THEBOX/My Music /audio
>
> What do I need to do differently?
>
> Thanks,
>
> Chris
try:
smbmount /localdirectory //windowsserver/share -o
username=xxxx,password=xxxx
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: mounting a windows network share on fedora fc2 |
 |
 |
|
|
09-18-05 12:47 PM
Kurt wrote:
> Chris Tenney wrote:
>
>
>
> try:
>
> smbmount /localdirectory //windowsserver/share -o
> username=xxxx,password=xxxx
Chris,
Is not the syntax: smbmount //windowsserver/share /localdirectory -o
username=xxxx,password=xxxx ?
Alernative:
mount -t smb //windowsserver/share /localdirectory -o
user=XXXX,password=XXXX
second alternative:
put following lines in your /etc/fstab:
//windowsserver/share /localdirectory smbfs
defaults,noauto,user=XXXX,password=XXXX
where noauto is optional, avoids boot problems when your Windows machine
is offline when you boot the linux machine.
Kind regards,
Jan Gerrit Kootstra
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: mounting a windows network share on fedora fc2 |
 |
 |
|
|
09-23-05 10:54 PM
Jan Gerrit Kootstra wrote:
> Kurt wrote:
>
>
> Chris,
>
>
> Is not the syntax: smbmount //windowsserver/share /localdirectory -o
> username=xxxx,password=xxxx ?
>
> Alernative:
>
> mount -t smb //windowsserver/share /localdirectory -o
> user=XXXX,password=XXXX
>
> second alternative:
>
> put following lines in your /etc/fstab:
>
> //windowsserver/share /localdirectory smbfs
> defaults,noauto,user=XXXX,password=XXXX
>
> where noauto is optional, avoids boot problems when your Windows machine
> is offline when you boot the linux machine.
>
>
> Kind regards,
>
>
> Jan Gerrit Kootstra
If the Windows share is an NTFS partition, you might want to mount it as
read only.
$ mount -r -t smbfs -o user=xx password=xx //machine/share /localdirectory
[ Post a follow-up to this message ]
|
|
|
 |
|
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 09:41 AM. |
 |
|
|
 |
|
 |
|
|
 |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
Medical and Health forum | Computer Games Reviews | Graphics design forum
|
 |
|
 |
|