carlwill
2005-02-03, 01:02 PM CST
This is my last Linux project before I am 100% happy in Linux, besides lack of games :( but none the less. I have a Windows XP machine on my Lan (192.168.1.103). This XP machine name is winux (it's a un-original dual boot name) & it has all my files, videos, and mp3's on it.
My main machine in my office is Fedora Core 3 (192.168.1.101). I was told that on this machine, I need to edit /etc/fstab, which happens to look like this.
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,fscontext=system_u:object_r :removable_t,managed 0 0
I have made a share dir called share in the /mnt dir. mkdir /mnt/share
I read the FAQ and it says I need to add a line in the above file like so:
//server/share /mnt/share cifs exec, credentials=/etc/cifspw,uid=carlos
(I don't know if the //server needs to be the windows server name (winux) and the /share needs to be the share folder name on the windows machine (share)?
Then I create a file called cifspw and saved that in /etc (saved as /etc/cifspw)
username=mywindowsusername
password=mywindowspassword
Can someone comment on my steps in mounting this windows file share?
My main machine in my office is Fedora Core 3 (192.168.1.101). I was told that on this machine, I need to edit /etc/fstab, which happens to look like this.
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,fscontext=system_u:object_r :removable_t,managed 0 0
I have made a share dir called share in the /mnt dir. mkdir /mnt/share
I read the FAQ and it says I need to add a line in the above file like so:
//server/share /mnt/share cifs exec, credentials=/etc/cifspw,uid=carlos
(I don't know if the //server needs to be the windows server name (winux) and the /share needs to be the share folder name on the windows machine (share)?
Then I create a file called cifspw and saved that in /etc (saved as /etc/cifspw)
username=mywindowsusername
password=mywindowspassword
Can someone comment on my steps in mounting this windows file share?