Hi Luggerz, I dont think this is quite as much about Linux as it should be, but nevertheless i thought that Luggers will always be a valuable source of information. So here is the deal. I will be soon be having two computers,a laptop and a desktop(both are relatively good ones). I have 30 gigs of hard-drive space on the laptop which will need to run Windows(for voice conversation with people back home :)), and 80gs on the desktop(which will be linux). These computers will be connected to a common 10/100 Mbps switch. My question is how would i share stuff between both machines i.e in effect, have a common 110 gb space which can be accessed by both machines. I dont mind leaving aside 5gs for each OS, but i still want to share the rest. Keep in mind that i intend to run a ftp server, which is why i want shared space :). Please feel free to answer whatever you feel is worthwhile. I have not been able to make up my mind about anything, as quite franky i dont know enough about networking multi-platform pcs, which is why i am looking for some help. if u feel this is OT then please reply off the list, but please provide me some input. In advance, THANX -- Bhargav Bhatt, Department of Applied Physics and Applied Mathematics, Columbia University.
Samba might be your answer!
samba allows you to share a folder on your linux pc with a networked windows computer and vice versa...
here's a how to
http://www.tldp.org/HOWTO/SMB-HOWTO.html
- z
On Wed, 30 Oct 2002, Bhargav Bhatt wrote:
Hi Luggerz, I dont think this is quite as much about Linux as it should be, but nevertheless i thought that Luggers will always be a valuable source of information. So here is the deal. I will be soon be having two computers,a laptop and a desktop(both are relatively good ones). I have 30 gigs of hard-drive space on the laptop which will need to run Windows(for voice conversation with people back home :)), and 80gs on the desktop(which will be linux). These computers will be connected to a common 10/100 Mbps switch. My question is how would i share stuff between both machines i.e in effect, have a common 110 gb space which can be accessed by both machines. I dont mind leaving aside 5gs for each OS, but i still want to share the rest. Keep in mind that i intend to run a ftp server, which is why i want shared space :). Please feel free to answer whatever you feel is worthwhile. I have not been able to make up my mind about anything, as quite franky i dont know enough about networking multi-platform pcs, which is why i am looking for some help. if u feel this is OT then please reply off the list, but please provide me some input. In advance, THANX -- Bhargav Bhatt, Department of Applied Physics and Applied Mathematics, Columbia University.
Bhargav Bhatt wrote:
how would i sharestuff between both machines i.e in effect, have a common 110 gb space which can be accessed by both machines. I dont mind leaving aside 5gs for each OS, but i still want to share the rest. Keep in mind that i intend to run a ftpserver, which is why i want shared space :).
Install the samba package from your distro CD. If you just want to access the windows machine via the Linux machine, you need not configure samba. Just install it. In case of Red Hat Linux just install samba-common, samba-client and the samba rpms. Start the smb service. Share some folders on the windows machine and ensure that there is connectivity between the two machines. ( ping ).
Now run the following command. mount -t smbfs -o username=<your-windows username>, password=your-pass> \ //<windows-machine-name>/<shared-folder-name> /mnt/
For e.g. to access the shared folder Desktop on the windows machine Ho do the following : mount -t smbfs -o username=ashok,password=xxxxx //Ho/Desktop /mnt/cdrom Use your username obviously.
You can put this in rc.local so that the windows folder is mounted when the Linux machine starts.
man smbmount for details.
For accessing the Linux machine from Windows, you will need to configure samba on the Linux machine. Check out oreilly's excellent book. www.oreilly.com/catalog/samba/
-- Ashok
On Wed, Oct 30, 2002 at 09:54:42PM -0800, Bhargav Bhatt wrote:
help. if u feel this is OT then please reply off the list, but please provide me some input.
Refer www.kumarayil.net/howtos.htm
Bhargav Bhatt wrote:
how would i share stuff between both machines i.e in effect, have a common 110 gb space which can be accessed by both machines. I dont mind leaving aside 5gs for each OS, but i still want to share the rest.
Install the samba package from your distro CD. If you just want to access the windows machine via the Linux machine, you need not configure samba. Just install it. In case of Red Hat Linux just install samba-common, samba-client and the samba rpms. Start the smb service. Share some folders on the windows machine and ensure that there is connectivity between the two machines. ( ping ).
Now run the following command. mount -t smbfs -o username=<your-windows username>, password=your-pass> \ //<windows-machine-name>/<shared-folder-name> /mnt/
For e.g. to access the shared folder Desktop on the windows machine Ho do the following : mount -t smbfs -o username=ashok,password=xxxxx //Ho/Desktop /mnt/cdrom Use your username obviously.
You can put this in rc.local so that the windows folder is mounted when the Linux machine starts.
man smbmount for details.
For accessing the Linux machine from Windows, you will need to configure samba on the Linux machine. Check out oreilly's excellent book. www.oreilly.com/catalog/samba/
-- Ashok