Re: Mount windows drive within another machine (network)
On Sun, Jun 24, 2001 at 11:44:42PM +0300, Michael Schmidt wrote: This can be done using mount. I am not sure how secure this is. It doesn't seem very secure since the username and password are listed, maybe there is a better way. mount -t smbfs -o username=REMOTE_USERNAME,password=REMOTE_PASSWORD,uid=LOCAL_USERNAME,gid=LOCAL_GROUP, workgroup=WINDOWS_WORKGROUP //REMOTE_COMPUTER_NAME/SHARE /mnt/d Obviously, this is a very bad idea considering that it'll stay in your shell history. You can just leave out the password option and the server will prompt you for the password. This makes it harder to automate, but it's better than leaving it in there. Steve
Re: Mount windows drive within another machine (network)
nico de haer wrote: Juan, Share the drive under windows, and use samba (the smbmount part) to mount it somewhere on your Linux system. One warning: un-mount the share *before* you turn off your windows box or before it *crashes* Linux doesn't like mounts to go without saying bye. In defense of smbfs, I must say that many Windows machines with smbmounted shares have been taken down or crashed here, without a smbumount on the Linux side, and have not had a deleterious effect on the Linux server. You're just going to get a bunch of I/O errors when you try to access the files. For that reason (I use smbfs to do backups of the Win machines), I always *unmount* the shares in my backup scripts, then remount them. I'm running Samba 2.0.7. You're results may vary...
Mount windows drive within another machine (network)
Hi, Can I mount a remote Windows drive? How? For example I have a machine running Windows IP number 192.168.66.2. Can I mount Windows drive D: via LAN? TIA, Juan José Velázquez Garcia Web Development www.htmlspider.com.br
Re: Mount windows drive within another machine (network)
This can be done using mount. I am not sure how secure this is. It doesn't seem very secure since the username and password are listed, maybe there is a better way. mount -t smbfs -o username=REMOTE_USERNAME,password=REMOTE_PASSWORD,uid=LOCAL_USERNAME,gid=LOCAL_GROUP, workgroup=WINDOWS_WORKGROUP //REMOTE_COMPUTER_NAME/SHARE /mnt/d On Sunday 24 June 2001 23:02, Sebastiaan wrote: On Sun, 24 Jun 2001, Juan wrote: Hi, Can I mount a remote Windows drive? How? For example I have a machine running Windows IP number 192.168.66.2. Can I mount Windows drive D: via LAN? Hello, I have read that it is possible. Try SAMBA. Greetz, Sebastiaan
Re: Mount windows drive within another machine (network)
Juan, Share the drive under windows, and use samba (the smbmount part) to mount it somewhere on your Linux system. One warning: un-mount the share *before* you turn off your windows box or before it *crashes* Linux doesn't like mounts to go without saying bye. For syntax and stuff (i love this part 8]) R.T.F.M. of Samba. Yours, Nico de Haer - Original Message - From: Juan [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Sunday, June 24, 2001 9:13 PM Subject: Mount windows drive within another machine (network) Hi, Can I mount a remote Windows drive? How? For example I have a machine running Windows IP number 192.168.66.2. Can I mount Windows drive D: via LAN? TIA, Juan José Velázquez Garcia Web Development www.htmlspider.com.br -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Mount windows drive within another machine (network)
On Sun, 24 Jun 2001, Juan wrote: Hi, Can I mount a remote Windows drive? How? For example I have a machine running Windows IP number 192.168.66.2. Can I mount Windows drive D: via LAN? Hello, I have read that it is possible. Try SAMBA. Greetz, Sebastiaan
Re: Mount windows drive within another machine (network)
hi juan make sure D: is exported as a share on windows make sure on linxu that your kernel supports that filesystem ( vfat, msdos, ntfs(is not recommended for writing ) mount the windows box and do what you want with the contents in D: ( many different ways to mount it... ( version sensitive too have fun alvin samba allows MS users to write stuff into the linux (home server) box On Sun, 24 Jun 2001, Sebastiaan wrote: On Sun, 24 Jun 2001, Juan wrote: Hi, Can I mount a remote Windows drive? How? For example I have a machine running Windows IP number 192.168.66.2. Can I mount Windows drive D: via LAN? Hello, I have read that it is possible. Try SAMBA.
Re: Mount windows drive within another machine (network)
hi ya nico to protect your linux box from MS crashes... always use automounters or soft mounts that should minimize any nfs timeout issues due to the MS crashes still NOT a samba issue just a mount options issue in /etc/fstab or your automounter files c ya alvin On Sun, 24 Jun 2001, nico de haer wrote: Juan, Share the drive under windows, and use samba (the smbmount part) to mount it somewhere on your Linux system. One warning: un-mount the share *before* you turn off your windows box or before it *crashes* Linux doesn't like mounts to go without saying bye. For syntax and stuff (i love this part 8]) R.T.F.M. of Samba. Yours, Nico de Haer - Original Message - From: Juan [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Sunday, June 24, 2001 9:13 PM Subject: Mount windows drive within another machine (network) Hi, Can I mount a remote Windows drive? How? For example I have a machine running Windows IP number 192.168.66.2. Can I mount Windows drive D: via LAN? TIA, Juan José Velázquez Garcia Web Development www.htmlspider.com.br -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Mount windows drive within another machine (network)
hi ya michael to put passwds into a file is a bad idea... - you can use sudo to not require passwd for certain root functions such as mount ... but that too is equally bad ??? - if you use an automounter, it needs the passwd too but at least the world cant see the file contents used by autofs/amd - pick the better of the two evils you dont like - i prefer to disallow linux from mounting windows ... ( ( a server should NEVER mount a client especially if the ( MS machines is piloted by non-techies that cant be scolded ( for screwing up the network ( ( windows clients should mount linux home dir stuff via samba ( c ya alvin On Sun, 24 Jun 2001, Michael Schmidt wrote: This can be done using mount. I am not sure how secure this is. It doesn't seem very secure since the username and password are listed, maybe there is a better way. mount -t smbfs -o username=REMOTE_USERNAME,password=REMOTE_PASSWORD,uid=LOCAL_USERNAME,gid=LOCAL_GROUP, workgroup=WINDOWS_WORKGROUP //REMOTE_COMPUTER_NAME/SHARE /mnt/d