|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Alright, so I can do it manually no problem by doing this as root
mount -t cifs //192.168.0.253/guest-share /mnt/server now it asks me for a password, but their isnt one, since its simply a guest account. would be nice to know how to bypass that prompt, but my big question is how to automount this? my fstab looks like this /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2G6W6NE-part2 swap swap defaults 0 0 /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2G6W6NE-part3 / reiserfs acl,user_xattr 1 1 /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2G6W6NE-part4 /home ext3 acl,user_xattr 1 2 /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2G6W6NE-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.U TF-8 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 //192.168.0.253/guest-share /mnt/server cifs _netdev 0 0 All help is greatly appreciated |
|
|||
|
On Thu January 1 2009 08:06 pm, jonyork wrote:
> > Alright, so I can do it manually no problem by doing this as root > > mount -t cifs //192.168.0.253/guest-share /mnt/server > > now it asks me for a password, but their isnt one, since its simply a > guest account. would be nice to know how to bypass that prompt, but my > big question is how to automount this? my fstab looks like this > > /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2G6W6NE-part2 swap > swap defaults 0 0 > /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2G6W6NE-part3 / > reiserfs acl,user_xattr 1 1 > /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2G6W6NE-part4 /home > ext3 acl,user_xattr 1 2 > /dev/disk/by-id/ata-Maxtor_6Y080L0_Y2G6W6NE-part1 /windows/C > ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.U TF-8 0 0 > proc /proc proc defaults > 0 0 > sysfs /sys sysfs noauto > 0 0 > debugfs /sys/kernel/debug debugfs noauto > 0 0 > usbfs /proc/bus/usb usbfs noauto > 0 0 > devpts /dev/pts devpts mode=0620,gid=5 > 0 0 > //192.168.0.253/guest-share /mnt/server cifs _netdev 0 0 > > > All help is greatly appreciated > > jonyork; There is a very long thread titled "connection to NAS box" a week or so old in this forum that addresses this exact issue. The OP of that thread finally resolved the problem with a cron tab. You might want to read that thread. There are recommendations for fstab, but the OP could never get it to work. It was not clear to me exactly why, but suspect the network has not settled down enough to do it at boot with fstab. -- P. V. "We're all in this together, I'm pulling for you." Red Green |
|
||||
|
Quote:
Code:
//192.168.0.253/guest-share /mnt/server password=,_netdev 0 0 Reference: Samba: HowTo Mount a CIFS Network Share [AKA Map Network Drive] in openSUSE 10 & 11 plus FAQs
__________________
Drop in and visit some time. |
|
|||
|
thanks swerdna,
got it working, and I made the cron job. it was timing out. but now there is no icon on the desktop, not a big issue, but how come there isnt one since it is mounted? |
|
||||
|
Quote:
__________________
Drop in and visit some time. |
|
|||
|
out of curiosity,
my goal here is to have my home folder on this NAS. would I be better able to do so using NFS? cause it gives me many errors when I move it to the NAS, and I believe they are realted to me needed to crontab to make it mount. would NFS solve these issues? also, speed wise, is NFS faster "out of the box" then samba? |
|
|||
|
On Sun January 4 2009 07:36 pm, jonyork wrote:
> > out of curiosity, > > my goal here is to have my home folder on this NAS. would I be better > able to do so using NFS? cause it gives me many errors when I move it to > the NAS, and I believe they are realted to me needed to crontab to make > it mount. > > would NFS solve these issues? > > also, speed wise, is NFS faster "out of the box" then samba? > > jonyork; Just what errors are you seeing? I'm speculating that you will find the files on the NAS are owned by root even in your home directory. This is due to the mount being executed by root. It is possible to add the options uid=<username>, gid=<groupname> to get around this. See: http://www.swerdna.net.au/linhowtosambacifs.html for details. Not sure if NFS would help here or not, try it and see. But I would suggest that rather than trying to move your entire home directory to the NAS it would be better to just redirect your Documents, Mail and other data files to the NAS and leave your GUI and such settings on the Linux box. -- P. V. "We're all in this together, I'm pulling for you." Red Green |
![]() |
| Bookmarks |
| Tags |
| automount, cifs, fstab, nas, server |
| Thread Tools | |
| Display Modes | |
|
|