LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Access the windows machine from fedora core 2 (https://www.linuxquestions.org/questions/linux-networking-3/access-the-windows-machine-from-fedora-core-2-a-336008/)

hardeep 06-22-2005 02:29 AM

Access the windows machine from fedora core 2
 
How to access windows machines form a linux environment, i am using fedora core 2 and would llike to access the domain environment/workgroup in my office

kindly suggest

Hardeep

dcdbutler 06-22-2005 07:34 PM

Hmm, you need Samba, It should be fairly easy to install and set up under Fedora Core with the installation disks or with yum. "man samba" will help too once it's installed

hardeep 06-23-2005 12:13 AM

Is samba for that ?
 
Hi dcdbutler

Thanks for the reply, but i do not think that samba will solve the problem, because samba is for accessing linux machines from a window machine, not other way, by default smb services are on in windows where as it is not the same in linux you have to make it on and define the path or the workgroup what we called it as, so that the win machine can access it

By the way i had already tried that, what i want to know is, we have the facility of network servers in RedHat/Fedora core 2, where in i understand that it will find out the win machines on it's own, but as such it is doing so here i want to konw is there any other way to access

By default Network server should perform this task they are not working or unable to perform the task
what can be the reason


Thanks
Hardeep Bhamra

RoofRabbit 06-23-2005 12:54 AM

Re: Is samba for that ?
 
Quote:

Originally posted by hardeep
Thanks for the reply, but i do not think that samba will solve the problem, because samba is for accessing linux machines from a window machine, not other way
You are wrong there. Samba works both ways. Shares on other machines wether windows or linux need to be mounted first. I usually create a script file to handle it for me. If you do it manually with a script file, you will need to be root to execute the mounting.

Example:

Windows PC : WINPC
Shares : C_DRIVE, CDROM

On Linux pc, create directories so you'll have a place to mount the shares:

/mnt/WINPC/C and
/mnt/WINPC/CD

Then using the login name/password for the windows pc (echo commands are not required):

echo Mounting WINPC\C_DRIVE...
smbmount //WINPC/C_DRIVE /mnt/WINPC/C -o username=your_login_name,password=your_pass
echo Mounting WINPC\CDROM...
smbmount //WINPC/CDROM /mnt/WINPC/CD -o username=your_login_name,password=your_pass

To unmount later:

umount /mnt/WINPC/C
umount /mnt/WINPC/CD

hardeep 06-23-2005 04:04 AM

let me try
 
For
RoofRabbit

fine, Thanks for the reply let me try, if it solves the problem will let u know on forum


thanks
hardeep bhamra

hardeep 06-23-2005 04:19 AM

another point
 
Dear RoofRabbit

one thing u missed out in the reply what i had given to dcdbutler, where in i have stated that we do have the facility of network server (click on redhat icon, just above run applicatin tab and below help tab) network server will find out the windows machine on it's on, this is what i had observed, without any smb services
earlier it was working, after my server crashed it is not working
now for the purpose of testing and being sure, i had tested this scenario on one other linux machine (not at same geo location) with one windows machine, as soon as i complete my redhat installtion and lick on network server tab the other winxp machine appear immediately, so where does samba come in to picture
let me know if u can work out somethings

thanks
hardeep bhamra


All times are GMT -5. The time now is 12:34 AM.