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


ARCHIVES - Network/Internet Questions regarding network or Internet configuration and use in SUSE Linux

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 25-May-2008, 11:44
linux_noob
Guest
 
Posts: n/a
Default

I am trying to get a Windows XP share to be available on boot to a certain user (me). I can mount the location manually with this command successfully:
Code:
mount -t cifs //192.168.0.129/htdocs /home/user/share/htdocs -o username=default,password=default
where "user" is the particular user I am making this available to. Smbs and smbmount are not available to me, I am running openSUSE 10.3.

so in my etc/fstab I added this line to the bottom:
Code:
//192.168.0.129/htdocs /home/user/share/htdocs cifs username=default,password=default 0 0
but upon a reboot I can't access the files.

I am on a home network behind a router and the IP address for the machine I am trying to reach is static. Its works fine everytime with the manual mount, but not when placed in fstab. I presume I have a syntax error or something. Any ideas?

**** forum_noob too, sorry for the double post :unsure: *****
  #2 (permalink)  
Old 25-May-2008, 11:45
linux_noob
Guest
 
Posts: n/a
Default

I am trying to get a Windows XP share to be available on boot to a certain user (me). I can mount the location manually with this command successfully:
Code:
mount -t cifs //192.168.0.129/htdocs /home/user/share/htdocs -o username=default,password=default
where "user" is the particular user I am making this available to. Smbfs and smbmount are not available to me, I am running openSUSE 10.3.

so in my etc/fstab I added this line to the bottom:
Code:
//192.168.0.129/htdocs /home/user/share/htdocs cifs username=default,password=default 0 0
but upon a reboot I can't access the files.

I am on a home network behind a router and the IP address for the machine I am trying to reach is static. Its works fine everytime with the manual mount, but not when placed in fstab. I presume I have a syntax error or something. Any ideas?
  #3 (permalink)  
Old 25-May-2008, 16:51
Dean
Guest
 
Posts: n/a
Default

Maybe the network is not up and running when the fstab mount is attempted. This is quite common. You probably would find it works ok if you issue mount -a from a root console once up and running. There are some solutions to this problem outlined here:

http://www.swerdna.net.au/linhowtosambacifs.html

  #4 (permalink)  
Old 25-May-2008, 16:52
swerdna
Guest
 
Posts: n/a
Default

Hi l_n

I use a real username and a real password (or link in a credentials file) and make the mount owned by a particular user and the group users (perhaps it's you)

Have a look here for improvements:
HowTo Mount a CIFS Network Share [AKA Mapped Network Drive] in openSUSE 10.2, 10.3


Swerdna
  #5 (permalink)  
Old 25-May-2008, 16:56
swerdna
Guest
 
Posts: n/a
Default

Please do not double post -- it's so confusing. I'll have a go at merging them
  #6 (permalink)  
Old 26-May-2008, 12:13
linux_noob
Guest
 
Posts: n/a
Default

Thanks for the input and time spent, I will look at your suggestions and get back with the results. And yes sorry about the double post. My connection hiccuped after hitting submit, and I didn't realize it had gone through, I should have checked before submitting again.
 

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