Networking and File Sharing


Recommended Posts

Ok, you're going to need to clarify here....

You're trying to get to your 'pc files'.

Where are these files?

On a different computer, I presume from the Lin Neighborhood....

Is this computer a windows box? Is samba on? Or is it a Mac box? Also, are you running Red Hat, or Fedora ? (You SHOULD be running fedora but nooooo 9.0 sounds sooo much better than Core 2.... :rolleyes: )

Link to comment
Share on other sites

Ok. What files?

On a local drive (like you dual-boot and want to access your Windows files)?

Or on another computer?

I think you mean another computer, so you will need to connect with samba

mount -t smbfs -o rw //win_pc_name/share_name /mnt/linux_mount_point

and change your win_pc_name, share_name and linux_mount_point to whatever you have on your PCs.

There is probably a graphical method of browsing the SMB shares, but I don't know what that is (plus, which version of RedHat are you using?)

Link to comment
Share on other sites

alright well i 'm trying to get my PC files running winodws xp right here at home and i have them all networked together. I am running Redhat 9 on the box i wanna get the files to...so i am trying to connect with my pc so i can share files... =)

Link to comment
Share on other sites

We will need to find out the following:

Perform a hostname command in a DOS window on your Windows PC.

Find out what your "Share Name" is on your Windows PC that you want to access. This is not the "folder name", as some people think. It is an individual name assigned under the share tab when you right click or something (I don't have Windows, so forgive my vagueness) :unsure:

Then (as long as you can ping both PCs from each other on your network), you should be able to do the following:

On your Linux PC, open a shell.

Do a su, and enter your root password.

Do a mkdir /mnt/winshare

Do a mount -t smbfs -o rw //(the hostname result from above)/(the share name result from above) /mnt/winshare

You might want a more exact instruction for the mount command. If you post your results from the hostname and share name from above, I can help.

Link to comment
Share on other sites

ummm....lemmi figure out how to get the share name...but is there anyway to use a program on linux so i just have to put my IP in like Lin Neighborhood in mandrake?

Link to comment
Share on other sites

you need a space between //one/pcdos and /mnt/winshare (unless you've made an entry in your fstab - which you haven't).

also, /mnt/winshare has to exist: if it doesn't then you'd better create it: just mkdir /mnt/winshare

Link to comment
Share on other sites

oh yeah btw what's the command to get to termal by just typing it in the cmd box?

If you mean start a terminal from the "run command" GUI prompt, you can type xterm or konsole or the name of any other of your installed terminal programs).

Glad you got it working! (Y)

P.S. I have kosnole linked wiht hotkeys to WIN+K on my PC, making it very easy to open a shell. ;)

Link to comment
Share on other sites

If you mean start a terminal from the "run command" GUI prompt, you can type xterm or konsole or the name of any other of your installed terminal programs).

Glad you got it working! (Y)

P.S. I have kosnole linked wiht hotkeys to WIN+K on my PC, making it very easy to open a shell. ;)

cool

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.