openSUSE Forums > Network/Internet » Question about mounting a network filesystem

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 30-Jun-2009, 05:50
suse_tpx60s's Avatar
Busy Penguin
 
Join Date: May 2009
Location: EU
Posts: 457
suse_tpx60s hasn't been rated much yet
Default Question about mounting a network filesystem

I want to mount a folder that exists on a XP box. The folder needs to be mounted to allow R/W for me the user.

I tried the following command
Code:
mount -t smbfs -o username=xpusername,password=xppassword  //fileserver/path/to/folder
The above doesn't seem to work. The username on the XP box actually has a space in it as does do the folder names. Is this what's causing the problem?
__________________
IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSuSE 11.1 | KDE4.3.3
ASUS
M3N78 | AMD 64x2 5400+ | nvidia 8200+ | 2GB | openSUSE 11.2 | KDE4.3.3
Reply With Quote
  #2 (permalink)  
Old 30-Jun-2009, 07:05
natural_pilot
Guest
 
Posts: n/a
Default Re: Question about mounting a network filesystem

> The username on the XP box actually has
> a space in it as does do the folder names.


while waiting for a real network guru (i am NOT!), you can try this, i
don't how it could hurt anything..

using your example (which i have NO idea if it should work or
not....BUT, if username is actually "user name" and the directory you
wanna mount is "folder name" then, try this:

mount -t smbfs -o username='user name',password=xppassword
//fileserver/path/to/'folder name'

and, if that doesn't work, try this:

mount -t smbfs -o username="user name",password=xppassword
//fileserver/path/to/"folder name"

see, i think it is getting confused if you are now sending

mount -t smbfs -o username=user name,password=xppassword
//fileserver/path/to/folder name

--
.~.
/V\
/( )\
natural^^-^^pilot
Reply With Quote
  #3 (permalink)  
Old 30-Jun-2009, 08:07
suse_tpx60s's Avatar
Busy Penguin
 
Join Date: May 2009
Location: EU
Posts: 457
suse_tpx60s hasn't been rated much yet
Default Re: Question about mounting a network filesystem

Thanks. Neither of those worked. I'm not entirely sure the command is correct but that's what I found with googling.
__________________
IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSuSE 11.1 | KDE4.3.3
ASUS
M3N78 | AMD 64x2 5400+ | nvidia 8200+ | 2GB | openSUSE 11.2 | KDE4.3.3
Reply With Quote
  #4 (permalink)  
Old 30-Jun-2009, 08:08
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,883
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Question about mounting a network filesystem

smbfs mount has been replaced by cifs mount in openSUSE. Much the same, slight diff in syntax. See here:
HowTo Mount a CIFS Network Share [AKA Mapped Network Drive] in openSUSE
__________________
Drop in and visit some time.
Reply With Quote
  #5 (permalink)  
Old 30-Jun-2009, 08:19
suse_tpx60s's Avatar
Busy Penguin
 
Join Date: May 2009
Location: EU
Posts: 457
suse_tpx60s hasn't been rated much yet
Default Re: Question about mounting a network filesystem

Just to say I made a typo in my command above. I left the mount point off. It should be
mount -t smbfs -o username=xpusername,password=xppassword //fileserver/path/to/folder /mount/point/path Still not working though. Just trying to run this from the terminal as root.
__________________
IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSuSE 11.1 | KDE4.3.3
ASUS
M3N78 | AMD 64x2 5400+ | nvidia 8200+ | 2GB | openSUSE 11.2 | KDE4.3.3
Reply With Quote
  #6 (permalink)  
Old 30-Jun-2009, 08:22
suse_tpx60s's Avatar
Busy Penguin
 
Join Date: May 2009
Location: EU
Posts: 457
suse_tpx60s hasn't been rated much yet
Default Re: Question about mounting a network filesystem

Ah, thanks. I did see a reference to cifs when googling but didn't know what it was so dismissed it. I'll give that a try.
__________________
IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSuSE 11.1 | KDE4.3.3
ASUS
M3N78 | AMD 64x2 5400+ | nvidia 8200+ | 2GB | openSUSE 11.2 | KDE4.3.3
Reply With Quote
  #7 (permalink)  
Old 30-Jun-2009, 08:40
suse_tpx60s's Avatar
Busy Penguin
 
Join Date: May 2009
Location: EU
Posts: 457
suse_tpx60s hasn't been rated much yet
Default Re: Question about mounting a network filesystem

Ok, just looked at your tutorial. I can't enable smbfs. I get an error saying " /etc/init.d/smbfs start returned 6 (program is not configured):"
I have samba-client installed and configured and can happily browse my XP box and all the files and folders on it.

What needs configuring? Do I need to set up the full blown samba server?
__________________
IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSuSE 11.1 | KDE4.3.3
ASUS
M3N78 | AMD 64x2 5400+ | nvidia 8200+ | 2GB | openSUSE 11.2 | KDE4.3.3
Reply With Quote
  #8 (permalink)  
Old 30-Jun-2009, 12:59
suse_tpx60s's Avatar
Busy Penguin
 
Join Date: May 2009
Location: EU
Posts: 457
suse_tpx60s hasn't been rated much yet
Default Re: Question about mounting a network filesystem

OK. Got it working. I started the smbfs using the terminal.
__________________
IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSuSE 11.1 | KDE4.3.3
ASUS
M3N78 | AMD 64x2 5400+ | nvidia 8200+ | 2GB | openSUSE 11.2 | KDE4.3.3
Reply With Quote
  #9 (permalink)  
Old 30-Jun-2009, 14:28
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,883
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Question about mounting a network filesystem

Just for interest, what mount did you finally use to get it working?
__________________
Drop in and visit some time.
Reply With Quote
  #10 (permalink)  
Old 01-Jul-2009, 01:23
suse_tpx60s's Avatar
Busy Penguin
 
Join Date: May 2009
Location: EU
Posts: 457
suse_tpx60s hasn't been rated much yet
Default Re: Question about mounting a network filesystem

I used
Code:
chkconfig smbfs on
to start the smbfs service.
Then mounted with
Code:
mount -t cifs -o username=xpusername,password=xppassword //fileserver/path/to/folder /mount/point/path
The xpusername and some of the xpfolders had spaces in them so I wrapped then in " ".
__________________
IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSuSE 11.1 | KDE4.3.3
ASUS
M3N78 | AMD 64x2 5400+ | nvidia 8200+ | 2GB | openSUSE 11.2 | KDE4.3.3
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2