LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-22-2005, 02:29 AM   #1
hardeep
LQ Newbie
 
Registered: Jun 2005
Posts: 9

Rep: Reputation: 0
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
 
Old 06-22-2005, 07:34 PM   #2
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
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
 
Old 06-23-2005, 12:13 AM   #3
hardeep
LQ Newbie
 
Registered: Jun 2005
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 06-23-2005, 12:54 AM   #4
RoofRabbit
Member
 
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
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
 
Old 06-23-2005, 04:04 AM   #5
hardeep
LQ Newbie
 
Registered: Jun 2005
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 06-23-2005, 04:19 AM   #6
hardeep
LQ Newbie
 
Registered: Jun 2005
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Supplying internet for a windows 95 machine from Fedora Core 3 Coag Linux - Networking 1 06-23-2005 01:49 PM
How to access linux Fedora core 3 from windows alwaysharsha Linux - Hardware 7 04-27-2005 01:08 PM
access windows partition through fedora core 2 NotSoSure123 Linux - Software 7 08-24-2004 12:10 AM
Access files on windows xp from fedora core 2 velibos Linux - Newbie 1 08-05-2004 02:57 PM
Remote GUI access to Fedora Server from Windows machine astitva Linux - Software 1 04-04-2004 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration